TCP 报文的请求报文长度和响应报文长度:
node1:/root#tcpdump -S -i eth1 '((tcp) and (port 8080) and (host 192.168.137.2) )'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
01:11:14.812018 IP 192.168.137.1.52071 > node1.webcache: Flags [S], seq 1945533048, win 8192, options [mss 1460,nop,wscale 2,nop,nop,sackOK], length 0
01:11:14.812048 IP node1.webcache > 192.168.137.1.52071: Flags [S.], seq 4068079463, ack 1945533049, win 14600, options [mss 1460,nop,nop,sackOK,nop,wscale 6], length 0
01:11:14.812887 IP 192.168.137.1.52071 > node1.webcache: Flags [.], ack 4068079464, win 16425, length 0
01:11:14.812917 IP 192.168.137.1.52071 > node1.webcache: Flags [P.], seq 1945533049:1945533058, ack 4068079464, win 16425, length 9
01:11:14.812925 IP node1.webcache > 192.168.137.1.52071: Flags [.], ack 1945533058, win 229, length 0
01:11:14.813111 IP node1.webcache > 192.168.137.1.52071: Flags [P.], seq 4068079464:4068079482, ack 1945533058, win 229, length 18
01:11:14.813852 IP 192.168.137.1.52071 > node1.webcache: Flags [F.], seq 1945533058, ack 4068079482, win 16420, length 0
01:11:14.813970 IP node1.webcache > 192.168.137.1.52071: Flags [F.], seq 4068079482, ack 1945533059, win 229, length 0
01:11:14.814490 IP 192.168.137.1.52071 > node1.webcache: Flags [.], ack 4068079483, win 16420, length 0
9
response:111111111
发送长度9 ,响应长度18 为实际发送数据的长度和实际接收的长度