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.
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.
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.
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?
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.
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)
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...
Comments (101) 31 threads
Earlier commentsIf I was handling HIPAA data it would be different.
TLS isn’t just about confidentiality - integrity is at least as important.
Continue this thread — 1 reply
I'd assume given Cloudflare's traffic that they know on average the performance will be better on IPv4 so they default to that.
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...
All comments shown.
Couldn't load more comments. Check your connection and try again.