• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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