|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2.
|
|
|
|
|
.TH FAIL2BAN-CLIENT "1" "March 2014" "fail2ban-client v0.9.0" "User Commands"
|
|
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4.
|
|
|
|
|
.TH FAIL2BAN-CLIENT "1" "October 2014" "fail2ban-client v0.9.1" "User Commands"
|
|
|
|
|
.SH NAME
|
|
|
|
|
fail2ban-client \- configure and control the server
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
.B fail2ban-client
|
|
|
|
|
[\fIOPTIONS\fR] \fI<COMMAND>\fR
|
|
|
|
|
[\fI\,OPTIONS\/\fR] \fI\,<COMMAND>\/\fR
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
Fail2Ban v0.9.0 reads log file that contains password failure report
|
|
|
|
|
Fail2Ban v0.9.1 reads log file that contains password failure report
|
|
|
|
|
and bans the corresponding IP addresses using firewall rules.
|
|
|
|
|
.SH OPTIONS
|
|
|
|
|
.TP
|
|
|
|
@ -35,10 +35,10 @@ decrease verbosity
|
|
|
|
|
force execution of the server (remove socket file)
|
|
|
|
|
.TP
|
|
|
|
|
\fB\-b\fR
|
|
|
|
|
start the server in background mode (default)
|
|
|
|
|
start server in background (default)
|
|
|
|
|
.TP
|
|
|
|
|
\fB\-f\fR
|
|
|
|
|
start the server in foreground mode (note that the client forks once itself)
|
|
|
|
|
start server in foreground (note that the client forks once itself)
|
|
|
|
|
.TP
|
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
|
display this help message
|
|
|
|
@ -217,9 +217,8 @@ for <JAIL>
|
|
|
|
|
\fBset <JAIL> maxlines <LINES>\fR
|
|
|
|
|
sets the number of <LINES> to
|
|
|
|
|
buffer for regex search for <JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> addaction <ACT>[ <PYTHONFILE> <JSONKWARGS>]
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> addaction <ACT>[ <PYTHONFILE> <JSONKWARGS>]\fR
|
|
|
|
|
adds a new action named <NAME> for
|
|
|
|
|
<JAIL>. Optionally for a Python
|
|
|
|
|
based action, a <PYTHONFILE> and
|
|
|
|
@ -231,45 +230,38 @@ removes the action <ACT> from
|
|
|
|
|
<JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
COMMAND ACTION CONFIGURATION
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> action <ACT> actionstart <CMD>
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> actionstart <CMD>\fR
|
|
|
|
|
sets the start command <CMD> of
|
|
|
|
|
the action <ACT> for <JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> action <ACT> actionstop <CMD> sets the stop command <CMD> of the
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> actionstop <CMD> sets the stop command <CMD> of the\fR
|
|
|
|
|
action <ACT> for <JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> action <ACT> actioncheck <CMD>
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> actioncheck <CMD>\fR
|
|
|
|
|
sets the check command <CMD> of
|
|
|
|
|
the action <ACT> for <JAIL>
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> actionban <CMD>\fR
|
|
|
|
|
sets the ban command <CMD> of the
|
|
|
|
|
action <ACT> for <JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> action <ACT> actionunban <CMD>
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> actionunban <CMD>\fR
|
|
|
|
|
sets the unban command <CMD> of
|
|
|
|
|
the action <ACT> for <JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> action <ACT> timeout <TIMEOUT>
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> timeout <TIMEOUT>\fR
|
|
|
|
|
sets <TIMEOUT> as the command
|
|
|
|
|
timeout in seconds for the action
|
|
|
|
|
<ACT> for <JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
GENERAL ACTION CONFIGURATION
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> action <ACT> <PROPERTY> <VALUE>
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> <PROPERTY> <VALUE>\fR
|
|
|
|
|
sets the <VALUE> of <PROPERTY> for
|
|
|
|
|
the action <ACT> for <JAIL>
|
|
|
|
|
.IP
|
|
|
|
|
set <JAIL> action <ACT> <METHOD>[ <JSONKWARGS>]
|
|
|
|
|
.IP
|
|
|
|
|
.TP
|
|
|
|
|
\fBset <JAIL> action <ACT> <METHOD>[ <JSONKWARGS>]\fR
|
|
|
|
|
calls the <METHOD> with
|
|
|
|
|
<JSONKWARGS> for the action <ACT>
|
|
|
|
|
for <JAIL>
|
|
|
|
|