Re:IPv6 support for cloning Git repositories from GitHub
by tambre on Wednesday August 24, 2022 @12:44PM
(#32582067)
The most touted reason is that their anti-spam systems only support IPv4. Their old Cloudflare endpoint however is still alive and you can't disable IPv6 on Cloudflare so feel free to add the following to your /etc/hosts:
Interestingly when I tried to post the above comment over IPv6 I got a Cloudflare "You have been blocked" page. This might be something they do not want you to know! :D
[ Parent
| on HN ]
Re:IPv6 support for cloning Git repositories from GitHub
by r1ch on Wednesday August 24, 2022 @05:11PM
(#32585823)
This was an interesting Cloudflare "feature" I found out about the hard way. Even if you only use Cloudflare for DNS hosting, they will happily accept proxied requests for your hostnames and route them to your origin. I discovered this when we received a L7 DDoS from only Cloudflare IPs - the attacker had pointed their bots at Cloudflare with our hostname (bold move!).
The official solution (and might be why you see the blocked page) is to set up the WAF to block all requests.
Re:IPv6 support for cloning Git repositories from GitHub
by powerhour on Thursday August 25, 2022 @01:09AM
(#32589759)
Could you elaborate on this? What is being proxied, http requests? And can you use any CF IP?
Re:IPv6 support for cloning Git repositories from GitHub
by r1ch on Thursday August 25, 2022 @01:04PM
(#32596652)
Yes, HTTP / HTTPS requests can be proxied this way. Any CF IP seems to work. HTTPS only works if the target hasn't disabled Universal SSL (i.e, they have a TLS cert provisioned on Cloudflare's IPs).
Re:IPv6 support for cloning Git repositories from GitHub
by remram on Wednesday August 24, 2022 @07:08PM
(#32587076)
Do they also accept proxied requests for domains that are not yet verified?
Re:IPv6 support for cloning Git repositories from GitHub
by exabrial on Wednesday August 24, 2022 @01:30PM
(#32582797)
You in fact CAN disable ipv6 on Cloudflare, but they make you do it with an API request.
Re:IPv6 support for cloning Git repositories from GitHub
by systemz on Wednesday August 24, 2022 @01:44PM
(#32583008)
This was possible only for some time, now it's only enterprise option I'm afraid.
For Free/Pro plan option is grayed out and API refuses to change it.
Re:IPv6 support for cloning Git repositories from GitHub
by tambre on Wednesday August 24, 2022 @03:23PM
(#32584470)
Doesn't that still only remove the records from DNS? So far for all Cloudflare sites that IPv6 disabled I've been able to derive the IPv6 address by hand and make requests without issues.
Re:IPv6 support for cloning Git repositories from GitHub
by stingraycharles on Wednesday August 24, 2022 @01:46PM
(#32583045)
Interesting that apparently this is a problem, I would have thought that spam filtering is completely outsourceable by now.
Doesn’t CloudFlare have good bot detection? What does HN do that relies on IP addresses that CloudFlare can’t do?
Re:IPv6 support for cloning Git repositories from GitHub
by londons_explore on Wednesday August 24, 2022 @02:26PM
(#32583687)
HN can do things like "This user is posting from an IP which geolocates far from where it normally posts from". It can take into account the total post history, user upvotes, etc.
Cloudflare bot detection is more request-by-request. Cloudflares product is more intended to prevent DDoS attacks with millions of bots. I don't think it's sufficiently fine tuned to prevent a handful of spam comments through.
Re:IPv6 support for cloning Git repositories from GitHub
by codeflo on Wednesday August 24, 2022 @01:18PM
(#32582628)
Wouldn’t it be reasonable for their backend to only accept (write) requests from whatever the anti-spam proxy is? Otherwise, there’s little point.
Re:IPv6 support for cloning Git repositories from GitHub
by tambre on Wednesday August 24, 2022 @03:20PM
(#32584421)
Currently there are no proxies in front and you connect directly to their baremetal server hosting the site. I presume the anti-spam system is custom-built and part of their own codebase. Cloudflare is officially sanctioned, but retired from widespread use.