mirror of https://github.com/fail2ban/fail2ban
Merge remote-tracking branch 'remotes/upstream/master' into sebres:ban-time-incr
commit
c1db282fcd
|
@ -20,7 +20,7 @@ ver. 0.9.2 (2014/xx/xx) - increment ban time
|
||||||
- restoring currently banned ip after service restart fixed
|
- restoring currently banned ip after service restart fixed
|
||||||
(now < timeofban + bantime), ignore old log failures (already banned)
|
(now < timeofban + bantime), ignore old log failures (already banned)
|
||||||
|
|
||||||
ver. 0.9.1 (2014/xx/xx) - better, faster, stronger
|
ver. 0.9.1 (2014/10/29) - better, faster, stronger
|
||||||
----------
|
----------
|
||||||
|
|
||||||
- Refactoring (IMPORTANT -- Please review your setup and configuration):
|
- Refactoring (IMPORTANT -- Please review your setup and configuration):
|
||||||
|
|
348
MANIFEST
348
MANIFEST
|
@ -1,11 +1,14 @@
|
||||||
README.md
|
CONTRIBUTING.md
|
||||||
README.Solaris
|
|
||||||
ChangeLog
|
|
||||||
TODO
|
|
||||||
THANKS
|
|
||||||
COPYING
|
COPYING
|
||||||
|
ChangeLog
|
||||||
DEVELOP
|
DEVELOP
|
||||||
FILTERS
|
FILTERS
|
||||||
|
README.Solaris
|
||||||
|
README.md
|
||||||
|
RELEASE
|
||||||
|
THANKS
|
||||||
|
TODO
|
||||||
|
Vagrantfile
|
||||||
fail2ban-2to3
|
fail2ban-2to3
|
||||||
fail2ban-testcases-all
|
fail2ban-testcases-all
|
||||||
fail2ban-testcases-all-python3
|
fail2ban-testcases-all-python3
|
||||||
|
@ -14,109 +17,108 @@ bin/fail2ban-server
|
||||||
bin/fail2ban-testcases
|
bin/fail2ban-testcases
|
||||||
bin/fail2ban-regex
|
bin/fail2ban-regex
|
||||||
doc/run-rootless.txt
|
doc/run-rootless.txt
|
||||||
fail2ban/client/configreader.py
|
|
||||||
fail2ban/client/configparserinc.py
|
|
||||||
fail2ban/client/jailreader.py
|
|
||||||
fail2ban/client/fail2banreader.py
|
|
||||||
fail2ban/client/jailsreader.py
|
|
||||||
fail2ban/client/beautifier.py
|
|
||||||
fail2ban/client/filterreader.py
|
|
||||||
fail2ban/client/actionreader.py
|
|
||||||
fail2ban/client/__init__.py
|
fail2ban/client/__init__.py
|
||||||
|
fail2ban/client/actionreader.py
|
||||||
|
fail2ban/client/beautifier.py
|
||||||
|
fail2ban/client/configparserinc.py
|
||||||
|
fail2ban/client/configreader.py
|
||||||
fail2ban/client/configurator.py
|
fail2ban/client/configurator.py
|
||||||
fail2ban/client/csocket.py
|
fail2ban/client/csocket.py
|
||||||
fail2ban/server/asyncserver.py
|
fail2ban/client/fail2banreader.py
|
||||||
fail2ban/server/database.py
|
fail2ban/client/filterreader.py
|
||||||
fail2ban/server/filter.py
|
fail2ban/client/jailreader.py
|
||||||
fail2ban/server/filterpyinotify.py
|
fail2ban/client/jailsreader.py
|
||||||
fail2ban/server/filtergamin.py
|
fail2ban/server/__init__.py
|
||||||
fail2ban/server/filterpoll.py
|
fail2ban/server/action.py
|
||||||
fail2ban/server/filtersystemd.py
|
|
||||||
fail2ban/server/iso8601.py
|
|
||||||
fail2ban/server/server.py
|
|
||||||
fail2ban/server/actions.py
|
fail2ban/server/actions.py
|
||||||
|
fail2ban/server/asyncserver.py
|
||||||
|
fail2ban/server/banmanager.py
|
||||||
|
fail2ban/server/database.py
|
||||||
|
fail2ban/server/datedetector.py
|
||||||
|
fail2ban/server/datetemplate.py
|
||||||
fail2ban/server/faildata.py
|
fail2ban/server/faildata.py
|
||||||
fail2ban/server/failmanager.py
|
fail2ban/server/failmanager.py
|
||||||
fail2ban/server/datedetector.py
|
fail2ban/server/failregex.py
|
||||||
fail2ban/server/jailthread.py
|
fail2ban/server/filter.py
|
||||||
fail2ban/server/transmitter.py
|
fail2ban/server/filtergamin.py
|
||||||
fail2ban/server/action.py
|
fail2ban/server/filterpoll.py
|
||||||
fail2ban/server/ticket.py
|
fail2ban/server/filterpyinotify.py
|
||||||
|
fail2ban/server/filtersystemd.py
|
||||||
|
fail2ban/server/iso8601.py
|
||||||
fail2ban/server/jail.py
|
fail2ban/server/jail.py
|
||||||
fail2ban/server/jails.py
|
fail2ban/server/jails.py
|
||||||
fail2ban/server/__init__.py
|
fail2ban/server/jailthread.py
|
||||||
fail2ban/server/banmanager.py
|
|
||||||
fail2ban/server/datetemplate.py
|
|
||||||
fail2ban/server/mytime.py
|
fail2ban/server/mytime.py
|
||||||
fail2ban/server/failregex.py
|
fail2ban/server/server.py
|
||||||
fail2ban/server/database.py
|
fail2ban/server/strptime.py
|
||||||
fail2ban/tests/banmanagertestcase.py
|
fail2ban/server/ticket.py
|
||||||
fail2ban/tests/failmanagertestcase.py
|
fail2ban/server/transmitter.py
|
||||||
fail2ban/tests/clientreadertestcase.py
|
|
||||||
fail2ban/tests/filtertestcase.py
|
|
||||||
fail2ban/tests/__init__.py
|
fail2ban/tests/__init__.py
|
||||||
fail2ban/tests/dummyjail.py
|
fail2ban/tests/action_d/__init__.py
|
||||||
fail2ban/tests/samplestestcase.py
|
fail2ban/tests/action_d/test_badips.py
|
||||||
fail2ban/tests/datedetectortestcase.py
|
fail2ban/tests/action_d/test_smtp.py
|
||||||
|
fail2ban/tests/actionstestcase.py
|
||||||
fail2ban/tests/actiontestcase.py
|
fail2ban/tests/actiontestcase.py
|
||||||
fail2ban/tests/servertestcase.py
|
fail2ban/tests/banmanagertestcase.py
|
||||||
fail2ban/tests/sockettestcase.py
|
fail2ban/tests/clientreadertestcase.py
|
||||||
fail2ban/tests/utils.py
|
fail2ban/tests/config/action.d/brokenaction.conf
|
||||||
fail2ban/tests/misctestcase.py
|
|
||||||
fail2ban/tests/databasetestcase.py
|
|
||||||
fail2ban/tests/config/jail.conf
|
|
||||||
fail2ban/tests/config/fail2ban.conf
|
fail2ban/tests/config/fail2ban.conf
|
||||||
|
fail2ban/tests/config/filter.d/simple.conf
|
||||||
|
fail2ban/tests/config/jail.conf
|
||||||
fail2ban/tests/config/paths-common.conf
|
fail2ban/tests/config/paths-common.conf
|
||||||
|
fail2ban/tests/config/paths-debian.conf
|
||||||
fail2ban/tests/config/paths-freebsd.conf
|
fail2ban/tests/config/paths-freebsd.conf
|
||||||
fail2ban/tests/config/paths-osx.conf
|
fail2ban/tests/config/paths-osx.conf
|
||||||
fail2ban/tests/config/paths-debian.conf
|
fail2ban/tests/databasetestcase.py
|
||||||
fail2ban/tests/config/filter.d/simple.conf
|
fail2ban/tests/datedetectortestcase.py
|
||||||
fail2ban/tests/config/action.d/brokenaction.conf
|
fail2ban/tests/dummyjail.py
|
||||||
fail2ban/tests/files/config/apache-auth/digest/.htaccess
|
fail2ban/tests/failmanagertestcase.py
|
||||||
fail2ban/tests/files/config/apache-auth/digest/.htpasswd
|
fail2ban/tests/files/action.d/action.py
|
||||||
fail2ban/tests/files/config/apache-auth/digest_time/.htaccess
|
fail2ban/tests/files/action.d/action_errors.py
|
||||||
fail2ban/tests/files/config/apache-auth/digest_time/.htpasswd
|
fail2ban/tests/files/action.d/action_modifyainfo.py
|
||||||
|
fail2ban/tests/files/action.d/action_noAction.py
|
||||||
|
fail2ban/tests/files/action.d/action_nomethod.py
|
||||||
|
fail2ban/tests/files/config/apache-auth/README
|
||||||
fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htaccess
|
fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htaccess
|
||||||
fail2ban/tests/files/config/apache-auth/basic/authz_owner/cant_get_me.html
|
|
||||||
fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htpasswd
|
fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htpasswd
|
||||||
|
fail2ban/tests/files/config/apache-auth/basic/authz_owner/cant_get_me.html
|
||||||
fail2ban/tests/files/config/apache-auth/basic/file/.htaccess
|
fail2ban/tests/files/config/apache-auth/basic/file/.htaccess
|
||||||
fail2ban/tests/files/config/apache-auth/basic/file/.htpasswd
|
fail2ban/tests/files/config/apache-auth/basic/file/.htpasswd
|
||||||
fail2ban/tests/files/config/apache-auth/digest.py
|
fail2ban/tests/files/config/apache-auth/digest.py
|
||||||
fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htaccess
|
fail2ban/tests/files/config/apache-auth/digest/.htaccess
|
||||||
fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htpasswd
|
fail2ban/tests/files/config/apache-auth/digest/.htpasswd
|
||||||
fail2ban/tests/files/config/apache-auth/digest_anon/.htaccess
|
fail2ban/tests/files/config/apache-auth/digest_anon/.htaccess
|
||||||
fail2ban/tests/files/config/apache-auth/digest_anon/.htpasswd
|
fail2ban/tests/files/config/apache-auth/digest_anon/.htpasswd
|
||||||
fail2ban/tests/files/config/apache-auth/README
|
fail2ban/tests/files/config/apache-auth/digest_time/.htaccess
|
||||||
|
fail2ban/tests/files/config/apache-auth/digest_time/.htpasswd
|
||||||
|
fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htaccess
|
||||||
|
fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htpasswd
|
||||||
fail2ban/tests/files/config/apache-auth/noentry/.htaccess
|
fail2ban/tests/files/config/apache-auth/noentry/.htaccess
|
||||||
fail2ban/tests/files/database_v1.db
|
fail2ban/tests/files/database_v1.db
|
||||||
fail2ban/tests/files/ignorecommand.py
|
|
||||||
fail2ban/tests/files/filter.d/substition.conf
|
fail2ban/tests/files/filter.d/substition.conf
|
||||||
fail2ban/tests/files/filter.d/testcase-common.conf
|
fail2ban/tests/files/filter.d/testcase-common.conf
|
||||||
fail2ban/tests/files/filter.d/testcase01.conf
|
fail2ban/tests/files/filter.d/testcase01.conf
|
||||||
fail2ban/tests/files/testcase01.log
|
fail2ban/tests/files/ignorecommand.py
|
||||||
fail2ban/tests/files/testcase02.log
|
|
||||||
fail2ban/tests/files/testcase03.log
|
|
||||||
fail2ban/tests/files/testcase04.log
|
|
||||||
fail2ban/tests/files/testcase-usedns.log
|
|
||||||
fail2ban/tests/files/testcase-journal.log
|
|
||||||
fail2ban/tests/files/testcase-multiline.log
|
|
||||||
fail2ban/tests/files/logs/bsd/syslog-plain.txt
|
|
||||||
fail2ban/tests/files/logs/bsd/syslog-v.txt
|
|
||||||
fail2ban/tests/files/logs/bsd/syslog-vv.txt
|
|
||||||
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-botscripts
|
||||||
|
fail2ban/tests/files/logs/apache-botsearch
|
||||||
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-shellshock
|
||||||
fail2ban/tests/files/logs/assp
|
fail2ban/tests/files/logs/assp
|
||||||
fail2ban/tests/files/logs/asterisk
|
fail2ban/tests/files/logs/asterisk
|
||||||
|
fail2ban/tests/files/logs/bsd/syslog-plain.txt
|
||||||
|
fail2ban/tests/files/logs/bsd/syslog-v.txt
|
||||||
|
fail2ban/tests/files/logs/bsd/syslog-vv.txt
|
||||||
fail2ban/tests/files/logs/counter-strike
|
fail2ban/tests/files/logs/counter-strike
|
||||||
fail2ban/tests/files/logs/courier-auth
|
fail2ban/tests/files/logs/courier-auth
|
||||||
fail2ban/tests/files/logs/courier-smtp
|
fail2ban/tests/files/logs/courier-smtp
|
||||||
fail2ban/tests/files/logs/cyrus-imap
|
fail2ban/tests/files/logs/cyrus-imap
|
||||||
|
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/ejabberd-auth
|
fail2ban/tests/files/logs/ejabberd-auth
|
||||||
|
@ -126,42 +128,60 @@ fail2ban/tests/files/logs/freeswitch
|
||||||
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
|
||||||
|
fail2ban/tests/files/logs/horde
|
||||||
fail2ban/tests/files/logs/kerio
|
fail2ban/tests/files/logs/kerio
|
||||||
fail2ban/tests/files/logs/lighttpd-auth
|
fail2ban/tests/files/logs/lighttpd-auth
|
||||||
|
fail2ban/tests/files/logs/monit
|
||||||
fail2ban/tests/files/logs/mysqld-auth
|
fail2ban/tests/files/logs/mysqld-auth
|
||||||
fail2ban/tests/files/logs/nagios
|
fail2ban/tests/files/logs/nagios
|
||||||
fail2ban/tests/files/logs/nsd
|
|
||||||
fail2ban/tests/files/logs/perdition
|
|
||||||
fail2ban/tests/files/logs/php-url-fopen
|
|
||||||
fail2ban/tests/files/logs/postfix-sasl
|
|
||||||
fail2ban/tests/files/logs/named-refused
|
fail2ban/tests/files/logs/named-refused
|
||||||
fail2ban/tests/files/logs/nginx-http-auth
|
fail2ban/tests/files/logs/nginx-http-auth
|
||||||
|
fail2ban/tests/files/logs/nsd
|
||||||
|
fail2ban/tests/files/logs/openwebmail
|
||||||
|
fail2ban/tests/files/logs/oracleims
|
||||||
fail2ban/tests/files/logs/pam-generic
|
fail2ban/tests/files/logs/pam-generic
|
||||||
|
fail2ban/tests/files/logs/perdition
|
||||||
|
fail2ban/tests/files/logs/php-url-fopen
|
||||||
|
fail2ban/tests/files/logs/portsentry
|
||||||
fail2ban/tests/files/logs/postfix
|
fail2ban/tests/files/logs/postfix
|
||||||
|
fail2ban/tests/files/logs/postfix-sasl
|
||||||
fail2ban/tests/files/logs/proftpd
|
fail2ban/tests/files/logs/proftpd
|
||||||
fail2ban/tests/files/logs/pure-ftpd
|
fail2ban/tests/files/logs/pure-ftpd
|
||||||
fail2ban/tests/files/logs/qmail
|
fail2ban/tests/files/logs/qmail
|
||||||
fail2ban/tests/files/logs/recidive
|
fail2ban/tests/files/logs/recidive
|
||||||
fail2ban/tests/files/logs/roundcube-auth
|
fail2ban/tests/files/logs/roundcube-auth
|
||||||
fail2ban/tests/files/logs/selinux-ssh
|
fail2ban/tests/files/logs/selinux-ssh
|
||||||
|
fail2ban/tests/files/logs/sendmail-auth
|
||||||
|
fail2ban/tests/files/logs/sendmail-reject
|
||||||
fail2ban/tests/files/logs/sendmail-spam
|
fail2ban/tests/files/logs/sendmail-spam
|
||||||
fail2ban/tests/files/logs/sieve
|
fail2ban/tests/files/logs/sieve
|
||||||
fail2ban/tests/files/logs/squid
|
|
||||||
fail2ban/tests/files/logs/stunnel
|
|
||||||
fail2ban/tests/files/logs/suhosin
|
|
||||||
fail2ban/tests/files/logs/sogo-auth
|
fail2ban/tests/files/logs/sogo-auth
|
||||||
fail2ban/tests/files/logs/solid-pop3d
|
fail2ban/tests/files/logs/solid-pop3d
|
||||||
|
fail2ban/tests/files/logs/squid
|
||||||
|
fail2ban/tests/files/logs/squirrelmail
|
||||||
fail2ban/tests/files/logs/sshd
|
fail2ban/tests/files/logs/sshd
|
||||||
fail2ban/tests/files/logs/sshd-ddos
|
fail2ban/tests/files/logs/sshd-ddos
|
||||||
|
fail2ban/tests/files/logs/stunnel
|
||||||
|
fail2ban/tests/files/logs/suhosin
|
||||||
|
fail2ban/tests/files/logs/tine20
|
||||||
|
fail2ban/tests/files/logs/uwimap-auth
|
||||||
fail2ban/tests/files/logs/vsftpd
|
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/uwimap-auth
|
|
||||||
fail2ban/tests/files/logs/xinetd-fail
|
fail2ban/tests/files/logs/xinetd-fail
|
||||||
fail2ban/tests/config/jail.conf
|
fail2ban/tests/files/testcase-journal.log
|
||||||
fail2ban/tests/config/fail2ban.conf
|
fail2ban/tests/files/testcase-multiline.log
|
||||||
fail2ban/tests/config/filter.d/simple.conf
|
fail2ban/tests/files/testcase-usedns.log
|
||||||
fail2ban/tests/config/action.d/brokenaction.conf
|
fail2ban/tests/files/testcase01.log
|
||||||
|
fail2ban/tests/files/testcase02.log
|
||||||
|
fail2ban/tests/files/testcase03.log
|
||||||
|
fail2ban/tests/files/testcase04.log
|
||||||
|
fail2ban/tests/filtertestcase.py
|
||||||
|
fail2ban/tests/misctestcase.py
|
||||||
|
fail2ban/tests/samplestestcase.py
|
||||||
|
fail2ban/tests/servertestcase.py
|
||||||
|
fail2ban/tests/sockettestcase.py
|
||||||
|
fail2ban/tests/utils.py
|
||||||
setup.py
|
setup.py
|
||||||
setup.cfg
|
setup.cfg
|
||||||
fail2ban/__init__.py
|
fail2ban/__init__.py
|
||||||
|
@ -169,126 +189,136 @@ fail2ban/exceptions.py
|
||||||
fail2ban/helpers.py
|
fail2ban/helpers.py
|
||||||
fail2ban/version.py
|
fail2ban/version.py
|
||||||
fail2ban/protocol.py
|
fail2ban/protocol.py
|
||||||
setup.py
|
|
||||||
setup.cfg
|
|
||||||
kill-server
|
kill-server
|
||||||
config/jail.conf
|
config/action.d/apf.conf
|
||||||
|
config/action.d/badips.conf
|
||||||
|
config/action.d/badips.py
|
||||||
|
config/action.d/blocklist_de.conf
|
||||||
|
config/action.d/bsd-ipfw.conf
|
||||||
|
config/action.d/cloudflare.conf
|
||||||
|
config/action.d/complain.conf
|
||||||
|
config/action.d/dshield.conf
|
||||||
|
config/action.d/dummy.conf
|
||||||
|
config/action.d/firewallcmd-ipset.conf
|
||||||
|
config/action.d/firewallcmd-new.conf
|
||||||
|
config/action.d/hostsdeny.conf
|
||||||
|
config/action.d/ipfilter.conf
|
||||||
|
config/action.d/ipfw.conf
|
||||||
|
config/action.d/iptables-allports.conf
|
||||||
|
config/action.d/iptables-common.conf
|
||||||
|
config/action.d/iptables-ipset-proto4.conf
|
||||||
|
config/action.d/iptables-ipset-proto6-allports.conf
|
||||||
|
config/action.d/iptables-ipset-proto6.conf
|
||||||
|
config/action.d/iptables-multiport-log.conf
|
||||||
|
config/action.d/iptables-multiport.conf
|
||||||
|
config/action.d/iptables-new.conf
|
||||||
|
config/action.d/iptables-xt_recent-echo.conf
|
||||||
|
config/action.d/iptables.conf
|
||||||
|
config/action.d/mail-buffered.conf
|
||||||
|
config/action.d/mail-whois-lines.conf
|
||||||
|
config/action.d/mail-whois.conf
|
||||||
|
config/action.d/mail.conf
|
||||||
|
config/action.d/mynetwatchman.conf
|
||||||
|
config/action.d/osx-afctl.conf
|
||||||
|
config/action.d/osx-ipfw.conf
|
||||||
|
config/action.d/pf.conf
|
||||||
|
config/action.d/route.conf
|
||||||
|
config/action.d/sendmail-buffered.conf
|
||||||
|
config/action.d/sendmail-common.conf
|
||||||
|
config/action.d/sendmail-whois-ipjailmatches.conf
|
||||||
|
config/action.d/sendmail-whois-ipmatches.conf
|
||||||
|
config/action.d/sendmail-whois-lines.conf
|
||||||
|
config/action.d/sendmail-whois-matches.conf
|
||||||
|
config/action.d/sendmail-whois.conf
|
||||||
|
config/action.d/sendmail.conf
|
||||||
|
config/action.d/shorewall.conf
|
||||||
|
config/action.d/smtp.py
|
||||||
|
config/action.d/symbiosis-blacklist-allports.conf
|
||||||
|
config/action.d/ufw.conf
|
||||||
|
config/action.d/xarf-login-attack.conf
|
||||||
config/fail2ban.conf
|
config/fail2ban.conf
|
||||||
config/filter.d/common.conf
|
config/filter.d/3proxy.conf
|
||||||
config/filter.d/apache-auth.conf
|
config/filter.d/apache-auth.conf
|
||||||
config/filter.d/apache-badbots.conf
|
config/filter.d/apache-badbots.conf
|
||||||
config/filter.d/apache-botsearch.conf
|
config/filter.d/apache-botsearch.conf
|
||||||
|
config/filter.d/apache-common.conf
|
||||||
config/filter.d/apache-modsecurity.conf
|
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/nginx-http-auth.conf
|
config/filter.d/apache-shellshock.conf
|
||||||
|
config/filter.d/assp.conf
|
||||||
|
config/filter.d/asterisk.conf
|
||||||
|
config/filter.d/common.conf
|
||||||
config/filter.d/counter-strike.conf
|
config/filter.d/counter-strike.conf
|
||||||
config/filter.d/courier-auth.conf
|
config/filter.d/courier-auth.conf
|
||||||
config/filter.d/courier-smtp.conf
|
config/filter.d/courier-smtp.conf
|
||||||
config/filter.d/cyrus-imap.conf
|
config/filter.d/cyrus-imap.conf
|
||||||
|
config/filter.d/directadmin.conf
|
||||||
|
config/filter.d/dovecot.conf
|
||||||
|
config/filter.d/dropbear.conf
|
||||||
config/filter.d/ejabberd-auth.conf
|
config/filter.d/ejabberd-auth.conf
|
||||||
|
config/filter.d/exim-common.conf
|
||||||
|
config/filter.d/exim-spam.conf
|
||||||
config/filter.d/exim.conf
|
config/filter.d/exim.conf
|
||||||
config/filter.d/freeswitch.conf
|
config/filter.d/freeswitch.conf
|
||||||
|
config/filter.d/groupoffice.conf
|
||||||
config/filter.d/gssftpd.conf
|
config/filter.d/gssftpd.conf
|
||||||
config/filter.d/kerio.conf
|
config/filter.d/guacamole.conf
|
||||||
config/filter.d/horde.conf
|
config/filter.d/horde.conf
|
||||||
config/filter.d/suhosin.conf
|
config/filter.d/kerio.conf
|
||||||
|
config/filter.d/lighttpd-auth.conf
|
||||||
|
config/filter.d/monit.conf
|
||||||
|
config/filter.d/mysqld-auth.conf
|
||||||
config/filter.d/nagios.conf
|
config/filter.d/nagios.conf
|
||||||
config/filter.d/named-refused.conf
|
config/filter.d/named-refused.conf
|
||||||
|
config/filter.d/nginx-http-auth.conf
|
||||||
config/filter.d/nsd.conf
|
config/filter.d/nsd.conf
|
||||||
config/filter.d/openwebmail.conf
|
config/filter.d/openwebmail.conf
|
||||||
|
config/filter.d/oracleims.conf
|
||||||
config/filter.d/pam-generic.conf
|
config/filter.d/pam-generic.conf
|
||||||
|
config/filter.d/pam-generic.conf
|
||||||
|
config/filter.d/pam-generic.conf
|
||||||
|
config/filter.d/perdition.conf
|
||||||
config/filter.d/php-url-fopen.conf
|
config/filter.d/php-url-fopen.conf
|
||||||
|
config/filter.d/php-url-fopen.conf
|
||||||
|
config/filter.d/php-url-fopen.conf
|
||||||
|
config/filter.d/portsentry.conf
|
||||||
|
config/filter.d/postfix-sasl.conf
|
||||||
config/filter.d/postfix-sasl.conf
|
config/filter.d/postfix-sasl.conf
|
||||||
config/filter.d/pam-generic.conf
|
|
||||||
config/filter.d/php-url-fopen.conf
|
|
||||||
config/filter.d/postfix-sasl.conf
|
config/filter.d/postfix-sasl.conf
|
||||||
config/filter.d/postfix.conf
|
config/filter.d/postfix.conf
|
||||||
config/filter.d/proftpd.conf
|
config/filter.d/proftpd.conf
|
||||||
config/filter.d/pure-ftpd.conf
|
config/filter.d/pure-ftpd.conf
|
||||||
config/filter.d/qmail.conf
|
config/filter.d/qmail.conf
|
||||||
config/filter.d/pam-generic.conf
|
config/filter.d/recidive.conf
|
||||||
config/filter.d/php-url-fopen.conf
|
config/filter.d/roundcube-auth.conf
|
||||||
config/filter.d/postfix-sasl.conf
|
config/filter.d/selinux-common.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/solid-pop3d.conf
|
config/filter.d/solid-pop3d.conf
|
||||||
config/filter.d/squid.conf
|
config/filter.d/squid.conf
|
||||||
config/filter.d/sshd.conf
|
config/filter.d/squirrelmail.conf
|
||||||
config/filter.d/sshd-ddos.conf
|
config/filter.d/sshd-ddos.conf
|
||||||
|
config/filter.d/sshd.conf
|
||||||
config/filter.d/stunnel.conf
|
config/filter.d/stunnel.conf
|
||||||
|
config/filter.d/suhosin.conf
|
||||||
|
config/filter.d/tine20.conf
|
||||||
|
config/filter.d/uwimap-auth.conf
|
||||||
config/filter.d/vsftpd.conf
|
config/filter.d/vsftpd.conf
|
||||||
config/filter.d/webmin-auth.conf
|
config/filter.d/webmin-auth.conf
|
||||||
config/filter.d/wuftpd.conf
|
config/filter.d/wuftpd.conf
|
||||||
config/filter.d/xinetd-fail.conf
|
config/filter.d/xinetd-fail.conf
|
||||||
config/filter.d/asterisk.conf
|
config/jail.conf
|
||||||
config/filter.d/dovecot.conf
|
config/paths-common.conf
|
||||||
config/filter.d/dropbear.conf
|
config/paths-debian.conf
|
||||||
config/filter.d/lighttpd-auth.conf
|
config/paths-fedora.conf
|
||||||
config/filter.d/recidive.conf
|
config/paths-freebsd.conf
|
||||||
config/filter.d/roundcube-auth.conf
|
config/paths-osx.conf
|
||||||
config/filter.d/assp.conf
|
|
||||||
config/filter.d/sogo-auth.conf
|
|
||||||
config/filter.d/mysqld-auth.conf
|
|
||||||
config/filter.d/selinux-common.conf
|
|
||||||
config/filter.d/selinux-ssh.conf
|
|
||||||
config/filter.d/3proxy.conf
|
|
||||||
config/filter.d/apache-common.conf
|
|
||||||
config/filter.d/exim-common.conf
|
|
||||||
config/filter.d/exim-spam.conf
|
|
||||||
config/filter.d/freeswitch.conf
|
|
||||||
config/filter.d/groupoffice.conf
|
|
||||||
config/filter.d/perdition.conf
|
|
||||||
config/filter.d/uwimap-auth.conf
|
|
||||||
config/filter.d/courier-auth.conf
|
|
||||||
config/filter.d/courier-smtp.conf
|
|
||||||
config/filter.d/ejabberd-auth.conf
|
|
||||||
config/filter.d/guacamole.conf
|
|
||||||
config/filter.d/sendmail-spam.conf
|
|
||||||
config/action.d/apf.conf
|
|
||||||
config/action.d/blocklist_de.conf
|
|
||||||
config/action.d/osx-afctl.conf
|
|
||||||
config/action.d/osx-ipfw.conf
|
|
||||||
config/action.d/sendmail-common.conf
|
|
||||||
config/action.d/badips.conf
|
|
||||||
config/action.d/bsd-ipfw.conf
|
|
||||||
config/action.d/dummy.conf
|
|
||||||
config/action.d/firewallcmd-new.conf
|
|
||||||
config/action.d/firewallcmd-ipset.conf
|
|
||||||
config/action.d/iptables-ipset-proto6-allports.conf
|
|
||||||
config/action.d/iptables-common.conf
|
|
||||||
config/action.d/iptables-ipset-proto4.conf
|
|
||||||
config/action.d/iptables-ipset-proto6.conf
|
|
||||||
config/action.d/iptables-xt_recent-echo.conf
|
|
||||||
config/action.d/route.conf
|
|
||||||
config/action.d/complain.conf
|
|
||||||
config/action.d/dshield.conf
|
|
||||||
config/action.d/hostsdeny.conf
|
|
||||||
config/action.d/ipfw.conf
|
|
||||||
config/action.d/ipfilter.conf
|
|
||||||
config/action.d/iptables.conf
|
|
||||||
config/action.d/iptables-allports.conf
|
|
||||||
config/action.d/iptables-multiport.conf
|
|
||||||
config/action.d/iptables-multiport-log.conf
|
|
||||||
config/action.d/iptables-new.conf
|
|
||||||
config/action.d/mail.conf
|
|
||||||
config/action.d/mail-buffered.conf
|
|
||||||
config/action.d/mail-whois.conf
|
|
||||||
config/action.d/mail-whois-lines.conf
|
|
||||||
config/action.d/mynetwatchman.conf
|
|
||||||
config/action.d/pf.conf
|
|
||||||
config/action.d/sendmail.conf
|
|
||||||
config/action.d/sendmail-buffered.conf
|
|
||||||
config/action.d/sendmail-whois-ipmatches.conf
|
|
||||||
config/action.d/sendmail-whois.conf
|
|
||||||
config/action.d/sendmail-whois-lines.conf
|
|
||||||
config/action.d/shorewall.conf
|
|
||||||
config/action.d/xarf-login-attack.conf
|
|
||||||
config/action.d/ufw.conf
|
|
||||||
config/fail2ban.conf
|
|
||||||
doc/run-rootless.txt
|
|
||||||
man/fail2ban-client.1
|
man/fail2ban-client.1
|
||||||
man/fail2ban.1
|
man/fail2ban.1
|
||||||
man/jail.conf.5
|
man/jail.conf.5
|
||||||
|
@ -306,6 +336,8 @@ files/solaris-fail2ban.xml
|
||||||
files/solaris-svc-fail2ban
|
files/solaris-svc-fail2ban
|
||||||
files/suse-initd
|
files/suse-initd
|
||||||
files/fail2ban-logrotate
|
files/fail2ban-logrotate
|
||||||
|
files/fail2ban.upstart
|
||||||
|
files/logwatch/fail2ban
|
||||||
files/cacti/fail2ban_stats.sh
|
files/cacti/fail2ban_stats.sh
|
||||||
files/cacti/cacti_host_template_fail2ban.xml
|
files/cacti/cacti_host_template_fail2ban.xml
|
||||||
files/cacti/README
|
files/cacti/README
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
include ChangeLog COPYING DEVELOP FILTERS README.* THANKS TODO
|
include ChangeLog COPYING DEVELOP FILTERS README.* THANKS TODO CONTRIBUTING* Vagrantfile
|
||||||
graft doc
|
graft doc
|
||||||
graft files
|
graft files
|
||||||
recursive-include config *.conf *.py
|
recursive-include config *.conf *.py
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/ _|__ _(_) |_ ) |__ __ _ _ _
|
/ _|__ _(_) |_ ) |__ __ _ _ _
|
||||||
| _/ _` | | |/ /| '_ \/ _` | ' \
|
| _/ _` | | |/ /| '_ \/ _` | ' \
|
||||||
|_| \__,_|_|_/___|_.__/\__,_|_||_|
|
|_| \__,_|_|_/___|_.__/\__,_|_||_|
|
||||||
v0.9.0 2014/03/14
|
v0.9.1.dev 2014/??/??
|
||||||
|
|
||||||
## Fail2Ban: ban hosts that cause multiple authentication errors
|
## Fail2Ban: ban hosts that cause multiple authentication errors
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ Optional:
|
||||||
|
|
||||||
To install, just do:
|
To install, just do:
|
||||||
|
|
||||||
tar xvfj fail2ban-0.9.0.tar.bz2
|
tar xvfj fail2ban-0.9.1.tar.bz2
|
||||||
cd fail2ban-0.9.0
|
cd fail2ban-0.9.1
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
This will install Fail2Ban into the python library directory. The executable
|
This will install Fail2Ban into the python library directory. The executable
|
||||||
|
|
18
RELEASE
18
RELEASE
|
@ -47,6 +47,10 @@ Preparation
|
||||||
|
|
||||||
* Ensure the MANIFEST is complete
|
* Ensure the MANIFEST is complete
|
||||||
|
|
||||||
|
ad-hoc bash script to run in a clean clone:
|
||||||
|
|
||||||
|
find -type f | grep -v -e '\.git' -e '/doc/' -e '\.travis' -e MANIFEST | sed -e 's,^\./,,g' | while read f; do grep -ne "^$f\$" MANIFEST >/dev/null || echo "$f" ; done
|
||||||
|
|
||||||
* Run::
|
* Run::
|
||||||
|
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
|
@ -57,24 +61,24 @@ Preparation
|
||||||
|
|
||||||
* Which indicates that testcases/files/logs/mysqld.log has been moved or is a directory::
|
* Which indicates that testcases/files/logs/mysqld.log has been moved or is a directory::
|
||||||
|
|
||||||
tar -C /tmp -jxf dist/fail2ban-0.9.0.tar.bz2
|
tar -C /tmp -jxf dist/fail2ban-0.9.2.tar.bz2
|
||||||
|
|
||||||
* clean up current direcory::
|
* clean up current direcory::
|
||||||
|
|
||||||
diff -rul --exclude \*.pyc . /tmp/fail2ban-0.9.0/
|
diff -rul --exclude \*.pyc . /tmp/fail2ban-0.9.2/
|
||||||
|
|
||||||
* Only differences should be files that you don't want distributed.
|
* Only differences should be files that you don't want distributed.
|
||||||
|
|
||||||
|
|
||||||
* Ensure the tests work from the tarball::
|
* Ensure the tests work from the tarball::
|
||||||
|
|
||||||
cd /tmp/fail2ban-0.9.0/ && export PYTHONPATH=`pwd` && bin/fail2ban-testcases
|
cd /tmp/fail2ban-0.9.2/ && export PYTHONPATH=`pwd` && bin/fail2ban-testcases
|
||||||
|
|
||||||
* Add/finalize the corresponding entry in the ChangeLog
|
* Add/finalize the corresponding entry in the ChangeLog
|
||||||
|
|
||||||
* To generate a list of committers use e.g.::
|
* To generate a list of committers use e.g.::
|
||||||
|
|
||||||
git shortlog -sn 0.8.12.. | sed -e 's,^[ 0-9\t]*,,g' | tr '\n' '\|' | sed -e 's:|:, :g'
|
git shortlog -sn 0.9.2.. | sed -e 's,^[ 0-9\t]*,,g' | tr '\n' '\|' | sed -e 's:|:, :g'
|
||||||
|
|
||||||
* Ensure the top of the ChangeLog has the right version and current date.
|
* Ensure the top of the ChangeLog has the right version and current date.
|
||||||
* Ensure the top entry of the ChangeLog has the right version and current date.
|
* Ensure the top entry of the ChangeLog has the right version and current date.
|
||||||
|
@ -97,7 +101,7 @@ Preparation
|
||||||
* Tag the release by using a signed (and annotated) tag. Cut/paste
|
* Tag the release by using a signed (and annotated) tag. Cut/paste
|
||||||
release ChangeLog entry as tag annotation::
|
release ChangeLog entry as tag annotation::
|
||||||
|
|
||||||
git tag -s 0.9.1
|
git tag -s 0.9.2
|
||||||
|
|
||||||
Pre Release
|
Pre Release
|
||||||
===========
|
===========
|
||||||
|
@ -140,7 +144,7 @@ Pre Release
|
||||||
|
|
||||||
* https://bugs.mageia.org/buglist.cgi?quicksearch=fail2ban
|
* https://bugs.mageia.org/buglist.cgi?quicksearch=fail2ban
|
||||||
|
|
||||||
* An potentially to the fail2ban-users email list.
|
* And potentially to the fail2ban-users email list.
|
||||||
|
|
||||||
|
|
||||||
* Wait for feedback from distributors
|
* Wait for feedback from distributors
|
||||||
|
@ -181,7 +185,7 @@ Post Release
|
||||||
|
|
||||||
Add the following to the top of the ChangeLog::
|
Add the following to the top of the ChangeLog::
|
||||||
|
|
||||||
ver. 0.9.1 (2014/XX/XXX) - wanna-be-released
|
ver. 0.9.3 (2014/XX/XXX) - wanna-be-released
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
- Fixes:
|
- Fixes:
|
||||||
|
|
|
@ -24,4 +24,4 @@ __author__ = "Cyril Jaquier, Yaroslav Halchenko, Steven Hiscocks, Daniel Black"
|
||||||
__copyright__ = "Copyright (c) 2004 Cyril Jaquier, 2011-2014 Yaroslav Halchenko, 2013-2013 Steven Hiscocks, Daniel Black"
|
__copyright__ = "Copyright (c) 2004 Cyril Jaquier, 2011-2014 Yaroslav Halchenko, 2013-2013 Steven Hiscocks, Daniel Black"
|
||||||
__license__ = "GPL-v2+"
|
__license__ = "GPL-v2+"
|
||||||
|
|
||||||
version = "0.9.0.dev"
|
version = "0.9.1.dev"
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4.
|
||||||
.TH FAIL2BAN-CLIENT "1" "March 2014" "fail2ban-client v0.9.0" "User Commands"
|
.TH FAIL2BAN-CLIENT "1" "October 2014" "fail2ban-client v0.9.1" "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
|
||||||
[\fIOPTIONS\fR] \fI<COMMAND>\fR
|
[\fI\,OPTIONS\/\fR] \fI\,<COMMAND>\/\fR
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Fail2Ban v0.9.0 reads log file that contains password failure report
|
Fail2Ban v0.9.1 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
|
||||||
|
@ -35,10 +35,10 @@ decrease verbosity
|
||||||
force execution of the server (remove socket file)
|
force execution of the server (remove socket file)
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fR
|
\fB\-b\fR
|
||||||
start the server in background mode (default)
|
start server in background (default)
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fR
|
\fB\-f\fR
|
||||||
start the server in foreground mode (note that the client forks once itself)
|
start server in foreground (note that the client forks once itself)
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fR, \fB\-\-help\fR
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
display this help message
|
display this help message
|
||||||
|
@ -217,9 +217,8 @@ 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>
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> addaction <ACT>[ <PYTHONFILE> <JSONKWARGS>]
|
\fBset <JAIL> addaction <ACT>[ <PYTHONFILE> <JSONKWARGS>]\fR
|
||||||
.IP
|
|
||||||
adds a new action named <NAME> for
|
adds a new action named <NAME> for
|
||||||
<JAIL>. Optionally for a Python
|
<JAIL>. Optionally for a Python
|
||||||
based action, a <PYTHONFILE> and
|
based action, a <PYTHONFILE> and
|
||||||
|
@ -231,45 +230,38 @@ removes the action <ACT> from
|
||||||
<JAIL>
|
<JAIL>
|
||||||
.IP
|
.IP
|
||||||
COMMAND ACTION CONFIGURATION
|
COMMAND ACTION CONFIGURATION
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> action <ACT> actionstart <CMD>
|
\fBset <JAIL> action <ACT> actionstart <CMD>\fR
|
||||||
.IP
|
|
||||||
sets the start command <CMD> of
|
sets the start command <CMD> of
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> action <ACT> actionstop <CMD> sets the stop command <CMD> of the
|
\fBset <JAIL> action <ACT> actionstop <CMD> sets the stop command <CMD> of the\fR
|
||||||
.IP
|
|
||||||
action <ACT> for <JAIL>
|
action <ACT> for <JAIL>
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> action <ACT> actioncheck <CMD>
|
\fBset <JAIL> action <ACT> actioncheck <CMD>\fR
|
||||||
.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>
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> action <ACT> actionunban <CMD>
|
\fBset <JAIL> action <ACT> actionunban <CMD>\fR
|
||||||
.IP
|
|
||||||
sets the unban command <CMD> of
|
sets the unban command <CMD> of
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> action <ACT> timeout <TIMEOUT>
|
\fBset <JAIL> action <ACT> timeout <TIMEOUT>\fR
|
||||||
.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
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> action <ACT> <PROPERTY> <VALUE>
|
\fBset <JAIL> action <ACT> <PROPERTY> <VALUE>\fR
|
||||||
.IP
|
|
||||||
sets the <VALUE> of <PROPERTY> for
|
sets the <VALUE> of <PROPERTY> for
|
||||||
the action <ACT> for <JAIL>
|
the action <ACT> for <JAIL>
|
||||||
.IP
|
.TP
|
||||||
set <JAIL> action <ACT> <METHOD>[ <JSONKWARGS>]
|
\fBset <JAIL> action <ACT> <METHOD>[ <JSONKWARGS>]\fR
|
||||||
.IP
|
|
||||||
calls the <METHOD> with
|
calls the <METHOD> with
|
||||||
<JSONKWARGS> for the action <ACT>
|
<JSONKWARGS> for the action <ACT>
|
||||||
for <JAIL>
|
for <JAIL>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4.
|
||||||
.TH FAIL2BAN-REGEX "1" "March 2014" "fail2ban-regex 0.9.0" "User Commands"
|
.TH FAIL2BAN-REGEX "1" "October 2014" "fail2ban-regex 0.9.1" "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
|
||||||
[\fIOPTIONS\fR] \fI<LOG> <REGEX> \fR[\fIIGNOREREGEX\fR]
|
[\fI\,OPTIONS\/\fR] \fI\,<LOG> <REGEX> \/\fR[\fI\,IGNOREREGEX\/\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,20 @@ 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=\fIDATEPATTERN\fR
|
\fB\-d\fR DATEPATTERN, \fB\-\-datepattern\fR=\fI\,DATEPATTERN\/\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=\fIENCODING\fR
|
\fB\-e\fR ENCODING, \fB\-\-encoding\fR=\fI\,ENCODING\/\fR
|
||||||
File encoding. Default: system locale
|
File encoding. Default: system locale
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fR MAXLINES, \fB\-\-maxlines\fR=\fIMAXLINES\fR
|
\fB\-L\fR MAXLINES, \fB\-\-maxlines\fR=\fI\,MAXLINES\/\fR
|
||||||
maxlines for multi\-line regex
|
maxlines for multi\-line regex
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fR JOURNALMATCH, \fB\-\-journalmatch\fR=\fIJOURNALMATCH\fR
|
\fB\-m\fR JOURNALMATCH, \fB\-\-journalmatch\fR=\fI\,JOURNALMATCH\/\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=\fILOG_LEVEL\fR
|
\fB\-l\fR LOG_LEVEL, \fB\-\-log\-level\fR=\fI\,LOG_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
|
||||||
|
@ -70,6 +70,9 @@ Do not print any missed lines
|
||||||
\fB\-\-print\-no\-ignored\fR
|
\fB\-\-print\-no\-ignored\fR
|
||||||
Do not print any ignored lines
|
Do not print any ignored lines
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-\-print\-all\-matched\fR
|
||||||
|
Print all matched lines
|
||||||
|
.TP
|
||||||
\fB\-\-print\-all\-missed\fR
|
\fB\-\-print\-all\-missed\fR
|
||||||
Print all missed lines, no matter how many
|
Print all missed lines, no matter how many
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4.
|
||||||
.TH FAIL2BAN-SERVER "1" "March 2014" "fail2ban-server v0.9.0" "User Commands"
|
.TH FAIL2BAN-SERVER "1" "October 2014" "fail2ban-server v0.9.1" "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
|
||||||
[\fIOPTIONS\fR]
|
[\fI\,OPTIONS\/\fR]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Fail2Ban v0.9.0 reads log file that contains password failure report
|
Fail2Ban v0.9.1 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
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
export PYTHONPATH=..
|
||||||
|
|
||||||
# fail2ban-client
|
# fail2ban-client
|
||||||
echo -n "Generating fail2ban-client "
|
echo -n "Generating fail2ban-client "
|
||||||
help2man --section=1 --no-info --include=fail2ban-client.h2m --output fail2ban-client.1 ../bin/fail2ban-client
|
help2man --section=1 --no-info --include=fail2ban-client.h2m --output fail2ban-client.1 ../bin/fail2ban-client
|
||||||
|
|
Loading…
Reference in New Issue