[squid-users] ACLs work in a half
Yuri Voinov
yvoinov at gmail.com
Sun Apr 19 19:28:25 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
20.04.15 0:29, Robert Lasota пишет:
> Hi,
>
> I have newest Squid (3.5.3). I have ACL with blacklist:
>
> acl blacklist1 dstdomain "/opt/etc/blacklist/porn_domains"
> http_access deny blacklist1
>
> ..and they work on a half. I mean when I type in url e.g. redtube.com
- it
> blocks site. But when I type in some searcher: google or bing, and
then I go to
> the site from search results - I enter to site without problems, so
ACL doesn't
> work.
>
> What is going on ? Please help me.
Did you see, which URL produces search engine as a result? Problem not
in ACL. Problem in your understanding, how it must work.
You using so primitive scheme to complete blocking.
As a solution - take a look at the redirectors - squidGuard or
ufdbGuard, or some similar.
For example, block page template from squidGuard uses special mechanism
to block inlined URL's with inappropriate contents:
http://i.imgur.com/PnMldpr.png
>
>
> Robert
>
>
>
>
> _______________________________________________
> 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
iQEcBAEBCAAGBQJVNAHYAAoJENNXIZxhPexGStsH/R+Mqr1CXba5u7pd+GDSm9CC
pkz+2aYxn2cr+8sCAxiMYijan9zj3KsaYxxbVnRWV2jt10jCW9qtEZ23OzCgfMnm
iKkgkB1GMwFe7uxX3xCZd/DMridltrsrwFeqgM0+Pw7PiJMRL8oJWCI73rTZ4N6F
D/jeCNgxZuSnO//wSwWf0OBc1DjM68P2m+vC89JGJDZZHF32/LC2L/PRJoRRGDPM
/C+EOs2eJq3VGN/Rb6kiqTXWuaK6s6GOxRVavQ0SqGaOuyXqvqrzXZaTJLkNbDam
ikKA84mdW1DGXzfH6AKaFMLkPTeWM8M5MyqKaMlrGskTv3KysMrSKsagvXEALXk=
=PTAk
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150420/1e9c08ec/attachment.html>
More information about the squid-users
mailing list