LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-22-2004, 07:23 PM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
Bandwidth Control


Hi..

i need to know how to control the bandwidth from a server to clients ..

and determine how much for browsing and how much for download..
in general ...even the server is windowz ( through proxy or there is a specific software to do so..
thank yoU...
 
Old 07-22-2004, 07:40 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
1) if you want to limit bandwidth for browsing you can use the squid "delay pool" feature

e.g. squid.conf ....

########Delay Pools#########
# a simple global throttle, users sharing 256 Kbit/s
delay_pools 1
delay_class 1 1
# 256 Kbit/s fill rate, 1024 Kbit/s reserve
delay_parameters 1 32000/128000
acl All src 0/0
delay_access 1 allow All

2) if you want to limit http server download speed you can use apache mod_bandwidth

e.g. httpd.conf

#################
BandWidthModule on

<Directory/>
BandWidth localhost 0
BandWidth friends.com 1024
BandWidth 10. 128
BandWidth all 512
</Directory>
 
  


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
Bandwidth control djib Linux - Networking 2 10-10-2005 07:49 AM
control bandwidth omashhour Linux - Networking 3 07-03-2005 12:13 PM
Bandwidth control nOw Linux - Networking 3 09-16-2004 06:11 PM
bandwidth control unit booyah Linux - Networking 3 06-14-2004 10:17 AM
Bandwidth Control maksly Linux - General 2 05-07-2004 07:44 PM


All times are GMT -5. The time now is 03:03 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