Yaroslav Halchenko
faf5b29ffe
ENH: added a unittest demonstrating the arithm progression sum effect
...
See https://github.com/fail2ban/fail2ban/issues/17 for more information
To run that only test (to fail) you can use nose:
nosetests -s -v testcases/filtertestcase.py:FileFilterTests.testRecycledLog
13 years ago
Leonardo Chiquitto
a7d47e8b36
Update Free Software Foundation's address
...
The address has changed from "59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA" to "51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA" some time ago.
13 years ago
Leonardo Chiquitto
4502adfe69
Fix comments to reflect code
...
Commit 638bb6652
changed some defaults but the comments still point
to the previous values.
13 years ago
Yaroslav Halchenko
789b520ac3
Merge pull request #13 from leeclemens/master
...
spelling/grammar fixes in files/nagios
13 years ago
Lee Clemens
47c03a2c13
files/nagios - spelling/grammar fixes
13 years ago
Yaroslav Halchenko
baea0bf3e8
Merge branch 'master' of https://github.com/sciunto/fail2ban
...
* 'master' of https://github.com/sciunto/fail2ban :
Correction of the IP in testcase for lighttpd
13 years ago
François Boulogne
115092956f
Correction of the IP in testcase for lighttpd
13 years ago
Yaroslav Halchenko
4c76fb3b54
ENH: allow trailing white-spaces in lighttpd-auth.conf
...
now catches the one in testcases/files/logs/lighttpd
13 years ago
François Boulogne
683d4f269d
modifications suggested by a referee (log ex+regexp)
13 years ago
François Boulogne
a7cb20edac
add lighttpd-auth jail
13 years ago
François Boulogne
b6d9f795dc
add filter for lighttpd mod_auth failure
13 years ago
Yaroslav Halchenko
1efe1bc171
Changelog and version changes for 0.8.6
13 years ago
Yaroslav Halchenko
3e1983a8ec
Revert "ENH: server.py -- addLogPath with tail=True"
...
This reverts commit 927a01a076
.
Let's not change this behavior for now from previous release since it
would break finding recent hits upon restart.
13 years ago
Yaroslav Halchenko
2cb14c50ac
DOC: updated contact information to direct to github and mailing list
13 years ago
Yaroslav Halchenko
db39c7438a
ENH: added custom timeformat with '.' as separator. Close gh-1
...
Probably evening effect -- can't understand why reported days of the weeks
differ and it was 1 originally at all. Left as TODO
13 years ago
Yaroslav Halchenko
16322440ed
BF: stop all communications before stopping the jails (Close gh-7)
...
It is necessary because otherwise if jails actions try to communicate
to the server we are getting a lockup since threads are locked
13 years ago
Yaroslav Halchenko
fbce415622
ENH: added logging while stopping the jails
13 years ago
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.
13 years ago
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
13 years ago
Yaroslav Halchenko
eda7efbca3
ENH: fix of syntax for compatibility with Python 2.4
13 years ago
Yaroslav Halchenko
bd658fc74b
ENH: stay compatible with python < 2.5 (use md5 if hashlib is N/A)
13 years ago
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
13 years ago
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
13 years ago
Yaroslav Halchenko
fceff2d5b9
moving log samples under testcases/files
13 years ago
Yaroslav Halchenko
b9a6b622cc
Adding log samples accumulated in Debian branch
13 years ago
Yaroslav Halchenko
aa0024db00
BF: removing minor bashism in ipmasq example file ( closes : #530078 ). Thanks Raphael Geissert
13 years ago
Yaroslav Halchenko
713fea6371
Added ipmasq rule file to restart fail2ban when iptables are wiped out ( closes : #461417 ). Thanks Guido Bozzetto
13 years ago
Yaroslav Halchenko
c6ea666ac8
added rudimentary .gitignore
13 years ago
Yaroslav Halchenko
fd4c151353
BF: be able to detect time for VNC recording only 2 letters of year ( closes : #537610 )
13 years ago
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
13 years ago
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
13 years ago
Yaroslav Halchenko
441cd891bc
NF: adding unittests for previous commit
13 years ago
Yaroslav Halchenko
a9be451079
ENH: removed expansion for few Date and Revision SVN keywords
...
For consistency of appearance... eventually we might just remove them
altogether
13 years ago
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
13 years ago
Yaroslav Halchenko
ed0bf3ad96
Removed duplicate entry for DataCha0s/2\.0 in badbots ( closes : #519557 )
13 years ago
Yaroslav Halchenko
9d45e35642
BF: return declaration of TABLE back (thanks to michaelberg79)
13 years ago
Yaroslav Halchenko
8a1f44a0f2
Merge pull request #5 from JohnyByk/patch-3
...
Update server/datetemplate.py to support dates in Polish locale
13 years ago
Łukasz
5f235427aa
Update server/datetemplate.py
13 years ago
Tom Hendrikx
22b700766c
format output of matches data.
13 years ago
Yaroslav Halchenko
344effb437
ENH: minor unittest to see if tickets carry correct 'matches'
13 years ago
Yaroslav Halchenko
de8786dd1d
ENH: introduced usa of Ticket.__matches throughout
13 years ago
Yaroslav Halchenko
b52d420575
ENH: added 'matches' to the Ticket(s) and deprecated "custom" constructors for derived *Tickets
13 years ago
Yaroslav Halchenko
ed6daa70bf
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
13 years ago
Yaroslav Halchenko
19c9ac4fb5
ENH: failmanager -- additional debug message about # of known failures
13 years ago
Yaroslav Halchenko
1674b7b4f2
ENH: rudimentary __str__ for the ticket
13 years ago
Yaroslav Halchenko
94aa94e966
ENH: more human-accessible printout of the dates if any comparison fails
13 years ago
Yaroslav Halchenko
6641b1ce8b
ENH: few debug messages and use MyTime.localtime instead of straight time.time
13 years ago
Yaroslav Halchenko
b6d50c1dea
ENH: Added localtime() to MyTime
13 years ago
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 ;)
13 years ago
Yaroslav Halchenko
08fced9646
ENH: added a .pylintrc to help with consistent appearance and catch obvious problems
13 years ago