NetworkTcpdump在本页Tcpdump1、基本命令1.1、抓取指定主机的网络包tcpdump -i eth0 host 127.0.0.1 -w ./package.cap1.2、抓取指定端口的网络包tcpdump -i lo port 8090 -w ./package.cap1.3、抓取目标主机为指定主机的UDP网络包 tcpdump -i eth0 udp dst host 127.0.0.1 -w ./package.cap