MatrixSynapse/synapse/http
Eric Eastwood b07b14b494
Federation outbound proxy (#15773)
Allow configuring the set of workers to proxy outbound federation traffic through (`outbound_federation_restricted_to`).

This is useful when you have a worker setup with `federation_sender` instances responsible for sending outbound federation requests and want to make sure *all* outbound federation traffic goes through those instances. Before this change, the generic workers would still contact federation themselves for things like profile lookups, backfill, etc. This PR allows you to set more strict access controls/firewall for all workers and only allow the `federation_sender`'s to contact the outside world.

The original code is from @erikjohnston's branches which I've gotten in-shape to merge.
2023-07-05 18:53:55 -05:00
..
federation Switch from `matrix://` to `matrix-federation://` scheme for internal Synapse routing of outbound federation traffic (#15806) 2023-06-20 10:05:31 +01:00
__init__.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
additional_resource.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
client.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
connectproxyclient.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
matrixfederationclient.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
proxy.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
proxyagent.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
replicationagent.py Fix using TLS for replication (#15746) 2023-06-08 13:03:48 +01:00
request_metrics.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
server.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
servlet.py Reject mentions on the C-S API which are invalid. (#15311) 2023-03-24 08:31:14 -04:00
site.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
types.py Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00