Federation allow list #774
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/MSC
Matrix/Media
Meta
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/continuwuity#774
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jade/federation-allow-list"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Superseeds #673
This has slightly different behaviour, given that the relevant options support regex now. See documentation in the second commit.
allowed_remote_server_names
@ -1955,3 +1970,3 @@
self.get_bind_hosts()
.len()
.saturating_add(self.get_bind_ports().len()),
.saturating_mul(self.get_bind_ports().len()),
why change add to mul?
This is a minor bug fix from the original PR. If you're listening on two ports on three hosts, you're listening on six addresses, not five. If you're listening on one port on one host, you're listening on one address, not two.
looks good, just a few comments on the documentation
@ -1201,4 +1208,4 @@
# sender user's server name, inbound federation X-Matrix origin, and
# outbound federation handler.
#
# Basically "global" ACLs.
This line is quite misleading to a first-time user, who may assume "you can set ACLs in rooms to prevent servers joining so global ACLs should apply to all of my rooms automatically".
Although, "default ACLs" sounds like a neat feature to tack on to /createRoom 🤔
Agreed, I'll remove that entirely.
#775
@ -1208,2 +1218,4 @@
#forbidden_remote_server_names = []
# List of allowed server names via regex patterns that we will allow,
# regardless of if they match `forbidden_remote_server_names`.
nitpicking, but it might be worth mentioning that this option has no effect if
forbidden_remote_server_names
is unspecified or otherwise wouldn't match any of them listedSweet, LGTM.