mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-10-17 12:33:53 +00:00
crowdsec: whitelist Matrix client feature-probe 404s to stop http-probing false positives
This commit is contained in:
1 parent
dc27676d0f
commit
e577bf7304
2 files changed
+9
No files matched your search
@@ -0,0 +1,8 @@
|
||||
name: aykhans/whitelist-matrix-client-probes
|
||||
description: "Prevent http-probing false positives from Matrix client feature-detection 404s"
|
||||
whitelist:
|
||||
reason: "Matrix client MSC feature-detection and media preview requests return 404 by design (benign)"
|
||||
expression:
|
||||
- evt.Meta.service == 'http' and evt.Meta.http_status == '404' and evt.Meta.http_path startsWith '/_matrix/client/unstable/org.matrix.msc'
|
||||
- evt.Meta.service == 'http' and evt.Meta.http_status == '404' and evt.Meta.http_path startsWith '/_matrix/client/v1/media/preview_url'
|
||||
- evt.Meta.service == 'http' and evt.Meta.http_status == '404' and evt.Meta.http_path startsWith '/_matrix/client/' and evt.Meta.http_path contains '/rooms/'
|
||||
Reference in new issue
Block a user