

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Page 1
This homework has two parts. Please work individually. The completed homework is due by 5:00 p.m. Atlanta local time on Thursday, August 30. Students submitting solutions after the due date but before 5:00 p.m. Atlanta local time on Saturday, September 1 will have their score scaled by 0.7. No solutions will be accepted after 5:00 p.m. on September 1. Solutions should be submitted to t-square. Submit typed responses to Part 1 as inline text. Submit a tarball or zip file for Part 2 as an attachment. In the event of difficulty submitting material to t-square, immediately email your solutions to both Parts 1 and 2 to Maria.
Page 2
Telnet and ftp are network protocols that transmit data unencrypted. As a result, an attacker able to eavesdrop on network communication can reconstruct the information sent during telnet and ftp sessions. You are such an attacker. Write a program to reassemble telnet and ftp sessions. For each session that you identify, your program should display on stdout the command/response between the client and the server. You may implement this however you like; however, modifying the source code of the open source tool tcpdump to record the payload of TCP packets of telnet and ftp sessions may be a particularly useful way to proceed. If you wish to write your program in a language other than C, C++, or Java, then Maria must OK your desired language before you submit a solution. A tcpdump trace of sample telnet and ftp sessions is available in t-square as a homework attachment titled tfsession.bin. We will use this data as the input to your program during our testing. (70 points) Submit your solution to Part 2 as a tarball or zip file attachment. The tarball should contain: