Use BFD to enhance Linux firewall

Source: Internet
Author: User
Article title: use BFD to enhance the Linux firewall. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Reference: This article is named "strengthening the firewall for Linux" because of the close connectivity between BDF and the Active Directory filter. BFD: (brute-force cracking detection), together with ASF (Advanced rule firewall), are all Linux security tools produced by Rf-x Networks.
  
Before installing BFD, make sure that you have installed the TDs agent, because BDF uses some of the features and features of the TDS agent. If you have not installed the TDs agent, click here to read the installation and configuration of the TDS agent.
  
Download the latest BFD:
  
Wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz
  
Decompress the package and switch to the directory:
  
Tar-xzvf bfd-current.tar.gz
  
Cd bfd-version
  
Installation:
  
./Install. sh
  
After the installation, configure BFD:
  
Nano/usr/local/bfd/conf. bfd
  
Change ALERT_USR = "0" to ALERT_USR = "1 ″.
  
Change EMAIL_USR = "root" to EMAIL_USR = "your Email address ".
  
Save and exit.
  
Add your own IP address to the trust list:
  
Nano-w/usr/local/bfd/ignore. hosts
  
One line of each IP address. if your IP address is changed, for example, the change range is 111.111.1.1-111.111.255.254, you only need to enter 111.111.
  
OK. Now you can start BFD!
  
/Usr/local/sbin/bfd-s
  
If you are familiar with shell programming, you can even configure the software on your own (the configuration files are under/usr/local/bfd/rules ).
  
After BFD is installed, a task automatically runs every 8 minutes is added to/etc/cron. d/bfd.
  
Thanks to Rf-x Networks for providing us with excellent security tools. We wish you a smooth installation and usage!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.