On Unix-based computers SAPs are traditionally called port numbers, and are simply a positive integer number. Most web servers (the applications which serve web pages to web browsers) listen on port 80. In this first exercise we will use telnet (a very simple program which allows you to connect to other computers and interact directly with network services) to connect to a web server and you will manually fetch a web page.
GET /student/comp2300/labs/HW1info.html HTTP/1.0
You have to press return twice to get a response.
http://cs.anu.edu.au/student/comp2300/labs/HW1info.html
What happened to the HTML tags <br>, <p>, and <hr>?
[Note that not all defined services are actually provided.]
traceroute www.anu.edu.au
It may take a few seconds to finish, but when it has, you should be able to look at the first two columns to see the names of the machines that messages will pass through to get from iwaki/partch to the ANU web server (www.anu.edu.au).
Draw the route on a piece of paper as follows:
iwaki.anu.edu.au ---> ... ---> doihuxcr01b.anu.edu.au ---> ... www.anu.edu.au
Try to trace the route to the CS web server (cs.anu.edu.au). Considering that you have just performed a telnet connection to the same machine, what do you think is happening here?
leonard.anu.edu.au
library.anu.edu.au
anusf.anu.edu.au
You can check out the various anu subnets at the network services web site
Hex Address
Dotted-decimal address 0x0 0xffffffff 0xef000001 205.188.160.121 64.12.149.13 150.203.24.4
me@iwaki> ./hex2dd 0x8002c2f2
128.2.194.242
me@iwaki> ./dd2hex 128.2.194.242
0x8002c2f2
me@either> ./hex2dd `./dd2hex 128.2.194.242`
128.2.194.242
Last modified:
Wed May 30 18:06:43 EST 2007