Opportunistic Onion
summary
Prototype uses an HTTP alt-svc header so a regular example.com response tells supporting Tor clients “also reach me at this .onion”; the browser then builds a Tor circuit directly to the hidden service and verifies the existing TLS certificate (so a Let’s Encrypt cert for example.com covers the onion). Only the first request traverses an exit node; subsequent traffic stays inside Tor, cutting exit load, narrowing exit-node attack surface, and enabling circuit-level rate limiting. A Caddy plugin caddy-alt-onion implements the scheme and is already testable.
AI-written summary · about
chapters (12)
- 0:00Introduction and background
- 1:05Opportunistic encryption concept
- 2:31Tor network crash course
- 5:00Onion service architecture
- 6:07HTTPS certificate challenges
- 7:46Alt-Svc header mechanism
- 9:33Client connection to onion service
- 11:20Benefits of the system
- 12:49Privacy and correlation attacks
- 13:52Cloudflare’s motivation
- 15:14Implementation and testing
- 16:56Q&A session
