[squid-users] url_rewrite_program is ignored by squid
Yuri Voinov
yvoinov at gmail.com
Wed Jun 29 21:31:29 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
30.06.2016 3:30, Yuri Voinov пишет:
>
>
>
> 30.06.2016 2:34, Eliezer Croitoru пишет:
>
>
> > Hey Moataz,( is this the first name?)
>
>
>
>
>
>
>
> > I would be able to test it later next week on a testing
> machine.
>
>
>
> > It's not clear what you expect to happen.
>
>
>
> > What are seeing in the squid access.log file at the same time
> you are using the proxy?
>
>
>
> > It should show something when you load a simple HTTP page
> such as:
>
>
>
> > http://www.squid-cache.org/
>
>
>
>
>
>
>
> > And Yuri,
>
>
>
> > As was mentioned here in another thread.
>
>
>
> > Indeed SquidGuard is not maintained anymore for at least 2
> years but it works for more then once place.
>
>
>
> > If it works and does good work for the users, then what is
> the blocker from using it?
> 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.
Personally, I think this is a major drawback, even in a world where a
memory module is cheaper shovel shit.
>
>
> > If it will work, what then?
> 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.
>
> Of course, someone mare - bride .... But really - why not? If only the
mare was too happy. :-D
>
>
>
>
>
>
> > Eliezer
>
>
>
>
>
>
>
> > ----
>
>
>
> > Eliezer Croitoru <http://ngtech.co.il/lmgtfy/>
>
> > Linux System Administrator
>
> > Mobile: +972-5-28704261
>
> > Email: eliezer at ngtech.co.il
>
>
>
>
>
>
>
> > *From:*squid-users
> [mailto:squid-users-bounces at lists.squid-cache.org] *On Behalf Of
> *Yuri Voinov
>
> > *Sent:* Wednesday, June 29, 2016 8:20 PM
>
> > *To:* squid-users at lists.squid-cache.org
>
> > *Subject:* Re: [squid-users] url_rewrite_program is ignored
> by squid
>
>
>
>
>
>
>
>
>
> > Squidguard abandoned for years. Drop it out.
>
>
>
>
>
> > 29.06.2016 23:12, Moataz Elmasry пишет:
>
> > > Hi all,
>
>
>
>
>
>
>
> > > I'm trying to use squid with squidguard, but it
> seems that
>
>
>
> > squid3 is somehow ignoring the url_rewrite_program
> completely.
>
>
>
> > While starting squid I'm getting the message:
>
>
>
>
>
>
>
> > > "
>
>
>
> > > helperOpenServers: Starting 0/20 'squidGuard'
> processes
>
>
>
> > > helperOpenServers: No 'squidGuard' processes
> needed
>
>
>
> > > "
>
>
>
>
>
>
>
> > > And nothing is being directed to squidguard.
>
>
>
> > > Just to be sure, I tried a simple bash program as
> well as a
>
>
>
> > php program to handle the redirection, and I'm
> receiving a similar
>
>
>
> > message and nothing is being redirected.
>
>
>
> > > Config files are listed below. All files are owned
> by the
>
>
>
> > user "proxy"
>
>
>
> > > OS: ubuntu 16.04
>
>
>
> > > squid: 3.5.12-1ubuntu7.2
>
>
>
> > > squidguard: 1.5-5
>
>
>
>
>
>
>
> > > Here's squid.conf
>
>
>
>
>
>
>
> > > "
>
>
>
> > > pinger_enable off
>
>
>
> > > url_rewrite_access allow all
>
>
>
> > > url_rewrite_program /usr/bin/squidGuard -c
>
>
>
> > /etc/squidguard/squidGuard.conf
>
>
>
> > > acl SSL_ports port 443
>
>
>
> > > acl Safe_ports port 80 # http
>
>
>
> > > acl Safe_ports port 443 # https
>
>
>
> > > acl Safe_ports port 1025-65535 # unregistered
> ports
>
>
>
> > > acl CONNECT method CONNECT
>
>
>
> > > http_access deny !Safe_ports
>
>
>
> > > http_access deny CONNECT !SSL_ports
>
>
>
> > > http_access allow localhost manager
>
>
>
> > > http_access deny manager
>
>
>
> > > http_access allow localhost
>
>
>
> > > acl whitelist dstdomain play.google.com
>
>
>
> > <http://play.google.com>
> <http://play.google.com>
>
>
>
> > > http_access allow whitelist
>
>
>
> > > http_access deny all
>
>
>
> > > http_port 3128
>
>
>
> > > coredump_dir /var/spool/squid
>
>
>
>
>
>
>
> > > "
>
>
>
>
>
>
>
> > > And here's squidGuard.conf
>
>
>
>
>
>
>
> > > "
>
>
>
> > > dbhome /var/lib/squidguard/db
>
>
>
> > > logdir /var/log/squidguard
>
>
>
>
>
>
>
> > > dest ads {
>
>
>
> > > domainlist ads/domains
>
>
>
> > > }
>
>
>
>
>
>
>
> > > dest whitelist {
>
>
>
> > > domainlist whitelist/domains
>
>
>
> > > }
>
>
>
>
>
>
>
> > > acl {
>
>
>
> > > default {
>
>
>
> > > pass whitelist none
>
>
>
> > > redirect http://www.contensi.com
>
>
>
> > > }
>
>
>
> > > }
>
>
>
>
>
>
>
> > > "
>
>
>
>
>
>
>
> > > Any ideas what the problem is?
>
>
>
>
>
>
>
> > > Thanks
>
>
>
> > > Moataz
>
>
>
>
>
>
>
>
>
>
>
> > > _______________________________________________
>
>
>
> > > squid-users mailing list
>
>
>
> > > squid-users at lists.squid-cache.org
> <mailto:squid-users at lists.squid-cache.org>
>
>
>
> > > http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>
>
>
>
>
>
> > _______________________________________________
>
> > squid-users mailing list
>
> > squid-users at lists.squid-cache.org
>
> > http://lists.squid-cache.org/listinfo/squid-users
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXdD4xAAoJENNXIZxhPexGjC4IALrbi8NkXc8XeC8hl71eYPcW
oZgff2D6OTqtoC36W/fPfADjrwTS5fOfJTrN0ofZeh3u4K5mGxLSS5+jcOPotHVa
30FRKiTCMr1ycywToDKpAzfI3s2qr8lhONeEDko07zYKH3ZewpP70AOzVUsbd9D8
zL7b+qicsx8lr+qV35/pustgniBu97YYS82T/xumQcxkDFKB0gglAvC9VSt4goYq
vTGjRG7uYweBGg6vj2wbNN8hPA6wligoI3MQ6/H5FPUIO3XwxxQBHHzU6be2GwAl
xxEAdJpHTHSqQjPXGNLI0p7Soo0+4h+asog5RXkDLNtNEkWzKrEtVo94TXNyLfk=
=TRpC
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160630/7de6ec82/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160630/7de6ec82/attachment-0001.key>
More information about the squid-users
mailing list