.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. .TH FAIL2BAN-CLIENT "1" "April 2007" "fail2ban-client v0.7.9" "User Commands" .SH NAME fail2ban-client \- configure and control the server .SH DESCRIPTION [?1034hUsage: ../fail2ban\-client [OPTIONS] .PP Fail2Ban v0.7.9 reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules. .SH OPTIONS .TP \fB\-c\fR configuration directory .TP \fB\-s\fR socket path .TP \fB\-d\fR dump configuration. For debugging .TP \fB\-i\fR interactive mode .TP \fB\-v\fR increase verbosity .TP \fB\-q\fR decrease verbosity .TP \fB\-x\fR force execution of the server (remove socket file) .TP \fB\-h\fR, \fB\-\-help\fR display this help message .TP \fB\-V\fR, \fB\-\-version\fR print the version .SH COMMAND .IP BASIC .TP \fBstart\fR starts the server and the jails .TP \fBreload\fR reloads the configuration .TP \fBstop\fR stops all jails and terminate the server .TP \fBstatus\fR gets the current status of the server .TP \fBping\fR tests if the server is alive .IP LOGGING .TP \fBset loglevel \fR sets logging level to . 0 is minimal, 4 is debug .TP \fBget loglevel\fR gets the logging level .TP \fBset logtarget \fR sets logging target to . Can be STDOUT, STDERR, SYSLOG or a file .TP \fBget logtarget\fR gets logging target .IP JAIL CONTROL .TP \fBadd \fR creates using .TP \fBstart \fR starts the jail .TP \fBstop \fR stops the jail . The jail is removed .TP \fBstatus \fR gets the current status of .IP JAIL CONFIGURATION .TP \fBset idle on|off\fR sets the idle state of .TP \fBset addignoreip \fR adds to the ignore list of .TP \fBset delignoreip \fR removes from the ignore list of .TP \fBset addlogpath \fR adds to the monitoring list of .TP \fBset dellogpath \fR removes to the monitoring list of .TP \fBset timeregex \fR sets the regular expression to match the date format for . This will disable the autodetection feature. .TP \fBset timepattern \fR sets the pattern to match the date format for . This will disable the autodetection feature. .TP \fBset addfailregex \fR adds the regular expression which must match failures for .TP \fBset delfailregex \fR removes the regular expression at for failregex .TP \fBset addignoreregex \fR adds the regular expression which should match pattern to exclude for .TP \fBset delignoreregex \fR removes the regular expression at for ignoreregex .TP \fBset findtime