<div dir="ltr"><div><div><div><div><div>Thank you Amos for the feedback. <br><br></div>I did see an example online using ACL and that tricked me. <br></div>Removing the allow line, now squid is logging that squidguard is started (though no squidguard processes are listed, it could be due to that I have not tested yet with actual traffic)<br><br></div>I will check also ufdbguard as it seems promising.<br><br></div>Thanx, <br></div>Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 26, 2018 at 4:02 AM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 25/04/18 23:44, Alex K wrote:<br>
> Hi all,<br>
> <br>
> I was using a squid (3.1.20) + squidguard setup (to filter out several<br>
> site categories) on Debian 7 and the setup worked. The squidguard was<br>
> invoked from squid.conf as below:<br>
> <br>
> redirect_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.<wbr>conf<br>
> redirect_children 7<br>
> <br>
> I am now testing the setup on Debian 9 (with squid 3.5.23) with the<br>
> following lines in squid.conf:<br>
> <br>
> url_rewrite_access allow<br>
<br>
</span>There are no ACLs on the above line. So it cannot match anything. The<br>
implicit default applies instead. Implicit default after any "allow"<br>
line is "deny all".<br>
<br>
Also, you did not configure any allow/deny previously. So why add it now?<br>
<span class=""><br>
> url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.<wbr>conf<br>
> url_rewrite_children 5<br>
> <br>
> But I get at squid logs:<br>
> <br>
> 2018/04/24 12:06:57 kid1| helperOpenServers: Starting 0/5 'squidGuard'<br>
> processes<br>
> 2018/04/24 12:06:57 kid1| helperOpenServers: No 'squidGuard' processes<br>
> needed.<br>
<br>
</span>No traffic is allowed to go to the helper. So no SG processes necessary.<br>
Squid is correct.<br>
<span class=""><br>
<br>
> <br>
> Seems that squid is ignoring and not starting squidguard.<br>
> I have read also some have mentioned that squidguard is not maintained<br>
> anymore.<br>
> <br>
> Any idea on the above?> Any better alternative to squidguard that you recommend?<br>
<br>
</span>ufdbguard is much better than the outdated and no longer maintained<br>
SquidGuard (but is not packaged on Debian).<br>
<br>
Amos<br>
______________________________<wbr>_________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.<wbr>org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/<wbr>listinfo/squid-users</a><br>
</blockquote></div><br></div>