tcpdump抓取完整的数据


example: 在64机器是mail服务器,要抓取161到64的110端口的通信数据的方法:


tcpdump -X -s 0 host 172.xx.xxx.64 and 172.xx.xxx.161 and port 110 -w  pop.cap


将pop.cap下载到windows电脑上,用wireshark软件打开进行分析.