Wolfgang, why don't you stop using squidguard which has no support for 5+ years 
and switch to ufdbGuard?

ufdbGuard is regularly maintained and has a Reference Manual that explains what 
and how to whitelist domains.

Marcus


On 28/12/2018 07:18, Wolfgang Paul Rauchholz wrote:
Problem staqtement: can't whitelist youtube.com <http://youtube.com>

I run squid 3.5 and squiguard on a CENTOS 7 home linux server.
The blacklist database is created by a publicly available script called 
getlists.sh. This script downloads and compiles blacklists  from several sites 
(e.g. squidguard website)
To whitelist youtube which is blocked too,  I created the directory 'white' 
within 'blacklist'. The squidguard config looks like this:

dest white {
        domainlist      white/domains
        urllist         white/urls
}

acl {
        default {
                pass    white !adv !porn !warez all
                redirect http://localhost/block.html
                }
}

the domaon file withi nwhite has these entries:
.2mdn.net:443 <http://2mdn.net:443>
.accounts.google.com <http://accounts.google.com>
.accounts.youtube.com <http://accounts.youtube.com>
.dnld.googlevideo.com <http://dnld.googlevideo.com>
.gmail.com:443-
.googleads4.g.doubleclick.net <http://googleads4.g.doubleclick.net>
.googlevideo.com <http://googlevideo.com>
.i.ytimg.com <http://i.ytimg.com>
.nek.googlevideo.com <http://nek.googlevideo.com>
.play.google.com <http://play.google.com>
.sb.scorecardresearch.com <http://sb.scorecardresearch.com>
.s.ytimg.com <http://s.ytimg.com>
.youtube.com <http://youtube.com>
.ytimg.com <http://ytimg.com>

The entry I find in access.lof file reads like this:
1545988674.026      0 10.5.2.96 TAG_NONE/503 0 CONNECT www.youtube.com:443 
<http://www.youtube.com:443> - HIER_NONE/- -


I still cannot unblock youtube.
I'd appreciate your help in resolving this.

Wolfgang




_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to