Commit Graph

69 Commits (67145d8b78a557931e8d8cb1d5b61a92748ac10b)

Author SHA1 Message Date
David Engeset 2d672d1c81 Added in while loop to process the Fail Manager after the requested banned IP was added to its queue. This solves the issue of needing to touch the log file that is being monitored to get the IP to be banned accordingly. Added in import of FailManagerEmpty exception class.
12 years ago
Yaroslav Halchenko 8e64c281dd BF: in code we should use MyTime wrapper instead of time module directly
12 years ago
Yaroslav Halchenko d9248a6cf8 BF+RF: pyinotify refreshes watcher upon CREATE, unified/simplified *(add|del)LogPath among *Filters
13 years ago
Yaroslav Halchenko 25674a95f8 RF: filter.py -- single readline in a loop
13 years ago
Yaroslav Halchenko 9b360bb12d ENH: minor, just trailing spaces/tabs + reformated a string
13 years ago
Yaroslav Halchenko 3989d24967 BF: usedns=no was not working at all
13 years ago
Chris Reffett a018a26133 Fixed addBannedIP to add enough failures to trigger a ban, rather than
13 years ago
Yaroslav Halchenko 2245ff5b41 ENH: rudimentary __repr__ for Filter and Jail + moved usedns into set method
13 years ago
Lee Clemens d73a71f5cf ENH: Add usedns parameter for the jails
13 years ago
Leonardo Chiquitto a7d47e8b36 Update Free Software Foundation's address
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
13 years ago
Yaroslav Halchenko de8786dd1d ENH: introduced usa of Ticket.__matches throughout
13 years ago
Yaroslav Halchenko ed6daa70bf ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
13 years ago
Yaroslav Halchenko 2a38820ed6 debug entry for lines ignored due to falling below findtime (v2)
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
15 years ago
Cyril Jaquier 8007a02539 - Patch to make log file descriptors cloexec to stop leaking file descriptors on
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.
15 years ago
Arturo 'Buanzo' Busleiman a1a106a27e added "Ban IP" command to fail2ban branch 0.8
15 years ago
Cyril Jaquier abd061bad8 - Changed <HOST> template to be more restrictive. Debian bug #514163.
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.
17 years ago
Cyril Jaquier 8da2fe515a - Added and changed some logging level and messages.
17 years ago
Cyril Jaquier 174ce7027a - Fixed fail2ban-regex. It support "includes" in configuration files.
17 years ago
Cyril Jaquier 695b6b1fe5 - New log rotation detection algorithm.
17 years ago
Cyril Jaquier 65dcbed591 - Split Filter into Filter and FileFilter.
17 years ago
Cyril Jaquier 9199e02853 - Removed unused regular expression.
17 years ago
Cyril Jaquier adcc2ef386 - Removed user-defined time regex/pattern.
17 years ago
Cyril Jaquier ce6b8c959e - Removed Python 2.4. Minimum required version is now Python 2.3.
17 years ago
Cyril Jaquier c07a7a6e7a - Refactoring. Reduced number of files.
17 years ago
Cyril Jaquier 5176ce820e - Fixed "ignore IPs". Only the first value was taken into account. Thanks to Adrien Clerc
17 years ago
Cyril Jaquier 66063d2731 - Added "full line failregex" patch. Thanks to Yaroslav Halchenko. It will be possible to create stronger failregex against log injection
17 years ago
Cyril Jaquier 7c33b443ac - Removed textToDns() which is not required anymore. Thanks to Yaroslav Halchenko
18 years ago
Cyril Jaquier ada2d7234e - Added "ignoreregex" support to fail2ban-regex
18 years ago
Cyril Jaquier 090518ddaf - Fixed "reload" bug. Many many thanks to Yaroslav Halchenko
18 years ago
Cyril Jaquier 04e2b6730c - Removed IP list in status for failmanager
18 years ago
Cyril Jaquier 6d6acb075a - Added IP list in "status <JAIL>". Thanks to Eric Gerbier
18 years ago
Cyril Jaquier 5370b6740d - Removed unneeded local variable
18 years ago
Cyril Jaquier 0f31cc0feb - Added support for several "failregex" and "ignoreregex". This should simplify the configuration files.
18 years ago
Cyril Jaquier 071474089b - Improved regular expression checking
18 years ago
Cyril Jaquier f5d4cb6be2 - Added alias "<HOST>" for failregex
18 years ago
Cyril Jaquier 911b2b15fc - Merged "maxtime" with "findtime"
18 years ago
Cyril Jaquier 90359ba523 - Added option "ignoreregex" in filter scripts and jail.conf. Feature Request #1283304
18 years ago
Cyril Jaquier 7659452ade - Refactoring
18 years ago
Cyril Jaquier 5baa08c86f - Improved checking and logging output in findFailure
18 years ago
Cyril Jaquier 150a6abd0d - Stop reading log file when jail is no more active
18 years ago
Cyril Jaquier 71b9fe8fe8 - Fixed some Pylint warnings/errors
18 years ago
Cyril Jaquier 2f37284863 - Removed useless code
18 years ago
Cyril Jaquier af41290fc6 - Added the class MyTime. Replaces call to time.time() and time.gmtime(). A fixed time value can be set for testing purpose
18 years ago
Cyril Jaquier 7b7d246a19 - Added DNS support for "ignoreip"
18 years ago
Cyril Jaquier 0616135350 - Removed unneeded import
18 years ago