I am looking for an authoritative list of IP space Facebook uses. I need this to support a locked down developer environment that has very tight restrictions on outbound connectivity.
Today I found api and graph.facebook.com started resolving to 69.171.224.0/19 which was not previously in my filters. I've updated it but I'd like to know what other IP space I'm missing allow rules for.
Here's what I have currently. Any additional IP blocks you can list out would be great. Thanks everyone.
69.63.176.0/20
69.171.224.0/19
66.220.144.0/20
204.15.20.0/22
The list from 2020-05-23 is:
31.13.24.0/21
31.13.64.0/18
45.64.40.0/22
66.220.144.0/20
69.63.176.0/20
69.171.224.0/19
74.119.76.0/22
102.132.96.0/20
103.4.96.0/22
129.134.0.0/16
147.75.208.0/20
157.240.0.0/16
173.252.64.0/18
179.60.192.0/22
185.60.216.0/22
185.89.216.0/22
199.201.64.0/22
204.15.20.0/22
The method to fetch this list is already documented on Facebook's Developer site, you can make a whois call to see all IPs assigned to Facebook:
whois -h whois.radb.net -- '-i origin AS32934' | grep ^route