#拉起 sngrep 源代码
git clone https://github.com/irontec/sngrep.git
#安装依赖包
#centos7
yum -y install libpcap libpcap-devel ncurses-devel autoconf automake
#debian10
apt-get -y install libgpg-error-dev libgcrypt20-dev libpcap*
#安装sngrep
cd sngrep
./bootstrap.sh
./configure
make
make install
安装位置:/usr/local/bin/sngrep
具体使用之后再做补充