aboutsummaryrefslogtreecommitdiff
path: root/cmd/anubis/static
AgeCommit message (Collapse)AuthorFilesLines
2025-04-26feat(anubis): replace with tombstoneXe Iaso10-56/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-17cmd/anubis: add rule hashes for admin-configured denials (#696)Xe Iaso1-0/+0
* cmd/anubis: add rule hashes for admin-configured denials Closes #695 Signed-off-by: Xe Iaso <me@xeiaso.net> * cmd/anubis: remove theoretical nil pointer deference panic This won't actually happen in real life, but the code paths might change so we should be somewhat defensive. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Xe Iaso <me@xeiaso.net> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-01-26cmd/anubis: forbid bypassing auth by faking the challenge difficultyXe Iaso5-3/+3
This fixes a trivial auth bypass where a user requests a challenge, formulates any nonce they want (such as 42069), and then passes the challenge with difficulty zero. This was fixed by not using the difficulity the client specified and instead using the fixed difficulty at the server level. The difficulty has also been encoded into the challenge in 7bd7b209f4f1. Thanks to Coral Pink for finding this and reporting it over email. Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-26cmd/anubis: ship sourcemapsXe Iaso5-0/+8
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-26cmd/anubis: disable video test for nowXe Iaso4-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-25cmd/anubis: prepare for more efficient servingXe Iaso3-0/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-25cmd/anubis: minify JS, add video element testXe Iaso3-112/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-19cmd/anubis: add loading spinnersv1.11.0Xe Iaso1-0/+3
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-18cmd/anubis: add time to the hashXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-18cmd/anubis: compare the leading zeroesXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-18cmd/anubis: serveral improvementsXe Iaso1-11/+8
* Make sha256 function less bad (thanks @allypost!) * Link to git.xeserv.us in README * actually start metrics server in the background
2025-01-18cmd: add AnubisXe Iaso6-0/+159
Signed-off-by: Xe Iaso <me@xeiaso.net>