Email, FTP, Telnet

OBJECTIVE: In this lab you will become familiar with following concepts:


Part I: Examine this email file very carefully. Answer the following questions:
  1. Which email server was used to send this email (e.,
  2. Where (geographical location) was the sender when the email was sent (e.g., Texas)?
  3. What are the email ids of the sender and recipient?
  4. What type of presentation protocol this email is using? What version?
  5. For this presentation protocol, what encoding scheme was most likely used?
  6. Did the email have any attachment?
  7. How did the sender send the email (e.g., via outlook)?
  8. How did the recipient read the email? (e.g., via outlook)?
  9. At what time the email was sent and received?
  10. What was the content of the message?
  11. Using THIS check some your answers above.

Part II: Different File Transport Protocols:

  1. Explain briefly how vsFTP protocol operates.
  2. Using a timing diagram show the exchanged messages when a user wants to PUT a file in the server.
  3. Do you need a password to log in the vsFTP server? Can you capture the password? Show the Wireshark output.
  4. What is teh difference between vsFTP and sFTP?

Part III: Download the FTP/TELNET captured file. Answer the following questions.

  1. What is the IP address of the FTP server?
  2. Is there anyway to know the password for the FTP server? If so, what is the password?
  3. Which node closes the connection? How?
  4. What is the purpose of packet 27?
  5. What is the user trying to do after logging into the FTP server?
  6. Show the structure of the FTP application frame in order to terminate the FTP connection.
  7. In the frame above what is the content of the data?
  8. Go to Analyze -->Follow TCP Stream. What is the user ID?
  9. Which port is used for establishing the Telnet?
  10. Which transport protocol Telnet uses?
  11. Does Telnet establish a secure connection?

__________ DO NOT DO THE REST!!!! STOP HERE!___________________

  1. Download this sample capture.
  2. Using LABVIEW (or any other programming language) write a GUI interface that reads an address in CIDR notation ( / 16; you can ignore the slash however you like) and prints the following parameters: resulting subnet address (in decimal), host id (in decimal), mask (in binary and decimal), and class (A,B,C, etc) . Your program must also specify whether the address is one of the special addresses, as shown in Table 21.7. Please try running your program using different values to make sure it works properly. I only check your program to make sure it works (nothing to turn in!) The program must be done individually.

Installing FTP:

  1. Explain exactly what you did to install/start the FTP/telnet servers. Setting up sFTP in Linux
  2. Refer to Sections 8A (parts 4 and 5 - note:you can do ftp as any other user); 8-C (parts 3-4) of the lab handout. You only have to take snapshots of the Wireshark results (no need to save anything).