diff --git a/ChangeLog b/ChangeLog index 5ca9fa07..5c1ba70e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -59,6 +59,8 @@ TODO: implementing of options resp. other tasks from PR #1346 - `` - PTR reversed representation of IP address - `` - host name of the IP address - `` - interpolates to the corresponding filter group capture `...` +* Allow to use filter options by `fail2ban-regex`, example: + fail2ban-regex text.log "sshd[mode=aggressive]" * Samples test case factory extended with filter options - dict in JSON to control filter options (e. g. mode, etc.): # filterOptions: {"mode": "aggressive"} diff --git a/man/fail2ban-regex.1 b/man/fail2ban-regex.1 index 44e13c86..3f31a376 100644 --- a/man/fail2ban-regex.1 +++ b/man/fail2ban-regex.1 @@ -27,6 +27,9 @@ a string representing a 'failregex' .TP filename path to a filter file (filter.d/sshd.conf) +.TP +filtername[option=value, ..., option=value] +short path to a filter relative filter.d in configuration base (sshd[mode=aggressive]) .SS "IGNOREREGEX:" .TP string @@ -42,6 +45,9 @@ show program's version number and exit \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP +\fB\-c\fR CONFIGBASE, \fB\-\-config\fR=\fI\,CONFIGBASE\/\fR +set alternate config base directory (default /etc/fail2ban) +.TP \fB\-d\fR DATEPATTERN, \fB\-\-datepattern\fR=\fI\,DATEPATTERN\/\fR set custom pattern used to match date/times .TP