• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question Unban fail2ban per custom Jail?

Azurel

Silver Pleskian
I can create a jail for a custom log and ban new entries (ips). Is the opposite way possible here? For a particular "jail" to unban IPs when they new appear in defined logfile?

In a jail you can set "logpath" for a file that bans. Is here a another line for unban per file instead ban?
 
Looking at the fail2ban documentation I think this is isn't possible. However it is an interesting thought.

You could create a bash script to read a specific log file and use the Plesk CLI to unban an IP address.
plesk bin ip_ban --unban 10.0.0.1,ssh

Use full link:
 
Back
Top