Coder Social home page Coder Social logo

jhassine / server-ip-addresses Goto Github PK

View Code? Open in Web Editor NEW
143.0 5.0 20.0 42.95 MB

Daily updated list of IP addresses / CIDR blocks used by data centers, cloud service providers, servers, etc.

Dockerfile 6.24% Shell 93.76%
ip cidr cidr-blocks ip-address ip-addresses ip-ranges ip-address-ranges ip-range data-center data-centers

server-ip-addresses's People

Contributors

actions-user avatar jhassine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

server-ip-addresses's Issues

collapsing overlapping CIDRs

Hi!

We've started with a Python implementation of a similar task, and noticed that these CIDR blocks reported by the cloud provider include lots of overlapping CIDRs. In particular, Azure reports that it has 32k addresses (17k unique), when it only really has 1800 if you don't care about all the specific region information. After deduplicating, all of Google, Azure, and AWS together only need 3k total CIDRs because 90% of the reported CIDRs are subnets but not duplicates of others.

If Python is an okay dependency for you, the ipaddress.collapse_addresses utility handily returns a list of only the CIDRs you need. I'm sure there are similar utilities in other languages, but it might be tricky in bash.

My IP falls in one or more CIDR blocks listed in datacenters.txt

Hi,
I was trying to implement blocking of IP addresses of cloud providers on one of my services to avoid any requests from them.
So, I parsed all the CIDRs listed in server-ip-addresses/data/datacenters.txt. But to my surprise, requests from my local machine(laptop) and few of my colleagues machines also got blocked. Not sure why this happened. Any help is appreciated

More providers

I stumbled upon cloudyr/cloudcidrs, which has a bunch of additional cloud providers. Unfortunately it's in R, but I think it should be possible to integrate some of it.

They have DigitalOcean (ASN-based), Linode (ASN-based), OVH (ASN-based), Softlayer (ASN- or list-based), Rackspace (ASN-based), Google (DNS-based), in addition to AWS and Azure, with the same methodology as yours.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.