summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-20 16:41:22 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-20 16:41:22 +0100
commit83c1c8a56be084d27bf2a87df5c33c4a20f64cef (patch)
tree587ba3c178d2a86d23d69bc456c9762dcb10d521 /synapse/config/server.py
parentFix old-style uses of self.make_request in dinum test code (diff)
parentAdd a maximum size for well-known lookups. (#8950) (diff)
downloadsynapse-83c1c8a56be084d27bf2a87df5c33c4a20f64cef.tar.xz
Merge commit 'ff5c4da12' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py

index 09394e8b24..8e9dc54697 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py
@@ -838,6 +838,18 @@ class ServerConfig(Config): #ip_range_blacklist: %(ip_range_blacklist)s + # List of IP address CIDR ranges that should be allowed for federation, + # identity servers, push servers, and for checking key validity for + # third-party invite events. This is useful for specifying exceptions to + # wide-ranging blacklisted target IP ranges - e.g. for communication with + # a push server only visible in your network. + # + # This whitelist overrides ip_range_blacklist and defaults to an empty + # list. + # + #ip_range_whitelist: + # - '192.168.1.1' + # List of ports that Synapse should listen on, their purpose and their # configuration. #