mirror of https://github.com/fail2ban/fail2ban
extend protocol (command-line) and regenerate man's
parent
df97fd33cf
commit
f959f58e15
|
@ -56,7 +56,7 @@ ver. 0.11.0-dev-0 (20??/??/??) - development nightly edition
|
||||||
end of ban) of the ticket with ban-time of jail (as maximum), for all tickets with ban-time greater
|
end of ban) of the ticket with ban-time of jail (as maximum), for all tickets with ban-time greater
|
||||||
(or persistent); not affected if ban-time of the jail is unchanged between stop/start.
|
(or persistent); not affected if ban-time of the jail is unchanged between stop/start.
|
||||||
* added new setup-option `--without-tests` to skip building and installing of tests files (gh-2287).
|
* added new setup-option `--without-tests` to skip building and installing of tests files (gh-2287).
|
||||||
* added new command `fail2ban-client get <JAIL> banip ?--with-time|sep-char?` to get the banned ip addresses (gh-1916).
|
* added new command `fail2ban-client get <JAIL> banip ?sep-char|--with-time?` to get the banned ip addresses (gh-1916).
|
||||||
|
|
||||||
|
|
||||||
ver. 0.10.4-dev-1 (20??/??/??) - development edition
|
ver. 0.10.4-dev-1 (20??/??/??) - development edition
|
||||||
|
|
|
@ -128,6 +128,7 @@ protocol = [
|
||||||
["get <JAIL> bantime", "gets the time a host is banned for <JAIL>"],
|
["get <JAIL> bantime", "gets the time a host is banned for <JAIL>"],
|
||||||
["get <JAIL> datepattern", "gets the patern used to match date/times for <JAIL>"],
|
["get <JAIL> datepattern", "gets the patern used to match date/times for <JAIL>"],
|
||||||
["get <JAIL> usedns", "gets the usedns setting for <JAIL>"],
|
["get <JAIL> usedns", "gets the usedns setting for <JAIL>"],
|
||||||
|
["get <JAIL> banip [<SEP>|--with-time]", "gets the list of of banned IP addresses for <JAIL>. Optionally the separator character ('<SEP>', default is space) or the option '--with-time' (printing the times of ban) may be specified. The IPs are ordered by end of ban."],
|
||||||
["get <JAIL> maxretry", "gets the number of failures allowed for <JAIL>"],
|
["get <JAIL> maxretry", "gets the number of failures allowed for <JAIL>"],
|
||||||
["get <JAIL> maxlines", "gets the number of lines to buffer for <JAIL>"],
|
["get <JAIL> maxlines", "gets the number of lines to buffer for <JAIL>"],
|
||||||
["get <JAIL> actions", "gets a list of actions for <JAIL>"],
|
["get <JAIL> actions", "gets a list of actions for <JAIL>"],
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
|
||||||
.TH FAIL2BAN-CLIENT "1" "October 2018" "fail2ban-client v0.11.0.dev3" "User Commands"
|
.TH FAIL2BAN-CLIENT "1" "January 2019" "fail2ban-client v0.11.0.dev3" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fail2ban-client \- configure and control the server
|
fail2ban-client \- configure and control the server
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -386,6 +386,15 @@ date/times for <JAIL>
|
||||||
\fBget <JAIL> usedns\fR
|
\fBget <JAIL> usedns\fR
|
||||||
gets the usedns setting for <JAIL>
|
gets the usedns setting for <JAIL>
|
||||||
.TP
|
.TP
|
||||||
|
\fBget <JAIL> banip [<SEP>|\-\-with\-time]\fR
|
||||||
|
gets the list of of banned IP
|
||||||
|
addresses for <JAIL>. Optionally
|
||||||
|
the separator character ('<SEP>',
|
||||||
|
default is space) or the option
|
||||||
|
\&'\-\-with\-time' (printing the times
|
||||||
|
of ban) may be specified. The IPs
|
||||||
|
are ordered by end of ban.
|
||||||
|
.TP
|
||||||
\fBget <JAIL> maxretry\fR
|
\fBget <JAIL> maxretry\fR
|
||||||
gets the number of failures
|
gets the number of failures
|
||||||
allowed for <JAIL>
|
allowed for <JAIL>
|
||||||
|
|
Loading…
Reference in New Issue