LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2006, 02:11 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
excluding local sites from delay pools


Hello ,

I have query .. adavance thanks for replying person

I am running squid 2.4 stable 14 on RHEL4.

I am using dely pools for bandwithd cotrolling . which is working fine.

But One problem.

I want to exclude local site from dely pool .so that local site will open with out any dely.

I tried to used the following rule


acl local-sites dstdomain mydomain.local

no_cache deny local-sites

always_direct allow local-site

http_access allow ali

acl bcontrol src 192.168.0.2
delay_pools 1
delay_class 1 1
delay_parameters 1 4000/120000
delay_access 1 allow bcontrol

But still local site is being open with bandwith limits.
How can I exclude them?
 
Old 07-04-2006, 05:59 AM   #2
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Original Poster
Rep: Reputation: 32
hello every body

After doing 2 hours google search I found the solution .
Which is as below


delay_pools 2
# Delay Pool for Local Lan
acl ali dstdomain .mysilte.local
delay_class 1 1
delay_parameters 1 -1/-1
delay_access 1 allow ali

# Delay Pool for Users
delay_class 2 1
delay_parameters 2 4000/100000
acl bcontrol src 192.168.0.2
delay_access 2 allow bcontrol




Thank you
 
  


Reply



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 Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Problem Delay pools Bilal84 Linux - Networking 0 04-27-2005 03:57 AM
Squid Delay pools Bilal84 Linux - Networking 1 04-26-2005 03:07 PM
Delay pools suggestions requird LinuxLover Linux - Enterprise 1 11-18-2004 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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