Sept. 28, 2016, 10:46 a.m.
Posted by soar

CloudFlare sudden changes

Today CloudFlare give me a surprise. Following their recommendations, on many projects I block incoming connections to the web-server port, allowing requests only from CloudFlare IP ranges. They have an article about this and they provide lists of IPv4 and IPv6 addresses.

But today happened two terrible things.

First of all, the URL without the slash at the end now returns Moved Permanently to address with a slash:

$ curl -v "https://www.cloudflare.com/ips-v4"
< HTTP/1.1 301 Moved Permanently
< Location: https://www.cloudflare.com/ips-v4/

In addition, this "plain-text" file became "not-just-text":

$ curl "https://www.cloudflare.com/ips-v4/"
<pre style="word-wrap: break-word; white-space: pre-wrap;">103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
104.16.0.0/12
108.162.192.0/18
131.0.72.0/22
141.101.64.0/18
162.158.0.0/15
172.64.0.0/13
173.245.48.0/20
188.114.96.0/20
190.93.240.0/20
197.234.240.0/22
198.41.128.0/17
199.27.128.0/21
</pre>

The first change I can explain with unification of URL-addresses. But why in plain-text file suddenly appears HTML-tag - I absolutely don't understand.

PS: And still CloudFlare are one of the best guys in the Internet. They propose one of the most high-quality free service, that I use many years. Thank you!

Comments