用tcpdump和wireshark分析网络协议

捕获主机地址为10.238.15.101并且TCP端口为8080的包,写入tcpdump.out文件中:

tcpdump -w tcpdump.out host 10.238.15.101 and tcp port 8080

捕获源地址为10.238.240.194,目的地址为10.238.15.101,端口为80的包

tcpdump -X -s 0 src 10.238.240.194 and dst 10.238.15.101 and tcp port 80

相关推荐