Vsftpd revisited - Restricting users further (Less confusing this time)
I have my vsftpd correctly set up exactly the way I wanted it last thread. That's great!
However, I need to know how to do these two things (Already read the man and the comments in the vsftpd.conf): -Limit download account to 1 session per IP at a time (One user cannot download 10 things at once and clog the server) -Limit number of users logged in at a time - if 30 people are on my server, each of them is only gonna get about 3kbps of my upload bandwidth since I'm on cable. I want to put a cap on simultaneous sessions. Pretty standard options for FTP daemons, but I didn't find these in vsftpd.conf. |
This should stop more than 30 logins:
max_clients 30 I don't know of a way to stop multiple logins but you could restrict bandwidth to 100 bytes/second using: local_max_rate 100 |
Thanks, adding those to vsftpd.conf
|
All times are GMT -5. The time now is 08:32 AM. |