pages-server/server
Felipe Leopoldo Sologuren Gutiérrez c286b3b1d0 Added TokenBucket to limit the rate of validation failures (#151)
Added new TockenBucket named `acmeClientFailLimit` to avoid being banned because of the [Failed validation limit](https://letsencrypt.org/docs/failed-validation-limit/) of Let's Encrypt.

The behaviour is similar to the other limiters blocking the `obtainCert` func ensuring rate under limit.

Co-authored-by: fsologureng <sologuren@estudiohum.cl>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/151
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Felipe Leopoldo Sologuren Gutiérrez <fsologureng@noreply.codeberg.org>
Co-committed-by: Felipe Leopoldo Sologuren Gutiérrez <fsologureng@noreply.codeberg.org>
2023-01-04 05:26:14 +00:00
..
cache make mem cache an interface and inject 2021-12-05 14:48:51 +01:00
certificates Added TokenBucket to limit the rate of validation failures (#151) 2023-01-04 05:26:14 +00:00
context Refactor split long functions (#135) 2022-11-12 20:43:44 +01:00
database Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00
dns switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00
gitea Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00
handler Return a 404 if there is no repository (#141) 2022-11-22 21:26:10 +00:00
upstream Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00
utils switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00
version Release via CI (#94) 2022-06-14 20:35:11 +02:00
setup.go Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00