Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've got vsftpd all set up and it works great, though I've got one minor issue:
I'm on the net via ADSL, and with no bandwidth throttle set in vsftpd.conf anyone downloading from my site completely hogs my outgoing bandwidth, affecting my ability to surf web sites, etc.
I've tried setting anon_max_rate in vsftpd.conf and can indeed limit the outgoing bandwidth used, but then my users complain of slow downloads speeds...
So what I'm trying to achieve is a way to dynamically throttle the bandwidth - ie. I'd like to be able to vary the anon_max_rate value depending on certain conditions.
I'm thinking of a script run from cron every minute which will vary the throttle depending on whether it can ping any of my other local machines; ie. if nothing else is powered on, then turn up the bandwidth allowed for vsftpd, when the other machines are ping'able then lower the throttle.
The script itself is almost trivial, except for the part where I change the throttle... obviously I could have 2 different vsftpd.conf files, one with hi and one with low anon_max_rate, and swap them over when I need to change the throttle, but I assume I'd need to restart xinetd each time - and that'd probably cause too much disruption to other network services...