-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bgpd: Use strict AS4 capability when processing parsing/generating pkts #9249
Conversation
PeerA sets `dont-capability-negotiate` for PeerB. It does not send any capabilities to PeerB. This leads to situation when PeerA received AS4 cap, while it doesn't send AS4 to PeerB and tries parsing AS_PATH using 32bits. [GTTPK-RX2GP][EC 33554436] Malformed AS path from 192.168.0.2, length is 4 [SM0KX-WXMGK] bgp_attr_malformed: attributes: , origin ? [P7TRR-4J6XT][EC 33554487] 192.168.0.2: Attribute AS_PATH, parse error - treating as withdrawal [WX70K-6XXVF][EC 33554454] 192.168.0.2 rcvd UPDATE with errors in attr(s)!! Withdrawing route. [Z2KFR-ZGJC8] 192.168.0.2 rcvd UPDATE w/ attr: , origin ? [P9VY3-5B6NX] 192.168.0.2 rcvd UPDATE wlen 0 attrlen 80 alen 73 [QMZ79-K2DH7][EC 33554454] 192.168.0.2 [Error] Update packet error (wrong prefix length 64 for afi 1) [P9SYB-54XRZ][EC 33554454] 192.168.0.2 [Error] Error parsing NLRI [V1CHF-JSGRR] %NOTIFICATION: sent to neighbor 192.168.0.2 3/10 (UPDATE Message Error/Invalid Network Field) 0 bytes [HTHRX-GQYGJ][EC 33554454] bgp_process_packet: BGP UPDATE receipt failed for peer: 192.168.0.2 Signed-off-by: Donatas Abraitis <[email protected]>
Signed-off-by: Donatas Abraitis <[email protected]>
@Mergifyio backport stable/8.0 |
Command
|
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-20686/ This is a comment from an automated CI system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Command
|
bgpd: Use strict AS4 capability when processing parsing/generating pkts (backport #9249)
No description provided.