this post was submitted on 08 Sep 2025
2 points (57.1% liked)

Linux

58266 readers
675 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
2
IP range of GAFAM ? (programming.dev)
submitted 1 week ago* (last edited 1 week ago) by Rick_C137@programming.dev to c/linux@lemmy.ml
 

Hi,

I would like to get all the range of IP of the GAFAM and few more..

Preferred

  • trough the Terminal ( Linux 🐧 ) or/and Python 🐍
  • no sign-up of any form.
  • obviously FLOSS

Thanks.

all 7 comments
sorted by: hot top controversial new old
[–] slazer2au@lemmy.world 9 points 1 week ago (1 children)

A bit convoluted but you can using peeringdb.com to get the AS number of their networks then look that AS up in bgp.tools.

https://www.peeringdb.com/org/8896
Microsoft have 4 ASN with 8075 being the largest one.

https://bgp.tools/as/8075#prefixes

The only problem with this method is you may catch some other orgs who host their IPs with Azure like Avaya (the PBX and handset company)

[–] WarmApplePieShrek@lemmy.dbzer0.com 3 points 1 week ago (1 children)

Bulk data is here: https://www.ris.ripe.net/dumps/RISwhoisdump.IPv4.gz or IPv6

It's a daily updated summary of all RIPE's BGP probes feeds. Most IPs have more than one entry. You should take a majority vote - use the entry with the highest count - because there's no single BGP authority - many ISPs show different data from each other.

[–] Rick_C137@programming.dev 1 points 1 week ago

Thank you @WarmApplePieShrek@lemmy.dbzer0.com Are you sure your link is correct ? I get

This page does not seem to exist…

[–] Eideen@lemmy.world 8 points 1 week ago
[–] hendrik@palaver.p3x.de 6 points 1 week ago* (last edited 1 week ago)

I think the best course of action is to get the AS from BGP and whom they belong to. I don't think there's a 100% solution, though. As we've seen with Meta's AI dataset collection, they sometimes do shady things to bypass this. And I'm not sure what you're trying to achieve, once you for example block AWS from Amazon, a decent chunk of the internet and all kinds of people's servers will be affected.

Or maybe look if you can find something on Github. People have compiled all kinds of lists for their projects. Maybe this one: https://github.com/lord-alfred/ipranges

[–] Rick_C137@programming.dev 1 points 1 week ago

Thank you all for your input's !

As I'm not familiar enough with BGP, AS etc..

I think I'll go for the list generated by
https://github.com/lord-alfred/ipranges
https://github.com/sakib-m/IP-Prefix-List

To start with.

Then I'll see if it's possible to gather those IP ranges without relying on third party services..
but that seem unfeasible without be connect to a Internet Exchange Point (IXP) right ?