Adds security tools, such as a rate limiter, IP block/allow, server logs (#1606)

* added ratelimiter
* Adds server logs to admin ui
* Added IP allow/ban list
* fixed remove ips
* Split rate limit number and unit
* security tab and background tasks for killswitch
* fix test for auditor api

---------

Co-authored-by: dni  <office@dnilabs.com>
This commit is contained in:
Arc 2023-06-20 10:26:33 +01:00 committed by GitHub
parent 758a4ecaf6
commit 7e1f43933d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 963 additions and 123 deletions

View file

@ -33,6 +33,7 @@ Cerberus = "1.3.4"
async-timeout = "4.0.2"
pyln-client = "0.11.1"
cashu = "0.9.0"
slowapi = "^0.1.7"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"