-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add federation whitelist for servers #3498
base: main
Are you sure you want to change the base?
Conversation
|
Just a few quick notes:
|
I wanted to ask if it's enough to add allowlist checks in |
It seems that it's not enough.. |
Description
This PR introduces a mechanism to exclude all servers from federation except given ones. Similar functionality is implemented in Synapse using federation_domain_whitelist. This functionality has been requested by users: #3487 (comment)
Configuration
In
federation
:enable_whitelist
: enable or disable whitelistwhitelisted_servers
: the list of server names to whitelistChanges
federationapi/internal/federationclient.go
Pull Request Checklist
Sign-off: private