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:
1 parent
eb3e46d8d0
commit
e07de898cd
573 files changed
+35846
-6807
No files matched your search
+63
-4
@@ -19,6 +19,7 @@ bots:
|
||||
# https://github.com/TecharoHQ/anubis/blob/main/data/bots/_deny-pathological.yaml
|
||||
import: (data)/bots/_deny-pathological.yaml
|
||||
- import: (data)/bots/aggressive-brazilian-scrapers.yaml
|
||||
- import: (data)/common/domain-fronting.yaml
|
||||
|
||||
# Aggressively block AI/LLM related bots/agents by default
|
||||
- import: (data)/meta/ai-block-aggressive.yaml
|
||||
@@ -37,10 +38,14 @@ bots:
|
||||
# - Kagi
|
||||
# - Marginalia
|
||||
# - Mojeek
|
||||
# - Arquivo.pt
|
||||
- import: (data)/crawlers/_allow-good.yaml
|
||||
# Challenge Firefox AI previews
|
||||
- import: (data)/clients/x-firefox-ai.yaml
|
||||
|
||||
# x.ai has a scraper that is killing gitlab instances
|
||||
- import: (data)/crawlers/xai.yaml
|
||||
|
||||
# Allow common "keeping the internet working" routes (well-known, favicon, robots.txt)
|
||||
- import: (data)/common/keep-internet-working.yaml
|
||||
|
||||
@@ -53,8 +58,8 @@ bots:
|
||||
# difficulty: 16 # impossible
|
||||
# algorithm: slow # intentionally waste CPU cycles and time
|
||||
|
||||
# Requires a subscription to Thoth to use, see
|
||||
# https://anubis.techaro.lol/docs/admin/thoth#geoip-based-filtering
|
||||
# Requires GeoIP configuration, see:
|
||||
# https://anubis.techaro.lol/docs/admin/geoip
|
||||
- name: countries-with-aggressive-scrapers
|
||||
action: WEIGH
|
||||
geoip:
|
||||
@@ -64,8 +69,8 @@ bots:
|
||||
weight:
|
||||
adjust: 10
|
||||
|
||||
# Requires a subscription to Thoth to use, see
|
||||
# https://anubis.techaro.lol/docs/admin/thoth#asn-based-filtering
|
||||
# Requires GeoIP configuration, see:
|
||||
# https://anubis.techaro.lol/docs/admin/geoip
|
||||
- name: aggressive-asns-without-functional-abuse-contact
|
||||
action: WEIGH
|
||||
asns:
|
||||
@@ -105,6 +110,30 @@ bots:
|
||||
|
||||
dnsbl: false
|
||||
|
||||
## GeoIP configuration
|
||||
## See: https://anubis.techaro.lol/docs/admin/geoip
|
||||
# geoip:
|
||||
# asn:
|
||||
# path: /var/lib/anubis/GeoLite2-ASN.mmdb # ensure /var/lib/anubis is writable
|
||||
# country:
|
||||
# path: /var/lib/anubis/GeoLite2-Country.mmdb
|
||||
# auto_update:
|
||||
# account_id: 123456
|
||||
# license_key_env: MAXMIND_LICENSE_KEY
|
||||
# interval: 24h # if not set, this is the default
|
||||
|
||||
## 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
|
||||
|
||||
# #
|
||||
# impressum:
|
||||
# # Displayed at the bottom of every page rendered by Anubis.
|
||||
@@ -166,6 +195,36 @@ status_codes:
|
||||
CHALLENGE: 200
|
||||
DENY: 200
|
||||
|
||||
# # Configuration for the metrics server. See the docs for more information:
|
||||
# #
|
||||
# # https://anubis.techaro.lol/docs/admin/policies#metrics-server
|
||||
# #
|
||||
# # This is commented out by default so that command line flags take precedence.
|
||||
# metrics:
|
||||
# bind: ":9090"
|
||||
# network: "tcp"
|
||||
#
|
||||
# # To protect your metrics server with basic auth, set credentials below:
|
||||
# #
|
||||
# # https://anubis.techaro.lol/docs/admin/policies#http-basic-authentication
|
||||
# basicAuth:
|
||||
# username: ""
|
||||
# password: ""
|
||||
#
|
||||
# # To serve metrics over TLS, set the path to the right TLS certificate and key
|
||||
# # here. When the files change on disk, they will automatically be reloaded.
|
||||
# #
|
||||
# # https://anubis.techaro.lol/docs/admin/policies#tls
|
||||
# tls:
|
||||
# certificate: /path/to/tls.crt
|
||||
# key: /path/to/tls.key
|
||||
#
|
||||
# # If you want to secure your metrics endpoint using mutual TLS (mTLS), set
|
||||
# # the path to a certificate authority public certificate here.
|
||||
# #
|
||||
# # https://anubis.techaro.lol/docs/admin/policies#mtls
|
||||
# ca: /path/to/ca.crt
|
||||
|
||||
# Anubis can store temporary data in one of a few backends. See the storage
|
||||
# backends section of the docs for more information:
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user