LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-14-2004, 12:44 AM   #1
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
bandwidth quotas


Hi all!

I was wondering if it is possible to set bandwidth quotas to say an FTP server. I currently run vsftpd and I'd like to limit the maximum download speed so I woldn't end up without bandwidth for the rest of the computers using the same line as the server. While I'm at it, how can I limit the amount of simultaneous annomymous logins to the server?

PS: I've read some of the documentation about vsftpd, but I've failed to find the info I'm looking for (or maybe I simply did not understand it).

Thanks in advance.
 
Old 09-14-2004, 12:59 AM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Did you check the man page for vsftpd.conf? Looks like the options you want are a combination of anon_max_rate, local_max_rate, and max_clients. There doesn't seem to be an option like "limit all connections to a total of xK/sec" though, so you'd have to limit all anonymous users to (x/n)K/sec, where n is the number of users you allow.
 
Old 05-01-2006, 05:49 PM   #3
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
And now I need some more help on this issue...

Even though I was able to solve my original problem with the FTP server, now I'm onto a more sophisticated issue: Equally balance the amount of available bandwidth between the clients. I have a total available bandwidth of 5mbits/s bidirectional. I have a total of 10 clients, and I was thinking on having a Linux bridge/router to balance the available bandwidth between the clients, however I don't know wheather that is even possible or how can it be attained. The objective would be to have an minimum assured 512kbit/sec bandwidth available for all the clients behind this router/bridge.

Thanks in advance for any input.
 
  


Reply



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
Help with quotas 0p3r4 Linux - General 2 10-27-2005 03:35 PM
Quotas: Setting them Swakoo Linux - Newbie 1 10-27-2005 07:59 AM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
Quotas andy7t Linux - General 1 12-15-2004 03:14 PM
Where can i find information on implementing bandwidth quotas? Qveon Linux - Software 0 03-05-2004 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:31 PM.

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
Open Source Consulting | Domain Registration