2017-06-22 78 views
0

我使用tcpdump的捕捉到特定端口上的SOAP流量,目前输出我是:tcpdump的输出块大小

11:10:27.159327 IP (tos 0x0, ttl 121, id 14977, offset 0, flags [DF], proto TCP (6), length 1406) 
    10.230.129.233.61344 > <hostname>: Flags [.], cksum 0x69f1 (correct), seq 231:1597, ack 1, win 64, length 1366 
E..~:[email protected] 
... 
..:...,[email protected] 

first part of soap message goes here...    

11:10:27.313796 IP (tos 0x0, ttl 121, id 14982, offset 0, flags [DF], proto TCP (6), length 1406) 
    10.230.129.233.61344 > <hostname>: Flags [.], cksum 0x86e9 (correct), seq 2963:4329, ack 1, win 64, length 1366 
E..~:[email protected] 
... 
..:...,..[[email protected] 

second part of soap message goes here... 

正如你看到的,SOAP消息被同时whritten来分成块tcpdump输出文件。

如何让tcpdump将SOAP消息写入单个块中?

我使用的命令是:

tcpdump -i any 'tcp port $port and $filters' -A -s0 > tcpdump.out 

回答

0

据我所知,tcpdump不支持TCP重组。为此,您需要另一个程序,如Wireshark。