-
Notifications
You must be signed in to change notification settings - Fork 844
Use client setting for max_frame size #5896
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
Conversation
|
[approve ci clang-analyzer] |
|
[approve ci clang-format] |
|
Nice catch. This is what we're missing. Does this improve performance when client set the setting?
|
|
@masaori335 @shinrich It seems your comments / concerns around unfiltered use of this settings was ignored? Are we ok with this-as is? Is there a DOS attack vector here ? If so, how would we address this, another records.config setting with a max-cap that we allow ? |
|
When malicious client set 16MB, ATS easily get a stack overflow. ( UPDATE: The buffer I'm worrying about is in line 1485 trafficserver/proxy/http2/Http2ConnectionState.cc Line 1485 in 473e054
|
masaori335
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a security concern commented above.
|
Moving out to 9.1.x |
|
Agreed if we take their value, we should have another max possible setting to limit how much we are willing to open things up. |
|
Closing this for now. Sounds like we need to take a more nuanced approach |
|
Since #6337 removed the concerning buffer, maybe we can do this now? |
It appears that currently the major browsers do not set the max frame size in the settings, but it seems that we should take them up on larger frame sizes if they are willing to handle them.