nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

squid configuration with delay pools

This is a discussion on squid configuration with delay pools within the Getting started tutorials forums, part of the Linux Getting Started category; Hi, I want to manage my bandwidth.so how i configure squid with delay pools.?Thanks...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-07-2008, 01:27 PM
Member
User
 
Join Date: Feb 2008
OS: fedora
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
chandanperl is on a distinguished road
Default squid configuration with delay pools

Hi, I want to manage my bandwidth.so how i configure squid with delay pools.?Thanks
Reply With Quote
  #2 (permalink)  
Old 20-07-2008, 11:36 AM
amitabh's Avatar
Contributors
User
 
Join Date: Jul 2008
Location: New Delhi
OS: FreeBSD
Posts: 99
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Power: 4
amitabh has a spectacular aura about amitabh has a spectacular aura about amitabh has a spectacular aura about
Send a message via MSN to amitabh Send a message via Yahoo to amitabh Send a message via Skype™ to amitabh
Default

I cannot help with Squid configuration, but do keep in mind that squid can only control http traffic. All other traffic will be outside your flow control.
Reply With Quote
  #3 (permalink)  
Old 21-07-2008, 01:18 PM
Member
User
 
Join Date: Feb 2008
OS: fedora
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
chandanperl is on a distinguished road
Default bandwidth management with squid

Hi, you want to say if i manage my squid for bandwidth than i can only manage http bandwidth?But i read somewhere that using Delay Pool i can manage my bandwidth with squid. If u open file /etc/squid/squid.conf, then u will get information about delay pool on line 2770. Please reply.Thanks
Reply With Quote
  #4 (permalink)  
Old 21-07-2008, 07:11 PM
amitabh's Avatar
Contributors
User
 
Join Date: Jul 2008
Location: New Delhi
OS: FreeBSD
Posts: 99
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Power: 4
amitabh has a spectacular aura about amitabh has a spectacular aura about amitabh has a spectacular aura about
Send a message via MSN to amitabh Send a message via Yahoo to amitabh Send a message via Skype™ to amitabh
Default

Yes, Squid can only manage HTTP traffic, unless you configure it with a firewall which blocks all other ports. I understand delay pools, but they are only meant for HTTP traffic in squid.
Reply With Quote
  #5 (permalink)  
Old 22-07-2008, 02:12 PM
Member
User
 
Join Date: Feb 2008
OS: fedora
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
chandanperl is on a distinguished road
Default squid configuration with delay pools

Hello,
Yes u got my point.Now my primary requirement is to manage HTTP resquest.For that i have to block other ports using firewall, is that u mean to say? But if i block other ports then how can i access other services like sendmail.
tHANKS
Reply With Quote
  #6 (permalink)  
Old 22-07-2008, 08:04 PM
Member
User
 
Join Date: Jan 2008
OS: Debian/Redhat
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pansarevai is on a distinguished road
Default

You need to define how you want to distribute the traffice in terms of bandwidth.
ACLs & Delay Pools Under Squid
You can use this link and many more information available on net and even in squid.conf man pages.
Or else give me the sinario so as to give you the configuration details.
Reply With Quote
  #7 (permalink)  
Old 22-07-2008, 11:38 PM
amitabh's Avatar
Contributors
User
 
Join Date: Jul 2008
Location: New Delhi
OS: FreeBSD
Posts: 99
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Power: 4
amitabh has a spectacular aura about amitabh has a spectacular aura about amitabh has a spectacular aura about
Send a message via MSN to amitabh Send a message via Yahoo to amitabh Send a message via Skype™ to amitabh
Default

If you are only interested in managing HTTP requests, you do not need to block other ports.
Reply With Quote
  #8 (permalink)  
Old 23-07-2008, 01:40 PM
Member
User
 
Join Date: Feb 2008
OS: fedora
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
chandanperl is on a distinguished road
Default squid configuration with delay pools

Hi,
Thanks for ur reply.I want to manage my bandwidth service wise ,user wise and group wise.
For Example: like sendmail and http services bandwidth and i have to allocate bandwith of particular user(like MD,Director..) and group wise also.
so should i go for squid configuration with delay pools or using cbq shell script(open source) .

Thanks











Quote:
Originally Posted by pansarevai View Post
You need to define how you want to distribute the traffice in terms of bandwidth.
ACLs & Delay Pools Under Squid
You can use this link and many more information available on net and even in squid.conf man pages.
Or else give me the sinario so as to give you the configuration details.
Reply With Quote
  #9 (permalink)  
Old 23-07-2008, 01:43 PM
Member
User
 
Join Date: Feb 2008
OS: fedora
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
chandanperl is on a distinguished road
Default squid configuration with delay pools

Hi,
Thanks for ur reply.Bandwidth management for Http is my primary requirement but later on i have to manage bandwidth for other services also like sendmail.
And other thing also i have to manage my bandwidth user wise and group wise also.

Thanks







Quote:
Originally Posted by amitabh View Post
If you are only interested in managing HTTP requests, you do not need to block other ports.
Reply With Quote
  #10 (permalink)  
Old 24-07-2008, 12:24 AM
amitabh's Avatar
Contributors
User
 
Join Date: Jul 2008
Location: New Delhi
OS: FreeBSD
Posts: 99
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Power: 4
amitabh has a spectacular aura about amitabh has a spectacular aura about amitabh has a spectacular aura about
Send a message via MSN to amitabh Send a message via Yahoo to amitabh Send a message via Skype™ to amitabh
Default

Are you looking it as a learning project or you only need to put this into production use? If you are just thinking of getting a production box ready, you can take a look into monowall at m0n0wall . Its open source and provides you with a browser and terminal based interface to manage itself, though it is based on FreeBSD.
I haven't used it personally, but it allows you to configure bandwidth service wise as well as user wise.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
squid configuration issue kathy79 CentOS / RHEL / Fedora 0 04-07-2008 05:06 PM
squid configuration problem jhn_daz@yahoo.com CentOS / RHEL / Fedora 5 18-05-2008 03:23 PM
squid configuration chandanperl Getting started tutorials 3 18-02-2008 09:51 PM
Squid configuration problem jhn_daz@yahoo.com Networking, Firewalls and Security 1 29-06-2007 01:58 AM


All times are GMT +5.5. The time now is 02:56 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38