cross-posted from: https://programming.dev/post/37077607
Hi,
I would like to get all the range of IP of the GAFAM and few more…
Preferred
- trough the Terminal ( Linux ) or Python.
- no sign-up of any form.
- obviously FLOSS
Thanks.
cross-posted from: https://programming.dev/post/37077607
Hi,
I would like to get all the range of IP of the GAFAM and few more…
Preferred
- trough the Terminal ( Linux ) or Python.
- no sign-up of any form.
- obviously FLOSS
Thanks.
Apple owns the entire 17.0.0.0/8 block (they made out like bandits on that one back in the 80s!).
Amazon publishes the IP ranges of AWS here: https://ip-ranges.amazonaws.com/ip-ranges.json . That doesn’t include other Amazon services or inactive IPs, though.
This Github tracks Amazon’s IP blocks: https://gist.github.com/atoonk/0ee3f5bebcea874f6032215f16c3c30a . Not sure how up to date or accurate it is. Interestingly, they say Amazon owns the entire 3.0.0.0/8 block, which is news to me. If true, someone should update Wikipedia’s List of assigned /8 IPv4 address blocks.
Not sure about the others. There are some well-maintained block lists for Google and Meta/Facebook domains, and I suppose you could dig through those like /u/[email protected] suggested. e.g. for Google, there’s this one: https://github.com/nickspaargaren/no-google. This will be difficult since domains are rapidly moving targets. They can come and go at a moment’s notice, and the IPs can be reassigned just as easily. IP addresses are also moving targets but since there’s a limited supply there’s less turnover.