Skip to content

Instantly share code, notes, and snippets.

@Ivlyth
Last active October 24, 2019 05:34
Show Gist options
  • Save Ivlyth/bc2af788ca663eb70d1d2cc8404ef3af to your computer and use it in GitHub Desktop.
Save Ivlyth/bc2af788ca663eb70d1d2cc8404ef3af to your computer and use it in GitHub Desktop.
install netsniff-ng from source on centos 7.4.1708
yum -y install epel-release
# download latest sniff-ng
wget -O netsniff-ng-v0.6.6.tar.gz https://github.com/netsniff-ng/netsniff-ng/archive/v0.6.6.tar.gz
tar -xf netsniff-ng-v0.6.6.tar.gz
cd netsniff-ng-0.6.6
# auto download & build nacl
# https://nacl.cr.yp.to/install.html
make nacl
yum -y install libnet libnet-devel
rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/el/7/gf/x86_64/gf-release-7-10.gf.el7.noarch.rpm
yum -y --enablerepo=gf install libcli
yum -y install libnl libnl-devel
yum -y install userspace-rcu userspace-rcu-devel
yum -y install libnetfilter_conntrack libnetfilter_conntrack-devel
./configure && make -j && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment