lord-alfred / ipranges

🔨 List all IP ranges from: Google (Cloud & GoogleBot), Bing (Bingbot), Amazon (AWS), Microsoft, Oracle (Cloud), GitHub, Facebook (Meta), OpenAI (GPTBot) and other with daily updates.
https://t.me/Lord_Alfred
Creative Commons Zero v1.0 Universal
564 stars 96 forks source link

Microsoft data only includes Azure ranges #9

Closed fschucht closed 5 months ago

fschucht commented 5 months ago

First of all, thanks for putting together this great repo @lord-alfred!

We are using the datasets to disable some features for bots. Recently, we started getting lots of traffic from some Outlook bots. However, their IP ranges are not included in the data of this repo. The reason seems to be that the repo only includes the Azure ip ranges and not the full list of all Microsoft ip ranges.

Microsoft publishes all public ips, including the Outlook ones, here: https://www.microsoft.com/en-us/download/details.aspx?id=53602

I am happy to contribute a fix in a pr but would like to get some input first on the implementation. Should this be added to the existing Microsoft dataset or should it be added as a new separated one?

lord-alfred commented 5 months ago

Thanks for that comment, it's very helpful! Actually already now MS addresses include not only Azure and you can add the designated addresses from here as well.

I will be glad if you bring Pull Request, in it I expect:

Thank you very much!

fschucht commented 5 months ago

Thanks for the input! I submitted a pull request with the changes you outlined.