mirror of https://github.com/fail2ban/fail2ban
parent
41e3f2e5ed
commit
9b03a6d42e
30
MANIFEST
30
MANIFEST
|
@ -13,9 +13,12 @@ config/action.d/complain.conf
|
||||||
config/action.d/dshield.conf
|
config/action.d/dshield.conf
|
||||||
config/action.d/dummy.conf
|
config/action.d/dummy.conf
|
||||||
config/action.d/firewallcmd-allports.conf
|
config/action.d/firewallcmd-allports.conf
|
||||||
|
config/action.d/firewallcmd-common.conf
|
||||||
config/action.d/firewallcmd-ipset.conf
|
config/action.d/firewallcmd-ipset.conf
|
||||||
config/action.d/firewallcmd-multiport.conf
|
config/action.d/firewallcmd-multiport.conf
|
||||||
config/action.d/firewallcmd-new.conf
|
config/action.d/firewallcmd-new.conf
|
||||||
|
config/action.d/firewallcmd-rich-logging.conf
|
||||||
|
config/action.d/firewallcmd-rich-rules.conf
|
||||||
config/action.d/hostsdeny.conf
|
config/action.d/hostsdeny.conf
|
||||||
config/action.d/ipfilter.conf
|
config/action.d/ipfilter.conf
|
||||||
config/action.d/ipfw.conf
|
config/action.d/ipfw.conf
|
||||||
|
@ -31,6 +34,7 @@ config/action.d/iptables-new.conf
|
||||||
config/action.d/iptables-xt_recent-echo.conf
|
config/action.d/iptables-xt_recent-echo.conf
|
||||||
config/action.d/mail-buffered.conf
|
config/action.d/mail-buffered.conf
|
||||||
config/action.d/mail.conf
|
config/action.d/mail.conf
|
||||||
|
config/action.d/mail-whois-common.conf
|
||||||
config/action.d/mail-whois.conf
|
config/action.d/mail-whois.conf
|
||||||
config/action.d/mail-whois-lines.conf
|
config/action.d/mail-whois-lines.conf
|
||||||
config/action.d/mynetwatchman.conf
|
config/action.d/mynetwatchman.conf
|
||||||
|
@ -52,6 +56,7 @@ config/action.d/sendmail-whois-ipmatches.conf
|
||||||
config/action.d/sendmail-whois-lines.conf
|
config/action.d/sendmail-whois-lines.conf
|
||||||
config/action.d/sendmail-whois-matches.conf
|
config/action.d/sendmail-whois-matches.conf
|
||||||
config/action.d/shorewall.conf
|
config/action.d/shorewall.conf
|
||||||
|
config/action.d/shorewall-ipset-proto6.conf
|
||||||
config/action.d/smtp.py
|
config/action.d/smtp.py
|
||||||
config/action.d/symbiosis-blacklist-allports.conf
|
config/action.d/symbiosis-blacklist-allports.conf
|
||||||
config/action.d/ufw.conf
|
config/action.d/ufw.conf
|
||||||
|
@ -67,6 +72,7 @@ config/filter.d/apache-modsecurity.conf
|
||||||
config/filter.d/apache-nohome.conf
|
config/filter.d/apache-nohome.conf
|
||||||
config/filter.d/apache-noscript.conf
|
config/filter.d/apache-noscript.conf
|
||||||
config/filter.d/apache-overflows.conf
|
config/filter.d/apache-overflows.conf
|
||||||
|
config/filter.d/apache-pass.conf
|
||||||
config/filter.d/apache-shellshock.conf
|
config/filter.d/apache-shellshock.conf
|
||||||
config/filter.d/assp.conf
|
config/filter.d/assp.conf
|
||||||
config/filter.d/asterisk.conf
|
config/filter.d/asterisk.conf
|
||||||
|
@ -79,17 +85,18 @@ config/filter.d/cyrus-imap.conf
|
||||||
config/filter.d/directadmin.conf
|
config/filter.d/directadmin.conf
|
||||||
config/filter.d/dovecot.conf
|
config/filter.d/dovecot.conf
|
||||||
config/filter.d/dropbear.conf
|
config/filter.d/dropbear.conf
|
||||||
|
config/filter.d/drupal-auth.conf
|
||||||
config/filter.d/ejabberd-auth.conf
|
config/filter.d/ejabberd-auth.conf
|
||||||
config/filter.d/exim-common.conf
|
config/filter.d/exim-common.conf
|
||||||
config/filter.d/exim.conf
|
config/filter.d/exim.conf
|
||||||
config/filter.d/exim-spam.conf
|
config/filter.d/exim-spam.conf
|
||||||
config/filter.d/freeswitch.conf
|
config/filter.d/freeswitch.conf
|
||||||
|
config/filter.d/froxlor-auth.conf
|
||||||
config/filter.d/groupoffice.conf
|
config/filter.d/groupoffice.conf
|
||||||
config/filter.d/gssftpd.conf
|
config/filter.d/gssftpd.conf
|
||||||
config/filter.d/guacamole.conf
|
config/filter.d/guacamole.conf
|
||||||
config/filter.d/haproxy-http-auth.conf
|
config/filter.d/haproxy-http-auth.conf
|
||||||
config/filter.d/horde.conf
|
config/filter.d/horde.conf
|
||||||
config/filter.d/ignorecommands
|
|
||||||
config/filter.d/ignorecommands/apache-fakegooglebot
|
config/filter.d/ignorecommands/apache-fakegooglebot
|
||||||
config/filter.d/kerio.conf
|
config/filter.d/kerio.conf
|
||||||
config/filter.d/lighttpd-auth.conf
|
config/filter.d/lighttpd-auth.conf
|
||||||
|
@ -122,7 +129,6 @@ config/filter.d/selinux-common.conf
|
||||||
config/filter.d/selinux-ssh.conf
|
config/filter.d/selinux-ssh.conf
|
||||||
config/filter.d/sendmail-auth.conf
|
config/filter.d/sendmail-auth.conf
|
||||||
config/filter.d/sendmail-reject.conf
|
config/filter.d/sendmail-reject.conf
|
||||||
config/filter.d/sendmail-spam.conf
|
|
||||||
config/filter.d/sieve.conf
|
config/filter.d/sieve.conf
|
||||||
config/filter.d/sogo-auth.conf
|
config/filter.d/sogo-auth.conf
|
||||||
config/filter.d/solid-pop3d.conf
|
config/filter.d/solid-pop3d.conf
|
||||||
|
@ -148,7 +154,6 @@ config/paths-osx.conf
|
||||||
CONTRIBUTING.md
|
CONTRIBUTING.md
|
||||||
COPYING
|
COPYING
|
||||||
DEVELOP
|
DEVELOP
|
||||||
doc/run-rootless.txt
|
|
||||||
fail2ban-2to3
|
fail2ban-2to3
|
||||||
fail2ban/client/actionreader.py
|
fail2ban/client/actionreader.py
|
||||||
fail2ban/client/beautifier.py
|
fail2ban/client/beautifier.py
|
||||||
|
@ -185,7 +190,6 @@ fail2ban/server/filterpyinotify.py
|
||||||
fail2ban/server/filtersystemd.py
|
fail2ban/server/filtersystemd.py
|
||||||
fail2ban/server/__init__.py
|
fail2ban/server/__init__.py
|
||||||
fail2ban/server/ipdns.py
|
fail2ban/server/ipdns.py
|
||||||
fail2ban/server/iso8601.py
|
|
||||||
fail2ban/server/jail.py
|
fail2ban/server/jail.py
|
||||||
fail2ban/server/jails.py
|
fail2ban/server/jails.py
|
||||||
fail2ban/server/jailthread.py
|
fail2ban/server/jailthread.py
|
||||||
|
@ -203,21 +207,19 @@ fail2ban/tests/action_d/test_smtp.py
|
||||||
fail2ban/tests/actionstestcase.py
|
fail2ban/tests/actionstestcase.py
|
||||||
fail2ban/tests/actiontestcase.py
|
fail2ban/tests/actiontestcase.py
|
||||||
fail2ban/tests/banmanagertestcase.py
|
fail2ban/tests/banmanagertestcase.py
|
||||||
fail2ban/tests/clientreadertestcase.py
|
|
||||||
fail2ban/tests/clientbeautifiertestcase.py
|
fail2ban/tests/clientbeautifiertestcase.py
|
||||||
|
fail2ban/tests/clientreadertestcase.py
|
||||||
fail2ban/tests/config/action.d/brokenaction.conf
|
fail2ban/tests/config/action.d/brokenaction.conf
|
||||||
fail2ban/tests/config/fail2ban.conf
|
fail2ban/tests/config/fail2ban.conf
|
||||||
fail2ban/tests/config/filter.d/simple.conf
|
fail2ban/tests/config/filter.d/simple.conf
|
||||||
fail2ban/tests/config/filter.d/test.conf
|
fail2ban/tests/config/filter.d/test.conf
|
||||||
fail2ban/tests/config/filter.d/test.local
|
fail2ban/tests/config/filter.d/test.local
|
||||||
|
fail2ban/tests/config/filter.d/zzz-generic-example.conf
|
||||||
fail2ban/tests/config/jail.conf
|
fail2ban/tests/config/jail.conf
|
||||||
fail2ban/tests/config/paths-common.conf
|
|
||||||
fail2ban/tests/config/paths-debian.conf
|
|
||||||
fail2ban/tests/config/paths-freebsd.conf
|
|
||||||
fail2ban/tests/config/paths-osx.conf
|
|
||||||
fail2ban/tests/databasetestcase.py
|
fail2ban/tests/databasetestcase.py
|
||||||
fail2ban/tests/datedetectortestcase.py
|
fail2ban/tests/datedetectortestcase.py
|
||||||
fail2ban/tests/dummyjail.py
|
fail2ban/tests/dummyjail.py
|
||||||
|
fail2ban/tests/fail2banclienttestcase.py
|
||||||
fail2ban/tests/fail2banregextestcase.py
|
fail2ban/tests/fail2banregextestcase.py
|
||||||
fail2ban/tests/failmanagertestcase.py
|
fail2ban/tests/failmanagertestcase.py
|
||||||
fail2ban/tests/files/action.d/action_checkainfo.py
|
fail2ban/tests/files/action.d/action_checkainfo.py
|
||||||
|
@ -250,13 +252,13 @@ fail2ban/tests/files/ignorecommand.py
|
||||||
fail2ban/tests/files/logs/3proxy
|
fail2ban/tests/files/logs/3proxy
|
||||||
fail2ban/tests/files/logs/apache-auth
|
fail2ban/tests/files/logs/apache-auth
|
||||||
fail2ban/tests/files/logs/apache-badbots
|
fail2ban/tests/files/logs/apache-badbots
|
||||||
fail2ban/tests/files/logs/apache-botscripts
|
|
||||||
fail2ban/tests/files/logs/apache-botsearch
|
fail2ban/tests/files/logs/apache-botsearch
|
||||||
fail2ban/tests/files/logs/apache-fakegooglebot
|
fail2ban/tests/files/logs/apache-fakegooglebot
|
||||||
fail2ban/tests/files/logs/apache-modsecurity
|
fail2ban/tests/files/logs/apache-modsecurity
|
||||||
fail2ban/tests/files/logs/apache-nohome
|
fail2ban/tests/files/logs/apache-nohome
|
||||||
fail2ban/tests/files/logs/apache-noscript
|
fail2ban/tests/files/logs/apache-noscript
|
||||||
fail2ban/tests/files/logs/apache-overflows
|
fail2ban/tests/files/logs/apache-overflows
|
||||||
|
fail2ban/tests/files/logs/apache-pass
|
||||||
fail2ban/tests/files/logs/apache-shellshock
|
fail2ban/tests/files/logs/apache-shellshock
|
||||||
fail2ban/tests/files/logs/assp
|
fail2ban/tests/files/logs/assp
|
||||||
fail2ban/tests/files/logs/asterisk
|
fail2ban/tests/files/logs/asterisk
|
||||||
|
@ -270,10 +272,12 @@ fail2ban/tests/files/logs/cyrus-imap
|
||||||
fail2ban/tests/files/logs/directadmin
|
fail2ban/tests/files/logs/directadmin
|
||||||
fail2ban/tests/files/logs/dovecot
|
fail2ban/tests/files/logs/dovecot
|
||||||
fail2ban/tests/files/logs/dropbear
|
fail2ban/tests/files/logs/dropbear
|
||||||
|
fail2ban/tests/files/logs/drupal-auth
|
||||||
fail2ban/tests/files/logs/ejabberd-auth
|
fail2ban/tests/files/logs/ejabberd-auth
|
||||||
fail2ban/tests/files/logs/exim
|
fail2ban/tests/files/logs/exim
|
||||||
fail2ban/tests/files/logs/exim-spam
|
fail2ban/tests/files/logs/exim-spam
|
||||||
fail2ban/tests/files/logs/freeswitch
|
fail2ban/tests/files/logs/freeswitch
|
||||||
|
fail2ban/tests/files/logs/froxlor-auth
|
||||||
fail2ban/tests/files/logs/groupoffice
|
fail2ban/tests/files/logs/groupoffice
|
||||||
fail2ban/tests/files/logs/gssftpd
|
fail2ban/tests/files/logs/gssftpd
|
||||||
fail2ban/tests/files/logs/guacamole
|
fail2ban/tests/files/logs/guacamole
|
||||||
|
@ -309,7 +313,6 @@ fail2ban/tests/files/logs/screensharingd
|
||||||
fail2ban/tests/files/logs/selinux-ssh
|
fail2ban/tests/files/logs/selinux-ssh
|
||||||
fail2ban/tests/files/logs/sendmail-auth
|
fail2ban/tests/files/logs/sendmail-auth
|
||||||
fail2ban/tests/files/logs/sendmail-reject
|
fail2ban/tests/files/logs/sendmail-reject
|
||||||
fail2ban/tests/files/logs/sendmail-spam
|
|
||||||
fail2ban/tests/files/logs/sieve
|
fail2ban/tests/files/logs/sieve
|
||||||
fail2ban/tests/files/logs/sogo-auth
|
fail2ban/tests/files/logs/sogo-auth
|
||||||
fail2ban/tests/files/logs/solid-pop3d
|
fail2ban/tests/files/logs/solid-pop3d
|
||||||
|
@ -325,6 +328,7 @@ fail2ban/tests/files/logs/vsftpd
|
||||||
fail2ban/tests/files/logs/webmin-auth
|
fail2ban/tests/files/logs/webmin-auth
|
||||||
fail2ban/tests/files/logs/wuftpd
|
fail2ban/tests/files/logs/wuftpd
|
||||||
fail2ban/tests/files/logs/xinetd-fail
|
fail2ban/tests/files/logs/xinetd-fail
|
||||||
|
fail2ban/tests/files/logs/zzz-generic-example
|
||||||
fail2ban/tests/files/testcase01.log
|
fail2ban/tests/files/testcase01.log
|
||||||
fail2ban/tests/files/testcase02.log
|
fail2ban/tests/files/testcase02.log
|
||||||
fail2ban/tests/files/testcase03.log
|
fail2ban/tests/files/testcase03.log
|
||||||
|
@ -356,6 +360,8 @@ files/gentoo-confd
|
||||||
files/gentoo-initd
|
files/gentoo-initd
|
||||||
files/ipmasq-ZZZzzz_fail2ban.rul
|
files/ipmasq-ZZZzzz_fail2ban.rul
|
||||||
files/logwatch/fail2ban
|
files/logwatch/fail2ban
|
||||||
|
files/logwatch/fail2ban-0.8.log
|
||||||
|
files/logwatch/fail2ban-0.9.log
|
||||||
files/macosx-initd
|
files/macosx-initd
|
||||||
files/monit/fail2ban
|
files/monit/fail2ban
|
||||||
files/nagios/check_fail2ban
|
files/nagios/check_fail2ban
|
||||||
|
@ -373,6 +379,8 @@ man/fail2ban-regex.1
|
||||||
man/fail2ban-regex.h2m
|
man/fail2ban-regex.h2m
|
||||||
man/fail2ban-server.1
|
man/fail2ban-server.1
|
||||||
man/fail2ban-server.h2m
|
man/fail2ban-server.h2m
|
||||||
|
man/fail2ban-testcases.1
|
||||||
|
man/fail2ban-testcases.h2m
|
||||||
man/generate-man
|
man/generate-man
|
||||||
man/jail.conf.5
|
man/jail.conf.5
|
||||||
README.md
|
README.md
|
||||||
|
|
2
RELEASE
2
RELEASE
|
@ -190,7 +190,7 @@ Post Release
|
||||||
|
|
||||||
Add the following to the top of the ChangeLog::
|
Add the following to the top of the ChangeLog::
|
||||||
|
|
||||||
ver. 0.9.6 (2016/XX/XXX) - wanna-be-released
|
ver. 0.10.0 (2016/XX/XXX) - wanna-be-released
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
- Fixes:
|
- Fixes:
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
|
||||||
.TH FAIL2BAN-CLIENT "1" "March 2016" "fail2ban-client v0.9.4" "User Commands"
|
.TH FAIL2BAN-CLIENT "1" "July 2016" "fail2ban-client v0.10.0a1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fail2ban-client \- configure and control the server
|
fail2ban-client \- configure and control the server
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B fail2ban-client
|
.B fail2ban-client
|
||||||
[\fI\,OPTIONS\/\fR] \fI\,<COMMAND>\/\fR
|
[\fIOPTIONS\fR] \fI<COMMAND>\fR
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Fail2Ban v0.9.4 reads log file that contains password failure report
|
Fail2Ban v0.10.0a1 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.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
|
@ -19,6 +19,13 @@ socket path
|
||||||
\fB\-p\fR <FILE>
|
\fB\-p\fR <FILE>
|
||||||
pidfile path
|
pidfile path
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-\-loglevel\fR <LEVEL>
|
||||||
|
logging level
|
||||||
|
.HP
|
||||||
|
\fB\-\-logtarget\fR <FILE>|STDOUT|STDERR|SYSLOG
|
||||||
|
.HP
|
||||||
|
\fB\-\-syslogsocket\fR auto|<FILE>
|
||||||
|
.TP
|
||||||
\fB\-d\fR
|
\fB\-d\fR
|
||||||
dump configuration. For debugging
|
dump configuration. For debugging
|
||||||
.TP
|
.TP
|
||||||
|
@ -38,7 +45,13 @@ force execution of the server (remove socket file)
|
||||||
start server in background (default)
|
start server in background (default)
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fR
|
\fB\-f\fR
|
||||||
start server in foreground (note that the client forks once itself)
|
start server in foreground
|
||||||
|
.TP
|
||||||
|
\fB\-\-async\fR
|
||||||
|
start server in async mode (for internal usage only, don't read configuration)
|
||||||
|
.TP
|
||||||
|
\fB\-\-timeout\fR
|
||||||
|
timeout to wait for the server (for internal usage only, don't read configuration)
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fR, \fB\-\-help\fR
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
display this help message
|
display this help message
|
||||||
|
@ -52,8 +65,12 @@ BASIC
|
||||||
\fBstart\fR
|
\fBstart\fR
|
||||||
starts the server and the jails
|
starts the server and the jails
|
||||||
.TP
|
.TP
|
||||||
|
\fBrestart\fR
|
||||||
|
restarts the server
|
||||||
|
.TP
|
||||||
\fBreload\fR
|
\fBreload\fR
|
||||||
reloads the configuration
|
reloads the configuration without
|
||||||
|
restart
|
||||||
.TP
|
.TP
|
||||||
\fBreload <JAIL>\fR
|
\fBreload <JAIL>\fR
|
||||||
reloads the jail <JAIL>
|
reloads the jail <JAIL>
|
||||||
|
@ -69,6 +86,10 @@ server
|
||||||
\fBping\fR
|
\fBping\fR
|
||||||
tests if the server is alive
|
tests if the server is alive
|
||||||
.TP
|
.TP
|
||||||
|
\fBecho\fR
|
||||||
|
for internal usage, returns back
|
||||||
|
and outputs a given string
|
||||||
|
.TP
|
||||||
\fBhelp\fR
|
\fBhelp\fR
|
||||||
return this output
|
return this output
|
||||||
.TP
|
.TP
|
||||||
|
@ -227,8 +248,9 @@ for <JAIL>
|
||||||
\fBset <JAIL> maxlines <LINES>\fR
|
\fBset <JAIL> maxlines <LINES>\fR
|
||||||
sets the number of <LINES> to
|
sets the number of <LINES> to
|
||||||
buffer for regex search for <JAIL>
|
buffer for regex search for <JAIL>
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> addaction <ACT>[ <PYTHONFILE> <JSONKWARGS>]\fR
|
set <JAIL> addaction <ACT>[ <PYTHONFILE> <JSONKWARGS>]
|
||||||
|
.IP
|
||||||
adds a new action named <ACT> for
|
adds a new action named <ACT> for
|
||||||
<JAIL>. Optionally for a Python
|
<JAIL>. Optionally for a Python
|
||||||
based action, a <PYTHONFILE> and
|
based action, a <PYTHONFILE> and
|
||||||
|
@ -240,38 +262,45 @@ removes the action <ACT> from
|
||||||
<JAIL>
|
<JAIL>
|
||||||
.IP
|
.IP
|
||||||
COMMAND ACTION CONFIGURATION
|
COMMAND ACTION CONFIGURATION
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> action <ACT> actionstart <CMD>\fR
|
set <JAIL> action <ACT> actionstart <CMD>
|
||||||
|
.IP
|
||||||
sets the start command <CMD> of
|
sets the start command <CMD> of
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> action <ACT> actionstop <CMD> sets the stop command <CMD> of the\fR
|
set <JAIL> action <ACT> actionstop <CMD> sets the stop command <CMD> of the
|
||||||
|
.IP
|
||||||
action <ACT> for <JAIL>
|
action <ACT> for <JAIL>
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> action <ACT> actioncheck <CMD>\fR
|
set <JAIL> action <ACT> actioncheck <CMD>
|
||||||
|
.IP
|
||||||
sets the check command <CMD> of
|
sets the check command <CMD> of
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.TP
|
.TP
|
||||||
\fBset <JAIL> action <ACT> actionban <CMD>\fR
|
\fBset <JAIL> action <ACT> actionban <CMD>\fR
|
||||||
sets the ban command <CMD> of the
|
sets the ban command <CMD> of the
|
||||||
action <ACT> for <JAIL>
|
action <ACT> for <JAIL>
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> action <ACT> actionunban <CMD>\fR
|
set <JAIL> action <ACT> actionunban <CMD>
|
||||||
|
.IP
|
||||||
sets the unban command <CMD> of
|
sets the unban command <CMD> of
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> action <ACT> timeout <TIMEOUT>\fR
|
set <JAIL> action <ACT> timeout <TIMEOUT>
|
||||||
|
.IP
|
||||||
sets <TIMEOUT> as the command
|
sets <TIMEOUT> as the command
|
||||||
timeout in seconds for the action
|
timeout in seconds for the action
|
||||||
<ACT> for <JAIL>
|
<ACT> for <JAIL>
|
||||||
.IP
|
.IP
|
||||||
GENERAL ACTION CONFIGURATION
|
GENERAL ACTION CONFIGURATION
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> action <ACT> <PROPERTY> <VALUE>\fR
|
set <JAIL> action <ACT> <PROPERTY> <VALUE>
|
||||||
|
.IP
|
||||||
sets the <VALUE> of <PROPERTY> for
|
sets the <VALUE> of <PROPERTY> for
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.TP
|
.IP
|
||||||
\fBset <JAIL> action <ACT> <METHOD>[ <JSONKWARGS>]\fR
|
set <JAIL> action <ACT> <METHOD>[ <JSONKWARGS>]
|
||||||
|
.IP
|
||||||
calls the <METHOD> with
|
calls the <METHOD> with
|
||||||
<JSONKWARGS> for the action <ACT>
|
<JSONKWARGS> for the action <ACT>
|
||||||
for <JAIL>
|
for <JAIL>
|
||||||
|
@ -376,9 +405,6 @@ gets the value of <PROPERTY> for
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.SH FILES
|
.SH FILES
|
||||||
\fI/etc/fail2ban/*\fR
|
\fI/etc/fail2ban/*\fR
|
||||||
.SH AUTHOR
|
|
||||||
Written by Cyril Jaquier <cyril.jaquier@fail2ban.org>.
|
|
||||||
Many contributions by Yaroslav O. Halchenko <debian@onerussian.com>.
|
|
||||||
.SH "REPORTING BUGS"
|
.SH "REPORTING BUGS"
|
||||||
Report bugs to https://github.com/fail2ban/fail2ban/issues
|
Report bugs to https://github.com/fail2ban/fail2ban/issues
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
|
||||||
.TH FAIL2BAN-REGEX "1" "March 2016" "fail2ban-regex 0.9.4" "User Commands"
|
.TH FAIL2BAN-REGEX "1" "July 2016" "fail2ban-regex 0.10.0a1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fail2ban-regex \- test Fail2ban "failregex" option
|
fail2ban-regex \- test Fail2ban "failregex" option
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B fail2ban-regex
|
.B fail2ban-regex
|
||||||
[\fI\,OPTIONS\/\fR] \fI\,<LOG> <REGEX> \/\fR[\fI\,IGNOREREGEX\/\fR]
|
[\fIOPTIONS\fR] \fI<LOG> <REGEX> \fR[\fIIGNOREREGEX\fR]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Fail2Ban reads log file that contains password failure report
|
Fail2Ban 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.
|
||||||
|
@ -16,7 +16,7 @@ string
|
||||||
a string representing a log line
|
a string representing a log line
|
||||||
.TP
|
.TP
|
||||||
filename
|
filename
|
||||||
path to a log file (\fI\,/var/log/auth.log\/\fP)
|
path to a log file (\fI/var/log/auth.log\fP)
|
||||||
.TP
|
.TP
|
||||||
"systemd\-journal"
|
"systemd\-journal"
|
||||||
search systemd journal (systemd\-python required)
|
search systemd journal (systemd\-python required)
|
||||||
|
@ -42,20 +42,23 @@ show program's version number and exit
|
||||||
\fB\-h\fR, \fB\-\-help\fR
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
show this help message and exit
|
show this help message and exit
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fR DATEPATTERN, \fB\-\-datepattern\fR=\fI\,DATEPATTERN\/\fR
|
\fB\-d\fR DATEPATTERN, \fB\-\-datepattern\fR=\fIDATEPATTERN\fR
|
||||||
set custom pattern used to match date/times
|
set custom pattern used to match date/times
|
||||||
.TP
|
.TP
|
||||||
\fB\-e\fR ENCODING, \fB\-\-encoding\fR=\fI\,ENCODING\/\fR
|
\fB\-e\fR ENCODING, \fB\-\-encoding\fR=\fIENCODING\fR
|
||||||
File encoding. Default: system locale
|
File encoding. Default: system locale
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fR MAXLINES, \fB\-\-maxlines\fR=\fI\,MAXLINES\/\fR
|
\fB\-r\fR, \fB\-\-raw\fR
|
||||||
|
Raw hosts, don't resolve dns
|
||||||
|
.TP
|
||||||
|
\fB\-L\fR MAXLINES, \fB\-\-maxlines\fR=\fIMAXLINES\fR
|
||||||
maxlines for multi\-line regex
|
maxlines for multi\-line regex
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fR JOURNALMATCH, \fB\-\-journalmatch\fR=\fI\,JOURNALMATCH\/\fR
|
\fB\-m\fR JOURNALMATCH, \fB\-\-journalmatch\fR=\fIJOURNALMATCH\fR
|
||||||
journalctl style matches overriding filter file.
|
journalctl style matches overriding filter file.
|
||||||
"systemd\-journal" only
|
"systemd\-journal" only
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fR LOG_LEVEL, \fB\-\-log\-level\fR=\fI\,LOG_LEVEL\/\fR
|
\fB\-l\fR LOG_LEVEL, \fB\-\-log\-level\fR=\fILOG_LEVEL\fR
|
||||||
Log level for the Fail2Ban logger to use
|
Log level for the Fail2Ban logger to use
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fR, \fB\-\-verbose\fR
|
\fB\-v\fR, \fB\-\-verbose\fR
|
||||||
|
|
|
@ -1,24 +1,17 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
|
||||||
.TH FAIL2BAN-SERVER "1" "March 2016" "fail2ban-server v0.9.4" "User Commands"
|
.TH FAIL2BAN-SERVER "1" "July 2016" "fail2ban-server v0.10.0a1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fail2ban-server \- start the server
|
fail2ban-server \- start the server
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B fail2ban-server
|
.B fail2ban-server
|
||||||
[\fI\,OPTIONS\/\fR]
|
[\fIOPTIONS\fR]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Fail2Ban v0.9.4 reads log file that contains password failure report
|
Fail2Ban v0.10.0a1 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
|
|
||||||
Only use this command for debugging purpose. Start the server with
|
|
||||||
fail2ban\-client instead. The default behaviour is to start the server
|
|
||||||
in background.
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fR
|
\fB\-c\fR <DIR>
|
||||||
start in background
|
configuration directory
|
||||||
.TP
|
|
||||||
\fB\-f\fR
|
|
||||||
start in foreground
|
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fR <FILE>
|
\fB\-s\fR <FILE>
|
||||||
socket path
|
socket path
|
||||||
|
@ -26,17 +19,45 @@ socket path
|
||||||
\fB\-p\fR <FILE>
|
\fB\-p\fR <FILE>
|
||||||
pidfile path
|
pidfile path
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-\-loglevel\fR <LEVEL>
|
||||||
|
logging level
|
||||||
|
.HP
|
||||||
|
\fB\-\-logtarget\fR <FILE>|STDOUT|STDERR|SYSLOG
|
||||||
|
.HP
|
||||||
|
\fB\-\-syslogsocket\fR auto|<FILE>
|
||||||
|
.TP
|
||||||
|
\fB\-d\fR
|
||||||
|
dump configuration. For debugging
|
||||||
|
.TP
|
||||||
|
\fB\-i\fR
|
||||||
|
interactive mode
|
||||||
|
.TP
|
||||||
|
\fB\-v\fR
|
||||||
|
increase verbosity
|
||||||
|
.TP
|
||||||
|
\fB\-q\fR
|
||||||
|
decrease verbosity
|
||||||
|
.TP
|
||||||
\fB\-x\fR
|
\fB\-x\fR
|
||||||
force execution of the server (remove socket file)
|
force execution of the server (remove socket file)
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-b\fR
|
||||||
|
start server in background (default)
|
||||||
|
.TP
|
||||||
|
\fB\-f\fR
|
||||||
|
start server in foreground
|
||||||
|
.TP
|
||||||
|
\fB\-\-async\fR
|
||||||
|
start server in async mode (for internal usage only, don't read configuration)
|
||||||
|
.TP
|
||||||
|
\fB\-\-timeout\fR
|
||||||
|
timeout to wait for the server (for internal usage only, don't read configuration)
|
||||||
|
.TP
|
||||||
\fB\-h\fR, \fB\-\-help\fR
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
display this help message
|
display this help message
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fR, \fB\-\-version\fR
|
\fB\-V\fR, \fB\-\-version\fR
|
||||||
print the version
|
print the version
|
||||||
.SH AUTHOR
|
|
||||||
Written by Cyril Jaquier <cyril.jaquier@fail2ban.org>.
|
|
||||||
Many contributions by Yaroslav O. Halchenko <debian@onerussian.com>.
|
|
||||||
.SH "REPORTING BUGS"
|
.SH "REPORTING BUGS"
|
||||||
Report bugs to https://github.com/fail2ban/fail2ban/issues
|
Report bugs to https://github.com/fail2ban/fail2ban/issues
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
|
||||||
.TH FAIL2BAN-TESTCASES "1" "March 2016" "fail2ban-testcases 0.9.4" "User Commands"
|
.TH FAIL2BAN-TESTCASES "1" "July 2016" "fail2ban-testcases 0.10.0a1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fail2ban-testcases \- run Fail2Ban unit-tests
|
fail2ban-testcases \- run Fail2Ban unit-tests
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B fail2ban-testcases
|
.B fail2ban-testcases
|
||||||
[\fI\,OPTIONS\/\fR] [\fI\,regexps\/\fR]
|
[\fIOPTIONS\fR] [\fIregexps\fR]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Script to run Fail2Ban tests battery
|
Script to run Fail2Ban tests battery
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
@ -15,12 +15,26 @@ show program's version number and exit
|
||||||
\fB\-h\fR, \fB\-\-help\fR
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
show this help message and exit
|
show this help message and exit
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fR LOG_LEVEL, \fB\-\-log\-level\fR=\fI\,LOG_LEVEL\/\fR
|
\fB\-l\fR LOG_LEVEL, \fB\-\-log\-level\fR=\fILOG_LEVEL\fR
|
||||||
Log level for the logger to use during running tests
|
Log level for the logger to use during running tests
|
||||||
.TP
|
.TP
|
||||||
\fB\-n\fR, \fB\-\-no\-network\fR
|
\fB\-n\fR, \fB\-\-no\-network\fR
|
||||||
Do not run tests that require the network
|
Do not run tests that require the network
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-g\fR, \fB\-\-no\-gamin\fR
|
||||||
|
Do not run tests that require the gamin
|
||||||
|
.TP
|
||||||
|
\fB\-m\fR, \fB\-\-memory\-db\fR
|
||||||
|
Run database tests using memory instead of file
|
||||||
|
.TP
|
||||||
|
\fB\-f\fR, \fB\-\-fast\fR
|
||||||
|
Try to increase speed of the tests, decreasing of wait
|
||||||
|
intervals, memory database
|
||||||
|
.TP
|
||||||
|
\fB\-i\fR, \fB\-\-ignore\fR
|
||||||
|
negate [regexps] filter to ignore tests matched
|
||||||
|
specified regexps
|
||||||
|
.TP
|
||||||
\fB\-t\fR, \fB\-\-log\-traceback\fR
|
\fB\-t\fR, \fB\-\-log\-traceback\fR
|
||||||
Enrich log\-messages with compressed tracebacks
|
Enrich log\-messages with compressed tracebacks
|
||||||
.TP
|
.TP
|
||||||
|
|
Loading…
Reference in New Issue