From ca849b93dc7fcfceb4079159c72949eafb00d645 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 26 Apr 2015 21:39:54 -0400 Subject: [PATCH 1/4] Initial changes for the release -- simplified ChangeLog header etc --- ChangeLog | 29 ++++++++++++++++------------- README.md | 6 +++--- fail2ban/version.py | 4 ++-- man/fail2ban-client.1 | 18 ++++++++++++++---- man/fail2ban-regex.1 | 2 +- man/fail2ban-server.1 | 4 ++-- 6 files changed, 38 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index 97d2b08d..fe22906f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,20 +3,20 @@ | _/ _` | | |/ /| '_ \/ _` | ' \ |_| \__,_|_|_/___|_.__/\__,_|_||_| -================================================================================ -Fail2Ban (version 0.9.1.dev) 2014/10/29 -================================================================================ +Fail2Ban: Changelog +=================== -ver. 0.9.2 (2014/XX/XXX) - wanna-be-released ------------ +ver. 0.9.2 (2015/04/26) - better-quick-now-than-later +---------- - Fixes: * infinite busy loop on _escapedTags match in substituteRecursiveTags gh-907. Thanks TonyThompson - * port[s] typo in jail.conf/nginx-http-auth gh-913. Thanks Frederik Wagner (fnerdwq) + * port[s] typo in jail.conf/nginx-http-auth gh-913. Thanks Frederik Wagner + (fnerdwq) * $ typo in jail.conf. Thanks Skibbi. Debian bug #767255 * grep'ing for IP in *mail-whois-lines.conf should now match also - at the begginning and EOL. Thanks Dean Lee + at the beginning and EOL. Thanks Dean Lee * jail.conf - php-url-fopen: separate logpath entries by newline * failregex declared direct in jail was joined to single line (specifying of @@ -36,14 +36,17 @@ ver. 0.9.2 (2014/XX/XXX) - wanna-be-released descriptor" msgs issue (gh-161) * filter.d/postfix-sasl.conf - tweak failregex and add ignoreregex to ignore system authentication issues - * fail2ban-regex reads filter file(s) completely, incl. '.local' file etc. (gh-954) + * fail2ban-regex reads filter file(s) completely, incl. '.local' file etc. + (gh-954) * firewallcmd-* actions: split output into separate lines for grepping (gh-908) * Guard unicode encode/decode issues while storing records in the database. - Fixes "binding parameter error (unsupported type)" (gh-973), thanks to kot for reporting - * filter.d/sshd added regex for matching openSUSE ssh authentication failure - * filter.d/asterisk.conf - Dropped "Sending fake auth rejection" failregex since it incorrectly targets the asterisk server itself - * filter.d/asterisk.conf - Added matching "hacking attempt detected" logs - + Fixes "binding parameter error (unsupported type)" (gh-973), thanks to kot + for reporting + * filter.d/sshd added regex for matching openSUSE ssh authentication failure + * filter.d/asterisk.conf: + - Dropped "Sending fake auth rejection" failregex since it incorrectly + targets the asterisk server itself + - match "hacking attempt detected" logs - New Features: - New filters: diff --git a/README.md b/README.md index 17a78ee5..d45c58d9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ / _|__ _(_) |_ ) |__ __ _ _ _ | _/ _` | | |/ /| '_ \/ _` | ' \ |_| \__,_|_|_/___|_.__/\__,_|_||_| - v0.9.1.dev 2014/??/?? + v0.9.2 2015/04/26 ## Fail2Ban: ban hosts that cause multiple authentication errors @@ -37,8 +37,8 @@ Optional: To install, just do: - tar xvfj fail2ban-0.9.1.tar.bz2 - cd fail2ban-0.9.1 + tar xvfj fail2ban-0.9.2.tar.bz2 + cd fail2ban-0.9.2 python setup.py install This will install Fail2Ban into the python library directory. The executable diff --git a/fail2ban/version.py b/fail2ban/version.py index 146b76aa..6619d9ee 100644 --- a/fail2ban/version.py +++ b/fail2ban/version.py @@ -21,7 +21,7 @@ # __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, 2005-2015 Yaroslav Halchenko, 2013-2014 Steven Hiscocks, Daniel Black" __license__ = "GPL-v2+" -version = "0.9.1.dev" +version = "0.9.2" diff --git a/man/fail2ban-client.1 b/man/fail2ban-client.1 index c760f8ed..e9e7ecfe 100644 --- a/man/fail2ban-client.1 +++ b/man/fail2ban-client.1 @@ -1,12 +1,12 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. -.TH FAIL2BAN-CLIENT "1" "October 2014" "fail2ban-client v0.9.1" "User Commands" +.TH FAIL2BAN-CLIENT "1" "April 2015" "fail2ban-client v0.9.2" "User Commands" .SH NAME fail2ban-client \- configure and control the server .SH SYNOPSIS .B fail2ban-client [\fI\,OPTIONS\/\fR] \fI\,\/\fR .SH DESCRIPTION -Fail2Ban v0.9.1 reads log file that contains password failure report +Fail2Ban v0.9.2 reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules. .SH OPTIONS .TP @@ -93,6 +93,14 @@ file \fBget logtarget\fR gets logging target .TP +\fBset syslogsocket auto|\fR +sets the syslog socket path to +auto or . Only used if +logtarget is SYSLOG +.TP +\fBget syslogsocket\fR +gets syslog socket path +.TP \fBflushlogs\fR flushes the logtarget if a file and reopens it. For log rotation. @@ -128,8 +136,10 @@ starts the jail stops the jail . The jail is removed .TP -\fBstatus \fR -gets the current status of +\fBstatus [FLAVOR]\fR +gets the current status of , +with optional flavor or extended +info .IP JAIL CONFIGURATION .TP diff --git a/man/fail2ban-regex.1 b/man/fail2ban-regex.1 index 05379351..dbd5e299 100644 --- a/man/fail2ban-regex.1 +++ b/man/fail2ban-regex.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. -.TH FAIL2BAN-REGEX "1" "October 2014" "fail2ban-regex 0.9.1" "User Commands" +.TH FAIL2BAN-REGEX "1" "April 2015" "fail2ban-regex 0.9.2" "User Commands" .SH NAME fail2ban-regex \- test Fail2ban "failregex" option .SH SYNOPSIS diff --git a/man/fail2ban-server.1 b/man/fail2ban-server.1 index 6aa51053..d94d1c53 100644 --- a/man/fail2ban-server.1 +++ b/man/fail2ban-server.1 @@ -1,12 +1,12 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. -.TH FAIL2BAN-SERVER "1" "October 2014" "fail2ban-server v0.9.1" "User Commands" +.TH FAIL2BAN-SERVER "1" "April 2015" "fail2ban-server v0.9.2" "User Commands" .SH NAME fail2ban-server \- start the server .SH SYNOPSIS .B fail2ban-server [\fI\,OPTIONS\/\fR] .SH DESCRIPTION -Fail2Ban v0.9.1 reads log file that contains password failure report +Fail2Ban v0.9.2 reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules. .PP Only use this command for debugging purpose. Start the server with From 1fb867b839c3f8cd9931371dffa59aab545a437d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 26 Apr 2015 21:47:28 -0400 Subject: [PATCH 2/4] MANIFEST: updated for some new files, sorted all entries, removed some duplicates --- MANIFEST | 348 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 182 insertions(+), 166 deletions(-) diff --git a/MANIFEST b/MANIFEST index d6ab1156..d6bdba10 100644 --- a/MANIFEST +++ b/MANIFEST @@ -9,14 +9,155 @@ RELEASE THANKS TODO Vagrantfile -fail2ban-2to3 -fail2ban-testcases-all -fail2ban-testcases-all-python3 bin/fail2ban-client +bin/fail2ban-regex bin/fail2ban-server bin/fail2ban-testcases -bin/fail2ban-regex +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-allports.conf +config/action.d/firewallcmd-ipset.conf +config/action.d/firewallcmd-multiport.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/nsupdate.conf +config/action.d/nsupdate.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-geoip-lines.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/filter.d/3proxy.conf +config/filter.d/apache-auth.conf +config/filter.d/apache-badbots.conf +config/filter.d/apache-botsearch.conf +config/filter.d/apache-common.conf +config/filter.d/apache-fakegooglebot.conf +config/filter.d/apache-modsecurity.conf +config/filter.d/apache-nohome.conf +config/filter.d/apache-noscript.conf +config/filter.d/apache-overflows.conf +config/filter.d/apache-shellshock.conf +config/filter.d/assp.conf +config/filter.d/asterisk.conf +config/filter.d/botsearch-common.conf +config/filter.d/common.conf +config/filter.d/counter-strike.conf +config/filter.d/courier-auth.conf +config/filter.d/courier-smtp.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/exim-common.conf +config/filter.d/exim-spam.conf +config/filter.d/exim.conf +config/filter.d/freeswitch.conf +config/filter.d/groupoffice.conf +config/filter.d/gssftpd.conf +config/filter.d/guacamole.conf +config/filter.d/horde.conf +config/filter.d/ignorecommands +config/filter.d/ignorecommands/apache-fakegooglebot +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/named-refused.conf +config/filter.d/nginx-botsearch.conf +config/filter.d/nginx-http-auth.conf +config/filter.d/nsd.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/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/portsentry.conf +config/filter.d/postfix-rbl.conf +config/filter.d/postfix-sasl.conf +config/filter.d/postfix-sasl.conf +config/filter.d/postfix-sasl.conf +config/filter.d/postfix.conf +config/filter.d/proftpd.conf +config/filter.d/pure-ftpd.conf +config/filter.d/qmail.conf +config/filter.d/recidive.conf +config/filter.d/roundcube-auth.conf +config/filter.d/selinux-common.conf +config/filter.d/selinux-ssh.conf +config/filter.d/sendmail-auth.conf +config/filter.d/sendmail-reject.conf +config/filter.d/sendmail-spam.conf +config/filter.d/sieve.conf +config/filter.d/sogo-auth.conf +config/filter.d/solid-pop3d.conf +config/filter.d/squid.conf +config/filter.d/squirrelmail.conf +config/filter.d/sshd-ddos.conf +config/filter.d/sshd.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/webmin-auth.conf +config/filter.d/wuftpd.conf +config/filter.d/xinetd-fail.conf +config/jail.conf +config/paths-common.conf +config/paths-debian.conf +config/paths-fedora.conf +config/paths-freebsd.conf +config/paths-osx.conf doc/run-rootless.txt +fail2ban-2to3 +fail2ban-testcases-all +fail2ban-testcases-all-python3 +fail2ban/__init__.py fail2ban/client/__init__.py fail2ban/client/actionreader.py fail2ban/client/beautifier.py @@ -28,6 +169,9 @@ fail2ban/client/fail2banreader.py fail2ban/client/filterreader.py fail2ban/client/jailreader.py fail2ban/client/jailsreader.py +fail2ban/exceptions.py +fail2ban/helpers.py +fail2ban/protocol.py fail2ban/server/__init__.py fail2ban/server/action.py fail2ban/server/actions.py @@ -64,6 +208,8 @@ fail2ban/tests/clientreadertestcase.py fail2ban/tests/config/action.d/brokenaction.conf fail2ban/tests/config/fail2ban.conf fail2ban/tests/config/filter.d/simple.conf +fail2ban/tests/config/filter.d/test.conf +fail2ban/tests/config/filter.d/test.local fail2ban/tests/config/jail.conf fail2ban/tests/config/paths-common.conf fail2ban/tests/config/paths-debian.conf @@ -74,6 +220,7 @@ fail2ban/tests/datedetectortestcase.py fail2ban/tests/dummyjail.py fail2ban/tests/failmanagertestcase.py fail2ban/tests/files/action.d/action.py +fail2ban/tests/files/action.d/action_checkainfo.py fail2ban/tests/files/action.d/action_errors.py fail2ban/tests/files/action.d/action_modifyainfo.py fail2ban/tests/files/action.d/action_noAction.py @@ -104,6 +251,7 @@ fail2ban/tests/files/logs/apache-auth fail2ban/tests/files/logs/apache-badbots fail2ban/tests/files/logs/apache-botscripts fail2ban/tests/files/logs/apache-botsearch +fail2ban/tests/files/logs/apache-fakegooglebot fail2ban/tests/files/logs/apache-modsecurity fail2ban/tests/files/logs/apache-nohome fail2ban/tests/files/logs/apache-noscript @@ -135,6 +283,7 @@ fail2ban/tests/files/logs/monit fail2ban/tests/files/logs/mysqld-auth fail2ban/tests/files/logs/nagios fail2ban/tests/files/logs/named-refused +fail2ban/tests/files/logs/nginx-botsearch fail2ban/tests/files/logs/nginx-http-auth fail2ban/tests/files/logs/nsd fail2ban/tests/files/logs/openwebmail @@ -144,6 +293,7 @@ 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-rbl fail2ban/tests/files/logs/postfix-sasl fail2ban/tests/files/logs/proftpd fail2ban/tests/files/logs/pure-ftpd @@ -182,172 +332,38 @@ fail2ban/tests/samplestestcase.py fail2ban/tests/servertestcase.py fail2ban/tests/sockettestcase.py fail2ban/tests/utils.py -setup.py -setup.cfg -fail2ban/__init__.py -fail2ban/exceptions.py -fail2ban/helpers.py fail2ban/version.py -fail2ban/protocol.py -kill-server -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/filter.d/3proxy.conf -config/filter.d/apache-auth.conf -config/filter.d/apache-badbots.conf -config/filter.d/apache-botsearch.conf -config/filter.d/apache-common.conf -config/filter.d/apache-modsecurity.conf -config/filter.d/apache-nohome.conf -config/filter.d/apache-noscript.conf -config/filter.d/apache-overflows.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/courier-auth.conf -config/filter.d/courier-smtp.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/exim-common.conf -config/filter.d/exim-spam.conf -config/filter.d/exim.conf -config/filter.d/freeswitch.conf -config/filter.d/groupoffice.conf -config/filter.d/gssftpd.conf -config/filter.d/guacamole.conf -config/filter.d/horde.conf -config/filter.d/ignorecommands -config/filter.d/ignorecommands/apache-fakegooglebot -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/named-refused.conf -config/filter.d/nginx-http-auth.conf -config/filter.d/nsd.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/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/portsentry.conf -config/filter.d/postfix-sasl.conf -config/filter.d/postfix-sasl.conf -config/filter.d/postfix-sasl.conf -config/filter.d/postfix.conf -config/filter.d/proftpd.conf -config/filter.d/pure-ftpd.conf -config/filter.d/qmail.conf -config/filter.d/recidive.conf -config/filter.d/roundcube-auth.conf -config/filter.d/selinux-common.conf -config/filter.d/selinux-ssh.conf -config/filter.d/sendmail-auth.conf -config/filter.d/sendmail-reject.conf -config/filter.d/sendmail-spam.conf -config/filter.d/sieve.conf -config/filter.d/sogo-auth.conf -config/filter.d/solid-pop3d.conf -config/filter.d/squid.conf -config/filter.d/squirrelmail.conf -config/filter.d/sshd-ddos.conf -config/filter.d/sshd.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/webmin-auth.conf -config/filter.d/wuftpd.conf -config/filter.d/xinetd-fail.conf -config/jail.conf -config/paths-common.conf -config/paths-debian.conf -config/paths-fedora.conf -config/paths-freebsd.conf -config/paths-osx.conf -man/fail2ban-client.1 -man/fail2ban.1 -man/jail.conf.5 -man/fail2ban-client.h2m -man/fail2ban-server.1 -man/fail2ban-server.h2m -man/fail2ban-regex.1 -man/fail2ban-regex.h2m -man/generate-man +files/bash-completion +files/cacti/README +files/cacti/cacti_host_template_fail2ban.xml +files/cacti/fail2ban_stats.sh files/debian-initd -files/gentoo-initd +files/fail2ban-logrotate +files/fail2ban-tmpfiles.conf +files/fail2ban.service +files/fail2ban.upstart +files/gen_badbots files/gentoo-confd -files/redhat-initd +files/gentoo-initd +files/ipmasq-ZZZzzz_fail2ban.rul +files/logwatch/fail2ban files/macosx-initd +files/monit/fail2ban +files/nagios/README +files/nagios/check_fail2ban +files/redhat-initd files/solaris-fail2ban.xml files/solaris-svc-fail2ban files/suse-initd -files/fail2ban-logrotate -files/fail2ban.upstart -files/logwatch/fail2ban -files/cacti/fail2ban_stats.sh -files/cacti/cacti_host_template_fail2ban.xml -files/cacti/README -files/nagios/check_fail2ban -files/nagios/README -files/bash-completion -files/fail2ban-tmpfiles.conf -files/fail2ban.service -files/ipmasq-ZZZzzz_fail2ban.rul -files/gen_badbots +kill-server +man/fail2ban-client.1 +man/fail2ban-client.h2m +man/fail2ban-regex.1 +man/fail2ban-regex.h2m +man/fail2ban-server.1 +man/fail2ban-server.h2m +man/fail2ban.1 +man/generate-man +man/jail.conf.5 +setup.cfg +setup.py From 1784205ff861998b98a0da63b1d5ff38b69ff99d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 26 Apr 2015 21:49:58 -0400 Subject: [PATCH 3/4] DOC: Slight tune up to RELEASE doc -- no need for PYTHONPATH to run tests --- RELEASE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE b/RELEASE index db425a45..c008b1c6 100644 --- a/RELEASE +++ b/RELEASE @@ -72,7 +72,7 @@ Preparation * Ensure the tests work from the tarball:: - cd /tmp/fail2ban-0.9.2/ && export PYTHONPATH=`pwd` && bin/fail2ban-testcases + cd /tmp/fail2ban-0.9.2/ && bin/fail2ban-testcases * Add/finalize the corresponding entry in the ChangeLog From 0f75ed5e2ab1159e45a7771a7a4e90c877ec848e Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 26 Apr 2015 21:57:13 -0400 Subject: [PATCH 4/4] Just use a system wide python in the tests digest.py to stay inline with the other scripts --- fail2ban/tests/files/config/apache-auth/digest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/tests/files/config/apache-auth/digest.py b/fail2ban/tests/files/config/apache-auth/digest.py index 9906c652..020a1272 100755 --- a/fail2ban/tests/files/config/apache-auth/digest.py +++ b/fail2ban/tests/files/config/apache-auth/digest.py @@ -1,4 +1,4 @@ -#!/bin/env python +#!/usr/bin/python import requests try: