• 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.

Ban after X login attempts FTP

JuanCar

Regular Pleskian
How can close FTP access to a host when it has reached an excesive number of logins attempt?
Firewall and Ipchains are unuseless, a hacker change his IP every time and so it's absurd ban an IP in this way.
I mean a way to ban the IP after X logins failed and keep the ban for 1 or more hours or days. And of course: automatic.
Thanks
 
How can close FTP access to a host when it has reached an excesive number of logins attempt?
Firewall and Ipchains are unuseless, a hacker change his IP every time and so it's absurd ban an IP in this way.
I mean a way to ban the IP after X logins failed and keep the ban for 1 or more hours or days. And of course: automatic.
Thanks

Which IP do you want to ban actually? If the attacker uses the same IP with every attempt, you can ban this IP using a firewall rule. If the attacker changes his IP with every attempt, you can't ban any IP usefully, as it's only used once for an attack. Probably the attacker uses IPs from same subnet so you could try to block subnet instead of single IP. Or does he use the same login every time? Then you might block this account for new connections.

What you could do else, is either to ban access to ftp at all, i.e. close ftp completely for new connections. Or you could setup some advanced firewall rules which try to detect the signature of the attacker and block his connections careless of what IP he uses. Pretty hard to set up and to manage, but once running, very efficient.
 
Back
Top