Search squid archive

Re: Squid + Squidguard Youtube URL video filtering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OP asked about blocking Youtube but allowing a single Youtube video.
How would you do that with a couple of DNS entries ?

Marcus

On 16/08/18 22:11, SQUIDBLACKLIST.ORG wrote:
This might be painfully obvious to some who are in the know, but, filtering youtube video content can be done with a lot less effort by simply adding a couple dns entries for Googles safesearch servers.

#justsayin



Signed,

Benjamin E. Nichols
Founder &  Chief Architect
http://www.squidblacklist.org
1-405-301-9516

-------- Original message --------
From: Marcus Kool <marcus.kool@xxxxxxxxxxxxxxx>
Date: 8/16/18 7:53 PM (GMT-06:00)
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Squid + Squidguard Youtube URL video filtering

yes, with ufdbguard you put
     youtube.com/watch?v=VIDEOID
in a urls file and create a URL table with ufdbGenTable.
ufdbGenTable adds many URLs automagically, i.e.
     youtube.com/embed/VIDEOID
     youtube.com/get_video_info?video_id=VIDEOID
     ytimg.googleusercontent.com/vi/VIDEOID
and many more.

Marcus

On 16/08/18 11:01, Vacheslav wrote:
 > Wouldn't it be better to try it in ufdbguard?
 >
 > -----Original Message-----
 > From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Amos Jeffries
 > Sent: Thursday, August 16, 2018 4:18 PM
 > To: squid-users@xxxxxxxxxxxxxxxxxxxxx
 > Subject: Re:  Squid + Squidguard Youtube URL video filtering
 >
 > On 17/08/18 00:43, Roberto Carna wrote:
 >> Dear, I have Squid + Squidguard working OK.
 >>
 >> Squidguard is filtering the entire www.youtube.com website.
 >>
 >> But now I have to permit just one video from Youtube:
 >>
 >> https://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0
 >>
 >> I have added the below URL as an exception in Squidguard:
 >>
 >> www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0
 >>
 >> but after that I can't see it, still blocked.
 >>
 >> How can I enable just this URL from Squidguard preferently blocking
 >> the rest of Youtube ???
 >
 >> Unfortunately only with a great deal of difficulty.
 >
>> The "?v=..." and "/embed/..." URLs are just public identifiers to access the YouTube APIs. At the HTTP level they result in a quite long series of sub-requests, redirections and the like bouncing all over the
 > youtube.* and googlevideos.* and googleapis.* domains.
 >   Yes all of them are involved multiple times. So whitelisting is an all-or-nothing prospect, with other G services being implicitly whitelisted as side effects.
 >
 >
>> Also, whenever the way to decipher the above maze of traffic gets published so we can do things like what you ask. YT shortly afterwards change how it operates - usually towards even more complexity. This has happened too many times to be coincidence IMO.
 >
 >
 >> Amos
 > _______________________________________________
 > squid-users mailing list
 > squid-users@xxxxxxxxxxxxxxxxxxxxx
 > http://lists.squid-cache.org/listinfo/squid-users
 >
 >
 > _______________________________________________
 > squid-users mailing list
 > squid-users@xxxxxxxxxxxxxxxxxxxxx
 > http://lists.squid-cache.org/listinfo/squid-users
 >
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux