<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi comunity, i'm tryn to set a few acl but is not working, here
is what i do:</p>
<p><br>
</p>
<p>1- time acl</p>
<p>I declare 3 acl, officina for workers, pcinternet for the boss
and adminred for me, the network admin. Each rule links to a file.<br>
</p>
<p>acl oficina src "/etc/squid3/reglas/oc-cu"<br>
acl pcinternet src "/etc/squid3/reglas/oc-internet"<br>
acl adminred src "/etc/squid3/reglas/oc-inf"<br>
</p>
<p>this is the file content:<br>
</p>
<p>pc-interet : 192.168.0.253</p>
<p>oficina: 192.168.1.0/29</p>
<p>adminred : 192.168.2.0/30</p>
<p><br>
</p>
<p>i create a facebook time rule for my squid so i get like this</p>
<p><br>
<span id="result_box" class="short_text" tabindex="-1" lang="en"><span
class="">1rst i create the rule for facebook</span></span></p>
<p><span id="result_box" class="short_text" tabindex="-1" lang="en"><span
class="">acl sociales dstdomain -n
"/etc/squid3/reglas/bloqueo/sociales"</span></span></p>
<p><span id="result_box" class="short_text" tabindex="-1" lang="en"><span
class="">this is what the file sociales contains</span></span></p>
<p><span id="result_box" class="short_text" tabindex="-1" lang="en"><span
class="">.facebook.com<br>
.akamaihd.net<br>
.fbcdn.net<br>
</span></span></p>
<p><span id="result_box" class="short_text" tabindex="-1" lang="en"><span
class="">2dn i create the schedule</span></span></p>
<p>acl trabajo time MTWHF 09:00-12:00 14:00-17:00<br>
<br>
</p>
<p>3rd i create 1 refusal rule</p>
<p>http_access deny trabajo sociales !pcinternet !adminred oficina</p>
<p><br>
</p>
<p>This is my question. Do i write the rule like above or like this,
with a refusal rule for each acl<br>
</p>
<p>http_access deny trabajo sociales !pcinternet</p>
<p> http_access deny trabajo sociales !adminred <br>
</p>
<p>http_access deny trabajo sociales oficina</p>
<p><br>
</p>
<p>I make this question because both ways are given me trouble at
the time to block facebook.</p>
<p><br>
</p>
<p>I also have trouble with delay_pools, this i what i do</p>
<p>1st i define my delays pools<br>
</p>
<p>delay_pools 1<br>
<br>
#Canal Facebook<br>
delay_class 1 2<br>
delay_access 1 allow sociales !pc-internet !adminred<br>
delay_access 1 deny all<br>
delay_parameters 1 65536/49152 49152/32768</p>
<p>my problem is adminred is falling into delay pool 1 acording to
sqstat.</p>
<p><br>
</p>
<p>Any one be so nice to clarify this for me. <br>
</p>
<p><br>
</p>
<p>Thanks for your time, remember, always attack ideas, never
people.</p>
<p><br>
</p>
<p>Please forgive my English, this is not my native language<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Saludos Cordiales
Lic. Alex Gutiérrez MartÃnez
Tel. +53 7 2710327</pre>
</body>
</html>