Skip to content

🔨 List IP ranges of: Google, Bing, Amazon and Cloudfront, Microsoft, Azure, Oracle, DigitalOcean, GitHub, Facebook, Twitter, Linode, Yandex, Vkontakte, Telegram, Netflix, Steam, Spotify, ChatGPT, YouTube, Discord with regular auto-updates

License

Notifications You must be signed in to change notification settings

naruto522ru/ipranges

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPRanges

List all IP ranges from: Google, Bing, Amazon, Microsoft, Azure, Oracle, DigitalOcean, GitHub, Facebook, Twitter, Linode, Yandex, Vkontakte, Telegram, Netflix, Steam, Spotify, ChatGPT, YouTube, Discord with regular auto-updates.

All lists are obtained from public sources.

List types

ipv4.txt/ipv6.txt – the list of addresses (IPv4 or IPv6), which is the result of parsing one or more sources.

ipv4_merged.txt/ipv6_merged.txt – list of addresses, after combining them into the smallest possible list of CIDRs.

ipv4.txt.zst - compressed unmerged IPv4 address list by zst algorithm

How get list unmerged on devices:

with curl:

curl -4 --retry 3 -s https://raw.githubusercontent.com/naruto522ru/ipranges/main/SERVICE_NAME/ipv4.txt.zst | zstd -d | sort -t. -k1,1n -k2,2n -k3,3n -k4,4n > filename.txt
DIR: ORI
curl -4 --retry 3 -s https://raw.githubusercontent.com/naruto522ru/ipranges/refs/heads/main/ORI/ISP,GOV etc.../ipv4.txt.zst | zstd -d | sort -t. -k1,1n -k2,2n -k3,3n -k4,4n > filename.txt
DIR: banki
curl -4 --retry 3 -s https://raw.githubusercontent.com/naruto522ru/ipranges/refs/heads/main/banki/BANK/ipv4.txt.zst | zstd -d | sort -t. -k1,1n -k2,2n -k3,3n -k4,4n > filename.txt

with wget:

wget -4 -t 3 -qO - https://raw.githubusercontent.com/naruto522ru/ipranges/main/SERVICE_NAME/ipv4.txt.zst | zstd -d | sort -t. -k1,1n -k2,2n -k3,3n -k4,4n > filename.txt
DIR: ORI
wget -4 -t 3 -qO - https://raw.githubusercontent.com/naruto522ru/ipranges/refs/heads/main/ORI/ISP,GOV etc.../ipv4.txt.zst | zstd -d | sort -t. -k1,1n -k2,2n -k3,3n -k4,4n > filename.txt
DIR: banki
wget -4 -t 3 -qO - https://raw.githubusercontent.com/naruto522ru/ipranges/refs/heads/main/banki/BANK/ipv4.txt.zst | zstd -d | sort -t. -k1,1n -k2,2n -k3,3n -k4,4n > filename.txt

See also repository:

https://github.com/naruto522ru/ipranges-shadowsocks

About

🔨 List IP ranges of: Google, Bing, Amazon and Cloudfront, Microsoft, Azure, Oracle, DigitalOcean, GitHub, Facebook, Twitter, Linode, Yandex, Vkontakte, Telegram, Netflix, Steam, Spotify, ChatGPT, YouTube, Discord with regular auto-updates

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Shell 98.2%
  • Python 1.8%