<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 16, 2018, 22:51 Roberto Carna <<a href="mailto:robertocarna36@gmail.com">robertocarna36@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Amos, I've tried to sniff the HTTP requests when I ask for:<br>
<br>
<a href="https://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0" rel="noreferrer noreferrer" target="_blank">https://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0</a><br>
<br>
After that I've created a Squidguard exception list as below:<br>
<br>
<a href="http://ytimg.com" rel="noreferrer noreferrer" target="_blank">ytimg.com</a><br>
<a href="http://googlevideo.com" rel="noreferrer noreferrer" target="_blank">googlevideo.com</a><br>
<a href="http://googleapis.com" rel="noreferrer noreferrer" target="_blank">googleapis.com</a><br>
<a href="http://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0" rel="noreferrer noreferrer" target="_blank">www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0</a></blockquote></div></div><div dir="auto">You may need to escape special characters (? is one). I would try:</div><div dir="auto"><a href="http://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0" style="font-family:sans-serif">www.youtube.com/embed/ff9sDLGtnK8</a>*<br></div><div dir="auto"><br></div><div dir="auto">I assume you are putting above at the urls definition and rebuilding the file?</div><div dir="auto"><br></div><div dir="auto">What is access.log reporting?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
But I can't see the video yet.<br>
<br>
Please I need to know if using Squidguard it's just impossible to do<br>
this exception, so in this case I forget it.<br>
<br>
Thanks a lot again!!!<br>
<br>
<br>
2018-08-16 10:17 GMT-03:00 Amos Jeffries <<a href="mailto:squid3@treenet.co.nz" target="_blank" rel="noreferrer">squid3@treenet.co.nz</a>>:<br>
> On 17/08/18 00:43, Roberto Carna wrote:<br>
>> Dear, I have Squid + Squidguard working OK.<br>
>><br>
>> Squidguard is filtering the entire <a href="http://www.youtube.com" rel="noreferrer noreferrer" target="_blank">www.youtube.com</a> website.<br>
>><br>
>> But now I have to permit just one video from Youtube:<br>
>><br>
>> <a href="https://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0" rel="noreferrer noreferrer" target="_blank">https://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0</a><br>
>><br>
>> I have added the below URL as an exception in Squidguard:<br>
>><br>
>> <a href="http://www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0" rel="noreferrer noreferrer" target="_blank">www.youtube.com/embed/ff9sDLGtnK8?rel=0&showinfo=0</a><br>
>><br>
>> but after that I can't see it, still blocked.<br>
>><br>
>> How can I enable just this URL from Squidguard preferently blocking<br>
>> the rest of Youtube ???<br>
><br>
> Unfortunately only with a great deal of difficulty.<br>
><br>
> The "?v=..." and "/embed/..." URLs are just public identifiers to access<br>
> the YouTube APIs. At the HTTP level they result in a quite long series<br>
> of sub-requests, redirections and the like bouncing all over the<br>
> youtube.* and googlevideos.* and googleapis.* domains.<br>
>  Yes all of them are involved multiple times. So whitelisting is an<br>
> all-or-nothing prospect, with other G services being implicitly<br>
> whitelisted as side effects.<br>
><br>
><br>
> Also, whenever the way to decipher the above maze of traffic gets<br>
> published so we can do things like what you ask. YT shortly afterwards<br>
> change how it operates - usually towards even more complexity. This has<br>
> happened too many times to be coincidence IMO.<br>
><br>
><br>
> Amos<br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
> <a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div></div></div>