1
0

Add some notes

This commit is contained in:
Andrew Morgan
2019-04-10 12:44:15 +01:00
parent 1b3989bcc4
commit 0e2f8ca019

View File

@@ -111,6 +111,8 @@ class IPBlacklistingResolver(object):
logger.info(
"Dropped %s from DNS resolution to %s" % (ip_address, hostname)
)
# Only raise a 403 if this request originated from a
# client-server call
if not self._from_federation:
raise SynapseError(403,
"IP address blocked by IP blacklist entry")