Skip to content
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: A couple more bgpd crash fixes for malformed packets (backport #14716) #14735

Merged
merged 2 commits into from
Nov 6, 2023

bgpd: Ignore handling NLRIs if we received MP_UNREACH_NLRI

250844b
Select commit
Loading
Failed to load commit list.
Merged

bgpd: A couple more bgpd crash fixes for malformed packets (backport #14716) #14735

bgpd: Ignore handling NLRIs if we received MP_UNREACH_NLRI
250844b
Select commit
Loading
Failed to load commit list.
NetDEF CI Pull Requests Testing / TopoTests Ubuntu 18.04 arm8 Part 2 succeeded Nov 5, 2023 in 33m 37s

Execution finished at ci17-FRR-PULLREQ3-TOPO2U18ARM8-551 after 1984.272 seconds

Bamboo CI Link
Execution details at https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO2U18ARM8-551

Execution Summary

Failures
All tests passed

Success and Not classified
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_1_1 (6.274 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_2_1 (0.309 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_2_2 (5.609 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_2_3 (1.365 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_3_1 (0.310 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_3_2 (5.605 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_3_3 (1.371 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_4_1 (5.616 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_4_2 (5.603 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_5_1 (4.574 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_5_2 (1.362 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_5_3 (1.356 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_5_4 (2.434 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_6_1 (1.443 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_6_2 (1.373 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_6_3 (2.436 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_6_4 (1.358 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_7_1 (3.567 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_7_2 (1.377 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_7_3 (1.367 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_7_4 (2.428 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_8_1 (1.455 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_8_2 (1.369 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_8_3 (1.369 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_8_4 (1.370 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_9_1 (3.557 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_9_2 (1.365 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_9_3 (3.564 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_bgp_conditional_advertisement_tc_9_4 (1.366 s)
⚠️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_memory_leak(1.417 s)

/root/share/topotests/bgp_conditional_advertisement/test_bgp_conditional_advertisement.py:1290: Memory leak test/report is disabled

✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_memory_leak (1.417 s)
✔️ bgp_conditional_advertisement.test_bgp_conditional_advertisement test_memory_leak (1.417 s)
✔️ bgp_conditional_advertisement_static_route.test_bgp_conditional_advertisement_static_route test_bgp_conditional_advertisements_static_route (27.473 s)
✔️ bgp_conditional_advertisement_track_peer.test_bgp_conditional_advertisement_track_peer test_bgp_conditional_advertisement_track_peer (26.864 s)
✔️ bgp_confed1.test_bgp_confed1 test_bgp_convergence (7.278 s)
✔️ bgp_confed1.test_bgp_confed1 test_bgp_confed_ipv4_unicast (36.668 s)
✔️ bgp_confederation_astype.test_bgp_confederation_astype test_bgp_confederation_astype (9.540 s)
✔️ bgp_default_afi_safi.test_bgp-default-afi-safi test_bgp_default_ipv4_ipv6_unicast (10.246 s)
✔️ bgp_default_originate.test_bgp_default_originate_2links test_verify_bgp_default_originate_with_default_static_route_p1 (31.329 s)
✔️ bgp_default_originate.test_bgp_default_originate_2links test_verify_bgp_default_originate_with_aggregate_summary_p1 (7.064 s)
✔️ bgp_default_originate.test_bgp_default_originate_2links test_verify_default_originate_with_2way_ecmp_p2 (41.638 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_1 test_verify_bgp_default_originate_in_IBGP_p0 (32.256 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_1 test_verify_bgp_default_originate_in_EBGP_p0 (19.143 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_1 test_verify_bgp_default_originate_in_IBGP_with_route_map_p0 (58.496 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_1 test_verify_bgp_default_originate_in_EBGP_with_route_map_p0 (106.499 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_2 test_verify_bgp_default_originate_route_map_in_OUT_p1 (59.183 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_2 test_verify_bgp_default_originate_route_map_in_IN_p1 (50.551 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_2 test_verify_default_originate_after_removing_default_originate_p1 (58.231 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_2 test_verify_default_originate_route_with_GR_p1 (17.145 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_3 test_verify_default_originate_after_BGP_and_FRR_restart_p2 (126.159 s)
✔️ bgp_default_originate.test_bgp_default_originate_topo1_3 test_verify_default_originate_after_shut_no_shut_bgp_neighbor_p1 (160.013 s)
✔️ bgp_default_originate.test_default_orginate_vrf test_verify_default_originate_route_with_non_default_VRF_p1 (73.685 s)
✔️ bgp_default_originate.test_default_orginate_vrf test_verify_default_originate_route_with_non_default_VRF_with_route_map_p1 (21.853 s)
✔️ bgp_default_originate.test_default_originate_conditional_routemap test_default_originate_delete_conditional_routemap (52.551 s)
✔️ bgp_default_originate.test_default_originate_conditional_routemap test_verify_default_originate_after_BGP_attributes_p1 (112.720 s)
✔️ bgp_default_originate_timer.test_bgp_default_originate_timer test_bgp_default_originate_timer (55.303 s)
✔️ bgp_default_originate_withdraw.test_bgp_default_originate_withdraw test_bgp_default_originate_with_default_received (12.556 s)
✔️ bgp_default_route.test_bgp_default-originate test_bgp_default_originate_route_map (6.580 s)
✔️ bgp_default_route_route_map_match.test_bgp_default-originate_route-map_match test_bgp_default_originate_route_map (9.036 s)
✔️ bgp_default_route_route_map_match2.test_bgp_default-originate_route-map_match2 test_bgp_default_originate_route_map (48.375 s)
✔️ bgp_default_route_route_map_match_set.test_bgp_default-originate_route-map_match_set test_bgp_default_originate_route_map (9.301 s)
✔️ bgp_default_route_route_map_set.test_bgp_default-originate_route-map_set test_bgp_default_originate_route_map (8.792 s)
✔️ bgp_disable_addpath_rx.test_disable_addpath_rx test_bgp_disable_addpath_rx (10.933 s)
✔️ bgp_distance_change.test_bgp_admin_dist test_bgp_admin_distance_ebgp_ecmp_p0 (53.039 s)
✔️ bgp_distance_change.test_bgp_admin_dist test_bgp_admin_distance_ibgp_p0 (35.516 s)
✔️ bgp_distance_change.test_bgp_admin_dist test_bgp_admin_distance_chaos_p2 (48.171 s)
✔️ bgp_distance_change.test_bgp_admin_dist_vrf test_bgp_admin_distance_ebgp_vrf_p0 (49.106 s)
✔️ bgp_distance_change.test_bgp_admin_dist_vrf test_bgp_admin_distance_ebgp_with_imported_rtes_vrf_p0 (15.216 s)
✔️ bgp_distance_change.test_bgp_distance_change test_bgp_maximum_prefix_invalid (6.977 s)
✔️ bgp_dont_capability_negotiate.test_bgp_dont_capability_negotiate test_bgp_dont_capability_negotiate (4.887 s)
✔️ bgp_dont_capability_negotiate.test_bgp_dont_capability_negotiate test_bgp_check_fqdn (8.479 s)
✔️ bgp_dynamic_capability.test_bgp_dynamic_capability_graceful_restart test_bgp_dynamic_capability_graceful_restart (7.148 s)
✔️ bgp_dynamic_capability.test_bgp_dynamic_capability_role test_bgp_dynamic_capability_role (6.952 s)
✔️ bgp_dynamic_capability.test_bgp_dynamic_capability_software_version test_bgp_dynamic_capability_software_version (7.637 s)
✔️ bgp_ebgp_common_subnet_nexthop_unchanged.test_bgp-ebgp-common-subnet-nexthop-unchanged test_bgp_ebgp_common_subnet_nh_unchanged (8.896 s)
✔️ bgp_ebgp_requires_policy.test_bgp_ebgp_requires_policy test_ebgp_requires_policy (15.528 s)
✔️ bgp_ecmp_topo1.test_bgp_ecmp_topo1 test_bgp_convergence (34.843 s)
✔️ bgp_ecmp_topo1.test_bgp_ecmp_topo1 test_bgp_ecmp (2.576 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_modify_ecmp_max_paths[redist_static-8] (21.366 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_modify_ecmp_max_paths[redist_static-16] (1.253 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_modify_ecmp_max_paths[redist_static-32] (1.258 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_modify_ecmp_max_paths[advertise_nw-8] (1.163 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_modify_ecmp_max_paths[advertise_nw-16] (1.178 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_modify_ecmp_max_paths[advertise_nw-32] (1.189 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_after_clear_bgp[redist_static-8] (10.527 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_after_clear_bgp[redist_static-16] (10.499 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_after_clear_bgp[redist_static-32] (10.523 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_after_clear_bgp[advertise_nw-8] (12.591 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_after_clear_bgp[advertise_nw-16] (12.539 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_after_clear_bgp[advertise_nw-32] (12.528 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_remove_redistribute_static (8.083 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_shut_bgp_neighbor[redist_static] (5.644 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_shut_bgp_neighbor[advertise_nw] (5.526 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_remove_static_route (12.517 s)
✔️ bgp_ecmp_topo2.test_ebgp_ecmp_topo2 test_ecmp_remove_nw_advertise (10.767 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_modify_ecmp_max_paths[redist_static-8] (21.921 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_modify_ecmp_max_paths[redist_static-16] (1.239 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_modify_ecmp_max_paths[redist_static-32] (1.270 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_modify_ecmp_max_paths[advertise_nw-8] (1.183 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_modify_ecmp_max_paths[advertise_nw-16] (1.195 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_modify_ecmp_max_paths[advertise_nw-32] (1.174 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_after_clear_bgp[redist_static-8] (8.356 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_after_clear_bgp[redist_static-16] (8.303 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_after_clear_bgp[redist_static-32] (10.470 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_after_clear_bgp[advertise_nw-8] (12.557 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_after_clear_bgp[advertise_nw-16] (12.492 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_after_clear_bgp[advertise_nw-32] (12.545 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_remove_redistribute_static (6.035 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_shut_bgp_neighbor[redist_static] (3.685 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_shut_bgp_neighbor[advertise_nw] (5.528 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_remove_static_route (10.411 s)
✔️ bgp_ecmp_topo2.test_ibgp_ecmp_topo2 test_ecmp_remove_nw_advertise (10.793 s)
✔️ bgp_ecmp_topo3.test_ibgp_ecmp_topo3 test_ecmp_fast_convergence[redist_static] (27.353 s)