<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<pre wrap="">Could someone be so kind to explain to me why my rules do not work on
my delays pools?
i got this acl "lento", in spanish means slow
acl lento url_regex -i "/etc/squid3/bloqueo/lento"
his format is the next:
.youtube.com
.facebook.com
</pre>
<pre wrap="">First problem: you are putting domains in dstdomain format into a
full-URL regex ACL.
Use dstdomain ACL type for these. Much faster.
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap="">My delay config is the next:
###############################################################################
#Delay#
###############################################################################
delay_pools 3
#Canal 1 extensiones.
delay_class 1 2
delay_parameters 1 32768/32768 32768/32768
delay_access 1 deny !sociales lento navegacion !extensiones
#delay_access 1 deny all
#Canal 2 para usuarios.
delay_class 2 2
delay_parameters 2 65536/65536 32768/32768
delay_access 2 deny !navegacion extensiones lento sociales
#delay_access 2 deny all
#Canal 2 para usuarios.
delay_class 3 1
delay_parameters 3 16384/16384
delay_access 3 deny extensiones navegacion sociales !lento
#delay_access 2 deny all
</pre>
</blockquote>
<pre wrap="">Second problem: deny, deny all. Nothing allowed to use these pools.
Amos
############################################################################################################################
</pre>
<p>Thanks again Mr. Jeffries, i change my delay to:</p>
<p>acl navegación src 192.168.9.0/24<br>
</p>
<p>acl lento dstdomain "/etc/squid3/bloqueo/lento" -->
.youtube.com</p>
<p>acl sociales dstdomain "/etc/squid3/bloqueo/sociales" -->
.linkedin.com</p>
<p>acl correos dstdomain "/etc/squid3/bloqueo/correos"
-->.mail.yahoo.com<br>
</p>
<p>acl extensiones urlpath_regex -i
"/etc/squid3/bloqueo/listaextensiones" --> \.mkv$<br>
</p>
delay_pools 3<br>
<p> #Canal 1 extensiones.<br>
delay_class 1 1<br>
delay_parameters 1 32768/32768<br>
delay_access 1 allow extensiones !navegacion !lento !sociales
!correos<br>
delay_access 1 deny all<br>
</p>
<p>#Canal 2 para usuarios.<br>
delay_class 2 1<br>
delay_parameters 2 65536/65536<br>
delay_access 2 allow navegacion !lento !sociales !correos
!extensiones<br>
delay_access 2 deny all<br>
</p>
<p>#Canal 3 para cosas lentas.<br>
delay_class 3 1<br>
delay_parameters 3 8192/16384<br>
delay_access 3 allow lento sociales correos !navegacion
!extensiones<br>
delay_access 3 deny all<br>
<br>
</p>
But my sqstat shows the use of delay pool # 2, # 1 and # 3 are
disable. On youtube shows delay_pool=0.
<p><span id="result_box" class="" lang="en"><span class="">I put the
following configuration but I was unable to make it work.
Again only delay pool # 2 was the only who worked this time.<br>
</span></span></p>
<p><br>
<span id="result_box" class="" lang="en"><span class=""><font
size="3">delay_pools 3<br>
Processing: delay_class 1 1<br>
delay_parameters 1 32768/32768<br>
delay_access 1 allow extensiones !navegacion !lento
!sociales !correos<br>
delay_class 2 1<br>
delay_parameters 2 65536/65536<br>
delay_access 2 allow navegacion !lento !sociales !correos
!extensiones<br>
delay_class 3 1<br>
delay_parameters 3 8192/16384<br>
delay_access 3 allow lento sociales correos !navegacion
!extensiones</font></span></span></p>
Im using squid 3.3.8 on ubuntu 14.04.
<pre class="moz-signature" cols="72">--
Saludos Cordiales
Lic. Alex Gutiérrez Martínez
Tel. +53 7 2710327</pre>
</body>
</html>