From 66e195b0f3d4002742ec44beabf81b312f1d41d2 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Sat, 10 Jun 2023 14:15:52 +0200 Subject: [PATCH] jail.conf: comment only (time abbr format), no function changes closes gh-3522 --- config/jail.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/jail.conf b/config/jail.conf index b2fb7ec0..ebd3f02c 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -97,7 +97,9 @@ before = paths-debian.conf # ignorecommand = /path/to/command ignorecommand = -# "bantime" is the number of seconds that a host is banned. +# "bantime" is the amount of time that a host is banned, integer in seconds or +# time abbreviation format (m - minutes, h - hours, d - days, w - weeks, mo - months, y - years). +# This is to consider as an initial time if bantime.increment gets enabled. bantime = 10m # A host is banned if it has generated "maxretry" during the last "findtime"