synapse/tests/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
server Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
__init__.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
ca.crt Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
ca.key Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
server.key Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
test_additional_resource.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
test_client.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_endpoint.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
test_matrixfederationclient.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_proxy.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_proxyagent.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_servlet.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
test_simple_client.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_site.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00