]> git.ipfire.org Git - ipfire.org.git/commit - src/backend/base.py
Deploy rate-limiting
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Jun 2019 09:08:12 +0000 (10:08 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Jun 2019 09:08:12 +0000 (10:08 +0100)
commit372ef1199663398e6010f12dbffc434e4410b4e8
tree268f127c05ce67d907f4dece28af53719e9d2d5c
parentb00cc400ff199019b96fe1571d3b9b66d699812e
Deploy rate-limiting

To avoid any abuse of various functions of the webapp, we
now rate-limit users to a certain number of requests and send
them a HTTP 429 error if they exceed that limit.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/backend/base.py
src/backend/memcached.py
src/backend/ratelimit.py [new file with mode: 0644]
src/web/auth.py
src/web/base.py
src/web/donate.py
src/web/download.py
src/web/newsletter.py
src/web/nopaste.py
src/web/wiki.py