Page 1 of 1

Configure fail2ban for proftpd

Posted: Thu Mar 02, 2023 2:40 pm
by leito89
In the default config file /etc/fail2ban/jail.local , there is no setting for proftpd, only vsftpd. Add a setting to block proftpd:

Code: Select all

 mcedit /etc/fail2ban/jail.local

Code: Select all

[proftpd]
enabled=true
filter = proftpd
action = vesta[name=FTP]
port = ftp,ftp-data,ftps,ftps-data
logpath = %(proftpd_log)s
backend = %(proftpd_backend)s
maxretry = 7

Re: Configure fail2ban for proftpd

Posted: Thu Mar 02, 2023 8:51 pm
by myVesta
One month ago, I figured out the same.
I had the plan to fix that in the next update, so thank you very much for helping us with the fix :)

Re: Configure fail2ban for proftpd

Posted: Fri Mar 03, 2023 9:02 am
by leito89
Good afternoon. If you (administrator) do not mind, then I will throw more posts. If not in the release, then in the wiki.
I spent time to master this. Let it help others.

Re: Configure fail2ban for proftpd

Posted: Fri Mar 03, 2023 10:32 am
by myVesta
Feel free to do it, and be sure we are thankful for any help :)