📜 ⬆️ ⬇️

IP base of mobile operators

A little about who and why?


Those who work in the field of mobile Internet often need a base of IP ranges of mobile operators.
It so happened that in free access this information is not so easy to find.
Those who are enough to split by country, as an option, you can use the base maxmind. There is also a free option. But it is mobile networks that are covered poorly.

In general, to the point.


The site collects a base of mobile IPs under its wing and puts it here: www.procontent.ru/dev/gateway-ips.html
But try someone to use it for business and immediately all the inconveniences come up. There is no clear breakdown by countries, and the country is not specified for all ranges, there is no export at least to some format suitable for normal processing.
And so the parser was written, which will “brush” this inconvenient set and give it in the correct form.
You can take it here:
wapobzor.ru/3dparty/procontent_ips.php - csv version
wapobzor.ru/3dparty/procontent_ips.php?long - csv, but ip in numerical form
wapobzor.ru/3dparty/procontent_ips.php?php_array - in the form of an array that would be copied to the script immediately.
wapobzor.ru/3dparty/procontent_ips.php?php_array&long - similarly
www.logofon.ru/xml/ips.xml - another version proposed by Nc_Soft

If someone comes in handy - I will be glad.
Thank you for your attention =)
')
UPD: moved to the thematic blog, thanks for the karma tossed :-)
UPD2 : added two more output options.
UPD3 : another version of the database from another source.

Source: https://habr.com/ru/post/80490/


All Articles