Laboratory Final


Your lab final is really simple. Your task is to go through one of the following pairs of tcpdump outputs (which includes the IP header and the transport level header but not the Ethernet header), determine where the server is running (IP address and port), whether it is running TCP or UDP, and what application level message you need to send to it to receive the corresponding output. Once you have identified the server, write a simple client program that sends the correct request to the server, receives the response, prints out the response, closes the socket, and exits.

The program doesn't need to be too fancy - you can hard-code the pertinent information (like the server's address and port number). You are free to use any resources; you will have access to the Web, all of your past programs and labs, and any of the class notes.

Once you are done, use script to capture a run of your program that demonstrates that you successfully communicate with the server and retrieve the correct response. Turn in your source code for the client and this script output. Just print them out and give them to Anthony.

Message Dumps

If you are in the Thursday lab section and your student ID number is even, use the following tcpdump data:


If you are in the Thursday lab section and your student ID number is odd, use the following tcpdump data:


Good luck!