Notes for Computer Information Technology 160
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nov26.md 1.5KB

November 21

Overview

If the public key of an ssh server changes you will get a DNS spoofing warning.

ssh-keygen is a tool for creating new authentication key pairs for SSH. Such key pairs are used for automating logins, single sign-on, and for authenticating hosts.

SSL/TLS

  • SSL 2.0 came out in 1995
  • SSL 3.0 came out in 1996
  • TLS 1.0 came out in 1999
  • TLS 1.2 came out in 2008 (9 years later)

  • https - the S can be SSL or TLS

HTTP

Browser “get document A” <-> Server “Here’s document A”

Request

  • Header
    • Request Line “verb subject HTTP/1.1”
    • Host: www.example.com
  • Blank Line
  • Optional Body

  • Verbs

    • GET - get document
    • HEAD - get the head of a document only
    • PUT - add a document
    • POST - send a document, let the server decide what to do with it

Response

  • Header
    • Status Line (like request line) “HTTP/1.1 200 OK”
  • Blank Line
  • Optional Body (with document)

Proxy

Multiple Clients -> Forward Proxy -> Server -> Reverse Proxy -> Multiple Servers