I don’t know if you are aware or not, but there are some reports that the government of Iran is actively blocking Cloudflare IP Adresses in some regions of Iran. For instance you can have a look here on Github:
https://github.com/net4people/bbs/issues/172
So, as a counter-measure I wanted to develop an app to check if Cloudflare IP Addresses, https://www.cloudflare.com/ips/
are blocked or not, something simple not a big project like OONI https://en.wikipedia.org/wiki/OONI
.
And here is my problem. When I want to check the IPs in a specific subnet, for examlpe:
103.21.244.0/22
Some of them are already not pingable (or reachable), like:
103.21.245.0
103.21.245.1
103.21.245.2
103.21.245.3
103.21.245.4
103.21.245.5
103.21.245.6
103.21.245.7
103.21.245.8
103.21.245.9
...
So, how I can check Cloudflare availability in a specific network?