LinuxQuestions.org
Review your favorite Linux distribution.
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 12-30-2008, 10:23 PM   #1
zdienos
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
Bandwidth management: speed 128kbps, after 500MB, speed down to 64kbps


how to setup the bandwidth, for example:
- normal speed 128kpbs
- quota 500MB
- after quota reached, speed down to 64kbps

squid help???

or some distro maybe?
 
Old 01-16-2009, 05:03 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,886

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
You could use squid delay pools to throttle bandwidth, but I don't know how you'd detect when a certain amount of bandwidth had been used (and do you mean used by one machine or one user or the whole network or on one interface?).

Well, you could do something like this with iptables; you'd have to set up counters and when the counters get beyond a certain value, throttle the bandwidth, which iptables could do (and reset the counters at some time or another). I really, really don't like this idea, as I feel that firewalling ought to be simple, clean, and as close to provably correct as you can get and doing this kind of silliness in iptables just increases the chances of something bad being included.

Why do you want to do this?
 
Old 01-27-2009, 07:07 AM   #3
zdienos
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by salasi View Post
You could use squid delay pools to throttle bandwidth, but I don't know how you'd detect when a certain amount of bandwidth had been used (and do you mean used by one machine or one user or the whole network or on one interface?).

Well, you could do something like this with iptables; you'd have to set up counters and when the counters get beyond a certain value, throttle the bandwidth, which iptables could do (and reset the counters at some time or another). I really, really don't like this idea, as I feel that firewalling ought to be simple, clean, and as close to provably correct as you can get and doing this kind of silliness in iptables just increases the chances of something bad being included.

Why do you want to do this?
I think is by one machine.
Is there anything such a bandwidth management tool (web based), that use mysql, squid and php?

I'am really really newbie....

i also have tried Smoothwall, Endian (community). But there are no such user authentication with bandwidth management..

(sorry my poor English)
 
  


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
upload and download Bandwidth speed, in kbps lothario Linux - Networking 1 06-06-2008 01:48 AM
How to cap bandwidth/speed? yitzle Linux - Software 4 01-04-2008 11:56 AM
Download speed / bandwidth prioritized by application gruessle Linux - Software 2 07-15-2007 11:06 AM
Bandwidth speed tests lumba General 5 12-06-2005 03:37 PM
Please put the average connection speed/bandwidth of mirrors on LQ vharishankar LQ Suggestions & Feedback 6 01-16-2005 08:16 PM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
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