circuit-v2: Add dialer's multiaddr to StopMessage
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 1.8k
- Forks
- 320
- Avg merge
- 11d 15h
- Merged PRs (30d)
- 1
Description
When making a new connection to a client, the relay server provides the dialer's peer id in the Stop Message.
message StopMessage {
...
optional Peer peer = 2;
... other fields
}
If we provide the dialer's address as observed by the relay server, the relay client can gate and limit connections based on the dialer's IP.
Contributor guide
No contributing guide indexed for this repository
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
Start by locating the circuit-v2 StopMessage definition and the relay server code that constructs it. Trace how the dialer’s address is observed and represented, then review protocol compatibility expectations. Done means the specification clearly defines the added multiaddr field and how relay clients can use it for connection limits.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100