Files
anubis-mirror/data/common/challenge-browser-like.yaml
2025-04-28 16:15:05 -04:00

8 lines
279 B
YAML

# Challenge anything with HTTP/1.1 that claims to be a browser
- name: challenge-lies-browser-but-http-1.1
action: CHALLENGE
expression:
all:
- '"X-Http-Version" in headers'
- headers["X-Http-Version"] == "HTTP/1.1"
- userAgent.isBrowserLike()