Question

You can refer chapter 2 and chapter 3 of Computer Networking: A Top-Down approach by Kurose...

You can refer chapter 2 and chapter 3 of Computer Networking: A Top-Down approach by Kurose and Ross for the following labs.

Please read the instructions below for submissions.

Upload the shared pcap file (Homework5.pacp) into wireshark.

  1. HTTP

In this lab, we’ll explore several aspects of the HTTP protocol. Capture packets and filter for http protocol and answer the following questions. (Hint: Apply http filer)

  1. What version of HTTP version(1.0 or 1.1) is client running and what is the version of HTTP is the server running?
  2. What are the status code being returned from the server?
  3. How many HTTP GET request messages were sent by the client?

2. DNS

In this lab, we take a closer look at the client side of the DNS, the protocol that translates Internet hostnames to IP addresses. (Hint: Apply dns filter)

  1. Locate the DNS query/response messages. How are they sent over, is it UDP or TCP?
  2. What domain is being accessed?
  3. What is the destination port for the DNS Query message? What is the source port of DNS response message?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.HTTP

Step 1: Start browser and Wireshark on correct interface

Step 2: Only capture http by using the filter

Step 3: Enter the following URL http://gaia.cs.umass.edu/wireshark-labs/HTTP-wireshark-file1.html

Step 4: Stop the capture

//img.homeworklib.com/questions/ff43e780-f950-11eb-a9b3-3fdf84be6128.png?x-oss-process=image/resize,w_560

1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
   My browser is running http version 1.1The server is also running http version 1.1
2. What is the status code returned from the server to your browser?
   The status code returned was 200 OK

Microsoft: \Device NPF_(483C83F4-DCBA-4863-8523-3C4E18 Eile Edit View So Capture nalyze Statistics Telephony Iools Internals

  • 3. How many HTTP GET request messages did your browser send?
    • My browser only sent 1 HTTP GET request to the server.

Capturing from Microsoft: \Device File Edit Yew Go Capture Analyze Statistics Telephony lools Internals Help 딜鹹胤侧鹹 酃 x 쉽 을 |

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

2.DNS

----------

STEPS: Part 1: IPconfig

Step 1: Use ipconfig to empty the DNS cache in your host.

Step 2: Open your browser and empty your browser cache. (With Internet Explorer, go to Tools menu and select Internet Options; then in the General tab select Delete Files.)

Step 3: Open Wireshark and enter “ip.addr == your_IP_address” into the filter, where you obtain your_IP_address with ipconfig. This filter removes all packets that neither originate nor are destined to your host.

Step 4: Start packet capture in Wireshark.

Step 5: With your browser, visit the Web page: http://www.ietf.org

Step 6: Stop packet capture.

Microsoft: VDevice NPF_(483C83F4-DCBA-4863-8523-3C4E1803D06F) Wireshark 18.5 (SVN Rev 47350 from /trunk-1.8)] Eile Edit View

  1. Locate the DNS query and response messages. Are then sent over UDP or TCP?

               The DNS query and response messages are sent over UDP.

