APF, BFD and DDOS installation steps

=======================================================
APF
=======================================================
APF stands for Advanced policy firewall, is a software for unix based systems. Let me explain the steps to be followed in installing APF in your Linux system.

#cd /usr/local/src/
[user@linux]#wget  http://www.rfxn.com/downloads/apf-current.tar.gz
[user@linux]#tar -xvzf apf-current.tar.gz
[user@linux]#./install.sh
[user@linux]#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 Installation
======================================================

#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 installation
=======================================================

#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

Leave a Reply

Protected by WP Anti Spam