mirror of https://github.com/fail2ban/fail2ban
- Updated
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@474 a942ae1a-1317-0410-a47c-b1dcaea8d6050.x
parent
d342d847f2
commit
136b32c2e1
|
@ -20,6 +20,11 @@ ver. 0.7.5 (2006/??/??) - ???
|
||||||
- Improved documentation
|
- Improved documentation
|
||||||
- Moved version.py and protocol.py to common/
|
- Moved version.py and protocol.py to common/
|
||||||
- Merged "maxtime" option with "findtime"
|
- Merged "maxtime" option with "findtime"
|
||||||
|
- Added "<HOST>" tag support in failregex which matches
|
||||||
|
default IP address/hostname. "(?P<host>\S)" is still valid
|
||||||
|
and supported
|
||||||
|
- Fixed exception when calling fail2ban-server with unknown
|
||||||
|
option
|
||||||
|
|
||||||
ver. 0.7.4 (2006/11/01) - beta
|
ver. 0.7.4 (2006/11/01) - beta
|
||||||
----------
|
----------
|
||||||
|
|
47
README
47
README
|
@ -13,7 +13,8 @@ rules to reject the IP address. These rules can be defined by
|
||||||
the user. Fail2Ban can read multiple log files such as sshd
|
the user. Fail2Ban can read multiple log files such as sshd
|
||||||
or Apache web server ones.
|
or Apache web server ones.
|
||||||
|
|
||||||
Documentation, FAQ, HOWTOs are available on the project
|
This README is a quick introduction to Fail2ban. More
|
||||||
|
documentation, FAQ, HOWTOs are available on the project
|
||||||
website: http://fail2ban.sourceforge.net
|
website: http://fail2ban.sourceforge.net
|
||||||
|
|
||||||
Installation:
|
Installation:
|
||||||
|
@ -38,54 +39,26 @@ Gentoo: ebuilds are available on the website.
|
||||||
Debian: Fail2Ban is in Debian unstable.
|
Debian: Fail2Ban is in Debian unstable.
|
||||||
RedHat: packages are available on the website.
|
RedHat: packages are available on the website.
|
||||||
|
|
||||||
Fail2Ban should now be correctly installed. Just type:
|
Fail2Ban should be correctly installed now. Just type:
|
||||||
|
|
||||||
> fail2ban-client -h
|
> fail2ban-client -h
|
||||||
|
|
||||||
to see if everything is alright.
|
to see if everything is alright. You should always use
|
||||||
|
fail2ban-client and never call fail2ban-server directly.
|
||||||
|
|
||||||
Configuration:
|
Configuration:
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
You can configure fail2ban using the files in /etc/fail2ban
|
You can configure Fail2ban using the files in /etc/fail2ban.
|
||||||
or using command line. Here are the available command line
|
It is possible to configure the server using commands sent to
|
||||||
options (not complete yet):
|
it by fail2ban-client. The available commands are described
|
||||||
|
in the man page of fail2ban-client. Please refer to it.
|
||||||
Options:
|
|
||||||
-c <DIR> configuration directory
|
|
||||||
-s <FILE> socket path
|
|
||||||
-d dump configuration. For debugging
|
|
||||||
-i interactive mode
|
|
||||||
-v increase verbosity
|
|
||||||
-q decrease verbosity
|
|
||||||
-x force execution of the server
|
|
||||||
-h, --help display this help message
|
|
||||||
-V, --version print the version
|
|
||||||
|
|
||||||
Command:
|
|
||||||
start start the server and the jails
|
|
||||||
reload reload the configuration
|
|
||||||
stop stop all jails and terminate the
|
|
||||||
server
|
|
||||||
status get the current status
|
|
||||||
|
|
||||||
set loglevel <LEVEL> set loglevel to <LEVEL>
|
|
||||||
get loglevel get loglevel
|
|
||||||
set logtarget <TARGET> set log target to <TARGET>
|
|
||||||
get logtarget get log target
|
|
||||||
|
|
||||||
add <JAIL> [BACKEND] create <JAIL> using [BACKEND]
|
|
||||||
set <JAIL> <CMD> set the <CMD> value for <JAIL>
|
|
||||||
get <JAIL> <CMD> get the <CMD> value for <JAIL>
|
|
||||||
start <JAIL> start <JAIL>
|
|
||||||
stop <JAIL> stop <JAIL>. The jail is removed
|
|
||||||
status <JAIL> get the current status of <JAIL>
|
|
||||||
|
|
||||||
Contact:
|
Contact:
|
||||||
--------
|
--------
|
||||||
|
|
||||||
You need some new features, you found bugs or you just
|
You need some new features, you found bugs or you just
|
||||||
appreciate this program, you can contact me at :
|
appreciate this program, you can contact me at:
|
||||||
|
|
||||||
Website: http://fail2ban.sourceforge.net
|
Website: http://fail2ban.sourceforge.net
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,8 @@ Fail2Ban v0.7.4\-SVN reads log file that contains password failure report
|
||||||
and bans the corresponding IP addresses using firewall rules.
|
and bans the corresponding IP addresses using firewall rules.
|
||||||
.PP
|
.PP
|
||||||
Only use this command for debugging purpose. Start the server with
|
Only use this command for debugging purpose. Start the server with
|
||||||
fail2ban\-client instead.
|
fail2ban\-client instead. The default behaviour is to start the server
|
||||||
|
in background.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fR
|
\fB\-b\fR
|
||||||
|
|
Loading…
Reference in New Issue