MatrixSynapse/synapse/app
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
..
__init__.py
_base.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
admin_cmd.py Update code to refer to "workers". (#15606) 2023-05-16 15:56:38 -04:00
appservice.py
client_reader.py
complement_fork_starter.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
event_creator.py
federation_reader.py
federation_sender.py
frontend_proxy.py
generic_worker.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
homeserver.py Federation outbound proxy (#15773) 2023-07-05 18:53:55 -05:00
media_repository.py
phone_stats_home.py Remove old R30 because R30v2 supercedes it (#10428) 2023-05-19 11:13:44 -05:00
pusher.py
synchrotron.py
user_dir.py