LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-02-2010, 05:59 AM   #1
nishith
Member
 
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
Question Squid with Delay Pools.


Hello,

I have configured a normal squid & now,i want to manage internet bandwidth thru. "squid" proxy only.

Squid proxy server ip is :- 192.168.17.30
Client PC ip addres is 192.168.17.25
Total bandwidth avaialable :- 2 Mbps

Now,I want to limit bandwith of 400 kbps for the ip address 192.168.17.25 pc only.

So, is there any method available for bandwidth limiting for a single pc?

Nishith Vyas.
 
Old 01-02-2010, 09:11 AM   #2
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Oracle, Ubuntu, Slackware, OpenBSD, NetBSD, OpenWRT
Posts: 364
Blog Entries: 3

Rep: Reputation: 48
Hi dude! Squid is a good proxy, though you may like another variant of bandwith control. It's called traffic shaping.

You may read about it here:
http://lartc.org/

and more conretely here (by the way, I used this manual to shape the traffic for my users) :
http://luxik.cdi.cz/~devik/qos/htb/m...rg.htm#sharing


And speaking about Squid, it's a good documentation here:
http://www.squid-cache.org/Doc/config/delay_pools/
http://www.squid-cache.org/Versions/v2/2.7/cfgman/ - for v.2.7. Scroll down to the heading ' DELAY POOL PARAMETERS'

PS: I do not use delay_pools, I use shaping. If you need, I may send you my script with shaper rules. Just contact me via PM.

Last edited by Lexus45; 01-02-2010 at 09:12 AM.
 
Old 01-02-2010, 03:11 PM   #3
mkp
Member
 
Registered: Jul 2008
Posts: 57

Rep: Reputation: 15
Try this:

Code:
acl limit src 192.168.17.25
delay_pools 1
delay_class 1 2
delay_access 1 allow limit
delay_access 1 deny all
delay_parameters 1 -1/-1 400000/400000
 
  


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
squid delay pools moekad Linux - Networking 5 08-28-2009 11:07 AM
Squid delay pools suhas! Linux - Server 1 12-01-2007 12:49 PM
help me - configuring squid with delay pools manishsingh4u Ubuntu 2 04-04-2006 11:14 PM
Squid delay pools Bilal84 Linux - Security 1 04-27-2005 08:38 AM
Squid Delay pools Bilal84 Linux - Networking 1 04-26-2005 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:01 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
Open Source Consulting | Domain Registration