KEMBAR78
Wireshark HTTP Lab Analysis | PDF | Hypertext Transfer Protocol | Application Layer Protocols
0% found this document useful (0 votes)
108 views30 pages

Wireshark HTTP Lab Analysis

The document discusses analyzing HTTP requests and responses using Wireshark, including basic GET and response interactions, encapsulation, conditional GET requests, retrieving long documents over multiple TCP segments, and HTML documents containing embedded objects. Students are asked questions about inspecting HTTP requests and responses to understand aspects like the HTTP version, IP addresses, status codes, file modification times, and response sizes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
108 views30 pages

Wireshark HTTP Lab Analysis

The document discusses analyzing HTTP requests and responses using Wireshark, including basic GET and response interactions, encapsulation, conditional GET requests, retrieving long documents over multiple TCP segments, and HTML documents containing embedded objects. Students are asked questions about inspecting HTTP requests and responses to understand aspects like the HTTP version, IP addresses, status codes, file modification times, and response sizes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

Wireshark Lab: HTTP

Prof. Nicole Novielli


Reti di Calcolatori
Laurea Triennale in Informatica
Università degli studi di Bari
HTTP Request
• Basic Get/Response interaction
Incapsulamento
HTTP request
HTTP version

Client
Rispondi alle seguenti domande
• Quale versione HTTP implementa il server?
• Qual è l’indirizzo IP del tuo computer?
• Quale quello del server?
• Qual è lo status code restituito dal server al tuo browser?
• Quando è stata apportata l’ultima modifica al file HTML inviato dal
server?
• Quanti byte contiene il messaggio ricevuto dal tuo browser?
HTTP Conditional GET/response interaction

Hit refresh
Answer the following questions
• Inspect the contents of the first HTTP GET request from your browser
to the server. Do you see an “IF-MODIFIED-SINCE” line in the HTTP
GET?
• Inspect the contents of the server response. Did the server explicitly
return the contents of the file? How can you tell?
• Now inspect the contents of the second HTTP GET request from your
browser to the server. Do you see an “IF-MODIFIED-SINCE:” line in the
HTTP GET? If so, what information follows the “IF-MODIFIED-SINCE:”
header?
• What is the HTTP status code and phrase returned from the server in
response to this second HTTP GET? Did the server explicitly return the
contents of the file? Explain.
Inspect the contents of the first HTTP GET request from your browser to
the server. Do you see an “IF-MODIFIED-SINCE” line in the HTTP GET?
Inspect the contents of the server response. Did the server explicitly
return the contents of the file? How can you tell?
Now inspect the contents of the second HTTP GET request from your browser to the
server. Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what
information follows the “IF-MODIFIED-SINCE:” header?
What is the HTTP status code and phrase returned from the server in
response to this second HTTP GET? Did the server explicitly return the
contents of the file? Explain.
Retrieving long documents
HTTP GET
Multiple-packet TCP response
First TCP segment
Second TCP segment
Third TCP segment
Fourth TCP segment
Answer the following questions
• How many HTTP GET request messages did your browser send?
Which packet number in the trace contains the GET message for the
Bill or Rights?
• Which packet number in the trace contains the status code and
phrase associated with the response to the HTTP GET request?
• What is the status code and phrase in the response?
• How many data-containing TCP segments were needed to carry the
single HTTP response and the text of the Bill of Rights?
HTML Documents with Embedded Objects
How many gets did your browser sent?
How many gets did your browser sent?

What new fields is included


in the second request?
How many gets did your browser sent?

What new fields is included


in the second request?

You might also like