Difference between revisions of "FAQ english"

From Fail2ban
Jump to: navigation, search
('''General''')
m
Line 1: Line 1:
 
== '''General''' ==
 
== '''General''' ==
 
  
 
=== What is {{Fail2ban}}? ===
 
=== What is {{Fail2ban}}? ===
  
 
{{Fail2ban}} scans log files like <tt>/var/log/pwdfail</tt> or <tt>/var/log/apache/error_log</tt> and bans IP that makes too many password failures. It updates firewall rules to reject the IP address. These rules can be defined by the user. {{Fail2ban}} can read multiple log files such as sshd or Apache web server ones.
 
{{Fail2ban}} scans log files like <tt>/var/log/pwdfail</tt> or <tt>/var/log/apache/error_log</tt> and bans IP that makes too many password failures. It updates firewall rules to reject the IP address. These rules can be defined by the user. {{Fail2ban}} can read multiple log files such as sshd or Apache web server ones.
 
  
 
=== Is {{Fail2ban}} free software? ===
 
=== Is {{Fail2ban}} free software? ===
Line 19: Line 17:
 
=== Are there RPM/DEB packages for {{Fail2ban}}? ===
 
=== Are there RPM/DEB packages for {{Fail2ban}}? ===
  
Sure. Please take a look at [[Download]] section
+
Sure. Please take a look at [[Downloads]] section
  
 
=== How can I install {{Fail2ban}} from a RPM/DEB package? ===
 
=== How can I install {{Fail2ban}} from a RPM/DEB package? ===
Line 25: Line 23:
 
If you are using rpm:
 
If you are using rpm:
  
'' rpm -ivh fail2ban-X.X.X.rpm ''
+
rpm -ivh fail2ban-X.X.X.rpm
  
 
If you are required to install a src.rpm (source package) please follow these instructions:
 
If you are required to install a src.rpm (source package) please follow these instructions:
  
''rpm --rebuild fail2ban-X.X.X.src.rpm''
+
rpm --rebuild fail2ban-X.X.X.src.rpm
  
After that, binary rpm will be placed at ''/usr/src/RPM/RPMS/ix86 ''
+
After that, binary rpm will be placed at <tt>/usr/src/RPM/RPMS/ix86</tt>
  
''rpm -ihv /usr/src/RPM/RPMS/ix86/fail2ban-X.X.X.rpm ''
+
rpm -ihv /usr/src/RPM/RPMS/ix86/fail2ban-X.X.X.rpm
  
Please check that your PATH is /usr/src/RPM/RPMS/ix86/ before doing anything else.
+
Please check that your PATH is <tt>/usr/src/RPM/RPMS/ix86/</tt> before doing anything else.
  
 
If you want to install {{Fail2ban}} from a .deb package:
 
If you want to install {{Fail2ban}} from a .deb package:
  
'' dpkg -i fail2ban-X.X.X.deb ''
+
dpkg -i fail2ban-X.X.X.deb
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]

Revision as of 12:05, 12 May 2006

General

What is Fail2ban?

Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log and bans IP that makes too many password failures. It updates firewall rules to reject the IP address. These rules can be defined by the user. Fail2ban can read multiple log files such as sshd or Apache web server ones.

Is Fail2ban free software?

Fail2ban is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

What do you need to run Fail2ban?

Take a look at Requirements section

Installation

Are there RPM/DEB packages for Fail2ban?

Sure. Please take a look at Downloads section

How can I install Fail2ban from a RPM/DEB package?

If you are using rpm:

rpm -ivh fail2ban-X.X.X.rpm

If you are required to install a src.rpm (source package) please follow these instructions:

rpm --rebuild fail2ban-X.X.X.src.rpm

After that, binary rpm will be placed at /usr/src/RPM/RPMS/ix86

rpm -ihv /usr/src/RPM/RPMS/ix86/fail2ban-X.X.X.rpm

Please check that your PATH is /usr/src/RPM/RPMS/ix86/ before doing anything else.

If you want to install Fail2ban from a .deb package:

dpkg -i fail2ban-X.X.X.deb