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