fail2ban-regex(1) - Linux man page

Name

fail2ban-regex - test Fail2ban "failregex" option

Synopsis

fail2ban-regex [OPTIONS] <LOG> <REGEX> [IGNOREREGEX]

Description

Fail2Ban v0.8.2 reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules.

This tools can test regular expressions for "fail2ban".

Options

-h, --help
display this help message
-V, --version
print the version

Log

string
a string representing a log line
filename
path to a log file (/var/log/auth.log)

Regex

string
a string representing a 'failregex'
filename
path to a filter file (filter.d/sshd.conf)

IgnoreRegex:

string
a string representing an 'ignoreregex'
filename
path to a filter file (filter.d/sshd.conf)

Author

Written by Cyril Jaquier <cyril.jaquier@fail2ban.org>. Many contributions by Yaroslav O. Halchenko <debian@onerussian.com>.

Reporting Bugs

Report bugs to <cyril.jaquier@fail2ban.org>

Copyright

Copyright © 2004-2008 Cyril Jaquier
Copyright of modifications held by their respective authors. Licensed under the GNU General Public License v2 (GPL).

See Also

fail2ban-client(1) fail2ban-server(1)