Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vision padding upgrade #1646

Merged
merged 5 commits into from
Feb 28, 2023
Merged

Vision padding upgrade #1646

merged 5 commits into from
Feb 28, 2023

Conversation

yuhan6665
Copy link
Member

No description provided.

@yuhan6665
Copy link
Member Author

I will update it as discussed tomorrow

- Now we have two types of padding: long (pad to 900-1400) and traditional (0-256)
- Long padding is applied to tls handshakes and first (empty) packet
- Traditional padding is applied to all beginning (7) packets of the connection (counted two-way)
- Since receiver changed its way to unpad buffer in fd6973b, we can freely extend padding packet length easily in the future
- Simplify code
Now default withinPaddingBuffers = true to give it a chance to do unpadding
@yuhan6665 yuhan6665 changed the title Vision server allow multiple blocks of padding Vision padding upgrade Feb 28, 2023
@yuhan6665 yuhan6665 merged commit 2d89848 into XTLS:main Feb 28, 2023
@yuhan6665 yuhan6665 deleted the padding branch March 29, 2023 03:28
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