Commit Graph

83 Commits (0f31cc0feb1a393452664aff83c596f139185b52)

Author SHA1 Message Date
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 812a47cc4a - Added new date pattern (Exim4). Thanks to mEDI
18 years ago
Cyril Jaquier 5dd2c5162e - Reset logging handlers only if new handler succeeds
18 years ago
Cyril Jaquier 8ca367d609 - Use /dev/log for SYSLOG output. Thanks to Joerg Sommrey
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 b3143c723d - Fixed a bug in user defined regex/pattern date template
18 years ago
Cyril Jaquier 90359ba523 - Added option "ignoreregex" in filter scripts and jail.conf. Feature Request #1283304
18 years ago
Cyril Jaquier d6e49f8480 - Fixed rebanned bug
18 years ago
Cyril Jaquier f8989581b4 - Replaced loop with list comprehension
18 years ago
Cyril Jaquier 32b33c8ae4 - Fixed refactoring bug
18 years ago
Cyril Jaquier cdf5ae19db - Improved synchronization
18 years ago
Cyril Jaquier 7659452ade - Refactoring
18 years ago
Cyril Jaquier d065d97888 - Use pickle instead of cPickle. Python 2.5 gives an exception with cPickle
18 years ago
Cyril Jaquier 5baa08c86f - Improved checking and logging output in findFailure
18 years ago
Cyril Jaquier a49cc6bb08 - Added new date format (Apache). Thanks to Yaroslav Halchenko
18 years ago
Cyril Jaquier 150a6abd0d - Stop reading log file when jail is no more active
18 years ago
Cyril Jaquier ae0ed204ee - Added signal handling. There is a bug with join() and signal handling in Python.
18 years ago
Cyril Jaquier 4536ddbcc1 - Fixed indentation with space instead of tabs
18 years ago
Cyril Jaquier 71b9fe8fe8 - Fixed some Pylint warnings/errors
18 years ago
Cyril Jaquier 4fd934aa83 - subprocess still hangs :'(
18 years ago
Cyril Jaquier a522d9b6d7 - Re-activated subprocess module
18 years ago
Cyril Jaquier 23127d951c - Added 'u' in front of the UTF-8 strings
18 years ago
Cyril Jaquier 2f37284863 - Removed useless code
18 years ago
Cyril Jaquier 3cd43b13ce - Added simple date format
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 0fab1bbf01 - Added "backend" option
18 years ago
Cyril Jaquier 7989e66270 - Added "-s" option to specify the socket path
18 years ago
Cyril Jaquier 85293c63e4 - Fixed format string
18 years ago
Cyril Jaquier 033160eb96 - Added jail name to ban/unban log
18 years ago
Cyril Jaquier 4c315f3687 - Moved ban/unban messages from "info" to "warn" level
18 years ago
Cyril Jaquier 7b7d246a19 - Added DNS support for "ignoreip"
18 years ago
Cyril Jaquier bf3cd1d56d - (Re)added permanent banning (banTime < 0)
18 years ago
Cyril Jaquier 0616135350 - Removed unneeded import
18 years ago
Cyril Jaquier 4502c0f6ba - Organized imports (pylint)
18 years ago
Cyril Jaquier d30cfd2095 - subprocess.call deadlocks when execute action with multi-jails
18 years ago
Cyril Jaquier b5abd7f2f2 - Use cPickle instead of pickle. cPickle can be up to 1000 times faster
18 years ago
Cyril Jaquier bb6c14bfea - Use subprocess.call instead of os.system
18 years ago
Cyril Jaquier 2c737f77f1 - Oups... Forgot 2 debug output. Removed
18 years ago
Cyril Jaquier 6ab1d13234 - Fixed log rotation bug
18 years ago
Cyril Jaquier d61690fd9e - Added encoding tag (utf8)
18 years ago
Cyril Jaquier 3ca397922d - Catch IOError when file can not be read
18 years ago
Cyril Jaquier f3df224ec4 - First attempt at solving bug #1457620
18 years ago
Cyril Jaquier 9f5f6812f5 - Added a getTemplates() method because self.__templates can not be accessed directly anymore
18 years ago
Cyril Jaquier 4b80546f10 - Fixed bugs introduced by refactoring
18 years ago
Cyril Jaquier 126807dea8 - Made private fields prefixed with "__"
18 years ago
Cyril Jaquier acb2fc2c2b - Fixes in locking
18 years ago
Cyril Jaquier 2bcf1bb359 - Fixed some bugs
18 years ago
Cyril Jaquier c80164b329 - Added more locking
18 years ago