Since the last update to 54.0 build 19, pure-ftpd has been stopping and restarting several times a day "ftpd: **[421 50 users (the maximum) are already logged in, sorry ! = 220] : Died.
And then a few minutes later I receive a message that it has recovered and the service "ftpd" is now operational.
The log indicates many bogus attempts to log into ftpd.
This server has been running for years without this problem until the last cpanel update. I have anonymous logins disabled and have only one client besides me that uses sftp to back up data nightly.
Apparently pure-ftp lets hackers log in but doesn't give them access and this causes the ftpd to restart when "Maximum Connections" is reached. Should I increase the number of users?
Maybe a cron job could stop the pure-ftp service and only enable it when my scheduled backups are running?
What would be the syntax of that cron job if that is the only solution?
I would like to block "all but" 3 ip addresses or users but I do not want to switch to proftp.
Thank You!
Here is the last of the log for today:
And then a few minutes later I receive a message that it has recovered and the service "ftpd" is now operational.
The log indicates many bogus attempts to log into ftpd.
This server has been running for years without this problem until the last cpanel update. I have anonymous logins disabled and have only one client besides me that uses sftp to back up data nightly.
Apparently pure-ftp lets hackers log in but doesn't give them access and this causes the ftpd to restart when "Maximum Connections" is reached. Should I increase the number of users?
Maybe a cron job could stop the pure-ftp service and only enable it when my scheduled backups are running?
What would be the syntax of that cron job if that is the only solution?
I would like to block "all but" 3 ip addresses or users but I do not want to switch to proftp.
Thank You!
Here is the last of the log for today:
Code:
Mar 21 10:11:08 host pure-ftpd: ([email protected]) [INFO] New connection from 91.233.135.105
Mar 21 10:11:13 host pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [test123]
Mar 21 10:11:15 host pure-ftpd: ([email protected]) [INFO] New connection from 91.233.135.105
Mar 21 10:11:18 host pure-ftpd: ([email protected]) [INFO] Logout.
Mar 21 10:11:20 host pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [upload]
Mar 21 10:11:21 host pure-ftpd: ([email protected]) [INFO] New connection from 91.233.135.105
Mar 21 10:11:22 host pure-ftpd: ([email protected]) [INFO] Logout.
Mar 21 10:11:25 host pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [web]
Mar 21 10:11:26 host pure-ftpd: ([email protected]) [INFO] New connection from 91.233.135.105
Mar 21 10:12:14 host pure-ftpd: ([email protected]) [INFO] New connection from 92.100.212.35
Mar 21 10:12:21 host pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [hidden]
Mar 21 10:12:22 host pure-ftpd: ([email protected]) [INFO] New connection from 92.100.212.35
Mar 21 10:12:27 host pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [test]
Mar 21 10:12:28 host pure-ftpd: ([email protected]) [INFO] New connection from 92.100.212.35
Mar 21 10:12:30 host pure-ftpd: ([email protected]) [INFO] Logout.
Mar 21 10:12:34 host pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [testuser]
Mar 21 10:12:36 host pure-ftpd: ([email protected]) [INFO] New connection from 92.100.212.35
Mar 21 10:12:41 host pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [test1234]
Mar 21 10:12:56 host pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1