From 5b30115cf64343ef4205c4351e07e0bfb6e12952 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Wed, 10 Aug 2022 08:59:44 +0200 Subject: [PATCH] matrix-synapse: Disable stream writing endpoints These will require addiional work for the user to safely enable alongside multiple instances, so disable them by default --- charts/matrix-synapse/Chart.yaml | 2 +- charts/matrix-synapse/values.yaml | 32 ++++++++++++++++++++----------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/charts/matrix-synapse/Chart.yaml b/charts/matrix-synapse/Chart.yaml index 1e8fd5c..bae8c44 100644 --- a/charts/matrix-synapse/Chart.yaml +++ b/charts/matrix-synapse/Chart.yaml @@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg appVersion: 1.64.0 type: application -version: 2.6.1 +version: 2.6.2 maintainers: - name: Alexander Olofsson email: ace@haxalot.com diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index f0bfa0e..8dbb963 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -436,20 +436,30 @@ workers: - "/_matrix/client/(api/v1|r0|v3|unstable)/join/" - "/_matrix/client/(api/v1|r0|v3|unstable)/profile/" - ## Account data requests - - "/_matrix/client/(r0|v3|unstable)/.*/tags" - - "/_matrix/client/(r0|v3|unstable)/.*/account_data" - - ## Receipts requests - - "/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt" - - "/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers" - - ## Presence requests - - "/_matrix/client/(api/v1|r0|v3|unstable)/presence/" - ## User directory search requests - "/_matrix/client/(r0|v3|unstable)/user_directory/search" + ## Worker event streams + ## See https://matrix-org.github.io/synapse/latest/workers.html#stream-writers + ## + + ## The typing event stream + # - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/typing" + + ## The to_device event stream + # - "/_matrix/client/(r0|v3|unstable)/sendToDevice/" + + ## The account_data event stream + # - "/_matrix/client/(r0|v3|unstable)/.*/tags" + # - "/_matrix/client/(r0|v3|unstable)/.*/account_data" + + ## The receipts event stream + # - "/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt" + # - "/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers" + + ## The presence event stream + # - "/_matrix/client/(api/v1|r0|v3|unstable)/presence/" + paths: ## Federation requests - "/_matrix/federation/v1/event/"