Assignment2-CSCI690 - 6. Dump the generated IP packets into...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
NYIT CSCI-690 Assignment 2 Spring 2008 Tools needed for the assignment: Download a HEX editor from the web that can be used in analyzing your programs/data generation Find the RFC that defines the File Transfer Protocol (FTP). Q1. Summarize the operation of an FTP session. Q2 1. Take any non text file (e.g. word document, mpg, excel or any application centric file) 2. Segmentation of a file and forming FTP datagrams: Read first ‘x’ number of bytes and use them as part of payload section of an FTP datagram 3. Encapsulate the FTP datagram into TCP datagram (generation of TCP packets) 4. Take the TCP datagram and encapsulate it into an IP Packet 5. Repeat steps 1-3 until all the contents of the file have been segmented and the corresponding IP packets have been generated.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 6. Dump the generated IP packets into a different File. 7. Use the hex editor (or any other tool) to compare the payload content of the IP packet and the original read file to ensure that the contents were not corrupted. Q3 1. As the final step, read the IP packets data from the generated file, strip off the (IP, TCP and FTP) headers from each packet and reassemble the payload. 2. Compare the reassembled file with the original file and ensure they are the same. Use can use any values within the IP and the TCP header fields. Explain why you chose those values. Make sure the TCP and the IP checksums are properly calculated. Assume that the maximum IP packet size can be of 1400 octets (bytes). Assignment due on February 26, 2009 Page 1 of 1...
View Full Document

This note was uploaded on 05/01/2011 for the course COMPUTER S CSCI 690 taught by Professor K.kazi during the Spring '11 term at New York Institute of Technology-Westbury.

Ask a homework question - tutors are online