Fardin Lab CN
Fardin Lab CN
Fardin Lab CN
KHULNA UNIVERSITY OF
ENGINEERING & TECHNOLOGY,
KHULNA
Submitted By:
Fardin Shahriar
Roll: 1709026
Department of Electronics and Communication Engineering
Khulna University of Engineering & Technology, Khulna
Date of submission: 21-07-2022
Submitted To:
Dr. Mirza Mohammod Shahriar Maswood
Associate Professor
Md. Foysal
Assistant Professor
Department of Electronics and Communication Engineering
Khulna University of Engineering &
Technology, Khulna
2
Objectives:
The main objectives of this experiment are given below:
1. To learn about HTTP request (GET, HEAD, or POST) and to record different HTTP response.
2. To display TCP/IP network connection and protocol (IP, ICMP, TCP and UDP) statistics using
netstat.
3. To learn about Wireshark to investigate HTTP protocol.
Answer: Telnet is connected normally but only for a short period and we get ‘400-Bad Request.
1. Use netstat on your local host to find current UDP sessions and TCP connections. How
many of them do you find and what port numbers are used?
Answer:
There are 21 TCP connections and 19 UDP sessions. And these are using various ports such as:
7680, 49679, 500, 1900 etc. The number written after the ‘:’ (colon) in an IPv4 or IPv6 address,
indicates the port that the protocol is using. And we can also see that all UDP foreign addresses
are *:*. That means these connections are not established.
2. Find out per-protocol (IP, ICMP, TCP and UDP) statistics (using –s option). Then try
ping or tracesroute to a well-known server (eg. www.google.com). Now check per-protocol (IP,
ICMP, TCP and UDP) statistics again. Summarize your findings.
Answer:
Here we can see that after making ping request more packets are received, more messages are sent,
more TCP connections are opened and more UDP datagram are received.
6
1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
Answer: Browser and server both are running http version 1.1.
2. What languages (if any) does your browser indicate that it can accept to the server?
4. What is the status code returned from the server to your browser?
5. When was the HTML file that you are retrieving last modified at the server?
7. By inspecting the raw data in the packet content window, do you see any headers within the data
that are not displayed in the packet-listing window? If so, name one.
2. How many data-containing TCP segments were needed to carry the single HTTP
response?
9
Answer: 4 TCP segments were needed.
3. What is the status code and phrase associated with the response to the HTTP GET
request?
4. Are there any HTTP status lines in the transmitted data associated with a TCP induced
“Continuation”?
Answer: No, there are no status lines in the transmitted data associated with a TCP induced
“Continuation”.
Conclusion:
1. HTTP GET request and recorded different response has been successfully performed.
2. TCP/IP network connection and protocol statistics(IP,ICMP, TCP, UDP) has been observed.
3. We have gained knowledge about Wireshark to investigate HTTP protocol.