Professional Documents
Culture Documents
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:
Here we can see 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:
After make ping request to www.google.com, the statistics per protocol was rechecked.
5
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.
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?
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”?
Conclusion:
1. We have learned about HTTP GET request and recorded different response.
2. We observed TCP/IP network connection and protocol statistics(IP,ICMP, TCP, UDP)
3. We learned about Wireshark to investigate HTTP protocol.