meilleur filtres avec list predefinie par anubis

main^2
Lzebulon 2025-07-13 14:06:39 +02:00
parent 0bfacad632
commit eca3c260b7
No known key found for this signature in database
GPG Key ID: D6CDAB8050CBBE7D
1 changed files with 16 additions and 3 deletions

View File

@ -66,13 +66,26 @@ let
- 46.105.102.188/32
- 2001:41d0:2:d5bc::/128
# les bots qui font souvent de la merde
# https://github.com/TecharoHQ/anubis/blob/main/data/bots/deny-pathological.yaml
- import: (data)/bots/_deny-pathological.yaml
# on authorise les indexers des moteurs de recherche, liste dispo ici :
# https://github.com/TecharoHQ/anubis/blob/main/data/crawlers/_allow-good.yaml
- import: (data)/crawlers/_allow-good.yaml
- name: no-user-agent-string
action: DENY
expression: userAgent == ""
# authorise l'accès à favicon, robots.txt, well-known
# https://github.com/TecharoHQ/anubis/blob/main/data/common/keep-internet-working.yaml
- import: (data)/common/keep-internet-working.yaml
# refuse si userAgent = ""
# https://github.com/TecharoHQ/anubis/blob/main/data/common/keep-internet-working.yaml
- import: (data)/common/rfc-violations.yaml
# Bloque les AI aggressivement (bots/agent, training et user search par IA)
# https://github.com/TecharoHQ/anubis/blob/main/data/meta/ai-block-aggressive.yaml
- import: (data)/meta/ai-block-aggressive.yaml
- name: ban-gpt
user_agent_regex: ".*gpt.*"