SSL DND(Donot Decrypt)

Proxy does not terminate SSL Connection from Client & TLS handshake occurs directly between the client and the remote server
* Proxy will not inspect the encrypted payload.
* Proxy uses the Host header from CONNECT request (OR SNI Header in the Client Hello) to perform DNS resolution and routing.

Flow

There are 2 distinct TCP legs.
1. Inbound Leg: Proxy accepts a TCP connection on the listener port and parses the initial HTTP CONNECT header.
2. Resolution: Proxy performs an asynchronous DNS lookup for the requested target.
3. Outbound Leg: Proxy initiates a secondary TCP handshake with the target IP on the external interface (eth0).
4. Promotion: Upon successful upstream connection, the proxy returns 200 Connection Established and promotes the sockets to a bi-directional "pipe."
SSL_DND