[GH-ISSUE #153] Feature suggestion: Let users set a random time limit range for session stream (or maybe optionally default one) and randomly recreate the stream (preferably with different SNI) #124

Open
opened 2026-02-26 12:34:03 +03:00 by kerem · 1 comment
Owner

Originally created by @notsure2 on GitHub (Jan 21, 2021).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/153

Hello,
I got an idea for a nice feature.

Since having a long connection (even in the case of a singleplex) might itself be a signature, let an optional flag be set or let users specify a time range limit so that underlying tcp connection would be closed and recreated (of course without interrupting the top layer tcp connection) with random intervals within the range and preferably with differing SNIs to avoid connection time analysis.

This is applicable even for singleplex mode. Of course this feature will result in latency spike when the connection is recycled, so it should be optional, but it maybe useful for users in very restrictive environment where there is an adaptive firewall or algorithm that looks for HTTPS connections that look like proxies.

SoftEther has this feature.

Originally created by @notsure2 on GitHub (Jan 21, 2021). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/153 Hello, I got an idea for a nice feature. Since having a long connection (even in the case of a singleplex) might itself be a signature, let an optional flag be set or let users specify a time range limit so that underlying tcp connection would be closed and recreated (of course without interrupting the top layer tcp connection) with random intervals within the range and preferably with differing SNIs to avoid connection time analysis. This is applicable even for singleplex mode. Of course this feature will result in latency spike when the connection is recycled, so it should be optional, but it maybe useful for users in very restrictive environment where there is an adaptive firewall or algorithm that looks for HTTPS connections that look like proxies. SoftEther has this feature.
Author
Owner

@alexander-potemkin commented on GitHub (Sep 5, 2022):

it would be a lovely feature, indeed

<!-- gh-comment-id:1236700553 --> @alexander-potemkin commented on GitHub (Sep 5, 2022): it would be a lovely feature, indeed
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#124
No description provided.