1bots:
2 - import: CUSTOM/policies/meta/base.yaml
3dnsbl: false
4openGraph:
5 enabled: true
6 considerHost: false
7 ttl: 24h
8status_codes:
9 CHALLENGE: 200
10 DENY: 200
11thresholds:
12 - name: minimal-suspicion
13 expression: weight <= 0
14 action: ALLOW
15 - name: mild-suspicion
16 expression:
17 all:
18 - weight > 0
19 - weight < 10
20 action: CHALLENGE
21 challenge:
22 # https://anubis.techaro.lol/docs/admin/configuration/challenges/metarefresh
23 algorithm: metarefresh
24 difficulty: 1
25 report_as: 1
26 - name: moderate-suspicion
27 expression:
28 all:
29 - weight >= 10
30 - weight < 20
31 action: CHALLENGE
32 challenge:
33 # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
34 algorithm: fast
35 difficulty: 2 # two leading zeros, very fast for most clients
36 report_as: 2
37 - name: mild-proof-of-work
38 expression:
39 all:
40 - weight >= 20
41 - weight < 30
42 action: CHALLENGE
43 challenge:
44 # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
45 algorithm: fast
46 difficulty: 4
47 report_as: 4
48 # For clients that are browser like and have gained many points from custom rules
49 - name: extreme-suspicion
50 expression: weight >= 30
51 action: CHALLENGE
52 challenge:
53 # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
54 algorithm: fast
55 difficulty: 6
56 report_as: 5