Steven Hiscocks
df8d700d17
RF: Refactor Jail and JailThread
...
Includes:
- documentation to new format and use of properties
- change isActive->is_active as former no longer documented for
python3, and later introduction and documented in python2.6
- status formatter in beautifier somewhat more automatically
formatted; no changes are required for additional status elements
- JailThread now set to active within `start` method, complimenting
`stop` method
2014-02-23 17:41:14 +00:00
Steven Hiscocks
e614a2f4a4
BF: Resolve Deprecation Warnings for python3
...
Mainly python imp -> importlib for python3.3+, and other minor tweaks
2014-01-20 22:46:17 +00:00
Steven Hiscocks
a070284a18
ENH: Change all imports to "." style relative imports
2014-01-04 13:19:09 +00:00
Daniel Black
37ab4147d1
TST: for db.getFilename
2013-12-26 10:09:12 +00:00
Daniel Black
fed593e689
TST: for database.getBans with bantime argument
2013-12-26 10:03:51 +00:00
Daniel Black
de22c49b4d
TST: (another) py26 compatible test fix
2013-12-26 09:05:45 +00:00
Daniel Black
74567d64b6
TST: py26 compatible test
2013-12-26 09:01:29 +00:00
Daniel Black
8a25dd2dad
ENH: change addLog to use single SQL statement
...
ENH: separate out the database creation defination to make updates
easier
TST: add test framework for updates
2013-12-26 05:46:38 +00:00
Steven Hiscocks
802029d83a
BF: Database test keep ticket present in memory so address is reused
...
This bug only seemed to effect python2.6 which seemed hasty to reuse the
memory id that was assigned to the ticket which was being used for
reference
2013-12-15 22:20:48 +00:00
Steven Hiscocks
fb7511fdea
ENH: Add cache for database getBansMerged
...
This is avoids duplicate queries when using the ip(jail)matches and
ip(jail)failures in actions
2013-12-15 21:52:50 +00:00
Steven Hiscocks
40007abc1d
ENH: Refactor and add database matches and failures for sendmail actions
2013-12-15 21:41:43 +00:00
Steven Hiscocks
00ecd22851
ENH: Add getBansMerged method to Fail2BanDb
...
Creates a single ticket for an IP, made up of all previous bans
2013-12-12 22:22:30 +00:00
Steven Hiscocks
bbadef847b
ENH: Add fail2ban persistent data storage
2013-12-07 23:23:28 +00:00