安装工具 apt-get install ngrep 使用工具 ngrep -p -q -W byline port 5060 > aa.txt 截取该服务器上的5060端口的数据包,写入aa.txt中