Import Anubis v1.28.2

Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3).
Masyunis customizations are re-applied in the following commits.
This commit is contained in:
sol_bot Bot committed 2026-11-28 14:52:26 +03:00
1 parent eb3e46d8d0
commit e07de898cd
573 files changed
+35846 -6807

No files matched your search

+24 -6
View File
@@ -74,6 +74,8 @@ bots:
weight:
adjust: -5
- import: (data)/clients/small-internet-browsers/*.yaml
# The weight thresholds for when to trigger individual challenges. Any
# CHALLENGE will take precedence over this.
#
@@ -118,8 +120,8 @@ thresholds:
# This challenge proves the client can run a webapp written with Preact.
# The preact webapp simply loads, calculates the SHA-256 checksum of the
# challenge data, and forwards that to the client.
algorithm: preact
difficulty: 1
algorithm: sha256
difficulty: 16
- name: mild-proof-of-work
expression:
all:
@@ -128,19 +130,23 @@ thresholds:
action: CHALLENGE
challenge:
# https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
algorithm: fast
difficulty: 2 # two leading zeros, very fast for most clients
algorithm: argon2id
difficulty: 4 # two leading zeros, very fast for most clients
# For clients that are browser like and have gained many points from custom rules
- name: extreme-suspicion
expression: weight >= 30
action: CHALLENGE
challenge:
# https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
algorithm: fast
difficulty: 4
algorithm: argon2id
difficulty: 6
dnsbl: false
logging:
sink: stdio
level: "WARN"
impressum:
footer: |
This website is hosted by Techaro. If you have any complaints or notes about the service, please contact <a href="mailto:support@techaro.lol">support@techaro.lol</a> and we will assist you as soon as possible.
@@ -202,3 +208,15 @@ store:
backend: bbolt
parameters:
path: /xe/data/anubis/data.bdb
## Honeypot configuration
honeypot:
## If not set, Anubis will assume you meant `true`.
enabled: true
## Currently the only supported implementation is the naive method.
## See https://anubis.techaro.lol/docs/admin/honeypot/overview#implementation-notes for more information
implementation: naive
## Setting ip_log_file makes Anubis log IP addresses that hit honeypot URLs to a file.
## Anubis writes to this file either once per minute or after Anubis records 32
## kilobytes of IP addresses, whichever happens first.
#ip_log_file: ./var/honeypot.addrs