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
Cyril Jaquier
ec4fda8a1f
Removed Subversion keyword
13 years ago
Yaroslav Halchenko
877de0d45f
adjusted the version in README to match the most recent "release" 0.8.5
13 years ago
Yaroslav Halchenko
90167a1bef
DOC: moved THANKS into a THANKS file for better visibility, concise README
13 years ago
Yaroslav Halchenko
c3215933d7
Thank Yehuda for all his work on bringing sanity to wiki
13 years ago
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.
13 years ago
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
13 years ago
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
14 years ago
Yaroslav Halchenko
2da1a55a48
for 0.8.5 release -- changelog + version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@781 a942ae1a-1317-0410-a47c-b1dcaea8d605
14 years ago
Yaroslav Halchenko
a35e586ac0
BF: use addfailregex instead of failregex while processing per-jail "failregex" parameter ( Closes : #635830 ) (LP: #635036 )
...
patch from Marat Khayrullin received in Ubuntu BTS. Otherwise custom per-jail
failregex forbidded fail2ban from starting
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@780 a942ae1a-1317-0410-a47c-b1dcaea8d605
14 years ago
Yaroslav Halchenko
afee14e778
BF: use os.path.join to generate full path - fixes includes in configs given local filename
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@779 a942ae1a-1317-0410-a47c-b1dcaea8d605
14 years ago
Yaroslav Halchenko
b9b9e42223
very minor -- uniform indentation in example
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@778 a942ae1a-1317-0410-a47c-b1dcaea8d605
14 years ago