← Mon, Sep 14 digest

Cloudflare AKE cuts origin HelloRetryRequests from 52% to 3.7%

read article ↗ hn thread ↗

summary

Cloudflare is implementing Automatic Key Exchange to eliminate the latency penalties and manual configuration required for post-quantum secure TLS 1.3 connections between its proxy and origin servers. By proactively scanning origin servers to determine their supported key agreement algorithms, Cloudflare can lead with the most secure and compatible option in the initial handshake. This approach reduces HelloRetryRequest frequency and speeds up connection times while protecting data from future quantum-based decryption. The goal is to make the internet quantum-secure by 2029 without requiring individual website operators to be cryptography experts.

key points

  1. The system replaces static guesses of key agreement algorithms with active measurements, reducing HelloRetryRequest rates from 52% to 3.7% and cutting p90 latency by over 150ms.
  2. It prioritizes post-quantum hybrid algorithms like X25519MLKEM768 to defend against 'harvest-now, decrypt-later' attacks, automatically upgrading millions of connections without user intervention.
  3. The infrastructure includes a daily scanning pipeline and a safety-first rollout mechanism that monitors failure rates and automatically reverts to classical curves if connections break.

who should read it

Website administrators and security engineers who want to improve origin server performance and ensure their infrastructure is resilient against future quantum computing threats.

discussion mixed

consensus

Commenters generally agree that Cloudflare's dominance is driven by its ability to implement the latest protocols and security measures far faster than open-source alternatives. While some express frustration over the resulting centralization and the necessity of letting a third party MitM traffic, others argue that the scale of modern botnet attacks makes such services indispensable for small operators. There is a a consensus that the operational experience gained from managing massive real-world traffic is a competitive advantage that cannot be easily replicated by AI or simulation.

top insight

The explanation of TLS 1.3's design reveals that the protocol intentionally pretends to be a TLS 1.2 client resuming a conversation to bypass legacy 'security' middleboxes. This 'charade' prevents the connection from failing for a significant portion of users who would otherwise be blocked by outdated hardware that does not recognize the version byte increase. This technical detail explains why complex workarounds are necessary for modern protocol deployment.

Generated by an LLM from the article and thread. Check the sources before relying on it.