<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 3:30, Yuri Voinov пишет:<br>
<span style="white-space: pre;">><br>
><br>
><br>
> 30.06.2016 2:34, Eliezer Croitoru пишет:<br>
><br>
><br>
> > Hey Moataz,( is this the first name?)<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > I would be able to test it later next week on a
testing<br>
> machine.<br>
><br>
><br>
><br>
> > It's not clear what you expect to happen.<br>
><br>
><br>
><br>
> > What are seeing in the squid access.log file at
the same time<br>
> you are using the proxy?<br>
><br>
><br>
><br>
> > It should show something when you load a simple
HTTP page<br>
> such as:<br>
><br>
><br>
><br>
> > <a class="moz-txt-link-freetext" href="http://www.squid-cache.org/">http://www.squid-cache.org/</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > And Yuri,<br>
><br>
><br>
><br>
> > As was mentioned here in another thread.<br>
><br>
><br>
><br>
> > Indeed SquidGuard is not maintained anymore for at
least 2<br>
> years but it works for more then once place.<br>
><br>
><br>
><br>
> > If it works and does good work for the users, then
what is<br>
> the blocker from using it?<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.</span><br>
Personally, I think this is a major drawback, even in a world where
a memory module is cheaper shovel shit.<br>
<span style="white-space: pre;">><br>
><br>
> > If it will work, what then?<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>
><br>
><br>
><br>
><br>
><br>
><br>
> > Eliezer<br>
><br>
><br>
><br>
><br>
><br>
><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>
><br>
> > Linux System Administrator<br>
><br>
> > Mobile: +972-5-28704261<br>
><br>
> > Email: <a class="moz-txt-link-abbreviated" href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > *From:*squid-users<br>
> [<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<br>
> *Yuri Voinov<br>
><br>
> > *Sent:* Wednesday, June 29, 2016 8:20 PM<br>
><br>
> > *To:* <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
><br>
> > *Subject:* Re: [squid-users] url_rewrite_program
is ignored<br>
> by squid<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > Squidguard abandoned for years. Drop it out.<br>
><br>
><br>
><br>
><br>
><br>
> > 29.06.2016 23:12, Moataz Elmasry пишет:<br>
><br>
> > > Hi all,<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > I'm trying to use squid with
squidguard, but it<br>
> seems that<br>
><br>
><br>
><br>
> > squid3 is somehow ignoring the
url_rewrite_program<br>
> completely.<br>
><br>
><br>
><br>
> > While starting squid I'm getting the
message:<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > "<br>
><br>
><br>
><br>
> > > helperOpenServers: Starting 0/20
'squidGuard'<br>
> processes<br>
><br>
><br>
><br>
> > > helperOpenServers: No 'squidGuard'
processes<br>
> needed<br>
><br>
><br>
><br>
> > > "<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > And nothing is being directed to
squidguard.<br>
><br>
><br>
><br>
> > > Just to be sure, I tried a simple bash
program as<br>
> well as a<br>
><br>
><br>
><br>
> > php program to handle the redirection, and
I'm<br>
> receiving a similar<br>
><br>
><br>
><br>
> > message and nothing is being redirected.<br>
><br>
><br>
><br>
> > > Config files are listed below. All
files are owned<br>
> by the<br>
><br>
><br>
><br>
> > user "proxy"<br>
><br>
><br>
><br>
> > > OS: ubuntu 16.04<br>
><br>
><br>
><br>
> > > squid: 3.5.12-1ubuntu7.2<br>
><br>
><br>
><br>
> > > squidguard: 1.5-5<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > Here's squid.conf<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > "<br>
><br>
><br>
><br>
> > > pinger_enable off<br>
><br>
><br>
><br>
> > > url_rewrite_access allow all<br>
><br>
><br>
><br>
> > > url_rewrite_program /usr/bin/squidGuard
-c<br>
><br>
><br>
><br>
> > /etc/squidguard/squidGuard.conf<br>
><br>
><br>
><br>
> > > acl SSL_ports port 443<br>
><br>
><br>
><br>
> > > acl Safe_ports port 80 # http<br>
><br>
><br>
><br>
> > > acl Safe_ports port 443 # https<br>
><br>
><br>
><br>
> > > acl Safe_ports port 1025-65535 #
unregistered<br>
> ports<br>
><br>
><br>
><br>
> > > acl CONNECT method CONNECT<br>
><br>
><br>
><br>
> > > http_access deny !Safe_ports<br>
><br>
><br>
><br>
> > > http_access deny CONNECT !SSL_ports<br>
><br>
><br>
><br>
> > > http_access allow localhost manager<br>
><br>
><br>
><br>
> > > http_access deny manager<br>
><br>
><br>
><br>
> > > http_access allow localhost<br>
><br>
><br>
><br>
> > > acl whitelist dstdomain play.google.com<br>
><br>
><br>
><br>
> > <a class="moz-txt-link-rfc2396E" href="http://play.google.com"><http://play.google.com></a><br>
> <a class="moz-txt-link-rfc2396E" href="http://play.google.com"><http://play.google.com></a><br>
><br>
><br>
><br>
> > > http_access allow whitelist<br>
><br>
><br>
><br>
> > > http_access deny all<br>
><br>
><br>
><br>
> > > http_port 3128<br>
><br>
><br>
><br>
> > > coredump_dir /var/spool/squid<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > "<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > And here's squidGuard.conf<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > "<br>
><br>
><br>
><br>
> > > dbhome /var/lib/squidguard/db<br>
><br>
><br>
><br>
> > > logdir /var/log/squidguard<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > dest ads {<br>
><br>
><br>
><br>
> > > domainlist ads/domains<br>
><br>
><br>
><br>
> > > }<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > dest whitelist {<br>
><br>
><br>
><br>
> > > domainlist whitelist/domains<br>
><br>
><br>
><br>
> > > }<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > acl {<br>
><br>
><br>
><br>
> > > default {<br>
><br>
><br>
><br>
> > > pass whitelist none<br>
><br>
><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>
><br>
><br>
><br>
><br>
> > > "<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > Any ideas what the problem is?<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > > Thanks<br>
><br>
><br>
><br>
> > > Moataz<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > >
_______________________________________________<br>
><br>
><br>
><br>
> > > squid-users mailing list<br>
><br>
><br>
><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-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
><br>
><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>
><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><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>
></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXdD4xAAoJENNXIZxhPexGjC4IALrbi8NkXc8XeC8hl71eYPcW
<br>
oZgff2D6OTqtoC36W/fPfADjrwTS5fOfJTrN0ofZeh3u4K5mGxLSS5+jcOPotHVa
<br>
30FRKiTCMr1ycywToDKpAzfI3s2qr8lhONeEDko07zYKH3ZewpP70AOzVUsbd9D8
<br>
zL7b+qicsx8lr+qV35/pustgniBu97YYS82T/xumQcxkDFKB0gglAvC9VSt4goYq
<br>
vTGjRG7uYweBGg6vj2wbNN8hPA6wligoI3MQ6/H5FPUIO3XwxxQBHHzU6be2GwAl
<br>
xxEAdJpHTHSqQjPXGNLI0p7Soo0+4h+asog5RXkDLNtNEkWzKrEtVo94TXNyLfk=
<br>
=TRpC
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>