-
Notifications
You must be signed in to change notification settings - Fork 656
Description
Describe the bug
Whenever a proxy is used, the proxy hostname is used in the TLS handshake server_name extension (SNI). This leads to problems in various TLS contexts
To Reproduce
start a initiator session at least with the following settings active:
SocketConnectHost=[your-connect-host]
ProxyType=socks
ProxyVersion=5
ProxyHost=[your-socks-proxy-host]
ProxyPort=[your-proxy-port]
whenever you are connecting, [your-socks-proxy-host] is now set as SNI which is wrong.
Expected behavior
the expected result is that [your-connect-host] is used as SNI in the TLS handshake packet. if multiple connect hosts are given, the appropriate host that is currently connected to is to be set.
system information:
- OS: Linux
- Java version: Temurin-17.0.15+6
- QFJ Version 2.3.1 and 2.3.2
Additional context
2.3.2 has removed the option to enable/disable SNI. Seems that it is now always on which also might break connections where now a SNI is implicitely set .