synapse/tests/rest
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
..
admin Add not_user_type param to the list accounts admin API (#15844) 2023-07-04 15:03:20 -07:00
client Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
key Stop using deprecated `keyIds` param on /key/v2/server (#14525) 2022-11-30 11:59:57 +00:00
media Add stubs package for lxml. (#15697) 2023-05-31 17:06:57 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_health.py Use literals in place of `HTTPStatus` constants in tests (#13463) 2022-08-05 16:59:09 +02:00
test_well_known.py Refactor config to be an experimental feature 2023-05-30 09:43:06 -04:00