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.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@700 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-07-14 21:56:07 +00:00 |
Cyril Jaquier
|
8da2fe515a
|
- Added and changed some logging level and messages.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@696 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-05-19 21:05:32 +00:00 |
Cyril Jaquier
|
298adc4d43
|
- Added ISO 8601 date/time format.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@692 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-05-18 19:53:18 +00:00 |
Cyril Jaquier
|
46dab37bfe
|
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@685 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-04-07 22:49:47 +00:00 |
Cyril Jaquier
|
56357d18df
|
- Changed some log level.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@682 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-04-07 22:25:16 +00:00 |
Cyril Jaquier
|
b757c08f40
|
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@681 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-03-17 23:18:07 +00:00 |
Cyril Jaquier
|
b174a2e858
|
- Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@680 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-03-13 21:40:16 +00:00 |
Cyril Jaquier
|
d645a8fe47
|
- Process failtickets as long as failmanager is not empty.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@676 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-03-06 00:21:52 +00:00 |
Cyril Jaquier
|
174ce7027a
|
- Fixed fail2ban-regex. It support "includes" in configuration files.
- Modified "includes" to be more generic. We will probably support URL in the future.
- Small refactoring.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@656 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-03-04 00:17:56 +00:00 |
Cyril Jaquier
|
799f5977c5
|
- Fixed "Feb 29" bug. Thanks to James Andrewartha who pointed this out. Thanks to Yaroslav Halchenko for the fix.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@652 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-02-28 23:01:30 +00:00 |
Cyril Jaquier
|
bcdb428e1b
|
- Added missing argument.
- Fixed use of FileContainer in filterpoll.py.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@649 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-02-02 17:04:11 +00:00 |
Cyril Jaquier
|
9163e5b61b
|
- Removed debug message.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@648 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-02-02 16:59:45 +00:00 |
Cyril Jaquier
|
ae26b901ab
|
- Create a PID file in /var/run/fail2ban/. Thanks to Julien Perez.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@647 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-01-20 16:30:35 +00:00 |
Cyril Jaquier
|
7091cb39e4
|
- Small refactoring.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@645 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-01-16 22:55:04 +00:00 |
Cyril Jaquier
|
695b6b1fe5
|
- New log rotation detection algorithm.
- Print monitored files in status.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@644 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-01-14 23:12:21 +00:00 |
Cyril Jaquier
|
2703c8ebb9
|
- Show version at startup. Thanks to Klaus Lehmann.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@643 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-01-13 15:49:23 +00:00 |
Cyril Jaquier
|
7db7967ab1
|
- Added string and regex to log message.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@642 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2008-01-05 22:33:44 +00:00 |
Cyril Jaquier
|
65dcbed591
|
- Split Filter into Filter and FileFilter.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@641 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-26 11:46:22 +00:00 |
Cyril Jaquier
|
9199e02853
|
- Removed unused regular expression.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@640 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-19 22:50:47 +00:00 |
Cyril Jaquier
|
adcc2ef386
|
- Removed user-defined time regex/pattern.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@639 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-17 20:04:29 +00:00 |
Cyril Jaquier
|
eae650fdfc
|
- Refactoring. Merged failticket and banticket into ticket.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@638 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-17 20:00:36 +00:00 |
Cyril Jaquier
|
bad9821b14
|
- Increment counter internally.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@637 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-17 19:57:19 +00:00 |
Cyril Jaquier
|
379aa2f855
|
- Display a message if we could not bind the socket.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@636 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-17 19:53:33 +00:00 |
Cyril Jaquier
|
ce6b8c959e
|
- Removed Python 2.4. Minimum required version is now Python 2.3.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@635 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-16 21:38:04 +00:00 |
Cyril Jaquier
|
c07a7a6e7a
|
- Refactoring. Reduced number of files.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@633 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-16 18:05:07 +00:00 |
Cyril Jaquier
|
8dae8e4d0e
|
- Shutdown logging at shutdown.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@630 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-14 22:04:13 +00:00 |
Cyril Jaquier
|
5bd32566c3
|
- Moved socket to /var/run/fail2ban.
- Rewrote the communication server.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@628 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-12-14 21:19:00 +00:00 |
Cyril Jaquier
|
5176ce820e
|
- Fixed "ignore IPs". Only the first value was taken into account. Thanks to Adrien Clerc
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@627 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-11-26 23:15:27 +00:00 |
Cyril Jaquier
|
c7b099f785
|
- Removed date from logging message when using SYSLOG. Thanks to Iain Lea
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@626 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-11-25 20:51:32 +00:00 |
Cyril Jaquier
|
66063d2731
|
- Added "full line failregex" patch. Thanks to Yaroslav Halchenko. It will be possible to create stronger failregex against log injection
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@621 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-09-12 21:38:51 +00:00 |
Cyril Jaquier
|
9eda9e93c7
|
- Fixed timezone bug with epoch date template. Thanks to Michael Hanselmann
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@618 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-09-05 20:43:47 +00:00 |
Cyril Jaquier
|
040822f19f
|
- Added "named" date format to date detector. Thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@607 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-08-08 22:16:22 +00:00 |
Cyril Jaquier
|
7c33b443ac
|
- Removed textToDns() which is not required anymore. Thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@605 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-08-07 22:11:34 +00:00 |
Cyril Jaquier
|
ada2d7234e
|
- Added "ignoreregex" support to fail2ban-regex
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@596 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-07-10 19:54:01 +00:00 |
Cyril Jaquier
|
6d129491f7
|
- Expand <HOST> in ignoreregex. Thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@589 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-06-25 21:43:25 +00:00 |
Cyril Jaquier
|
6145a88fe8
|
- Added date format for asctime without year
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@568 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-04-01 20:42:05 +00:00 |
Cyril Jaquier
|
090518ddaf
|
- Fixed "reload" bug. Many many thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@567 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-03-26 21:17:31 +00:00 |
Cyril Jaquier
|
fddce1cbdc
|
- Clean up resources. Does not seem to free resources correctly. Gamin bug???
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@564 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-03-22 22:18:46 +00:00 |
Cyril Jaquier
|
c768980784
|
- Close opened handlers. Thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@563 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-03-22 22:17:41 +00:00 |
Cyril Jaquier
|
bde70ebc00
|
- Added more comments
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@556 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-03-07 20:54:32 +00:00 |
Cyril Jaquier
|
9cb7831758
|
- Catched socket.error raised by socket.accept on some platform
- Modified some socket settings
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@555 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-03-07 20:53:37 +00:00 |
Cyril Jaquier
|
6426cf75aa
|
- Moved every locking statements in a try..finally block
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@553 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-02-25 23:53:22 +00:00 |
Cyril Jaquier
|
35a26237eb
|
- Fixed asctime pattern in datedetector.py
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@546 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-02-11 23:19:32 +00:00 |
Cyril Jaquier
|
04e2b6730c
|
- Removed IP list in status for failmanager
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@537 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-02-01 20:50:12 +00:00 |
Cyril Jaquier
|
126d57ef6c
|
- Returns IP address instead of Ticket
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@536 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-01-31 22:31:42 +00:00 |
Cyril Jaquier
|
6d6acb075a
|
- Added IP list in "status <JAIL>". Thanks to Eric Gerbier
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@535 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-01-29 21:46:59 +00:00 |
Cyril Jaquier
|
5370b6740d
|
- Removed unneeded local variable
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@521 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2007-01-21 22:17:56 +00:00 |
Cyril Jaquier
|
b8f0ce7155
|
- Do not accept empty regular expression
- Do not send an empty string if the option is not defined
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@505 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-12-23 23:20:16 +00:00 |
Cyril Jaquier
|
cd012dda85
|
- Added svn:keywords
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@504 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-12-23 16:37:17 +00:00 |
Cyril Jaquier
|
0f31cc0feb
|
- Added support for several "failregex" and "ignoreregex". This should simplify the configuration files.
- Configuration files are backward-compatible but need to be updated in order to take advantage of this feature.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@503 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-12-23 16:31:00 +00:00 |
Cyril Jaquier
|
071474089b
|
- Improved regular expression checking
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@501 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-12-23 09:50:51 +00:00 |
Cyril Jaquier
|
812a47cc4a
|
- Added new date pattern (Exim4). Thanks to mEDI
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@500 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-12-23 09:50:03 +00:00 |
Cyril Jaquier
|
5dd2c5162e
|
- Reset logging handlers only if new handler succeeds
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@493 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-12-18 22:30:30 +00:00 |
Cyril Jaquier
|
8ca367d609
|
- Use /dev/log for SYSLOG output. Thanks to Joerg Sommrey
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@488 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-12-13 23:02:46 +00:00 |
Cyril Jaquier
|
f5d4cb6be2
|
- Added alias "<HOST>" for failregex
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@471 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-19 21:25:51 +00:00 |
Cyril Jaquier
|
911b2b15fc
|
- Merged "maxtime" with "findtime"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@470 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-18 15:15:58 +00:00 |
Cyril Jaquier
|
b3143c723d
|
- Fixed a bug in user defined regex/pattern date template
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@460 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-12 21:57:26 +00:00 |
Cyril Jaquier
|
90359ba523
|
- Added option "ignoreregex" in filter scripts and jail.conf. Feature Request #1283304
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@458 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-12 14:52:36 +00:00 |
Cyril Jaquier
|
d6e49f8480
|
- Fixed rebanned bug
- Clarified available tags
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@455 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-12 10:56:21 +00:00 |
Cyril Jaquier
|
f8989581b4
|
- Replaced loop with list comprehension
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@454 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-12 10:54:19 +00:00 |
Cyril Jaquier
|
32b33c8ae4
|
- Fixed refactoring bug
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@453 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-12 10:52:42 +00:00 |
Cyril Jaquier
|
cdf5ae19db
|
- Improved synchronization
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@452 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-06 22:48:46 +00:00 |
Cyril Jaquier
|
7659452ade
|
- Refactoring
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@451 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-11-06 22:47:24 +00:00 |
Cyril Jaquier
|
d065d97888
|
- Use pickle instead of cPickle. Python 2.5 gives an exception with cPickle
- Use a binary format instead of ASCII
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@443 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-31 23:36:59 +00:00 |
Cyril Jaquier
|
5baa08c86f
|
- Improved checking and logging output in findFailure
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@440 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-31 22:24:34 +00:00 |
Cyril Jaquier
|
a49cc6bb08
|
- Added new date format (Apache). Thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@439 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-31 22:22:40 +00:00 |
Cyril Jaquier
|
150a6abd0d
|
- Stop reading log file when jail is no more active
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@437 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-30 22:48:52 +00:00 |
Cyril Jaquier
|
ae0ed204ee
|
- Added signal handling. There is a bug with join() and signal handling in Python.
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1167930&group_id=5470
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@436 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-30 22:47:30 +00:00 |
Cyril Jaquier
|
4536ddbcc1
|
- Fixed indentation with space instead of tabs
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@434 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-24 19:49:31 +00:00 |
Cyril Jaquier
|
71b9fe8fe8
|
- Fixed some Pylint warnings/errors
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@433 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-24 19:40:51 +00:00 |
Cyril Jaquier
|
4fd934aa83
|
- subprocess still hangs :'(
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@432 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-23 20:37:11 +00:00 |
Cyril Jaquier
|
a522d9b6d7
|
- Re-activated subprocess module
- A return code different than 0 is considered as an error
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@428 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-23 20:12:15 +00:00 |
Cyril Jaquier
|
23127d951c
|
- Added 'u' in front of the UTF-8 strings
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@424 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-19 21:49:54 +00:00 |
Cyril Jaquier
|
2f37284863
|
- Removed useless code
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@423 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-19 21:49:16 +00:00 |
Cyril Jaquier
|
3cd43b13ce
|
- Added simple date format
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@422 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-19 20:26:24 +00:00 |
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
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@418 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-18 22:30:57 +00:00 |
Cyril Jaquier
|
0fab1bbf01
|
- Added "backend" option
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@409 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-16 19:42:50 +00:00 |
Cyril Jaquier
|
7989e66270
|
- Added "-s" option to specify the socket path
- Modified the server server/socket/transmitter design
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@406 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-04 22:17:53 +00:00 |
Cyril Jaquier
|
85293c63e4
|
- Fixed format string
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@405 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-02 21:23:48 +00:00 |
Cyril Jaquier
|
033160eb96
|
- Added jail name to ban/unban log
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@404 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-02 21:15:56 +00:00 |
Cyril Jaquier
|
4c315f3687
|
- Moved ban/unban messages from "info" to "warn" level
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@396 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-10-01 21:22:01 +00:00 |
Cyril Jaquier
|
7b7d246a19
|
- Added DNS support for "ignoreip"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@389 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-27 20:32:30 +00:00 |
Cyril Jaquier
|
bf3cd1d56d
|
- (Re)added permanent banning (banTime < 0)
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@387 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-25 20:46:21 +00:00 |
Cyril Jaquier
|
0616135350
|
- Removed unneeded import
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@385 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-25 20:44:47 +00:00 |
Cyril Jaquier
|
4502c0f6ba
|
- Organized imports (pylint)
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@382 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-25 17:03:48 +00:00 |
Cyril Jaquier
|
d30cfd2095
|
- subprocess.call deadlocks when execute action with multi-jails
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@380 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-21 22:38:21 +00:00 |
Cyril Jaquier
|
b5abd7f2f2
|
- Use cPickle instead of pickle. cPickle can be up to 1000 times faster
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@379 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-21 21:25:18 +00:00 |
Cyril Jaquier
|
bb6c14bfea
|
- Use subprocess.call instead of os.system
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@378 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-21 21:20:29 +00:00 |
Cyril Jaquier
|
2c737f77f1
|
- Oups... Forgot 2 debug output. Removed
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@377 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-21 20:59:28 +00:00 |
Cyril Jaquier
|
6ab1d13234
|
- Fixed log rotation bug
- Refactoring
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@376 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-21 20:55:45 +00:00 |
Cyril Jaquier
|
d61690fd9e
|
- Added encoding tag (utf8)
- Added some translations
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@375 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-20 22:41:10 +00:00 |
Cyril Jaquier
|
3ca397922d
|
- Catch IOError when file can not be read
- Do not convert line to latin-1 but to utf8
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@374 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-20 22:39:16 +00:00 |
Cyril Jaquier
|
f3df224ec4
|
- First attempt at solving bug #1457620
- Always use the 'C' locale and try to convert date representation like month names to this locale
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@372 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-19 22:23:41 +00:00 |
Cyril Jaquier
|
9f5f6812f5
|
- Added a getTemplates() method because self.__templates can not be accessed directly anymore
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@371 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-19 22:21:20 +00:00 |
Cyril Jaquier
|
4b80546f10
|
- Fixed bugs introduced by refactoring
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@369 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-19 21:22:27 +00:00 |
Cyril Jaquier
|
126807dea8
|
- Made private fields prefixed with "__"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@368 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-19 20:38:32 +00:00 |
Cyril Jaquier
|
acb2fc2c2b
|
- Fixes in locking
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@366 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-17 22:53:59 +00:00 |
Cyril Jaquier
|
2bcf1bb359
|
- Fixed some bugs
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@363 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-17 22:31:55 +00:00 |
Cyril Jaquier
|
c80164b329
|
- Added more locking
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@361 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-17 22:02:22 +00:00 |
Cyril Jaquier
|
a618313206
|
- Added "ignoreip" feature
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@359 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-17 22:01:14 +00:00 |
Cyril Jaquier
|
bd2b94cc84
|
- Added smmmaaallll comment
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@358 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-17 22:00:20 +00:00 |
Cyril Jaquier
|
88b68c0ad2
|
- Replaced jails = dict() with a Jails class for better concurrency control
- Set umask to 0077 at startup for security reason
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@357 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-17 21:59:29 +00:00 |
Cyril Jaquier
|
7f7361a282
|
- Added Gamin (file and directory monitoring system) support
- If Gamin is not available, polling is used
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@355 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-14 22:05:32 +00:00 |
Cyril Jaquier
|
e146d07394
|
- Added wildcards support for "logpath"
- Added "set <jail> addlogpath <path>" and "set <jail> dellogpath <path>"
- Adapted pyunit test
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@354 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-13 21:31:22 +00:00 |
Cyril Jaquier
|
25664605aa
|
- Apache date start with '['
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@349 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-11 21:15:24 +00:00 |
Cyril Jaquier
|
068dea8971
|
- Fixed the shutdown issue with timeout on socket
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@344 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-10 20:50:07 +00:00 |
Cyril Jaquier
|
86b07457cd
|
- Implemented SYSLOG logging target
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@343 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-10 20:46:59 +00:00 |
Cyril Jaquier
|
77eef14ed8
|
- Improved date detector
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@340 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-10 20:43:13 +00:00 |
Cyril Jaquier
|
c7747d1f17
|
- Improved server communication. Start a new thread for each incoming request. Allow concurrent accesses to the server. However, the server is not really thread-safe yet...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@337 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-07 22:24:17 +00:00 |
Cyril Jaquier
|
90d46d177d
|
- Set the jail to idle state if file path is wrong or file is unreadable
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@328 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-06 17:41:07 +00:00 |
Cyril Jaquier
|
4306c23c0f
|
- Added timestamp to logs
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@327 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-06 17:39:57 +00:00 |
Cyril Jaquier
|
438f0e8122
|
- Added date detector
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@326 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-05 21:17:35 +00:00 |
Cyril Jaquier
|
21b6e76cde
|
- Added date detector
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@325 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-05 21:16:28 +00:00 |
Cyril Jaquier
|
88ef30c4c5
|
- Removed unneeded constructor arguments
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@321 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-09-04 19:19:58 +00:00 |
Cyril Jaquier
|
ab133f9364
|
- Added more get commands
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@315 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-28 21:37:39 +00:00 |
Cyril Jaquier
|
846a3d0477
|
- Added a set/get for "failtime"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@311 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-28 20:22:15 +00:00 |
Cyril Jaquier
|
ce5ea1fa23
|
- Moved hardcoded socket path to a class variable
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@309 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-28 20:16:32 +00:00 |
Cyril Jaquier
|
704a0b834f
|
- Fixed startup and daemon mode
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@300 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-23 19:53:09 +00:00 |
Cyril Jaquier
|
1fd2071cd8
|
- Fixed a bug in DNSUtils
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@284 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-20 22:54:05 +00:00 |
Cyril Jaquier
|
ca5b70cd24
|
- Fixed a bug with static class members
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@283 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-20 22:32:44 +00:00 |
Cyril Jaquier
|
64ddab56c8
|
- Added a "reload" option which reload the configuration
- Added "stop all" which stop all jails but do not exit
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@277 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-20 21:07:28 +00:00 |
Cyril Jaquier
|
535b9a6a36
|
- Removed "utils" directory
- Created a "DNSUtils" class in filter.py
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@274 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-20 20:39:45 +00:00 |
Cyril Jaquier
|
a694df4a9a
|
- Improved server startup checks
- Added "force" option "-x"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@270 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-17 22:48:42 +00:00 |
Cyril Jaquier
|
d4c9d92ae1
|
- Fixed bug with "<failures>" tag
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@264 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-06 21:25:23 +00:00 |
Cyril Jaquier
|
f248c460f2
|
- Improved logging in server
- Added logtarget option
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@263 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-06 21:24:06 +00:00 |
Cyril Jaquier
|
79fc53bc04
|
- Regular expressions are now compiled
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@261 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-08-06 21:22:26 +00:00 |
Cyril Jaquier
|
894bcbdbbf
|
- Improved mail script
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@257 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-07-31 21:48:13 +00:00 |
Cyril Jaquier
|
40425d051e
|
- Removed debug comment
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@255 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-07-17 19:49:45 +00:00 |
Cyril Jaquier
|
6d2aa15aa7
|
- Added property 'svn:keywords'
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@253 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-07-16 22:21:58 +00:00 |
Cyril Jaquier
|
7048e19995
|
- 0.7.0 soon
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@251 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-07-16 21:35:08 +00:00 |
Cyril Jaquier
|
12c222bd1c
|
- One step forward to 0.7.0
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@250 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-07-08 16:51:14 +00:00 |
Cyril Jaquier
|
ea1948eff4
|
- Initial commit of the new development release 0.7
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@249 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
2006-06-26 20:05:00 +00:00 |