Skip to content

proxy/tls: TLS termination by Portail - #165

Draft
rlahfa-dinum wants to merge 3 commits into
mainfrom
tls-sni-extraction
Draft

proxy/tls: TLS termination by Portail#165
rlahfa-dinum wants to merge 3 commits into
mainfrom
tls-sni-extraction

Conversation

@rlahfa-dinum

Copy link
Copy Markdown
Collaborator

This is a draft.

Portail did not perform any TLS termination inside tunnels which made it blind about ongoing requests.
In the scenario where Portail is equiped to terminate TLS, e.g. the right wildcard certificates, Portail will not transfer blindly the contents and will terminate the inner TLS stream and replay it to the final origin, acting as a TLS termination proxy.

In this scenario, Portail will run an additional set of ACL rules inside of the tunnel, this time with full context about the exact requests being done.
This introduces small latency but greatly increase the security of the scheme.


Stack created with GitHub Stacks CLIGive Feedback 💬

@rlahfa-dinum
rlahfa-dinum force-pushed the tls-sni-extraction branch 2 times, most recently from c737114 to e31cd15 Compare August 7, 2026 11:27
@rlahfa-dinum
rlahfa-dinum force-pushed the tls-sni-extraction branch 2 times, most recently from 9db5fb2 to 464f659 Compare August 7, 2026 13:28
@rlahfa-dinum
rlahfa-dinum force-pushed the tls-sni-extraction branch 2 times, most recently from 8c693d9 to 6cf19cf Compare August 7, 2026 14:52
Base automatically changed from more-timeouts to main August 7, 2026 15:37
We now analyze deeply the client hello, including PQC details.
Those details will be exposed in the ACL as well to enable PQC
transition.

Signed-off-by: Ryan Lahfa <ryan.lahfa.ext@numerique.gouv.fr>
Signed-off-by: Ryan Lahfa <ryan.lahfa.ext@numerique.gouv.fr>
Signed-off-by: Ryan Lahfa <ryan.lahfa.ext@numerique.gouv.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant