安装tcpdump的抓包工具
./configure make make install
设置软链接
ln -sf /usr/local/bin/m4 /usr/bin/m4
ln -sf /usr/local/bin/flex /usr/bin/flex
ln -sf /usr/local/bin/flex++ /usr/bin/flex++
ln -sf /usr/local/bin/bison /usr/bin/bison
ln -sf /usr/local/bin/yacc /usr/bin/yacc
抓包工具的使用
usr/local/bin/tcpdump -i eth0 host 127.0.0.1 -w a.dump
1