Re:Show HN: Textdb.dev – simple data sharing for fun projects
by bontaq on Saturday July 25, 2020 @08:34AM
(#23948720)
Thanks 8), rate limiting is just the most basic of nginx configs to like, 10 requests / second / ip
[ Parent
| on HN ]
Re:Show HN: Textdb.dev – simple data sharing for fun projects
by sreekotay on Saturday July 25, 2020 @11:42AM
(#23949996)
Really simple cool! One minor thing on the IP rate limiting side.... LOTS of mobile/cell users might end up NAT'ed behind a single IP. Just an FYI.
Re:Show HN: Textdb.dev – simple data sharing for fun projects
by sreekotay on Monday July 27, 2020 @10:27AM
(#23965360)
wellllll there's no GREAT answer. Usuallllllyyy this is why some lightweight authentication is a good idea? Some kind of TGT/token scheme, and then rate limit based on that? But does make it all a little less "just works"
Re:Show HN: Textdb.dev – simple data sharing for fun projects
by blisseyGo on Saturday July 25, 2020 @04:09PM
(#23952012)
That's a good point. How does one rate limit correctly in that case?
Re:Show HN: Textdb.dev – simple data sharing for fun projects
by lioeters on Saturday July 25, 2020 @04:48PM
(#23952279)
I don't think it's possible to correctly rate limit IPs behind NAT, at least with NGINX.
> Note that IP addresses can be shared behind NAT devices, so limiting by IP address should be used judiciously.
https://docs.nginx.com/nginx/admin-guide/security-controls/c...
Re:Show HN: Textdb.dev – simple data sharing for fun projects
by anderspitman on Saturday July 25, 2020 @07:10PM
(#23953102)
Rate limiting by data UUID might actually be pretty effective. I should add that to patchbay.pub.
Re:Show HN: Textdb.dev – simple data sharing for fun projects
by blisseyGo on Saturday July 25, 2020 @08:19PM
(#23953397)
That might be an issue if someone is using it to deliver lets say settings json and multiple users try to request the file.
Re:Show HN: Textdb.dev – simple data sharing for fun projects
by NetOpWibby on Saturday July 25, 2020 @09:40AM
(#23949077)
Oh nice, that sounds simple enough.