mirror of
https://herrbischoff.com/code/me/country-ip-blocks
synced 2026-04-22 02:34:52 +08:00
Compare commits
3 Commits
b34b163d81
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0754a018d | ||
|
|
46afb91658 | ||
|
|
6c733c5073 |
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@@ -1,2 +0,0 @@
|
||||
github: herrbischoff
|
||||
custom: https://www.gofundme.com/f/women-empowerment-in-zanzibar
|
||||
62
README.md
62
README.md
@@ -1,41 +1,45 @@
|
||||
# Country IP Blocks
|
||||
|
||||
## IF YOU'RE LOOKING TO USE THE IPS FOR GEOBLOCKING, THIS IS NOT WHAT YOU WANT. READ THE NOTE BELOW!
|
||||
I've decided to retire this project due to the massive amount of people unable
|
||||
to understand that the IP lists generated are not suitable for the purposes they
|
||||
use it for - often geoblocking. Despite repeated notices many just keep ignoring
|
||||
them.
|
||||
|
||||
You want to use <https://ipbl.herrbischoff.com/geoip/> instead.
|
||||
Moving off GitHub was one of the best decisions ever to aid in reducing
|
||||
signal-to-noise ratio. But I still receive emails about supposedly missing IP
|
||||
blocks for certain countries.
|
||||
|
||||
## Information
|
||||
I'll be continuing this project privately. In the interest of not disrupting
|
||||
things too drastically and giving everyone an opportunity to notice and migrate,
|
||||
I'm going to leave this repository in place for the time being. But I cannot be
|
||||
clearer than this: **It may go away at any time.**
|
||||
|
||||
These have a thousand and one uses but are surprisingly hard to come by in
|
||||
bulk.
|
||||
If you have a use-case beyond geoblocking for the data, I'd like to hear from
|
||||
you. I will gladly restore read-only Git access to the up-to-date private
|
||||
repository for you.
|
||||
|
||||
* IPv4 and IPv6 ranges available.
|
||||
* Compiled directly from AFRINIC, APNIC, ARIN, LACNIC and RIPENCC data.
|
||||
* Deduplicated and subnets merged for efficiency.
|
||||
* Simplified and sorted by country TLD.
|
||||
* CIDR notation.
|
||||
* Updated hourly, commits only appear when there are changes.
|
||||
You can find IP lists suitable for country-level geolocation and geoblocking
|
||||
here:
|
||||
|
||||
## Note
|
||||
<https://ipbl.herrbischoff.com/geoip/>
|
||||
|
||||
There are more than a dozen commercial IP geolocation database providers, and
|
||||
the accuracy of each provider is different. They get IP address information
|
||||
from the RIRs, but the assignment changes regularly as some companies release
|
||||
unwanted IP addresses and others obtain a new block of IP addresses.
|
||||
Make sure you adjust to using them from now on.
|
||||
|
||||
The blocks of IP addresses assigned to many companies can, in turn, assign them
|
||||
to their users however they want without geographic boundaries. This makes
|
||||
pinpointing geolocation of an IP address rather difficult. The accuracy of
|
||||
geolocation data differs by provider. You can generally expect a 95% to 99%
|
||||
accuracy for the country level. The more granular you get, the less precise the
|
||||
data becomes.
|
||||
The same limits as always apply. If you download them in bulk or aggressively
|
||||
probe for updates, you **will** get blocked. The IPs are updated at most once
|
||||
per day, often even less than that.
|
||||
|
||||
This projects downloads the information directly from the local RIRs and is as
|
||||
accurate as the data provided. More often than not, the country attached to an
|
||||
IP range is the one the registering company is located in. There is no reliable
|
||||
way to determine the physical location of any IP without tracing it separately.
|
||||
I can also only repeat encouraging you to become a supporter by setting up a
|
||||
recurring donation on GitHub. I chose GitHub sponsors since it's the easiest
|
||||
to handle and they also absorb all the risk of credit card transactions. I'm
|
||||
doing all of my public work while living off social security (if you call that
|
||||
"living" and which is about to run out anyway) and fighting off depression
|
||||
caused by existential dread. Many days I wake up questioning my will to go on.
|
||||
|
||||
For an alternative source, please see the companion repository which is likely
|
||||
more accurate with regards to the expectations of many users.
|
||||
I'm aware that it's hard for many right now. Money's tight, I get it. I have
|
||||
20 years of experience working in IT. I couldn't get a job despite trying hard.
|
||||
There's a difference between cutting back on luxuries and having to take on a
|
||||
minimum wage job as a grocery store clerk just to make ends meet while still
|
||||
living below the official poverty line despite working. Which is me right now.
|
||||
|
||||
<https://herrbischoff.com/code/me/country-ip-blocks-alternative>
|
||||
<https://github.com/sponsors/herrbischoff>
|
||||
|
||||
@@ -593,7 +593,10 @@
|
||||
131.222.136.0/21
|
||||
131.222.144.0/20
|
||||
131.222.160.0/19
|
||||
131.222.192.0/19
|
||||
131.222.192.0/22
|
||||
131.222.196.0/23
|
||||
131.222.200.0/21
|
||||
131.222.208.0/20
|
||||
132.243.112.0/20
|
||||
134.0.216.0/21
|
||||
135.136.176.0/20
|
||||
@@ -663,6 +666,7 @@
|
||||
185.21.12.0/22
|
||||
185.21.140.0/22
|
||||
185.22.228.0/24
|
||||
185.24.72.0/22
|
||||
185.26.24.0/22
|
||||
185.27.116.0/22
|
||||
185.28.12.0/22
|
||||
|
||||
@@ -194,6 +194,9 @@
|
||||
63.247.208.0/20
|
||||
64.34.16.0/22
|
||||
64.239.60.0/23
|
||||
66.203.248.0/21
|
||||
66.204.0.0/16
|
||||
66.205.0.0/18
|
||||
77.72.160.0/21
|
||||
77.74.112.0/21
|
||||
77.75.16.0/20
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
45.65.240.0/22
|
||||
45.68.16.0/22
|
||||
45.68.44.0/22
|
||||
45.68.114.0/23
|
||||
45.71.8.0/22
|
||||
45.71.44.0/22
|
||||
45.160.4.0/22
|
||||
|
||||
@@ -1214,6 +1214,7 @@
|
||||
77.247.80.0/21
|
||||
77.247.96.0/22
|
||||
77.247.193.0/24
|
||||
78.18.0.0/15
|
||||
78.24.207.0/24
|
||||
78.31.64.0/21
|
||||
78.31.164.0/24
|
||||
@@ -1878,6 +1879,7 @@
|
||||
91.92.67.0/24
|
||||
91.96.0.0/14
|
||||
91.102.8.0/21
|
||||
91.102.121.0/24
|
||||
91.102.136.0/21
|
||||
91.103.8.0/21
|
||||
91.103.35.0/24
|
||||
|
||||
@@ -705,8 +705,6 @@
|
||||
85.137.208.0/21
|
||||
85.137.216.0/22
|
||||
85.137.224.0/22
|
||||
85.137.238.0/23
|
||||
85.137.240.0/21
|
||||
85.152.0.0/16
|
||||
85.155.0.0/19
|
||||
85.155.168.0/21
|
||||
@@ -3028,7 +3026,6 @@
|
||||
194.76.172.0/23
|
||||
194.93.44.0/22
|
||||
194.104.141.0/24
|
||||
194.104.231.0/24
|
||||
194.106.0.0/19
|
||||
194.107.136.0/22
|
||||
194.110.201.0/24
|
||||
|
||||
@@ -4037,7 +4037,6 @@
|
||||
185.23.254.0/23
|
||||
185.24.8.0/21
|
||||
185.24.64.0/22
|
||||
185.24.72.0/22
|
||||
185.24.84.0/22
|
||||
185.24.120.0/22
|
||||
185.25.32.0/22
|
||||
|
||||
@@ -531,6 +531,8 @@
|
||||
85.8.182.0/23
|
||||
85.31.48.0/22
|
||||
85.92.112.0/22
|
||||
85.137.238.0/23
|
||||
85.137.240.0/21
|
||||
85.208.56.0/22
|
||||
85.208.84.0/24
|
||||
85.208.208.0/24
|
||||
@@ -550,6 +552,7 @@
|
||||
88.218.48.0/22
|
||||
88.218.64.0/24
|
||||
88.218.184.0/22
|
||||
91.102.120.0/24
|
||||
91.188.236.0/22
|
||||
91.188.240.0/22
|
||||
91.190.152.0/24
|
||||
|
||||
@@ -121,7 +121,6 @@
|
||||
77.95.160.0/21
|
||||
77.107.192.0/18
|
||||
78.16.0.0/16
|
||||
78.18.0.0/15
|
||||
78.24.16.0/21
|
||||
78.31.212.0/23
|
||||
78.135.128.0/17
|
||||
|
||||
@@ -1069,6 +1069,7 @@
|
||||
194.104.98.0/24
|
||||
194.104.112.0/24
|
||||
194.104.126.0/24
|
||||
194.104.231.0/24
|
||||
194.110.195.0/24
|
||||
194.110.207.0/24
|
||||
194.117.53.128/25
|
||||
|
||||
@@ -381,6 +381,9 @@
|
||||
136.234.127.0/24
|
||||
136.234.128.0/17
|
||||
137.63.0.0/17
|
||||
138.15.0.0/16
|
||||
138.16.0.0/15
|
||||
138.18.0.0/16
|
||||
141.133.0.0/16
|
||||
141.193.20.0/24
|
||||
146.19.10.0/24
|
||||
|
||||
@@ -588,6 +588,7 @@
|
||||
131.222.128.0/24
|
||||
131.222.130.0/23
|
||||
131.222.132.0/24
|
||||
131.222.198.0/23
|
||||
131.222.224.0/19
|
||||
134.19.200.0/21
|
||||
134.255.199.0/24
|
||||
|
||||
@@ -5118,9 +5118,6 @@
|
||||
66.203.120.0/22
|
||||
66.203.128.0/20
|
||||
66.203.224.0/20
|
||||
66.203.248.0/21
|
||||
66.204.0.0/16
|
||||
66.205.0.0/18
|
||||
66.205.96.0/19
|
||||
66.205.128.0/18
|
||||
66.205.192.0/19
|
||||
@@ -9729,9 +9726,6 @@
|
||||
138.5.0.0/16
|
||||
138.8.0.0/15
|
||||
138.12.0.0/15
|
||||
138.15.0.0/16
|
||||
138.16.0.0/15
|
||||
138.18.0.0/16
|
||||
138.20.0.0/16
|
||||
138.23.0.0/16
|
||||
138.26.0.0/15
|
||||
|
||||
@@ -541,7 +541,6 @@
|
||||
2801:81:190::/48
|
||||
2801:81:1a0::/48
|
||||
2801:81:1b0::/48
|
||||
2801:81:1c0::/48
|
||||
2801:81:1d0::/48
|
||||
2801:81:1e0::/48
|
||||
2801:81:1f0::/48
|
||||
@@ -549,6 +548,7 @@
|
||||
2801:81:220::/48
|
||||
2801:81:230::/48
|
||||
2801:81:240::/48
|
||||
2801:81:250::/48
|
||||
2801:82::/32
|
||||
2801:84::/32
|
||||
2801:86::/32
|
||||
@@ -8921,5 +8921,6 @@
|
||||
2804:9878::/32
|
||||
2804:987c::/32
|
||||
2804:9880::/32
|
||||
2804:9884::/32
|
||||
2a00:aee0::/29
|
||||
2a06:b700::/29
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
2801:19:2000::/48
|
||||
2801:1a:1000::/48
|
||||
2801:1a:8000::/48
|
||||
2801:1a:8400::/48
|
||||
2801:1b:1000::/48
|
||||
2801:1b:4000::/48
|
||||
2801:1b:6000::/48
|
||||
|
||||
@@ -980,7 +980,6 @@
|
||||
2a04:21c0::/29
|
||||
2a04:2340::/29
|
||||
2a04:2840::/29
|
||||
2a04:2ac0::/29
|
||||
2a04:2b00::/29
|
||||
2a04:3440::/29
|
||||
2a04:36c0::/29
|
||||
|
||||
@@ -913,6 +913,7 @@
|
||||
2a11:f1c0::/29
|
||||
2a11:ff00::/29
|
||||
2a12:740::/29
|
||||
2a12:1280::/29
|
||||
2a12:2b40::/29
|
||||
2a12:4d80::/29
|
||||
2a12:4e80::/32
|
||||
|
||||
@@ -571,6 +571,7 @@
|
||||
2a12:8000::/29
|
||||
2a12:8540::/29
|
||||
2a12:8740::/29
|
||||
2a12:8940::/29
|
||||
2a12:9040::/29
|
||||
2a12:9ac0::/29
|
||||
2a12:aac0::/29
|
||||
|
||||
Reference in New Issue
Block a user