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

[feature] Allow device metric API view to receive compressed data #485

Open
nemesifier opened this issue Dec 29, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@nemesifier
Copy link
Member

We could accept gzip compressed data in the payload or a different lighter format like messagepack.
The problem with Gzip is that we would have to implement logic to protect the system from zip bomb attacks.
The problem with messagepack is that we'd have to add another dependency to not only the server but also the OpenWrt agent, but we could solve this by making this optional.

I will leave this here as an idea for now, we will come back to it later on if there's more consensus on the next steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant