1FAIL2BAN-REGEX(1) User Commands FAIL2BAN-REGEX(1)
2
3
4
6 fail2ban-regex - test Fail2ban "failregex" option
7
9 fail2ban-regex [OPTIONS] <LOG> <REGEX> [IGNOREREGEX]
10
12 Fail2Ban v0.8.2 reads log file that contains password failure report
13 and bans the corresponding IP addresses using firewall rules.
14
15 This tools can test regular expressions for "fail2ban".
16
18 -h, --help
19 display this help message
20
21 -V, --version
22 print the version
23
25 string a string representing a log line
26
27 filename
28 path to a log file (/var/log/auth.log)
29
31 string a string representing a 'failregex'
32
33 filename
34 path to a filter file (filter.d/sshd.conf)
35
36 IgnoreRegex:
37 string a string representing an 'ignoreregex'
38
39 filename
40 path to a filter file (filter.d/sshd.conf)
41
43 Written by Cyril Jaquier <cyril.jaquier@fail2ban.org>. Many contribu‐
44 tions by Yaroslav O. Halchenko <debian@onerussian.com>.
45
47 Report bugs to <cyril.jaquier@fail2ban.org>
48
50 Copyright © 2004-2008 Cyril Jaquier
51 Copyright of modifications held by their respective authors. Licensed
52 under the GNU General Public License v2 (GPL).
53
55 fail2ban-client(1) fail2ban-server(1)
56
57
58
59fail2ban-regex v0.8.2 March 2008 FAIL2BAN-REGEX(1)