From ca849b93dc7fcfceb4079159c72949eafb00d645 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 26 Apr 2015 21:39:54 -0400 Subject: [PATCH] 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