fastnetmon

wget https://raw.githubusercontent.com/pavel-odintsov/fastnetmon/master/src/fastnetmon_install.pl -Ofastnetmon_install.pl
sudo perl fastnetmon_install.pl

wget https://raw.githubusercontent.com/pavel-odintsov/fastnetmon/master/src/notify_about_attack.sh -O/usr/local/bin/notify_about_attack.sh
chmod 755 /usr/local/bin/notify_about_attack.sh

yum install sendmail
yum -y install mailx

service sendmail restart

su - echo

$ cd /tmp/fastnetmon.build.dir.lAVvYX7Htd/
$ ls
fastnetmon PF_RING-6.0.3 PF_RING-6.0.3.tar.gz
$ rm -rf PF_RING-6.0.3
$ tar zxf PF_RING-6.0.3.tar.gz
$ cd PF_RING-6.0.3/kernel/
$ make
make -C /tmp/fastnetmon.build.dir.lAVvYX7Htd/PF_RING-6.0.3/kernel install
modprobe pf_ring
lsmod |grep pf_ring

发表新评论