tcpdump工具使用
# 抓取host为127.0.0.1, port为8000的包
tcpdump -i lo dst host localhost and src host localhost and src port 8000 or dst port 8000 -w file.pcap
# 抓取host为127.0.0.1, port为8000的包
tcpdump -i lo dst host localhost and src host localhost and src port 8000 or dst port 8000 -w file.pcap