LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-03-2003, 11:14 AM   #1
Korff
Member
 
Registered: May 2003
Location: Central Florida
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
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.

Last edited by Korff; 06-03-2003 at 11:17 AM.
 
Old 06-03-2003, 04:58 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
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
 
Old 06-03-2003, 10:13 PM   #3
Korff
Member
 
Registered: May 2003
Location: Central Florida
Distribution: Gentoo
Posts: 103

Original Poster
Rep: Reputation: 15
Thanks, adding those to vsftpd.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd port problems revisited twelve Linux - Networking 3 05-19-2004 03:17 AM
Restricting directory access with vsftpd BobM Linux - General 1 03-30-2004 11:19 AM
restricting directory access with vsftpd BobM Linux - Networking 0 03-30-2004 09:07 AM
Restricting FTP Users to their home dir in vsftpd ~ForgottenFlux~ Linux - Software 2 09-03-2003 08:54 PM
vsftpd: restricting users to home dirs groovin Linux - Security 6 11-25-2002 05:20 PM


All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration