Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNI Extension missing in Client Hello Handshake to HTTPS backend #128

Open
armellin opened this issue Sep 15, 2023 · 3 comments
Open

SNI Extension missing in Client Hello Handshake to HTTPS backend #128

armellin opened this issue Sep 15, 2023 · 3 comments

Comments

@armellin
Copy link

Our HTTPS backend expects the SNI extension in the Client Hello during the handshake, but it seems that the proxy is not sending it, so the backend drops the connection.
Is it by design? Or am I missing anything?

@nevola
Copy link
Contributor

nevola commented Sep 18, 2023

Hi @armellin, SNI extension is used in the client connections. SNI is not supported while connecting to the backends.

Regards.

@armellin
Copy link
Author

Hi @nevola, according to this commit in zproxy by @abdessamad-zevenet it should be supported, isn't it?

Thanks for any further info.

@nevola
Copy link
Contributor

nevola commented Sep 18, 2023

Hi @armellin, the proxy code was rewritten due to design problems. This part is not included yet.

https://github.com/relianoid/proxyng/blob/8a8b426cd141f6e613c7bc64f31a68414c896f14/src/config.cpp#L1498

I would suggest to use layer 4 if it's possible meanwhile this code is re-enabled.
Kind Regards.

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

No branches or pull requests

2 participants