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 |
Cyril Jaquier
|
77eef14ed8
|
- Improved date detector
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@340 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Cyril Jaquier
|
4306c23c0f
|
- Added timestamp to logs
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@327 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
438f0e8122
|
- Added date detector
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@326 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
21b6e76cde
|
- Added date detector
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@325 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
88ef30c4c5
|
- Removed unneeded constructor arguments
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@321 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
18 years ago |
Cyril Jaquier
|
ab133f9364
|
- Added more get commands
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@315 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |
Cyril Jaquier
|
894bcbdbbf
|
- Improved mail script
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@257 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
19 years ago |
Cyril Jaquier
|
40425d051e
|
- Removed debug comment
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@255 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
19 years ago |
Cyril Jaquier
|
6d2aa15aa7
|
- Added property 'svn:keywords'
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@253 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
19 years ago |
Cyril Jaquier
|
7048e19995
|
- 0.7.0 soon
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@251 a942ae1a-1317-0410-a47c-b1dcaea8d605
|
19 years ago |
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
|
19 years ago |
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
|
19 years ago |