Yaroslav Halchenko
fbce415622
ENH: added logging while stopping the jails
2011-11-21 19:35:14 -05:00
Tom Hendrikx
9fa54cf233
Add Date: header for sendmail*.conf actions
...
According to rfc2822, Date: headers are not optional.
Added these to all sendmail action templates, format specification
should conform to rfc and be portable across multiple platforms.
2011-11-18 16:52:44 -05:00
Michael Lorant
c48c2b19a0
BF: gentoo-initd assure /var/run dir + remove stale sock file
...
Gentoo Bug #347477
Picked up from
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/gentoo-initd_create_run_dir.patch?view=markup
2011-11-18 14:51:08 -05:00
Yaroslav Halchenko
eda7efbca3
ENH: fix of syntax for compatibility with Python 2.4
2011-11-18 14:47:55 -05:00
Yaroslav Halchenko
bd658fc74b
ENH: stay compatible with python < 2.5 (use md5 if hashlib is N/A)
2011-11-18 14:38:24 -05:00
Markos Chandras
492d8e5ff8
BF: use hashlib instead of deprecated md5
...
Bugfix revision. Fixes bug 260337,283629,301139,315073,343955. Thanks to Robert Trace <bugzilla-gentoo@farcaster.org>, Harley Peters <harley@thepetersclan.com> for the patches.
Picked up from
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.8.4-hashlib.patch\?view\=markup
2011-11-18 14:32:37 -05:00
Robert Trace
5812abb987
ENH: Remove obsolete code from gentoo init script. Bug gentoo#367819.
...
Picked up from
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.8.4-gentoo-init.patch\?view\=markup
2011-11-18 14:28:23 -05:00
Yaroslav Halchenko
9faeecc67c
Merge branch 'master' into debian-release
...
* master:
moving log samples under testcases/files
2011-11-18 11:59:21 -05:00
Yaroslav Halchenko
40fbb55044
Merge branch 'master' (early part) into debian-release
...
* 'master' (early part):
Adding log samples accumulated in Debian branch
BF: removing minor bashism in ipmasq example file (closes : #530078 ). Thanks Raphael Geissert
Added ipmasq rule file to restart fail2ban when iptables are wiped out (closes : #461417 ). Thanks Guido Bozzetto
added rudimentary .gitignore
BF: be able to detect time for VNC recording only 2 letters of year (closes : #537610 )
2011-11-18 11:59:08 -05:00
Yaroslav Halchenko
fceff2d5b9
moving log samples under testcases/files
2011-11-18 11:57:20 -05:00
Yaroslav Halchenko
b9a6b622cc
Adding log samples accumulated in Debian branch
2011-11-18 11:55:46 -05:00
Yaroslav Halchenko
aa0024db00
BF: removing minor bashism in ipmasq example file ( closes : #530078 ). Thanks Raphael Geissert
2011-11-18 11:51:59 -05:00
Yaroslav Halchenko
713fea6371
Added ipmasq rule file to restart fail2ban when iptables are wiped out ( closes : #461417 ). Thanks Guido Bozzetto
2011-11-18 11:51:59 -05:00
Yaroslav Halchenko
c6ea666ac8
added rudimentary .gitignore
2011-11-18 11:50:49 -05:00
Yaroslav Halchenko
9b96a01d3e
adjusting email for Cyril to be cyril.jaquier@fail2ban.org
2011-11-18 11:49:34 -05:00
Yaroslav Halchenko
42e6653486
RF: moving manpages tune ups into debian patch
...
original commit 3389184f41
2011-11-18 11:43:33 -05:00
Yaroslav Halchenko
fd4c151353
BF: be able to detect time for VNC recording only 2 letters of year ( closes : #537610 )
2011-11-18 11:02:43 -05:00
Yaroslav Halchenko
e28688a3d3
Adding files which were not present in sdist
...
and removed PKG-INFO
2011-11-18 10:47:47 -05:00
Yaroslav Halchenko
cd38985e61
Merge branch 'master' into debian-release
...
* master: (27 commits)
ENH: server.py -- addLogPath with tail=True
ENH: set/getFile for ticket.py -- found in source distribution of 0.8.4
NF: adding unittests for previous commit
ENH: removed expansion for few Date and Revision SVN keywords
ENH: sshd.conf -- allow user names to have spaces and trailing spaces in the line
Removed duplicate entry for DataCha0s/2\.0 in badbots (closes : #519557 )
BF: return declaration of TABLE back (thanks to michaelberg79)
Update server/datetemplate.py
format output of matches data.
ENH: minor unittest to see if tickets carry correct 'matches'
ENH: introduced usa of Ticket.__matches throughout
ENH: added 'matches' to the Ticket(s) and deprecated "custom" constructors for derived *Tickets
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
ENH: failmanager -- additional debug message about # of known failures
ENH: rudimentary __str__ for the ticket
ENH: more human-accessible printout of the dates if any comparison fails
ENH: few debug messages and use MyTime.localtime instead of straight time.time
ENH: Added localtime() to MyTime
BF: set TZ to CEST while unittesting so dates matching would work
ENH: added a .pylintrc to help with consistent appearance and catch obvious problems
...
Conflicts:
MANIFEST -- wasn't present before due to base on source distribution
server/ticket.py -- strange conflict -- should be benign
2011-11-18 10:43:13 -05:00
Yaroslav Halchenko
927a01a076
ENH: server.py -- addLogPath with tail=True
...
it was present in source distribution of 0.8.4 but seems to lack from VCS
2011-11-18 10:40:51 -05:00
Yaroslav Halchenko
a33135c24d
ENH: set/getFile for ticket.py -- found in source distribution of 0.8.4
...
it was present in source distribution but seems to lack from VCS
2011-11-18 10:39:39 -05:00
Yaroslav Halchenko
441cd891bc
NF: adding unittests for previous commit
2011-11-18 10:16:17 -05:00
Yaroslav Halchenko
a9be451079
ENH: removed expansion for few Date and Revision SVN keywords
...
For consistency of appearance... eventually we might just remove them
altogether
2011-11-18 10:14:39 -05:00
Yaroslav Halchenko
8f3d54882a
manually removed all expansion for SVN keywords to match with master
2011-11-18 10:10:45 -05:00
Yaroslav Halchenko
dad91f7969
ENH: sshd.conf -- allow user names to have spaces and trailing spaces in the line
...
absorbed from patches carried by Debian distribution of f2b
2011-11-18 10:07:13 -05:00
Yaroslav Halchenko
ed0bf3ad96
Removed duplicate entry for DataCha0s/2\.0 in badbots ( closes : #519557 )
2011-11-18 09:40:56 -05:00
Yaroslav Halchenko
9d45e35642
BF: return declaration of TABLE back (thanks to michaelberg79)
2011-11-16 07:45:46 -05:00
Yaroslav Halchenko
8a1f44a0f2
Merge pull request #5 from JohnyByk/patch-3
...
Update server/datetemplate.py to support dates in Polish locale
2011-11-10 09:57:23 -08:00
Łukasz
5f235427aa
Update server/datetemplate.py
2011-11-10 18:51:29 +01:00
Tom Hendrikx
22b700766c
format output of matches data.
2011-11-08 00:20:52 -05:00
Yaroslav Halchenko
344effb437
ENH: minor unittest to see if tickets carry correct 'matches'
2011-10-07 15:49:47 -04:00
Yaroslav Halchenko
de8786dd1d
ENH: introduced usa of Ticket.__matches throughout
2011-10-07 15:49:47 -04:00
Yaroslav Halchenko
b52d420575
ENH: added 'matches' to the Ticket(s) and deprecated "custom" constructors for derived *Tickets
2011-10-07 15:49:47 -04:00
Yaroslav Halchenko
ed6daa70bf
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
2011-10-07 15:49:38 -04:00
Yaroslav Halchenko
19c9ac4fb5
ENH: failmanager -- additional debug message about # of known failures
2011-10-07 15:32:16 -04:00
Yaroslav Halchenko
1674b7b4f2
ENH: rudimentary __str__ for the ticket
2011-10-07 15:32:08 -04:00
Yaroslav Halchenko
94aa94e966
ENH: more human-accessible printout of the dates if any comparison fails
2011-10-07 15:15:18 -04:00
Yaroslav Halchenko
6641b1ce8b
ENH: few debug messages and use MyTime.localtime instead of straight time.time
2011-10-07 15:14:54 -04:00
Yaroslav Halchenko
b6d50c1dea
ENH: Added localtime() to MyTime
2011-10-07 15:14:34 -04:00
Yaroslav Halchenko
5a2d518bf2
BF: set TZ to CEST while unittesting so dates matching would work
...
now unittesting should work on any box (not only in CEST timezone ;) )
uff -- so much time was wasted to come to this minimal (and now
obvious) solution -- it is just scary ;)
2011-10-07 15:14:13 -04:00
Yaroslav Halchenko
08fced9646
ENH: added a .pylintrc to help with consistent appearance and catch obvious problems
2011-10-04 10:55:16 -04:00
Cyril Jaquier
ec4fda8a1f
Removed Subversion keyword
2011-10-03 22:31:56 +02:00
Yaroslav Halchenko
877de0d45f
adjusted the version in README to match the most recent "release" 0.8.5
2011-10-03 15:22:36 -04:00
Yaroslav Halchenko
90167a1bef
DOC: moved THANKS into a THANKS file for better visibility, concise README
2011-10-03 15:21:35 -04:00
Yaroslav Halchenko
c3215933d7
Thank Yehuda for all his work on bringing sanity to wiki
2011-10-02 21:50:55 -04:00
Adam Spiers
3152afbdc2
Recognise time-stamped kernel messages
...
e.g.
Sep 25 12:51:04 myhost kernel: [773580.832329] sshd[25557]: Invalid user pgsql from 91.203.223.206
This fixes the sshd filter on Fedora 15, and probably other filters on
other newish distros too.
2011-09-28 12:46:28 -04:00
Yaroslav Halchenko
3a58d0e6e4
BF: Lock server's executeCmd to prevent racing among iptables calls ( Closes : #554162 )
...
Many kudos go to Michael Saavedra for the solution and the patch.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@784 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-09-24 02:28:45 +00:00
Yaroslav Halchenko
2b27d83625
changelog for 0.8.5-2
2011-09-23 22:12:27 -04:00
Yaroslav Halchenko
9c4b041821
BF: Lock server's executeCmd to prevent racing among iptables calls ( Closes : #554162 )
...
Many kudos go to Michael Saavedra for the solution and the patch.
2011-09-23 22:05:29 -04:00
Yaroslav Halchenko
3eb5e3b876
BF: Allow for trailing spaces in sasl logs
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@783 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-08-07 02:41:08 +00:00