mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 02:25:45 +03:00
b07b14b494
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. |
||
---|---|---|
.. | ||
http | ||
storage | ||
tcp | ||
__init__.py | ||
_base.py | ||
test_auth.py | ||
test_client_reader_shard.py | ||
test_federation_ack.py | ||
test_federation_sender_shard.py | ||
test_module_cache_invalidation.py | ||
test_multi_media_repo.py | ||
test_pusher_shard.py | ||
test_sharded_event_persister.py |