googerteller icon indicating copy to clipboard operation
googerteller copied to clipboard

Find way to also do Facebook

Open berthubert opened this issue 3 years ago • 2 comments
trafficstars

To do Facebook as well, and separate it out from Google, we need some more work. The tcpdump trick won't work for that.

berthubert avatar Aug 22 '22 09:08 berthubert

https://stackoverflow.com/a/11164738

This stackoverflow post states that we can use the whois command to get all the subnets from facebook.

jonas-w avatar Aug 22 '22 20:08 jonas-w

You can make an approximate list of prefixes by installing https://github.com/bgp/bgpq4 and https://github.com/job/aggregate6 utilities and chaining them like so:

$ (bgpq4 -F"%n/%l\n" AS-FACEBOOK && bgpq4 -6 -F"%n/%l\n" AS-FACEBOOK) | aggregate6
31.13.24.0/21
31.13.64.0/18
45.64.40.0/22
...

job avatar Aug 23 '22 10:08 job