summaryrefslogtreecommitdiff
path: root/DEVELOP
diff options
context:
space:
mode:
authorSteven Hiscocks <steven@hiscocks.me.uk>2013-07-16 21:11:10 +0100
committerSteven Hiscocks <steven@hiscocks.me.uk>2013-07-16 21:11:10 +0100
commitba29f6bef3cb1757155e7a2bae475eac6afb3aa0 (patch)
tree7a955c0e3ba1d3f42f06df8fa562eb6c8287c55f /DEVELOP
parentc2bdfefb626899c7c249dfc37e93c994377b568f (diff)
downloadfail2ban-ba29f6bef3cb1757155e7a2bae475eac6afb3aa0.tar.gz
DOC: Update doc in reference to changes for sample testcases
Diffstat (limited to 'DEVELOP')
-rw-r--r--DEVELOP5
1 files changed, 3 insertions, 2 deletions
diff --git a/DEVELOP b/DEVELOP
index 2d7a043b..b0f7b47e 100644
--- a/DEVELOP
+++ b/DEVELOP
@@ -39,8 +39,9 @@ Filters
* Include sample logs with 1.2.3.4 used for IP addresses and
example.com/example.org used for DNS names
-* Ensure ./fail2ban-regex testcases/files/logs/{samplelog} config/filter.d/{filter}.conf
- has matches for EVERY regex
+* Ensure sample log is provided in testcases/files/logs/ with same name as the
+ filter. Each log line should include match meta data for time & IP above
+ every line (see other sample log files for examples)
* Ensure regexs start with a ^ and are restrictive as possible. E.g. not .* if
\d+ is sufficient
* Use the functionality of regexs http://docs.python.org/2/library/re.html