LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-17-2009, 11:51 AM   #1
xtimox
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Question Squid 2.7 And Delay Pools Problem


Hi guys im having some problems with my transparent squid configuration.

I want to limit IP Ranges bandwidth using delay pools.

But they dont seem to work.

Any advice?

here's my conf:
Code:
acl all src 0.0.0.0/0.0.0.0
http_port 3128 transparent
cache_dir ufs /usr/local/squid/var/cache 2048 16 256
cache_effective_user squid
cache_effective_group squid
################################
acl blockfiles urlpath_regex "/usr/local/squid/etc/blocks.files.acl"
# Bloquea Extensiones
deny_info http://www.someweb.com/error.html blockfiles
http_access deny blockfiles
###############################
acl our_networks src 192.168.169.0/24
http_access allow our_networks
#DELAY POOLS
delay_pools 3

delay_class 1 1
delay_parameters 1 -1/-1  -1/-1
acl informatica_gerencia src 192.168.169.212-192.168.169.255/32
delay_access 1 allow informatica_gerencia

delay_class 2 1
delay_parameters 2 409600/419430400 409600/419430400
acl pulso_similares src 192.168.169.24-192.168.169.38/32
acl descargas url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .m                                                                                                 peg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov
delay_access 2 allow pulso_similares
delay_access 2 allow descargas

delay_class 3 1
delay_parameters 3 81920/65536 81920/65536
acl resto src 0/0
delay_access 3 allow resto
delay_access 3 allow descargas
Can anyone give me an advice?
thanks in advance
 
Old 08-18-2009, 09:35 AM   #2
evilted
Member
 
Registered: Aug 2009
Location: Ouagadougou, Burkina Faso
Distribution: centos
Posts: 92

Rep: Reputation: 18
ive only used squid a few times, after my experience with it i turned it off (broken pictures, pages not loading with large demand on the server), but for me what i think is that your initial acl is to allow everything. maybe the line below needs to go after your delay pools, and not before it..

acl all src 0.0.0.0/0.0.0.0
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid delay pools suhas! Linux - Server 1 12-01-2007 12:49 PM
squid delay pools - what am I doing wrong? Sevensins Linux - Networking 0 07-24-2006 11:57 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
Squid Delay Pools being overrun Redleg Linux - Networking 8 07-03-2004 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:39 PM.

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