Search squid archive

Re: delay pool not workin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pool #3 requires the domain name of a single transaction to
simultaneously be *mail.yahoo.com AND *.linkedin.com AND *.youtube.com
  Obviously that is impossible, so nothing can match the line that allows.

Pool #1 should match a few things. But probably not what you are testing
with.

I suggest you try to re-write your ACLs in a simpler way with less '!'
(not) modifiers. The way you are compressing lots of things into each
line is no faster than multiple lines, but much harder to understand
what is going on.

#######################################################################
#######################################################################
#######################################################################
#######################################################################

Mr. Jeffries, I rewrite my acl´s on this ways:

# 1

#######################################################################

delay_pools 5

#Canal 1 extensiones.
delay_class 1 2
delay_access 1 allow extensiones
delay_access 1 deny navegacion lento sociales correos
delay_access 1 deny all
delay_parameters 1 16384/32768 32768/32768

#Canal 2 para usuarios.
delay_class 2 1
delay_access 2 allow navegacion
delay_access 2 deny lento sociales correos extensiones
delay_access 2 deny all
delay_parameters 2 65536/65536

#Canal 3 para cosas lentas.
delay_class 3 2
delay_access 3 allow lento
delay_access 3 deny navegacion extensiones sociales correos
delay_access 3 deny all
delay_parameters 3 4096/8192 8192/16384

#Canal 4 Sociales
delay_class 4 2
delay_access 4 allow sociales
delay_access 4 deny navegacion extensiones lento correos
delay_access 4 deny all
delay_parameters 4 4096/8192 8192/16384

#Canal 5 Correos
delay_class 5 2
delay_access 5 allow correos
delay_access 5 deny navegacion extensiones lento sociales
delay_access 5 deny all
delay_parameters 5 4096/8192 8192/16384

##############################################

#2

###################################################

delay_pools 5

#Canal 1 extensiones.
delay_class 1 2
delay_access 1 allow extensiones !navegacion !lento !sociales !correos
delay_access 1 deny all
delay_parameters 1 16384/32768 32768/32768

#Canal 2 para usuarios.
delay_class 2 1
delay_access 2 allow navegacion !lento !sociales !correos !extensiones
delay_access 2 deny all
delay_parameters 2 65536/65536

#Canal 3 para cosas lentas.
delay_class 3 2
delay_access 3 allow lento !navegacion !extensiones !sociales !correos
delay_access 3 deny all
delay_parameters 3 4096/8192 8192/16384

#Canal 4 Sociales
delay_class 4 2
delay_access 4 allow sociales !navegacion !extensiones !lento !correos
delay_access 4 deny all
delay_parameters 4 4096/8192 8192/16384

#Canal 5 Correos
delay_class 5 2
delay_access 5 allow correos !navegacion !extensiones !lento !sociales
delay_access 5 deny all
delay_parameters 5 4096/8192 8192/16384

#####################################################

#3

#######################################################

delay_pools 5

#Canal 1 extensiones.
delay_class 1 2
delay_access 1 allow extensiones
delay_access 1 deny all
delay_parameters 1 16384/32768 32768/32768

#Canal 2 para usuarios.
delay_class 2 1
delay_access 2 allow navegacion
delay_access 2 deny all
delay_parameters 2 65536/65536

#Canal 3 para cosas lentas.
delay_class 3 2
delay_access 3 allow lento
delay_access 3 deny all
delay_parameters 3 4096/8192 8192/16384

#Canal 4 Sociales
delay_class 4 2
delay_access 4 allow sociales
delay_access 4 deny all
delay_parameters 4 4096/8192 8192/16384

#Canal 5 Correos
delay_class 5 2
delay_access 5 allow correos
delay_access 5 deny all
delay_parameters 5 4096/8192 8192/16384
####################################################


Every request fails, only delay pool 2 is on use, execpt for example # 2, in that case every request was transfer to delay pool # 1.

Any suggestions?

--
Saludos Cordiales

Lic. Alex Gutiérrez Martínez

Tel. +53 7 2710327



_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux