LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Vsftpd revisited - Restricting users further (Less confusing this time) (https://www.linuxquestions.org/questions/linux-networking-3/vsftpd-revisited-restricting-users-further-less-confusing-this-time-63409/)

Korff 06-03-2003 10:14 AM

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.

david_ross 06-03-2003 03:58 PM

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

Korff 06-03-2003 09:13 PM

Thanks, adding those to vsftpd.conf


All times are GMT -5. The time now is 08:32 AM.