Microsoft \Device NPF (483C83F4-DCBA-4863-8523-3C4E1B03D06F) [Wireshark 1.8.5 (SVN Rev 47350 from /trunk-1.8) File Edit Yew G

  1. What is the destination port for the DNS query message? What is the source port of DNS response message?

                     The destination port is 53

        The source port is 50133

Microsoft \Device NPF (483C83F4-DCBA-4863-8523-3C4E1B03D06F) [Wireshark 1.8.5 (SVN Rev 47350 from /trunk-1.8) Eile Edit View

Add a comment
Know the answer?
Add Answer to:
You can refer chapter 2 and chapter 3 of Computer Networking: A Top-Down approach by Kurose...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Can anyone answer and explain the following questions from Into to Computer Networking course? 1) PTSN...

    Can anyone answer and explain the following questions from Into to Computer Networking course? 1) PTSN networks are: a) Packet-switching networks offering connection-oriented services b) Packet-switching networks offering connectionless services c) Circuit-switching networks offering connection-oriented services d) Circuit-switching networks offering connectionless serive 2) Connection setup and temination, if performed, takes places in this layer of the internet model a) Presentation layer b) Session layer c) Network layer d) Physical layer 3) UDP sockets are identified by: a) Client program port...

  • At this stage, you should be a Wireshark expert. Thus, we are not going to spell...

    At this stage, you should be a Wireshark expert. Thus, we are not going to spell out the steps as explicitly as in earlier labs. In particular, we are not going to provide example screenshots for all the steps. 1.   Start capturing packets in Wireshark and then do something that will cause your host to send and receive several UDP packets (Note that DNS is using UDP for communications. You can use nslookup commands in Lab 4 to generate DNS...

  • Project Description In this project, you will be developing a multithreaded Web server and a simple...

    Project Description In this project, you will be developing a multithreaded Web server and a simple web client. The Web server and Web client communicate using a text-based protocol called HTTP (Hypertext Transfer Protocol). Requirements for the Web server The server is able to handle multiple requests concurrently. This means the implementation is multithreaded. In the main thread, the server listens to a specified port, e.g., 8080. Upon receiving an HTTP request, the server sets up a TCP connection to...

  • 1) Is this DNS message a query or response? 2) What is the port number used...

    1) Is this DNS message a query or response? 2) What is the port number used to send the DNS query? 3) How many Answer RRs? (2 point) Please describe what they are? IP, UDP and DNS 1... ....... Please check the screenshot below and give a short answer for the following questions. > Internet Protocol Version 4, Src: 168.26.188.11, Dst: 168.27.170.110 > User Datagram Protocol, Src Port: 53, Dst Port: 55706 Domain Name System (response) [Request Tn: 2101 [Time:...

  • IP, UDP and DNS Please check the screenshot below and give a short answer for the...

    IP, UDP and DNS Please check the screenshot below and give a short answer for the following questions. > Internet Protocol Version 4, Sre: 165.26.188.11, Dst: 168.27.170.110 > User Datagram Protocol, Src Port: 53, Dst Port: 55706 Domain Name System (response) Request In 2101 [Time: 0.037798000 seconds) Transaction ID: exa67e Flags: 08180 Standard query response, No error - Response: Message is a response .000 e... ..... Opcode: Standard query (e) ..... Authoritative: Server is not an authority for domain Truncated:...

  • please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames...

    please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames to IP addresses, fulfilling a critical role in the Internet infrastructure. In this lab, we’ll take a closer look at the client side of DNS. Recall that the client’s role in the DNS is relatively simple – a client sends a query to its local DNS server, and receives a response back. Much can go on “under the covers,” invisible to the DNS clients,...

  • The goal of this first lab was primarily to introduce you to Wireshark. The following questions...

    The goal of this first lab was primarily to introduce you to Wireshark. The following questions will demonstrate that you’ve been able to get Wireshark up and running, and have explored some of its capabilities. Answer the following questions, based on your Wireshark experimentation: 1. List up to 10 different protocols that appear in the protocol column in the unfiltered packet-listing window in step 7 Step 7: After your browser has displayed the INTRO-wireshark-file1.html page, stop Wireshark packet capture by...

  • Using python 3 to create the UDP Ping Clien and server. Using UDP sockets, you will...

    Using python 3 to create the UDP Ping Clien and server. Using UDP sockets, you will write a client and server program that enables the client to determine the round-trip time (RTT) to the server. To determine the RTT delay, the client records the time on sending a ping request to the server, and then records the time on receiving a ping response from the server. The difference in the two times is the RTT. The ping message contains 2...

  • ND-OF-CHAPTER QUESTIONS Thought Questions 1. How do you think TCP would handle the problem if an ...

    ND-OF-CHAPTER QUESTIONS Thought Questions 1. How do you think TCP would handle the problem if an acknowledgment were lost, so that the sender retrans- mitted the unacknowledged TCP seg- ment, therefore causing the receiving transport process to receive the same segment twice? 2-2. a) Compute the minimum number of TCP segments required to open a con- nection, send an HTTP request and response message, and close the con- nection. Justify this number by creating a table showing each message and...

  • 1.DNS can not work if the hostnames are not hierarchal? Explain? 2. Give two scenarios where...

    1.DNS can not work if the hostnames are not hierarchal? Explain? 2. Give two scenarios where DNS protocols (from two hosts) gets two different IP address for the same hostname. 3. If you have a 100% reliable network layer, should you use TCP or UDP at the Transport layer? Explain your answer? 4.Is it is possible for an application on top of UDP to have a reliable data transfer? Explain? 5.Suppose that a Web server runs in Host C on...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT