The first experiment: using Packet Tracer analyzes HTTP packets

Liu Xuesong calculated 1814 201 821 121 116

1 Purpose

Familiar with Packet Tracer tool. Analysis caught HTTP packets, in-depth understanding: HTTP protocol, including syntax, semantics, timing.

2 Experimental content

The client sends a request message to the server, the server sends a response message to the client. Specific include:

  • Establish a network topology
  • Configuration parameters
  • Ethereal
  • Analysis of the data packet

3. The test report

1. Given the network topology is as follows

 

The establishment of a pc and a terminal server and connected.

2. Configuration Parameters

(1): Configure the pc ip address as shown below:

 

 (2): ip address is a server-side:

 

 3. capture and analyze packets

Hyperlink is first capture, will link the client to the url

 

And only selected http protocol

Then carried capture.

 

Ethereal results are as follows

 

 

After the start analyzing the data packet capture

Firstly request packet

 

 

 This is because the packet trace in the above simulation, the request packet is not issued in particular detail

Usually the default http version 1.1

Accept-Language: en-us hope that the user priority to get the English version of the document

Accept: * / * acceptance of any type

Connection: close finish after telling the server to send the requested document can release the connection.

Host: 192.168.1.1 given domain host

 

For the response packet

 

 Connect: close and as written above.

Content-Length: 369 indicates the byte length of the packet

Content-Type: text / html media type information to indicate the specific request, here is the HTML format

server: PT-Server / 5.2 should refer to the response packet to object it.

 

Guess you like

Origin www.cnblogs.com/santiaog/p/11455478.html