<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
<br>
<br>
30.06.2016 2:34, Eliezer Croitoru пишет:<br>
<span style="white-space: pre;">><br>
> Hey Moataz,( is this the first name?)<br>
><br>
> <br>
><br>
> I would be able to test it later next week on a testing
machine.<br>
><br>
> It's not clear what you expect to happen.<br>
><br>
> What are seeing in the squid access.log file at the same time
you are using the proxy?<br>
><br>
> It should show something when you load a simple HTTP page
such as:<br>
><br>
> <a class="moz-txt-link-freetext" href="http://www.squid-cache.org/">http://www.squid-cache.org/</a><br>
><br>
> <br>
><br>
> And Yuri,<br>
><br>
> As was mentioned here in another thread.<br>
><br>
> Indeed SquidGuard is not maintained anymore for at least 2
years but it works for more then once place.<br>
><br>
> If it works and does good work for the users, then what is
the blocker from using it?</span><br>
Actually, it uses copy all databases for every helper instance. Thus
it absorbs all the RAM, no matter how much it was not, especially
with large lists.<br>
<span style="white-space: pre;">><br>
> If it will work, what then?</span><br>
Second. It does not work with HTTPS. Absolutely. What in the world,
with 80% consisting of HTTPS - as something silly, is not it? And
reduce its value to nearly zero.<br>
<br>
Of course, someone mare - bride .... But really - why not? If only
the mare was too happy. :-D<br>
<span style="white-space: pre;">><br>
> <br>
><br>
> Eliezer<br>
><br>
> <br>
><br>
> ----<br>
><br>
> Eliezer Croitoru <a class="moz-txt-link-rfc2396E" href="http://ngtech.co.il/lmgtfy/"><http://ngtech.co.il/lmgtfy/></a><br>
> Linux System Administrator<br>
> Mobile: +972-5-28704261<br>
> Email: <a class="moz-txt-link-abbreviated" href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
><br>
> <br>
><br>
> *From:*squid-users
[<a class="moz-txt-link-freetext" href="mailto:squid-users-bounces@lists.squid-cache.org">mailto:squid-users-bounces@lists.squid-cache.org</a>] *On Behalf Of
*Yuri Voinov<br>
> *Sent:* Wednesday, June 29, 2016 8:20 PM<br>
> *To:* <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> *Subject:* Re: [squid-users] url_rewrite_program is ignored
by squid<br>
><br>
> <br>
><br>
><br>
> Squidguard abandoned for years. Drop it out.<br>
><br>
><br>
> 29.06.2016 23:12, Moataz Elmasry пишет:<br>
> > Hi all,<br>
><br>
><br>
><br>
> > I'm trying to use squid with squidguard, but it
seems that<br>
><br>
> squid3 is somehow ignoring the url_rewrite_program
completely.<br>
><br>
> While starting squid I'm getting the message:<br>
><br>
><br>
><br>
> > "<br>
><br>
> > helperOpenServers: Starting 0/20 'squidGuard'
processes<br>
><br>
> > helperOpenServers: No 'squidGuard' processes
needed<br>
><br>
> > "<br>
><br>
><br>
><br>
> > And nothing is being directed to squidguard.<br>
><br>
> > Just to be sure, I tried a simple bash program as
well as a<br>
><br>
> php program to handle the redirection, and I'm
receiving a similar<br>
><br>
> message and nothing is being redirected.<br>
><br>
> > Config files are listed below. All files are owned
by the<br>
><br>
> user "proxy"<br>
><br>
> > OS: ubuntu 16.04<br>
><br>
> > squid: 3.5.12-1ubuntu7.2<br>
><br>
> > squidguard: 1.5-5<br>
><br>
><br>
><br>
> > Here's squid.conf<br>
><br>
><br>
><br>
> > "<br>
><br>
> > pinger_enable off<br>
><br>
> > url_rewrite_access allow all<br>
><br>
> > url_rewrite_program /usr/bin/squidGuard -c<br>
><br>
> /etc/squidguard/squidGuard.conf<br>
><br>
> > acl SSL_ports port 443<br>
><br>
> > acl Safe_ports port 80 # http<br>
><br>
> > acl Safe_ports port 443 # https<br>
><br>
> > acl Safe_ports port 1025-65535 # unregistered
ports<br>
><br>
> > acl CONNECT method CONNECT<br>
><br>
> > http_access deny !Safe_ports<br>
><br>
> > http_access deny CONNECT !SSL_ports<br>
><br>
> > http_access allow localhost manager<br>
><br>
> > http_access deny manager<br>
><br>
> > http_access allow localhost<br>
><br>
> > acl whitelist dstdomain play.google.com<br>
><br>
> <a class="moz-txt-link-rfc2396E" href="http://play.google.com"><http://play.google.com></a>
<a class="moz-txt-link-rfc2396E" href="http://play.google.com"><http://play.google.com></a><br>
><br>
> > http_access allow whitelist<br>
><br>
> > http_access deny all<br>
><br>
> > http_port 3128<br>
><br>
> > coredump_dir /var/spool/squid<br>
><br>
><br>
><br>
> > "<br>
><br>
><br>
><br>
> > And here's squidGuard.conf<br>
><br>
><br>
><br>
> > "<br>
><br>
> > dbhome /var/lib/squidguard/db<br>
><br>
> > logdir /var/log/squidguard<br>
><br>
><br>
><br>
> > dest ads {<br>
><br>
> > domainlist ads/domains<br>
><br>
> > }<br>
><br>
><br>
><br>
> > dest whitelist {<br>
><br>
> > domainlist whitelist/domains<br>
><br>
> > }<br>
><br>
><br>
><br>
> > acl {<br>
><br>
> > default {<br>
><br>
> > pass whitelist none<br>
><br>
> > redirect <a class="moz-txt-link-freetext" href="http://www.contensi.com">http://www.contensi.com</a><br>
><br>
> > }<br>
><br>
> > }<br>
><br>
><br>
><br>
> > "<br>
><br>
><br>
><br>
> > Any ideas what the problem is?<br>
><br>
><br>
><br>
> > Thanks<br>
><br>
> > Moataz<br>
><br>
><br>
><br>
><br>
><br>
> > _______________________________________________<br>
><br>
> > squid-users mailing list<br>
><br>
> > <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
><br>
> > <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXdD3rAAoJENNXIZxhPexGs70H/RNa45xO/L3PlNTpHbX4bgea
<br>
9csGDMx3+grzn5bocmKSXU1bMekEhp6ty20LZZb8PYXhwAuuzBGPJ6/wnp4e41fj
<br>
4+e3tQwZiVrBf6pl1uM4MsjiMIcfkT77MYPNea8VktMWRp7TmFRQqa5zhGcqzKsz
<br>
T+zdHkgJspYsfJsEguYy2lNknsPtifD5uX6jlo8//eiIuS4dBje1YaQjUZDDtXsp
<br>
7pZ4GBw65ezEA1pdv6g1r9p7InXDKsf4+La/CAi0nWRDehbrmbvfC0UW04mCFG3L
<br>
r419KdWcTRnK/AwYgpe1JWCJPYfVzKrYaHA+TL8iRpvIIysE6JLW/sW28pYzxSM=
<br>
=mM3G
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>