Tcpdump示例抓包命令如下:
切换到root用户
创建目录(如:mkdir tcpdump)
进入该目录(cd tcpdump)
开始抓包 (tcpdump -i any -s 0 -C 50 -w mycap.dat port 端口
2023-11-28