this post was submitted on 08 Sep 2025
10 points (91.7% liked)

Linux

9630 readers
117 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] dataprolet@discuss.tchncs.de 4 points 3 weeks ago* (last edited 3 weeks ago)

Not sure what you mean, but you could retrieve all subdomains of said services and then use something like dig to get all associated IPs.
https://github.com/YashGoti/Subdomain

[โ€“] GenderNeutralBro@lemmy.sdf.org 3 points 3 weeks ago* (last edited 3 weeks ago)

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/Dataprolet@discuss.tchncs.de 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.