Skip to content

feat(vmess): add length mask (opt=4)#298

Merged
nadoo merged 1 commit intonadoo:devfrom
mzz2017:feat_vmess_add_length_mask
Nov 28, 2021
Merged

feat(vmess): add length mask (opt=4)#298
nadoo merged 1 commit intonadoo:devfrom
mzz2017:feat_vmess_add_length_mask

Conversation

@mzz2017
Copy link
Copy Markdown
Contributor

@mzz2017 mzz2017 commented Nov 18, 2021

The vmess implementation of glider did not have opt=4 which is length confusion. The middleman can easily get a feature by comparing the length of the first 2 bytes (plaintext of length) of the chunk with the actual length of the TCP stream chunk.

For example, if there is a connection to the port that does not meet this feature (with opt=4) and another meets the feature, and the port is confirmed unknown traffic, it can be preliminarily judged to be vmess.

@nadoo nadoo changed the base branch from master to dev November 28, 2021 15:02
@nadoo nadoo merged commit 6006ec1 into nadoo:dev Nov 28, 2021
@nadoo
Copy link
Copy Markdown
Owner

nadoo commented Nov 28, 2021

Thanks!

@nadoo nadoo mentioned this pull request Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants