• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Permanently Ban Repeat IPs With fail2ban

EnriqueR

Regular Pleskian
How to set a permanent ban per IP in Fail2ban??
I have banned continuously some IPs with recidibe and I need put this IPs in a permanent blacklist.
 
You will need to add those IPs in your permanent firewall configuration. But there is a risk of losing legitimate traffic later - intruders will later drop those IPs and they will be returned to some "good" customer
 
I think what he means is that you can put the value "-1" in the ban period field and it will ban the IP permanently. I haven't tested this myself.
 
I do not quite understand what you mean, or where the value is. Could you explain?

sr my bad english.
I mean we can set value -1 in the IP address ban period field.
Tool & setting > Fail2ban > Setting > IP address ban period : -1 (seconds)
 
sr my bad english.
I mean we can set value -1 in the IP address ban period field.
Tool & setting > Fail2ban > Setting > IP address ban period : -1 (seconds)
That's true, but I wish this were to some specific IPs, since it would only be for a few special cases.
 
Back
Top