From c38f6654f7451d077606944803c3eb4016becdf9 Mon Sep 17 00:00:00 2001 From: "Avinash H. Duduskar" <2946372+Strykar@users.noreply.github.com> Date: Fri, 14 Jul 2023 00:51:43 +0530 Subject: [PATCH 1/2] Make ignorecommand help clearer --- man/jail.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/jail.conf.5 b/man/jail.conf.5 index 28e41d3f..e58ac292 100644 --- a/man/jail.conf.5 +++ b/man/jail.conf.5 @@ -247,7 +247,7 @@ boolean value (default true) indicates the banning of own IP addresses should be list of IPs not to ban. They can include a DNS resp. CIDR mask too. The option affects additionally to \fBignoreself\fR (if true) and don't need to contain own DNS resp. IPs of the running host. .TP .B ignorecommand -command that is executed to determine if the current candidate IP for banning (or failure-ID for raw IDs) should not be banned. The option affects additionally to \fBignoreself\fR and \fBignoreip\fR and will be first executed if both don't hit. +command that is executed to determine if the current candidate IP for banning (or failure-ID for raw IDs) should not be banned. This option operates alongside the ignoreself and ignoreip options. It is executed first, only if neither ignoreself nor ignoreip match the criteria. .br IP will not be banned if command returns successfully (exit code 0). Like ACTION FILES, tags like are can be included in the ignorecommand value and will be substituted before execution. From 76f6bc81bc81150688918606cb3a3eb41c1d1a49 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Thu, 13 Jul 2023 23:59:28 +0200 Subject: [PATCH 2/2] small amend restore groff format (\f escape sequence) --- man/jail.conf.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/jail.conf.5 b/man/jail.conf.5 index e58ac292..363e996b 100644 --- a/man/jail.conf.5 +++ b/man/jail.conf.5 @@ -247,13 +247,13 @@ boolean value (default true) indicates the banning of own IP addresses should be list of IPs not to ban. They can include a DNS resp. CIDR mask too. The option affects additionally to \fBignoreself\fR (if true) and don't need to contain own DNS resp. IPs of the running host. .TP .B ignorecommand -command that is executed to determine if the current candidate IP for banning (or failure-ID for raw IDs) should not be banned. This option operates alongside the ignoreself and ignoreip options. It is executed first, only if neither ignoreself nor ignoreip match the criteria. +command that is executed to determine if the current candidate IP for banning (or failure-ID for raw IDs) should not be banned. This option operates alongside the \fBignoreself\fR and \fBignoreip\fR options. It is executed first, only if neither \fBignoreself\fR nor \fBignoreip\fR match the criteria. .br IP will not be banned if command returns successfully (exit code 0). Like ACTION FILES, tags like are can be included in the ignorecommand value and will be substituted before execution. .TP .B ignorecache -provide cache parameters (default disabled) for ignore failure check (caching of the result from `ignoreip`, `ignoreself` and `ignorecommand`), syntax: +provide cache parameters (default disabled) for ignore failure check (caching of the result from \fBignoreip\fR, \fBignoreself\fR and \fBignorecommand\fR), syntax: .RS .nf