Daniel Black
3d79e1612b
MRG: test cases on exim-spam
2013-12-29 21:38:00 +00:00
Ivo Truxa
d2658e063c
Update exim-spam
...
An example with no valid FROM email address and host without reverse DNS record
2013-12-29 22:33:08 +01:00
Ivo Truxa
bb88cfaddb
Update exim-spam
...
attached sample Exim log line to demonstrate a silently tossed message as described at https://github.com/fail2ban/fail2ban/issues/533
2013-12-29 18:53:04 +01:00
Daniel Black
6666f41ee6
ENH: apache modsecurity filter
2013-12-29 06:59:47 +00:00
Yaroslav Halchenko
c6a7bc2221
BF(2.4): remove use of "with" for python 2.4 for now (since we list it as supported)
2013-12-27 01:54:54 -05:00
Yaroslav Halchenko
952de51cf1
ENH: per original discussion, and changes which followed, better not to ignore absent failregex -- all filters (but included common) should have it
2013-12-27 01:47:15 -05:00
Yaroslav Halchenko
4e165c9692
ENH: FilterReader - use the set methods (improve coverage), test getters, use os.path.join
2013-12-27 01:43:23 -05:00
Yaroslav Halchenko
0141a6dbe7
TST: add few more rudimentary tests for Regex to complete its coverage
2013-12-27 01:29:02 -05:00
bes.internal
55d76ac373
TST: add test for IgnoreCommand at server
2013-12-25 00:58:00 +03:00
bes.internal
ebd89ec077
New ignorecommand that is added to the ignoreip list from output of an external program
...
ignorecommand update man and fix protocol help
ENH: run ignore command only after internal list has been examined. Change interface on ignorecommand to take IP as environment variable and return true if it is to be banned
ENH: ignore IP command to take tagged command
DOC: man pages for ingorecommand
TST: add test cases for ignorecommand
2013-12-24 23:55:35 +03:00
Daniel Black
1b7df1181f
BF: apache-2.4 log format fix. Closes gh-516
2013-12-23 08:28:40 +00:00
Yaroslav Halchenko
7af58b9984
Merge branch 'apache-noscripts' of https://github.com/grooverdan/fail2ban
...
* 'apache-noscripts' of https://github.com/grooverdan/fail2ban :
ENH: apache-noscript now matched php-cgi scripts. Closes gh-503
Conflicts:
ChangeLog -- two new entries collided, Reformatted the merged one a bit
2013-12-22 22:28:57 -05:00
Daniel Black
7a9252bd0e
TST BF: local defination
2013-12-22 12:08:10 +00:00
Daniel Black
2a67ef519c
TST: missing logpath raises IOError
2013-12-22 08:43:57 +00:00
Daniel Black
2d688a5a03
TST: improve polling test case to ensure isModified only returns True once (file static)
2013-12-22 07:47:24 +00:00
Daniel Black
a9b7d33c51
ENH: apache-noscript now matched php-cgi scripts. Closes gh-503
2013-12-19 10:01:24 +00:00
Steven Hiscocks
d22716ab63
ENH: Add nsd filter and amend DateEpoch to match date format
2013-12-18 22:31:54 +00:00
Daniel Black
dd79889904
Merge pull request #484 from grooverdan/more-more-tests
...
BF/TST: fix internals of jailreader and add test cases
2013-12-16 02:29:50 -08:00
Daniel Black
729929ada9
TST: jails can occur in any order once parsed. Sort results to facilitate comparison
2013-12-16 10:21:46 +00:00
Daniel Black
5c26bcbd2b
TST: hopefully normalise config so that consistent test results occur on travis and locally
2013-12-16 10:07:41 +00:00
Daniel Black
603095bc16
BF: errors in a jail prevents further sections from being parsed. Closes #485
2013-12-14 07:00:41 +00:00
Daniel Black
b39729a2ab
BF: fix unintential typo
2013-12-14 06:51:36 +00:00
Daniel Black
2dac984b97
Merge pull request #482 from grooverdan/squid
...
ENH: add squid filter
2013-12-13 15:31:38 -08:00
Daniel Black
18f0e58caa
TST: increase coverage in jailreader
2013-12-13 11:41:40 +00:00
Daniel Black
f6fb737e6c
TST: remove commented test print
2013-12-13 10:55:15 +00:00
Daniel Black
e916fcdce4
TST: test case for actions and filters missing in a jail
2013-12-13 10:51:38 +00:00
Daniel Black
1407b955e6
TST: more client/jailreader tests
2013-12-13 10:03:51 +00:00
Daniel Black
c6d14dcf0e
TST: complete coverage of splitAction
2013-12-12 20:35:30 +00:00
Daniel Black
3036afca91
TST: check dangling link log message
2013-12-12 10:13:57 +00:00
Daniel Black
cb4f1e5142
TST: remove temp files in glob test
2013-12-12 09:10:12 +00:00
Daniel Black
f2c58e74c1
TST: check client.JailReader.setName
2013-12-12 08:24:29 +00:00
Daniel Black
a03815facf
TST: FileFilter tail tests
2013-12-11 13:07:08 +11:00
Daniel Black
5005719180
TST: permission denied on log file
2013-12-11 12:34:26 +11:00
Daniel Black
33d96ae462
TST: separate out DNS based IgnoreIP tests
2013-12-11 12:10:44 +11:00
Daniel Black
c13b91fa70
TST: separate out DNS based IgnoreIP tests
2013-12-11 12:08:23 +11:00
Daniel Black
2b89457dc9
TST: addBanned IP when ignore exists
2013-12-11 10:55:06 +11:00
Daniel Black
ebf4a02004
TST: get/set use DNS on Filters
2013-12-11 10:43:47 +11:00
Daniel Black
a8b5c5b5f3
TST: check IgnoreIP happens in filter.processLine
2013-12-11 10:31:58 +11:00
Daniel Black
60c4957a52
DOC/TST: remove TODO as all regexs have samples
2013-12-11 10:21:19 +11:00
Daniel Black
988e14d8c6
TST: negative match for DNS lookup test added
2013-12-11 10:17:55 +11:00
Daniel Black
44bbaebfe5
TST: CIDR for ignoreip
2013-12-11 10:15:24 +11:00
Daniel Black
f4531e7b45
TST: test cases fro filter.delFailRegex and filter.delIgnoreRegex
2013-12-11 10:10:31 +11:00
Daniel Black
f4661d8177
ENH: rebase LogFileMonitor on LogCaptureTestCase
2013-12-11 09:56:04 +11:00
Daniel Black
5688c064ad
ENH: separate out log capture framework for other test cases - now utils.LogCaptureTestCase
2013-12-11 09:50:17 +11:00
Daniel Black
66374913ec
ENH: add squid filter
2013-12-10 21:24:37 +11:00
Daniel Black
8451f720f0
TST: fix flushlogs and include test for STDERR flushing
2013-12-07 11:04:06 +11:00
Daniel Black
476bbdd284
TST: test case for flushlogs
2013-12-07 10:57:05 +11:00
Yaroslav Halchenko
a26d4f42b7
ENH: added optional [PID] matching in recidive.conf
2013-11-24 10:21:02 -05:00
Daniel Black
24c143b411
Merge pull request #445 from grooverdan/suhosin
...
TST: more test cases for suhosin
2013-11-19 15:23:59 -08:00
Daniel Black
015b403df0
TST: more test cases for suhosin
2013-11-20 10:01:06 +11:00