synapse-old/tests/replication
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
..
http Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
storage Update code to refer to "workers". (#15606) 2023-05-16 15:56:38 -04:00
tcp to_device updates could be dropped when consuming the replication stream (#15349) 2023-03-30 19:41:14 +02:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_auth.py Remove `worker_replication_*` settings (#15491) 2023-05-11 11:30:56 +01:00
test_client_reader_shard.py Remove `worker_replication_*` settings (#15491) 2023-05-11 11:30:56 +01:00
test_federation_ack.py Fix a bug introduced in Synapse v1.84.0 where workers do not start up when no `instance_map` was provided. (#15672) 2023-05-26 14:28:55 +00:00
test_federation_sender_shard.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
test_module_cache_invalidation.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_multi_media_repo.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_pusher_shard.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_sharded_event_persister.py Remove `worker_replication_*` settings (#15491) 2023-05-11 11:30:56 +01:00