从本机的指定IP端口接收网络数据包(假设本机ip是192.168.1.2,本机接收端口是80) tcpdump -s 0 host 192.168.1.2 and src port 80 -w zb_recieve.erl 转发到指定的IP端口(假设对端主机ip是192.168.1.7,对端接收端口是8080) tcpdump -s 0 host 192.168.1.7 and dst port 8080 -w zb_send.erl
tcpdump 抓包
最新推荐文章于 2025-08-13 14:11:28 发布