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.
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)
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.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
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
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
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.
The DNS query and response messages are sent over UDP.
The destination port is 53
The source port is 50133
You can refer chapter 2 and chapter 3 of Computer Networking: A Top-Down approach by Kurose...
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 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 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 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 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 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 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 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 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 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...