Commit Graph

93 Commits (4e4f194457c89253c75d5734eb185446129e489b)

Author SHA1 Message Date
Daniel Black a03815facf TST: FileFilter tail tests
11 years ago
Daniel Black f3c4285118 TST: no test coverage on subclass overwritten function _delLogPath
11 years ago
Daniel Black 916649119e ENH: use format string rather than concatination on log message
11 years ago
Daniel Black e108de3f6d ENH: banning an IP in the ignoreIPList now issues warning to log, but still continues
11 years ago
Daniel Black 4b5ecbccd1 ENH: debuggex URLs with fail2ban-regex
11 years ago
Steven Hiscocks bf05f2ac95 Merge branch 'filter-failregex-return'
12 years ago
Yaroslav Halchenko 148cbd8d2a ENH: heavier debugging -- log split date/log line even for no match. Log matching regex upon match
12 years ago
Steven Hiscocks 1a2b6442a0 ENH+BF+TST: Filter now returns reference to failregex and ignoreregex
12 years ago
Steven Hiscocks 40f67c64b8 TST: Test sample logs' entries are matched by filter regexs
12 years ago
Yaroslav Halchenko 5df6796e69 ENH: DNS resolution -- catch parent exception
12 years ago
Yaroslav Halchenko 8d25e83f5d BF: race condition -- file should not be read unless it is not empty
12 years ago
Yaroslav Halchenko 97f9cfc0b0 ENH: 'heavydebug' level == 5 for even more debugging in tricky cases
12 years ago
Yaroslav Halchenko 6fef85ff2d ENH: strip CR and LF while analyzing the lines (processLine) (Close #202)
12 years ago
Yaroslav Halchenko 8e63d4c6da ENH: "is None" instead of "== None" + tune ups in headers
12 years ago
Nicolas Collignon 39667ff6f7 FD_CLOEXEC support
12 years ago
Yaroslav Halchenko be42522bba Merge branch 'transmitter-testcase' of https://github.com/kwirk/fail2ban
12 years ago
Yaroslav Halchenko 5e5eaaf838 Merge pull request #134 from grooverdan/misc-fixes
12 years ago
Pascal Borreli a2b29b4875 Fixed typos
12 years ago
Steven Hiscocks 4bbbc07872 Added additional Transmitter tests, and some associated fixes
12 years ago
Daniel Black 23bbc60b1c do catch all exception
12 years ago
Daniel Black c8c7b0b984 BF: general Exception catch was excessive. Only IOError and OSError are possible and has different meanings
12 years ago
Daniel Black 3665e6dc44 Add development documentation and framework for code coverage measurement
12 years ago
Yaroslav Halchenko 59c35bc44a Downgrade log rotation detection message to DEBUG level from INFO. Closes: gh-129
12 years ago
Daniel Black fd7929863b name -> IP is a normal DNS lookup not a reverse
12 years ago
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