feat(resources): route TCP services by SNI #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/tcp-sni"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
feat/email-otp).Changes
sni_routing, needs a hostname). Its router isHostSNI(name)withtls.passthrough: the TLS connection reaches the target unchanged, so the target terminates TLS (Traefik Control does not terminate TLS for raw resources).HostSNI(*)does not take TLS connections once a port has SNI routers (Traefik answers them with its own default certificate). The default resource of such a port therefore also gets a TLS-passthrough catch-all, so unclaimed names and clients without SNI reach it.sni_routing(OpenAPI document), blueprints (sni_routing: true; matched by port and hostname; export and round trip covered). The node page lists a shared port's entrypoint once.Verification
mix format --check-formatted,mix compile --warnings-as-errors,mix credo --strict,mix dialyzer: clean.mix test: 1406 passed on SQLite and PostgreSQL.latestand three TLS backends with different certificates, resources created through the context:a.example.com,b.example.comand an unclaimed name each reached their own backend (certificate and greeting checked withopenssl s_client), as did a client that sends no name.Notes