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

Document gotchas using Gun from multiple entities using HTTP/2 #333

Open
essen opened this issue Feb 29, 2024 · 0 comments
Open

Document gotchas using Gun from multiple entities using HTTP/2 #333

essen opened this issue Feb 29, 2024 · 0 comments

Comments

@essen
Copy link
Member

essen commented Feb 29, 2024

https://datatracker.ietf.org/doc/html/rfc7541#section-7.1

If Gun is used to have a single connection to an origin, serving requests from mutually distrustful entities (for example if Gun is used to implement a proxy merging multiple connections into one), then the current implementation of Gun is not as secure as it could be as attacks on the connection's dynamic state are possible (though fairly difficult).

The same will be true in the initial HTTP/3 release.

In proxy cases part of the solution will require some modifications in Cowboy as well, to propagate the never indexed bits.

This is something that would be nice to fix eventually but for the time being the appropriate explanations and disclaimer will do.

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

1 participant