使用 tcpdump 抓取 eth0 网卡上 80 端口 数据包。
tcpdump
eth0
80
$ tcpdump -nnnvv -As 0 -i eth0 port 80 -w demo2.pcap