Commit Graph

205 Commits (42523dce9292e261220ec46cc5b8666744b8b7a0)

Author SHA1 Message Date
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 3e3a68f9de added traceback to asyncserver.py's import.
15 years ago
Arturo 'Buanzo' Busleiman 5945ca09ae moved logging shutdown out of quit(), into end of start() in server.py
15 years ago
Arturo 'Buanzo' Busleiman a1a106a27e added "Ban IP" command to fail2ban branch 0.8
15 years ago
Cyril Jaquier b88956e898 - Added helper module in common.
15 years ago
Arturo 'Buanzo' Busleiman 81e2fe8306 added 'unexpected communication error' fix to ChangeLog. Added formatExceptionInfo to server/asyncserver.py
15 years ago
Arturo 'Buanzo' Busleiman b2f0bfe751 added missing import sys to asyncserver.py
15 years ago
Arturo 'Buanzo' Busleiman 08a36ca657 more readable code for python version comparison
15 years ago
Arturo 'Buanzo' Busleiman fd898c9eac added python version detection to asyncore.loop(use_poll=True|False)
15 years ago
Arturo 'Buanzo' Busleiman e09fad559a Fix for python 2.6 / 3.0 incompatibility
15 years ago
Cyril Jaquier 0cf733e878 - Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714.
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.
16 years ago
Cyril Jaquier abd061bad8 - Changed <HOST> template to be more restrictive. Debian bug #514163.
16 years ago
Cyril Jaquier 6b9896c332 - Added CPanel date format. Thanks to David Collins. Tracker #1967610.
16 years ago
Cyril Jaquier 024a77a679 - Removed print.
16 years ago
Cyril Jaquier 870f9d9ea7 - Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824.
16 years ago
Cyril Jaquier f6d44e6bc8 - Added new time format. No idea from where it comes...
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 9e2a4a935a - Added date template for Day-Month-Year Hour:Minute:Second.
17 years ago
Cyril Jaquier e064ebba45 - Added date pattern for Hour:Minute:Second. Thanks to Andreas Itzchak Rehberg.
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.
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.
17 years ago
Cyril Jaquier 8da2fe515a - Added and changed some logging level and messages.
17 years ago
Cyril Jaquier 298adc4d43 - Added ISO 8601 date/time format.
17 years ago
Cyril Jaquier 46dab37bfe - Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
17 years ago
Cyril Jaquier 56357d18df - Changed some log level.
17 years ago
Cyril Jaquier b757c08f40 - Fixed "fail2ban-client get <jail> logpath". Bug #1916986.
17 years ago
Cyril Jaquier b174a2e858 - Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
17 years ago
Cyril Jaquier d645a8fe47 - Process failtickets as long as failmanager is not empty.
17 years ago
Cyril Jaquier 174ce7027a - Fixed fail2ban-regex. It support "includes" in configuration files.
17 years ago
Cyril Jaquier 799f5977c5 - Fixed "Feb 29" bug. Thanks to James Andrewartha who pointed this out. Thanks to Yaroslav Halchenko for the fix.
17 years ago
Cyril Jaquier bcdb428e1b - Added missing argument.
17 years ago
Cyril Jaquier 9163e5b61b - Removed debug message.
17 years ago
Cyril Jaquier ae26b901ab - Create a PID file in /var/run/fail2ban/. Thanks to Julien Perez.
17 years ago
Cyril Jaquier 7091cb39e4 - Small refactoring.
17 years ago
Cyril Jaquier 695b6b1fe5 - New log rotation detection algorithm.
17 years ago
Cyril Jaquier 2703c8ebb9 - Show version at startup. Thanks to Klaus Lehmann.
17 years ago
Cyril Jaquier 7db7967ab1 - Added string and regex to log message.
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 eae650fdfc - Refactoring. Merged failticket and banticket into ticket.
17 years ago
Cyril Jaquier bad9821b14 - Increment counter internally.
17 years ago
Cyril Jaquier 379aa2f855 - Display a message if we could not bind the socket.
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 8dae8e4d0e - Shutdown logging at shutdown.
17 years ago
Cyril Jaquier 5bd32566c3 - Moved socket to /var/run/fail2ban.
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 c7b099f785 - Removed date from logging message when using SYSLOG. Thanks to Iain Lea
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 9eda9e93c7 - Fixed timezone bug with epoch date template. Thanks to Michael Hanselmann
17 years ago
Cyril Jaquier 040822f19f - Added "named" date format to date detector. Thanks to Yaroslav Halchenko
18 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 6d129491f7 - Expand <HOST> in ignoreregex. Thanks to Yaroslav Halchenko
18 years ago
Cyril Jaquier 6145a88fe8 - Added date format for asctime without year
18 years ago
Cyril Jaquier 090518ddaf - Fixed "reload" bug. Many many thanks to Yaroslav Halchenko
18 years ago
Cyril Jaquier fddce1cbdc - Clean up resources. Does not seem to free resources correctly. Gamin bug???
18 years ago
Cyril Jaquier c768980784 - Close opened handlers. Thanks to Yaroslav Halchenko
18 years ago
Cyril Jaquier bde70ebc00 - Added more comments
18 years ago
Cyril Jaquier 9cb7831758 - Catched socket.error raised by socket.accept on some platform
18 years ago
Cyril Jaquier 6426cf75aa - Moved every locking statements in a try..finally block
18 years ago
Cyril Jaquier 35a26237eb - Fixed asctime pattern in datedetector.py
18 years ago
Cyril Jaquier 04e2b6730c - Removed IP list in status for failmanager
18 years ago
Cyril Jaquier 126d57ef6c - Returns IP address instead of Ticket
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 b8f0ce7155 - Do not accept empty regular expression
18 years ago
Cyril Jaquier cd012dda85 - Added svn:keywords
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 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