|
||||||||||
|
|
LWP perl module (libwww-perl) cPanel csf issue.September 24, 2009 on 3:16 pm | In APF, Cpanel | No CommentsYou may face issue with the perl module LWP libwww-perl . check whether the following file exist
Also do the following
Now try installing csf. How to install BFDOctober 11, 2008 on 9:36 am | In APF, Centos, Linux | No CommentsWhat is BFD (Brute Force Detection)?
This guide will show you how to install and configure BFD to protect your system from brute force hack attempts. Requirements:
1. cd /usr/local/src/. Article provided by WebHostGear.com
<a href=’http://a.wavepointmedia.net/adclick.php?n=a263378f’ target=’_blank’><img src=’http://a.wavepointmedia.net/adview.php?what=zone:14&n=a263378f’ border=’0′ alt=”></a>
2. wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz 3. tar -xvzf bfd-current.tar.gz 4. cd bfd-* 5. Run the install file: ./install.sh .: BFD installed 6. Edit the configuration file: vi /usr/local/bfd/conf.bfd 7. Enable brute force hack attempt alerts: Find: EMAIL_USR=”root” CHANGE TO: EMAIL_USR=”your@yourdomain.com” Save the changes 8. Prevent locking yourself out! 9. Run the program! 10. Customize your applicatoins brute force configuration Here you’ll find all kinds of pre-made rules for popular services such as Apache, and ProFTPD w00t! Uninstall APFMay 14, 2008 on 2:11 am | In APF | No Commentsrm -rf /etc/apf Unable to load iptables module (ipt_state), aborting. APF ErrorApril 24, 2008 on 1:09 pm | In APF, Linux | No Commentsroot@server[/etc/apf]# apf -s Here is the fix Edit /etc/apf/internals/functions.apf vi /etc/apf/internals/functions.apf Replace the lines ==================== With ==================== Restart apf. APF Installation and configurationApril 9, 2008 on 9:06 pm | In APF | No Comments1. cd /usr/local/src or another temporary folder where you store your files. 2. wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz 3. tar -xvzf apf-current.tar.gz 4. cd apf-0.9.5-1/ or whatever the latest version is. 5. Run the install file: ./install.sh Installing APF 0.9.5-1: Completed. Other Details: 6. Configure the firewall: pico /etc/apf/conf.apf We like to use DShield.org’s “block” list of top networks that have exhibited 7. Configuring Firewall Ports: Cpanel Servers Common ingress (inbound) ports Common egress (outbound) ports # Common egress (outbound) TCP ports 8. Starting the firewall 9. After everything is fine, change the DEV option pico /etc/apf/conf.apf FIND: DEVM=”1? 10. Configure AntiDOS for APF pico /etc/apf/ad/conf.antidos 11. Checking the APF Log tail -f /var/log/apf_log 12. New – Make APF Start automatically at boot time chkconfig –level 2345 apf on To remove it from autostart, run this: chkconfig –del apf 13. Denying IPs with APF Firewall (Blocking) Pico /etc/apf/deny_hosts.rules You can then just add a new line and enter the IP you wish to block. Before this becomes active though you’ll need to reload the APF ruleset. /etc/apf/apf -r 14. Allowing IPs with APF Firewall (Unblocking) I know I know, you added an IP now you need it removed right away! You need to manually remove IPs that are blocked from deny_hosts.rules. pico /etc/apf/deny_hosts.rules Find where the IP is listed and remove the line that has the IP. /etc/apf/apf -r pico /etc/apf/allow_hosts.rules # added 185.14.157.123 on 08/23/05 01:39:43 What is APF (Advanced Policy Firewall)? APF FirewallApril 9, 2008 on 9:04 pm | In APF | No CommentsAPF is a policy based iptables firewall system designed for ease of use and configuration. It employs a subset of features to satisfy the veteran Linux user and the novice alike. Packaged in tar.gz format and RPM formats, make APF ideal for deployment in many server environments based on Linux. APF is developed and maintained by R-fx Networks: http://www.rfxnetworks.com/apf.php |
![]() Powered and designed by Presoon.com. |