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

fix(state/statebag): filter frequent & large data from client #2362

Merged
merged 1 commit into from
Jan 29, 2024

Commits on Jan 26, 2024

  1. fix(state/statebag): filter frequent & large data from client

    * if we accept these willy-nilly, clients could possibly OOM the server, or do a one-to-many make-shift DoS on larger a server
    * the size limits here are kept high to keep compatibility with people who "misuse" state bags
    * sane defaults for servers that don't send large data via state bags would be `set rateLimiter_stateBagSize_rate 8196` and `set rateLimiter_stateBagSize_burst 16364`
    AvarianKnight committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    8fd89d6 View commit details
    Browse the repository at this point in the history