• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Fail2Ban blocking whitelisted IP for Apache jail while not blocking it for recidive jail.

Bitpalast

Plesk addicted!
Plesk Guru
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Onyx, 17.07 #12, CentOS 7.3 64-Bit

PROBLEM DESCRIPTION
Fail2Ban is blocking whitelisted IPv4 for Apache jail while it is not blocking the same whitelisted IP for recidive jail.

STEPS TO REPRODUCE
Excessively frequent requests from the IP to the same URL, so that an IP is banned.
Then add the IP to the whitelist of fail2ban and unban it.

ACTUAL RESULT
Whitelisted domain is blocked by Apache jail, not blocked by recidive jail.

EXPECTED RESULT
Whitelisted domain should not be blocked by Apache jail.

ANY ADDITIONAL INFORMATION
In this example pay special attention to 10:56:53 and 10:56:59: While the unbanned, whitelisted address is ignored by the recidive jail, it is banned again by the plesk-apache-k jail.
Code:
2017-01-06 10:56:08,235 fail2ban.actions        [11178]: NOTICE  [recidive] Ban 88.77.66.55
2017-01-06 10:56:17,797 fail2ban.actions        [11178]: NOTICE  [recidive] Unban 88.77.66.55
2017-01-06 10:56:29,195 fail2ban.actions        [11178]: NOTICE  [plesk-apache-k] Unban 88.77.66.55
2017-01-06 10:56:53,194 fail2ban.filter         [11178]: INFO    [recidive] Ignore 88.77.66.55 by ip
2017-01-06 10:56:59,041 fail2ban.actions        [11178]: NOTICE  [plesk-apache-k] Ban 88.77.66.55
2017-01-06 10:57:11,993 fail2ban.filter         [11178]: INFO    [recidive] Ignore 88.77.66.55 by ip
2017-01-06 10:57:15,732 fail2ban.filter         [11178]: INFO    [recidive] Ignore 88.77.66.55 by ip
 
Last edited:
Back
Top