forked-synapse/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 Use importlib.metadata to read requirements (#12088) 2022-03-01 17:44:41 +00:00
_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 Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
client_reader.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
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 Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
federation_reader.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
federation_sender.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
frontend_proxy.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
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 Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
phone_stats_home.py Remove old R30 because R30v2 supercedes it (#10428) 2023-05-19 11:13:44 -05:00
pusher.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
synchrotron.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
user_dir.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00