Skip to content

Add separate handshake timeout#447

Merged
9seconds merged 1 commit into
masterfrom
handshake-timeout
Apr 7, 2026
Merged

Add separate handshake timeout#447
9seconds merged 1 commit into
masterfrom
handshake-timeout

Conversation

@9seconds
Copy link
Copy Markdown
Owner

@9seconds 9seconds commented Apr 7, 2026

This PR adds a new setting to the config: network.timeout. This setting defines a time period during which all handshake procedures and ceremonies must be completed. If not - connection is aborted. This should help in situations when connection is established but client cannot continue for some reason (for example, RST sent by some middle box).

I understand that it exposes some possibility of detection but current generation of DPI systems tend to harm live proxies with such idle connections more.

This PR adds a new setting to the config: `network.timeout`. This setting
defines a time period during which all handshake procedures and
ceremonies must be completed. If not - connection is aborted. This
should help in situations when connection is established but client
cannot continue for some reason (for example, RST sent by some middle box).
@9seconds 9seconds merged commit efc65f3 into master Apr 7, 2026
10 checks passed
@9seconds 9seconds deleted the handshake-timeout branch April 7, 2026 06:29
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