News for hackers. Stuff that matters.
Re:Cloudflare had a partial outage by booi on Tuesday June 21, 2022 @03:24AM (#31821196)
Wouldn't this expose the origin IPs to attack?
Re:Cloudflare had a partial outage by mccorrinall on Tuesday June 21, 2022 @03:29AM (#31821233)
Yes, but he says in his second sentence that he doesn’t mind and mainly uses CF for performance.
Re:Cloudflare had a partial outage by phillipseamore on Tuesday June 21, 2022 @03:31AM (#31821241)
Plenty of commenters also seem to miss the most important word in the first sentence: "option".
Re:Cloudflare had a partial outage by phillipseamore on Tuesday June 21, 2022 @03:26AM (#31821206)
I'm talking about this as an option for users like me, that don't have an attack surface, but need the global performance gains of CF.
Re:Cloudflare had a partial outage by 1123581321 on Tuesday June 21, 2022 @03:29AM (#31821231)
Probably not many users who need the performance and can handle unexpected failover. There would also be the issue of setting the policy defaults effectively. Most users wouldn’t benefit from this footgun.

If you’re serious, you could probably automate this right now with your DNS provider and uptime monitoring.

Re:Cloudflare had a partial outage by phillipseamore on Tuesday June 21, 2022 @03:34AM (#31821264)
I'm so serious that I already have failover after 1 hour at the registrar level, but those changes are not immediate and can take up to 24h to roll-in and roll-back due to DNS propagation and caching.
Re:Cloudflare had a partial outage by phillipseamore on Tuesday June 21, 2022 @03:45AM (#31821344)
We seem to have hit the nesting maximum 1123581321, but to your point "There is no immediate option with DNS changes."

There's a huge difference in changing nameservers for a domain and simply changing host records.

Re:Cloudflare had a partial outage by efreak on Tuesday June 21, 2022 @04:45AM (#31821745)
This is a 7th level comment. Synu below[0] has a 9th level comment, and I've seen nested comments go quite a bit further.

[0] https://news.ycombinator.com/item?id=31821497

Re:Cloudflare had a partial outage by pxeger1 on Tuesday June 21, 2022 @06:07AM (#31822220)
I think there is no nesting maximum (or if there is, it's much bigger than this). There's a limit which stops you replying to a comment immediately, to prevent super long quick-fire arguments.
Re:Cloudflare had a partial outage by 1123581321 on Tuesday June 21, 2022 @09:40AM (#31823815)
Ah, sorry, misunderstood you. You can’t rely on them to change their host records when they’re down.

If you want CDN-independent automatic failover, look into anycast with two providers. If one of them is Cloudflare, use the tier that lets you manage your DNS elsewhere.

Re:Cloudflare had a partial outage by 1123581321 on Tuesday June 21, 2022 @03:39AM (#31821303)
There is no immediate option with DNS changes. CF can’t immediately remove their IP from the route. Sounds like you’ve solved your problem in the sense that you have an automatic failover, though, which is good.
Re:Cloudflare had a partial outage by chrisweekly on Tuesday June 21, 2022 @07:10AM (#31822565)
Typically CF _is_ the DNS provider though, right?
Re:Cloudflare had a partial outage by 1123581321 on Tuesday June 21, 2022 @10:25AM (#31824291)
Only up until the $200/mo tier. This kind of feature would be locked at that level anyway.

As I said to the OP elsewhere, he should be doing something like anycast to multiple CDNs if this is critical.

Re:Cloudflare had a partial outage by hatthew on Tuesday June 21, 2022 @03:28AM (#31821221)
Yes, but I'd wager that most sites experience cloudflare outages more often than they experience bona fide attacks.
Re:Cloudflare had a partial outage by Cthulhu_ on Tuesday June 21, 2022 @04:36AM (#31821690)
You say that, but there's tons of automated attempts doing the rounds on everything directly connected to the internet; centralized providers like Cloudflare can detect and prevent these patterns, whereas you need to be on the ball yourself if you have a service directly open to the internet. Exploits are exploited quickly, and while I make no assumptions about your particular website / application, a lot cannot push an update on short notice.
Re:Cloudflare had a partial outage by scrollaway on Tuesday June 21, 2022 @06:47AM (#31822417)
You would lose your wager.

DDoS attacks are extremely common at just about any scale, even if you only have a few thousand users.

Cloudflare going down like this? Actually first time I remember it happening. There’s been downtime before but nothing so major.

Re:Cloudflare had a partial outage by londons_explore on Tuesday June 21, 2022 @04:09AM (#31821509)
The origin IP's are already open to attack for most users.

It's trivial to scan the whole IPv4 internet to find out which IP you are hosting your site on.

Re:Cloudflare had a partial outage by renonce on Tuesday June 21, 2022 @04:19AM (#31821575)
You need to block 443 for any other IP than Cloudflare. The IP list can be found at https://www.cloudflare.com/ips/.
Re:Cloudflare had a partial outage by dingdongthe on Tuesday June 21, 2022 @04:25AM (#31821621)
and/or use Authenticated Origin Pulls with a TLS client certificate.
Re:Cloudflare had a partial outage by renonce on Monday June 27, 2022 @08:58AM (#31893936)
That would leak your IP nevertheless. People can figure out that you're serving a specific website by inspecting your certificate on handshake without actually connecting.