Commit Graph

327 Commits (cee341402990b8dc2f9e2544ba44185bce7922af)

Author SHA1 Message Date
Steven Hiscocks 9928f1df96 ENH: Allow 255.255.255.0 style mask for ignoreip
11 years ago
Steven Hiscocks 1e9910fcb0 ENH: Added traceback for error log on pyinotify callback when in debug
11 years ago
Steven Hiscocks bda9b7d725 BF: Add handling of exception in pyinotify callback
11 years ago
Steven Hiscocks 4d128db64a BF: asyncserver now ensures all data is sent
11 years ago
Yaroslav Halchenko 6815190685 BF(2.4): omit date patterns containing %f (.subsec) for Python before 2.5
11 years ago
bes.internal ebd89ec077 New ignorecommand that is added to the ignoreip list from output of an external program
11 years ago
Daniel Black b0ea5698b3 BF: prevent process_file being called in pyinotify backend on log rotation. Closes gh-512
11 years ago
Steven Hiscocks d22716ab63 ENH: Add nsd filter and amend DateEpoch to match date format
11 years ago
Daniel Black d402701b9f Merge pull request #452 from grooverdan/early-sighup-ignore
11 years ago
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
Steven Hiscocks 7115f64f83 Merge pull request #470 from grooverdan/flush-logs
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 b5d6310d28 BF: create flushlogs command to prevent logrotation clobbering logtarget. Closes gh-458
11 years ago
Yaroslav Halchenko 3a5983ab0b Merge branch 'bf/syslog-format' of https://github.com/yarikoptic/fail2ban
11 years ago
Daniel Black 99838440c8 DOC: document rational behind 20 character jail name limit
11 years ago
Yaroslav Halchenko a6f085786c ENH: reintroducing levelnameinto syslog msgs, time stamp and indentation in non-syslog msgs
11 years ago
Daniel Black f2c529ca7b ENH: move signal.signal(signal.SIGHUP, signal.SIG_IGN) before fork in server. closes #446
11 years ago
Yaroslav Halchenko d34d8db3d2 BF/ENH: include [PID] into logging msgs, remove indentation from syslog messages
11 years ago
Yaroslav Halchenko d4f6ca4f85 ENH: adding custom date format for proftpd when logging in its own log file (default on Debian) -- includes milliseconds
11 years ago
Daniel Black caf284d518 DOC: ChangeLog deconflict
11 years ago
Steven Hiscocks a8f2448349 ENH: Allow SE Linux epoch date detection
11 years ago
Daniel Black 6224d761ab BF: simplify
11 years ago
Daniel Black 4d1c060e21 ENH: dont execute empty commands
11 years ago
Daniel Black 4b5ecbccd1 ENH: debuggex URLs with fail2ban-regex
11 years ago
Yaroslav Halchenko f1adf75b59 ENH: basic testing for iso8601 code which had no explicit tests + spit out ValueError for incorrect type of input and ParseError otherwise
11 years ago
Daniel Black b589533d69 Merge branch 'master' into kwirk-merge
11 years ago
Daniel Black ced271b908 ENH: date for apache-2.4 - adds milliseconds
11 years ago
Yaroslav Halchenko c84a2e595a ENH(BF): put 'standard' template after more detailed ones with day of week and year
11 years ago
Yaroslav Halchenko c0456fd835 BF: Fixing a name for MySQL date pattern which misplaced Year (should not effect functionality) Closes #312
11 years ago
Steven Hiscocks 1e270078b4 TST: Warn if date templates overlap in default detectors
12 years ago
Yaroslav Halchenko 3b52eca608 ENH+TST: Ticket -- drop unused/bogus get|setFile + enh __str__ + basic testing
12 years ago
Steven Hiscocks bf05f2ac95 Merge branch 'filter-failregex-return'
12 years ago
Yaroslav Halchenko 0a02cfe9e8 ENH: <HOST> must end with alphanumeric \w (not a dot or a dash etc)
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 e282d6b1c7 ENH: Remove unused any longer _ctime helper
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 f340e5c0f5 ENH(+possibly BF): for FilterPoll rely not only on mtime but also ino and size to assess if file was modified
12 years ago
Yaroslav Halchenko 2ffc143597 ENH: more of heavydebug'ing for FilterPoll
12 years ago
Yaroslav Halchenko 591590860a BF: setSleepTime -- would barf since value is not str (wasn't used/tested)
12 years ago
Yaroslav Halchenko 97f9cfc0b0 ENH: 'heavydebug' level == 5 for even more debugging in tricky cases
12 years ago
Yaroslav Halchenko 21474884e0 ENH: now we know that logging handlers closing was still buggy in 2.6.2
12 years ago
Yaroslav Halchenko 571ff33fde ENH: issue a warning if jail name is longer than 19 symbols (Close #222)
12 years ago
Yaroslav Halchenko 14f92d9144 Merge pull request #225 from yarikoptic/master
12 years ago
Steven Hiscocks 8af3ffb332 BF: Fix for filterpoll incorrectly checking for jailless state
12 years ago
Yaroslav Halchenko 8161038987 ENH: strengthen detection of working pyinotify
12 years ago