How to Secure your Server :: Install Brute Force Detection

By AminTaheri

Rate: (3 Ratings)

Having Brute Force attack prevention (BFD) is a must have in my opinion. It allows you to see who is trying to break into your server, and can automatically ban those user's IPs from further access to your computer. Here is how to do it

Instructions

Difficulty: Easy

Things You’ll Need:

  • SSH Access
  • SSH Client
  • Server must have internet access

Step1
To install APF SSH into server and login as root.
Step2
type: cd /root/
Step3
type: wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz
Step4
type: tar -xvzf bfd-current.tar.gz
Step5
type: cd bfd-0.4
Step6
type: ./install.sh
Step7
After BFD has been installed, you need to edit the configuration file.

At command prompt type: pico /usr/local/bfd/conf.bfd
Step8
Under Enable brute force hack attempt alerts:

Find

ALERT_USR="0"

and change it to

ALERT_USR="1"


Find

EMAIL_USR="root"

and change it to

EMAIL_USR="your@email.com"
Step9
Save the changes then exit.


To start BFD

At command prompt type: /usr/local/sbin/bfd -s

Tips & Warnings

  • replace your@email.com with your actual email to get reports of attacks sent directly to you

Comments

| View All Comments
Flag This Comment

on 12/4/2007 great work!

View All

Post a Comment

POST A COMMENT

Request a New How-To Article

Looking for more How To information? Chances are there’s an eHow member who knows how to do what you’re looking to do. Submit an article request now!

eHow Article:  How to Secure your Server :: Install Brute Force Detection

eHow Member: AminTaheri

AminTaheri

Authority Authority | 4628 Points

Category: Computers

Articles: See my other articles

Related Ads