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
|
- 46.105.102.188/32
|
||||||
- 2001:41d0:2:d5bc::/128
|
- 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 :
|
# on authorise les indexers des moteurs de recherche, liste dispo ici :
|
||||||
# https://github.com/TecharoHQ/anubis/blob/main/data/crawlers/_allow-good.yaml
|
# https://github.com/TecharoHQ/anubis/blob/main/data/crawlers/_allow-good.yaml
|
||||||
- import: (data)/crawlers/_allow-good.yaml
|
- import: (data)/crawlers/_allow-good.yaml
|
||||||
|
|
||||||
- name: no-user-agent-string
|
# authorise l'accès à favicon, robots.txt, well-known
|
||||||
action: DENY
|
# https://github.com/TecharoHQ/anubis/blob/main/data/common/keep-internet-working.yaml
|
||||||
expression: userAgent == ""
|
- 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
|
- name: ban-gpt
|
||||||
user_agent_regex: ".*gpt.*"
|
user_agent_regex: ".*gpt.*"
|
||||||
|
|
Loading…
Reference in New Issue