mirror of https://gitlab.crans.org/nounous/nixos
meilleur filtres avec list predefinie par anubis
parent
0bfacad632
commit
eca3c260b7
|
@ -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.*"
|
||||
|
|
Loading…
Reference in New Issue