Daniel Black
eaba732d5b
Merge pull request #370 from grooverdan/test
...
MRG: more unit tests
2013-09-29 00:41:33 -07:00
Daniel Black
2ad26682a9
DOC: ChangeLog for filter.d/sshd
2013-09-29 17:31:49 +10:00
Daniel Black
1eeb6e94bd
BF: fix regex for openssh-6.3
2013-09-29 17:28:33 +10:00
Daniel Black
8a458b45bc
TST: dummyjail in own class
2013-09-29 15:57:03 +10:00
Daniel Black
6224d761ab
BF: simplify
2013-09-29 15:49:45 +10:00
Daniel Black
86d3ee5373
TST: py2.5 compatibility - no with
2013-09-29 15:46:15 +10:00
Daniel Black
723ea964a7
TST: failmanager get/sets on FailTotal and MaxTime
2013-09-29 15:12:44 +10:00
Daniel Black
bcc16789d0
TST: test elements of DateTemplate base class
2013-09-29 15:02:38 +10:00
Daniel Black
b576c4718d
TST: add test cases for Actions
2013-09-29 14:52:59 +10:00
Daniel Black
891b436874
TST: more complete Action testing
2013-09-29 14:17:31 +10:00
Daniel Black
4d1c060e21
ENH: dont execute empty commands
2013-09-29 13:14:52 +10:00
Daniel Black
13a12589a3
BF: full traceback on fail2ban-testcases needs to set formatter
2013-09-29 12:21:01 +10:00
Daniel Black
911eb45557
TST pragma: no cover for missing json or for py2.5 json
2013-09-29 12:16:50 +10:00
Yaroslav Halchenko
dcaacad7e3
BF: do not pass dangling symlinks to the server to be monitored
...
This is more of a workaround I guess than a "solution". Ideally server
should be more clever and allow adding symlinks which eventually might
point to existing file. But that is probably would be too much complication
for a rare use case. User on the mailing list informed that then server
does not monitor even other files, thus as a quick workaround -- do not even add dangling links
2013-09-28 22:16:34 -04:00
Yaroslav Halchenko
cf76019cca
TST: that we do receive IOError if trying to feed broken symlink into path to be monitored by server
2013-09-28 21:59:11 -04:00
Daniel Black
e12d389c65
MRG/DOC: jail.conf resolution, ChangeLog fixes
2013-09-29 08:21:13 +10:00
Daniel Black
b8d9c07280
Merge pull request #368 from grooverdan/0.9_datedetmerge
...
MRG: general merge from master + date time zone
2013-09-28 15:18:20 -07:00
Daniel Black
c5ad2552b2
Merge pull request #364 from kwirk/journal-datedetector
...
ENH: Journal datedetector - fail2ban-regex date pattern setting
2013-09-28 15:17:34 -07:00
Daniel Black
74434694dc
BF: more duplicate jail.conf entries - 3proxy exim{,-spam}, perdition
2013-09-28 21:38:15 +10:00
Daniel Black
5cf25a63df
BF: remove duplicate ssh-pf in jail.conf
2013-09-28 21:31:45 +10:00
Daniel Black
7b52a578bd
BF: group _f for %f in strptime for py2.5 compatibility
2013-09-28 21:29:39 +10:00
Daniel Black
6fd2179725
BF: timefix
2013-09-28 21:15:01 +10:00
Daniel Black
30d1f003e1
BF: add multiline support
2013-09-28 20:56:48 +10:00
Daniel Black
a2c903586c
Merge pull request #367 from yarikoptic/master
...
DOC: additional pass over DEVELOP (just rephrasings, spaces, formatting)
2013-09-25 19:17:18 -07:00
Yaroslav Halchenko
e9504122b8
DOC: additional pass over DEVELOP (just rephrasings, spaces, formatting)
2013-09-25 22:12:36 -04:00
Daniel Black
3d6fa59b53
Merge pull request #361 from grooverdan/develop-filterdoc
...
DOC: more info on developing filters
2013-09-25 16:03:35 -07:00
Daniel Black
3ae78814e7
Merge pull request #365 from mmckinst/master
...
ENH: add support for the APF firewall
2013-09-25 15:58:54 -07:00
Mark McKinstry
b6bf26c9f2
dont' need to set a default name
2013-09-25 18:37:22 -04:00
Mark McKinstry
4187e87b69
don't enabel ssh-apf jail by default
2013-09-25 18:35:09 -04:00
Mark McKinstry
ea112b450b
add ChangeLog and THANKS entry
2013-09-25 18:04:05 -04:00
Mark McKinstry
f9f4d2728f
add an example jail for apf action and ssh filter
2013-09-25 17:59:37 -04:00
Mark McKinstry
2668adc896
Merge branch 'master' of github.com:fail2ban/fail2ban
2013-09-25 17:54:38 -04:00
Mark McKinstry
1af4543aca
ability to name the jail that banned the IP with apf
2013-09-25 17:52:34 -04:00
Mark McKinstry
dd9ee4c39a
quotes around the comment put in apf's deny_hosts.rules file
2013-09-25 17:51:25 -04:00
Mark McKinstry
e64493c328
use human readable/longer options when banning and un-banning IPs with apf
2013-09-25 16:44:10 -04:00
Mark McKinstry
c692912a82
don't hardcode absolute path for apf firewall
2013-09-25 16:38:45 -04:00
Mark McKinstry
66aff43d68
remove un-needed '$' line
2013-09-25 16:37:58 -04:00
Steven Hiscocks
011ccbc675
TST+BF: Fix bug in Filter.{get,set}DatePattern and improve tests
2013-09-24 22:25:17 +01:00
Steven Hiscocks
9c61adcad7
ENH+DOC: Allow setting of Epoch and TAI64N date pattern
...
Also add this to jail.conf man page
2013-09-24 22:11:04 +01:00
Daniel Black
05b4d2ce5b
BF: -D to deconflict with datedetector
2013-09-24 08:35:12 +10:00
Steven Hiscocks
e07df3f7d4
ENH: fail2ban-regex uses ISO8601 when using journal backend
...
Also fix setting of date pattern occurring too early, before filter
being created.
2013-09-22 18:14:04 +01:00
Steven Hiscocks
badf9d03b9
ENH: Allow setting of ISO8601 via datepattern (default for systemd)
2013-09-22 18:12:16 +01:00
Daniel Black
b3cd5ca807
BF: correct scope for datetime.now
2013-09-22 21:51:51 +10:00
Daniel Black
ca496f6d41
DOC: corrections and enhancements on DEVELOP
2013-09-22 16:23:04 +10:00
Daniel Black
8109467459
BF: use string replace rather than re.sub
2013-09-22 15:49:30 +10:00
Daniel Black
4b5ecbccd1
ENH: debuggex URLs with fail2ban-regex
2013-09-22 13:20:17 +10:00
Daniel Black
37de5462be
ENH: iso8601 - remove default_timezone set to UTC, isn't valid any more - calculate from local timezone. Enforce T date/time separator in iso8601 regex. Make minutes in timezone optional as per ISO8601. Use consistant regex for ISO8601
2013-09-21 11:47:24 +10:00
Daniel Black
a0676cdd1e
ENH: add date format 2005-01-23 21:59:59 (%Y-%m-%d %H:%M:%S) so ISO8601 doesnt handle it
2013-09-21 11:44:50 +10:00
Daniel Black
855d802ba8
ENH: more detail in debug messages in date/time detection
2013-09-21 10:31:26 +10:00
Daniel Black
0035c99d07
BF: remove unused function DateDetector.getUnixTime
2013-09-21 10:22:15 +10:00