From c00945740006528b7f2aae0801485f9252c4303c Mon Sep 17 00:00:00 2001 From: Kofl Date: Sun, 27 Oct 2019 23:25:05 +0100 Subject: [PATCH] ` instead of if ERROR No 'host' group in .... --- Fail2Ban-Setup.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Fail2Ban-Setup.md b/Fail2Ban-Setup.md index 67fd679..690d28d 100644 --- a/Fail2Ban-Setup.md +++ b/Fail2Ban-Setup.md @@ -37,6 +37,12 @@ failregex = ^.*Username or password is incorrect\. Try again\. IP: \. User ignoreregex = ``` +Use `````` instead of `````` if you get the following error message in fail2ban.log +(CentOS 7, Fail2Ban v0.9.7): +``` +fail2ban.filter [5291]: ERROR No 'host' group in '^.*Username or password is incorrect\. Try again\. IP: \. Username:.*$' +``` + ## Fail2Ban Jail Now we need the jail, create the jail file