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 |
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
|
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
|
9d45e35642
|
BF: return declaration of TABLE back (thanks to michaelberg79)
|
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
|
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
|
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
|
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
|
12304f7a3e
|
Tai64N stores time in GMT, we need to convert to local time before returning
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@764 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
14 years ago |
Yaroslav Halchenko
|
2a38820ed6
|
debug entry for lines ignored due to falling below findtime (v2)
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@763 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
14 years ago |
Arturo 'Buanzo' Busleiman
|
7aad6685af
|
added time module. bug reported in buanzo's blog at http://blogs.buanzo.com.ar/2009/04/fail2ban-patch-ban-ip-address-manually.html
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@758 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Cyril Jaquier
|
8007a02539
|
- Patch to make log file descriptors cloexec to stop leaking file descriptors on
fork/exec. Thanks to Jonathan Underwood. https://bugzilla.redhat.com/show_bug.cgi?id=230191#c24
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@757 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Cyril Jaquier
|
a3d6ae19f6
|
- Check the inode number for rotation in addition to checking the first line of the file. Thanks to Jonathan Kamens.
- Red Hat Bugzilla - Bug 503852
- SF.net Bug #2800279.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@752 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
3e3a68f9de
|
added traceback to asyncserver.py's import.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@750 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
5945ca09ae
|
moved logging shutdown out of quit(), into end of start() in server.py
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@748 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
a1a106a27e
|
added "Ban IP" command to fail2ban branch 0.8
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@745 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Cyril Jaquier
|
b88956e898
|
- Added helper module in common.
- Moved formatExceptionInfo by Buanzo to common/helpers.py.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@740 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
81e2fe8306
|
added 'unexpected communication error' fix to ChangeLog. Added formatExceptionInfo to server/asyncserver.py
We should move that function to a helpers module.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@739 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
b2f0bfe751
|
added missing import sys to asyncserver.py
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@738 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
08a36ca657
|
more readable code for python version comparison
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@737 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
fd898c9eac
|
added python version detection to asyncore.loop(use_poll=True|False)
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@736 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Arturo 'Buanzo' Busleiman
|
e09fad559a
|
Fix for python 2.6 / 3.0 incompatibility
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@735 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
15 years ago |
Cyril Jaquier
|
0cf733e878
|
- Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@731 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
16 years ago |
Cyril Jaquier
|
3155bc8f03
|
- Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct fix but seems to work. Tracker #2500276.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@729 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
16 years ago |
Cyril Jaquier
|
abd061bad8
|
- Changed <HOST> template to be more restrictive. Debian bug #514163.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@728 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
16 years ago |
Cyril Jaquier
|
6b9896c332
|
- Added CPanel date format. Thanks to David Collins. Tracker #1967610.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@722 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
16 years ago |
Cyril Jaquier
|
024a77a679
|
- Removed print.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@720 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
16 years ago |
Cyril Jaquier
|
870f9d9ea7
|
- Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@719 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
16 years ago |
Cyril Jaquier
|
f6d44e6bc8
|
- Added new time format. No idea from where it comes...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@714 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
16 years ago |
Cyril Jaquier
|
6ee4843d11
|
- Try to match the regex even if the line does not contain a valid date/time. Described in Debian #491253. Thanks to Yaroslav Halchenko.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@712 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
9e2a4a935a
|
- Added date template for Day-Month-Year Hour:Minute:Second.
- Values as string are shown in capital in the description.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@710 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
e064ebba45
|
- Added date pattern for Hour:Minute:Second. Thanks to Andreas Itzchak Rehberg.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@709 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
b26f9ca97a
|
- Use current day and month instead of Jan 1st if both are not available in the log. Thanks to Andreas Itzchak Rehberg.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@708 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
cc62cd7076
|
- Use poll instead of select in asyncore.loop. This should solve the "Unknown error 514". Thanks to Michael Geiger and Klaus Lehmann.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@700 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
8da2fe515a
|
- Added and changed some logging level and messages.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@696 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
298adc4d43
|
- Added ISO 8601 date/time format.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@692 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
46dab37bfe
|
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@685 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
56357d18df
|
- Changed some log level.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@682 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
b757c08f40
|
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@681 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |
Cyril Jaquier
|
b174a2e858
|
- Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@680 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
17 years ago |