Hector
|
37b67643e8
|
fix: set http server timeouts (!91)
* Set timeout values when configuring the HTTP server to mitigate "Slowloris" vulnerability
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/91
|
2023-06-21 11:09:39 +00:00 |
|
Hector
|
11c4b26c0b
|
refactor: move server setup code to new package (!90)
* Move code setting up the HTTP server to it's own package
* This helps clean up the `main` function and make it easier to read
* Rename the `BasicAuthMiddleware` to remove reference to Basic since it can now handle any type of auth type
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/90
|
2023-06-21 10:58:43 +00:00 |
|
Hector
|
3cff8ccd64
|
refactor: rewrite auth handler code (!89)
* Rewrite the code handling basic auth to make it easier to extend for other types of auth.
* The behaviour of the existing code is maintained.
* No changes to how basic auth is configured from a user's perspective.
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/89
|
2023-06-21 10:31:33 +00:00 |
|