mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-08-03 22:27:49 +00:00
DOC: Update doc in reference to changes for sample testcases
This commit is contained in:
parent
c2bdfefb62
commit
ba29f6bef3
1 changed files with 3 additions and 2 deletions
5
DEVELOP
5
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue