make bgp send correct notification code/subcode in all cases
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- networking
Research direction
Start by reading the BGP message parsing code, particularly header parsing and handling of an invalid type after a valid header. Review each identified error condition against the applicable BGP Notification code and subcode. Done means all affected parsing paths send the compliant Notification, including Message Header Error / Connection not synchronized for the example case.
Written by the indexing model from the issue text.
Description
There are a handful of error conditions in the BGP codebase (particularly in message parsing) which are handled in a sane, yet non-compliant, manner.
For example, if we are parsing a BGP message that has a valid HEADER but an otherwise invalid type field, we do not send a Notification with Message Header Error / Connection not synchronized.
There are a handful of other cases I saw just from visual inspection of the BGP parsing code (even with the MP-BGP work which expands upon this) which need this same treatment (many in the header parsing).
- Dominant language
- Rust
- Stars
- 94
- Forks
- 6
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 12
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.
More from oxidecomputer/maghemite
-
Bug mgd ndp rust
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oxidecomputer/maghemite#802 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
oxidecomputer/maghemite#918 · 2 comments ·
-
ddm
Difficulty 4/5 3-5 days Newbie friendliness 35/100
oxidecomputer/maghemite#914 ·
-
bfd bgp Bug important non-blocker rust want
Difficulty 5/5 Over a week Newbie friendliness 25/100
oxidecomputer/maghemite#883 ·
-
bfd Bug mgd needs testing rust
Difficulty 4/5 3-5 days Newbie friendliness 48/100
oxidecomputer/maghemite#865 ·
All issues in oxidecomputer/maghemite
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100