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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
32b33c8ae4
|
- Fixed refactoring bug
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@453 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
cdf5ae19db
|
- Improved synchronization
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@452 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
7659452ade
|
- Refactoring
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@451 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
4fd934aa83
|
- subprocess still hangs :'(
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@432 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
2f37284863
|
- Removed useless code
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@423 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
3cd43b13ce
|
- Added simple date format
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@422 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
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
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@418 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
0fab1bbf01
|
- Added "backend" option
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@409 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
85293c63e4
|
- Fixed format string
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@405 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
0616135350
|
- Removed unneeded import
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@385 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
4502c0f6ba
|
- Organized imports (pylint)
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@382 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
acb2fc2c2b
|
- Fixes in locking
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@366 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
2bcf1bb359
|
- Fixed some bugs
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@363 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
c80164b329
|
- Added more locking
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@361 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
a618313206
|
- Added "ignoreip" feature
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@359 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
bd2b94cc84
|
- Added smmmaaallll comment
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@358 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
25664605aa
|
- Apache date start with '['
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@349 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
86b07457cd
|
- Implemented SYSLOG logging target
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@343 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |