matrix-org / matrix-org/gomatrixserverlib
Federation client shouldn't follow CNAME records in SRV records
Open
Nobody has claimed this yet.
T-Defect
- Dominant language
- Go
- Stars
- 67
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
RFC2782 forbids CNAME records as SRV record targets but we need to check it because Go completely ignores that
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the federation client's SRV-record resolution entry point and inspect how CNAME targets are handled; done means the client no longer follows CNAME records returned as SRV targets and regression coverage verifies that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100