• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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