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

Limit amount of data published by Box #15

Open
michielbdejong opened this issue Mar 16, 2016 · 0 comments
Open

Limit amount of data published by Box #15

michielbdejong opened this issue Mar 16, 2016 · 0 comments

Comments

@michielbdejong
Copy link
Contributor

Right now, a Box can call:

curl -X POST https://knilxof.org:4243/register -d "{\"local_ip\":\"some...very...long...string\",\"tunnel_url\":\"b\"}"

and we don't limit how long that string is. We should harden this a bit; this is a follow-up to: #11 (comment)

When limiting the length of the string sent in one call, we probably also want to limit the number of calls per second.

We can do this at the same time where we drop the formatting restrictions on the string sent (these restrictions don't really contribute anything apart from complicating our server upgrade path), see #11 (comment)

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