APF-BFD-DDOS-Install and Configuration
==================================================== APF - Advanced Policy Firewall. ==================================================== #cd /usr/local/src/ #wget http://www.rfxn.com/downloads/apf-current.tar.gz #tar -xvzf apf-current.tar.gz #./install.sh #vi /etc/apf/conf.apf DEVEL_MODE="0" Common inbound (ingress) TCP ports IG_TCP_CPORTS="21,25,80,443,43,22,9080,9090,3306" Common inbound (ingress) UDP ports IG_UDP_CPORTS="53" Common outbound (egress) TCP ports EG_TCP_CPORTS="21,25,80,443,43,22,9080,9090,3306" Common outbound (egress) UDP ports EG_UDP_CPORTS="20,21,53" #/etc/init.d/apf start #/usr/local/sbin/apf -s ==================================================== BFD - Brute Force Detection. ==================================================== #cd /usr/local/src/ #wget http://www.rfxn.com/downloads/bfd-current.tar.gz #tar -xvzf bfd-current.tar.gz #cd bfd-1.4 #./install.sh #vi /usr/local/bfd/conf.bfd EMAIL_ALERTS="1" LOCK_FILE_TIMEOUT="600" EMAIL_ADDRESS="root,admin@Domainname" #/usr/local/sbin/bfd -s ==================================================== DDOS - Distributed Denial-of-Service. ==================================================== #cd /usr/local/ # wget http://www.inetbase.com/scripts/ddos/install.sh #sh install.sh #vi /usr/local/ddos/ddos.conf EMAIL_TO="root,admin@Domainname" NO_OF_CONNECTIONS=150 #ddos -s
No comments:
Post a Comment