Unlikely to remain static, they have one of the largest CDN's in the world. Guaranteed those will not remain the same.
Also if you obtain the list of all Google IP's, you won't have a way to tell which are serving YouTube.
For a list of all google IP's, you could alternatively leverage information to create an EBL from radb.net and shadowserver.org. The idea is to create a cron script that hosts a clear text file from a web server like apache, (may need to tweak the output to adjust to EBL accepted format). Then will be periodically updated and fetched as follows:
mivaldi$ ping www.youtube.com
PING www.google.com (188.8.131.52): 56 data bytes
64 bytes from 184.108.40.206: icmp_seq=0 ttl=54 time=2.506 ms
--- www.youtube.com ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.506/2.506/2.506/0.000 ms
mivaldi$ whois -h asn.shadowserver.org "origin 220.127.116.11"
43515 | 18.104.22.168/20 | YOUTUBE | IE | google.com | YouTube LLC
Or search AS by name here:
mivaldi$ whois -h whois.radb.net -- '-i origin AS43515' | grep ^route
All known YouTube AS43515 IP's
... Also note that some AS like Google's may contain very long lists...
mivaldi$ whois -h whois.radb.net -- '-i origin AS15169' | grep ^route | wc -l
If it's a long list and may exceed your EBL limits (dependent on platform).
Note: Commands were run from Mac terminal. Will also work on Linux, or cygwin terminal on Windows.
Well put! I just tried to see what it would look like so here is a snipped of what the PAN see's for that https traffic:
It is seeing at SSL but also the URL filter categorizes it properly so you maybe able to use the URL filter to block streaming-media.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!