Except where otherwise noted, the contents of this presentation are Copyright 2010 Marty Stepp and Jessica Miller.

The internet uses a layered hardware/software architecture (also called the "OSI model"):
ipconfig (Windows) or ifconfig (Mac/Linux)
www.cs.washington.edu → 128.208.3.88C:\Windows\system32\drivers\etc\hosts/private/etc/hosts/etc/hostshttp://www.aw-bc.com/info/regesstepp/index.html ~~~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol host path
www.aw-bc.comGET /info/regesstepp/index.htmlhttp://www.textpad.com/download/index.html#downloads
index.html then jumps down to part of the page labeled downloadshttp://www.cs.washington.edu:8080/secret/money.txt
http://www.google.com/search?q=miserable+failure&start=10
q is set to "miserable+failure"start is set to 10GET filename : downloadPOST filename : send a web form responsePUT filename : upload$ telnet www.cs.washington.edu 80 Trying 128.208.3.88... Connected to 128.208.3.88 (128.208.3.88). Escape character is '^]'. GET /index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 ..."> <html> ...
| Number | Meaning |
|---|---|
| 200 | OK |
| 301-303 | page has moved (permanently or temporarily) |
| 403 | you are forbidden to access this page |
| 404 | page not found |
| 500 | internal server error |
| complete list | |
| MIME type | file extension |
|---|---|
| text/html | .html |
| text/plain | .txt |
| image/gif | .gif |
| image/jpeg | .jpg |
| video/quicktime | .mov |
| application/octet-stream | .exe |