nfsen-blackhole
记录
yum -y -q install monit tcsh perl-Net-BGP git clone https://github.com/zhecho/nfsen-blackhole cd nfsen-blackhole sed -i "s#/usr/local/var/nfsen#/opt/nfsen/var/run#g" * sed -i "s#/usr/local/libexec/nfsen/plugins#/opt/nfsen/plugins#g" * install bgp_simple_restart.sh /opt/nfsen/plugins/ install blackHole.pm /opt/nfsen/plugins/ install bgp_simple.pl /opt/nfsen/plugins/ install blackHole.php /opt/nfsen/www/plugins/ touch /opt/nfsen/var/run/{blackhole-pref.td2,blackHole.plugin.log} chown nobody:nobody /opt/nfsen/var/run/{blackhole-pref.td2,blackHole.plugin.log}