Yaroslav Halchenko
37a2e59d69
BF: guarantee that IP is stored as a base, non-unicode str (Closes gh-91)
...
Otherwise it might lead to spurious characters dumped into the
terminal at few places, unless casted upon every use in the logs. To
prevent those issues in the source, store IP as a basic string if it
is a string at all
2012-11-26 12:01:42 -05:00
Yaroslav Halchenko
f52ba9923a
ENH: downgrade "already banned" from WARN to INFO level (Closes gh-79)
...
Most of the time it is a benign latency effect so nothing to warn about.
2012-11-05 21:30:07 -05:00
Yaroslav Halchenko
f14c7ae401
ENH: refactored previous commit to make it more Pythonic (With prev commit closes gh-86, gh-81)
2012-11-05 20:37:06 -05:00
David Engeset
6288ec2757
Added in command option to unban and IP, just like using 'banip'. Command looks like: fail2ban-client set <jail name> unbanip <ip>
2012-11-05 20:11:28 -05:00
Yaroslav Halchenko
ed16ecc50a
Enforce "ip" field returned as str, not unicode so that log message stays non-unicode
...
Should address #32
2012-01-25 19:22:16 -05:00
Leonardo Chiquitto
a7d47e8b36
Update Free Software Foundation's address
...
The address has changed from "59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA" to "51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA" some time ago.
2011-12-30 12:41:46 -05:00
Tom Hendrikx
22b700766c
format output of matches data.
2011-11-08 00:20:52 -05:00
Yaroslav Halchenko
de8786dd1d
ENH: introduced usa of Ticket.__matches throughout
2011-10-07 15:49:47 -04:00
Yaroslav Halchenko
ed6daa70bf
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
2011-10-07 15:49:38 -04: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
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
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
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
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
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
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
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
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
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
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
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
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