Handling ICMP messages in UdpSocket::recv/recv_from
Open
Nobody has claimed this yet.
A-net
T-libs
- Dominant language
- Markdown
- Stars
- 6.6k
- Forks
- 1.7k
- Avg merge
- 16h 14m
- Merged PRs (30d)
- 1
Description
When running a UDP server, it is helpful to learn if we got ICMP messages (e.g. regarding MTU or unreachability). On Unix, we can do this via recvmsg, e.g. here. It would be great if rust std can incorporate this.
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 with the UdpSocket::recv and recv_from APIs and the linked Unix recvmsg example. Determine how ICMP messages such as MTU or unreachable notifications should be exposed by std, then define the expected behavior and API before implementation; done means UDP servers can receive those notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100