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

network/conn may leak message size to an observer #5

Closed
cpud36 opened this issue Aug 18, 2023 · 2 comments
Closed

network/conn may leak message size to an observer #5

cpud36 opened this issue Aug 18, 2023 · 2 comments

Comments

@cpud36
Copy link

cpud36 commented Aug 18, 2023

WritePayload issues 4 separate Write calls to the underlying connection.

It may be the case, that OS sends each part of the request in a separate IP packet.

In such case, an observer can deduce size of the message and the void part.

@number571
Copy link
Owner

I completely agree, I will try to fix it soon.

@number571
Copy link
Owner

Corrected this case in commit: 26e666c.

@cpud36 cpud36 closed this as completed Aug 18, 2023
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

No branches or pull requests

2 participants