[squid-users] Whitelisting youtube

eliezer at ngtech.co.il eliezer at ngtech.co.il
Sat Dec 29 17:22:21 UTC 2018


Markus,

 

Does ufdbGuard have a Debian package or build instructions?
The last time I tried to compile it on both Debian and Ubuntu I have encountered couple issues.

 

Thanks,

Eliezer

 

 

----

 <http://ngtech.co.il/main-en/> Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email:  <mailto:eliezer at ngtech.co.il> eliezer at ngtech.co.il



 

From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Marcus Kool
Sent: Friday, December 28, 2018 12:14
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Whitelisting youtube

 

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 at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 
http://lists.squid-cache.org/listinfo/squid-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20181229/73f2396b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11295 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20181229/73f2396b/attachment-0001.png>


More information about the squid-users mailing list