element-hq / element-hq/dendrite

Feature Request: Federation Whitelist

Open
#3,487 0 comments 0 reactions 0 assignees View on GitHub
T-Enhancement
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

**Description:**
Synapse has the option to whitelist servers for federation that restricts federation to only whitelisted domains:
```
federation_domain_whitelist:
- lon.example.com
- nyc.example.com
- syd.example.com
```
I did not find a similar option in Dendrite. Could you add it? This would allow me to limit federation only to trustworthy servers.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating Dendrite's federation configuration and the code that decides whether remote servers may federate, then compare the existing configuration patterns with Synapse's federation_domain_whitelist example. Done means a configurable whitelist restricts federation to the listed domains and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.