Lurker News

Comments (101) 31 threads

Earlier comments
mannyv3 replies#
I use Fastly, but I also use straight http for origin. Why? Because it’s marginally faster and I don’t really care about the security of my static content. And less processing is always better. And as a bonus I don’t have to worry about my origin showing up in some certificate list scraper.

If I was handling HIPAA data it would be different.

clhodapp2 replies#
How does this not put your users at about as much risk as if they connected to your site over unencrypted HTTP end-to-end? Someone can MITM the connection from Fastly back to your content and replace it with things that are not your static content.
M3L0NM4N#
Even Hacker News didn't realize this for a long time.
amluto#
And these days an attacker can persistently poison you using service workers.

TLS isn’t just about confidentiality - integrity is at least as important.

hnav#
you know that an on the-path attacker can poison your fastly cache, right?
bastawhiz#
It's marginally faster when the cache is cold and there's no open connection. But you also lose out on the benefits of H2, with header compression and the ability to pull many files concurrently over a single connection. The performance difference is almost certainly either exactly a wash or slightly slower with H1, unless you have so few files that no connection stays open for very long anyway: multiple TCP handshakes and header size is going to dominate the single TLS negotiation. Server to server, the cost of encrypting and decrypting is almost unmeasurable compared to network cost.
joshchaney1 reply#
I think this is a non-issue, but if we are going to complain -- It's a problem for Akamai, Fastly, AWS, etc. etc. If you don't want the origin to be hit over IPv4, use a name that only resolves IPv6?
essfrmexistence#
Yeah, its as they say "Don't blame the players - Blame the system"
marcta3 replies#
What's the technical reason behind Cloudflare preferring IPv4 over IPv6 for the origin connection?
bluGill1 reply#
Historically a lot of IPv6 was broken. I'm not sure if that is still true. Many consumer ISPs have great IPv6 support (and have for nearly a decade), but companies often lag behind and may not have IPv4 at all on their network.
PaulHoule2 replies#
The big picture is that people don’t see a huge amount of value in IPv6. Like hypothetically it’s a good idea but the various compensations we have for the limitations of IPv4 are good enough for most people (even corporate persons)
hnav#
Ubiquitous IPv6 is in a way the antithesis of the kind of centralization big corps want. P2P communication without STUN, TURN, UPnP and other jank.
bluGill1 reply#
It should be an invisible technology. It matters for reasons most people shouldn't care about. That doesn't mean it doesn't matter

Continue this thread — 1 reply

cbg0#
IPv6 route optimization was handled poorly by some ISPs in the past with big differences in latency versus IPv4.

I'd assume given Cloudflare's traffic that they know on average the performance will be better on IPv4 so they default to that.

AtNightWeCode#
There is absolutely no value gained by using IPv6 for that use case.
RKearney#
The post introduces an IPv4/IPv6 discussion which distracts from the more egregious design flaw, Flexible SSL[0]. I wish the discussion focused more on this because I've tried raising awareness of this multiple times over the last decade.

Letting the users browser feel safe by thinking it's using a strong TLS connection (and unlocking certain APIs gated by HTTPS such as geoLocation) only to blast the connection over the internet using plain-text is antithetical to the design of HTTPS (notwithstanding first-hop/mile attacks).
[0]: https://developers.cloudflare.com/ssl/origin-configuration/s...

Load more comments