Lab 3: Introduction to Wireshark
Pre-Lab
Lab
Assignment
Part 1: Practicing with Wireshark and learning about HTTP
Complete the mod_Wireshark_HTTP.pdf lab. Answer all the questions. All questions must be clearly shown.
- Capturing password on an unsecure web page:
- Using Wireshark, show that it is possible to capture the password for this website.
- Using your terminal execute: ftp ftp.aitislab.org
- Enter your last name as your password. Can you see your last name? What is happening? What does it tell you?
- Show a snapshot of your results.
- Can you display your sonoma.edu password using Wireshark? Explain your answer.
Part II: Wireshark
Study the demo example. HTTP protocol (download example: http.cap)
. Answer the following questions:
- Who initiated the TCP termination. Explain your answer.
- What is the flag definition (HEX value) for ACK message?
- What version of HTTP transfer protocol is using? Explain your answer.
- How many bytes are in a TCP SYN Frame? Using a rectangular frame show the size of all embedded segments, frames, data, flags, etc. Use a computer to draw.
- What version of IP is a SYN frame using?
- How many HTTP requests (GETs) can be found in this example?
- Use tcp.stream eq 0 as the filter. This indicates the first stream. What is the maximum average throughput (hint: go Statistics-->TCP StreamGraph)? Show a snap shot of the results.
- How many TCP streams exist in this test file?
- What is the IP address of the client requesting from the http server?
- How many duplicated packets and retransmission can be found in this transaction?
- Which TCP stream the retransmitted packets belong to?
Part III: Services
- Ping a computer (not yours! say your friend's computer) ONE time. Compare the obtained Average/Min/Max Round Trip Delay with when you ping google.com or wordpress.com. Record your results.
- How do you ping a specified IP address 3 time such that the PING packet size is only 9 bytes and the time interval between each PING is 5 seconds. You must ensure the content of the PING is 2F. Show the command.
- In the case above how can you verify the content of your PING command?