FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donald SharpGitHubDonald Sharp
8ec1f0393abMMerge pull request #22122 from Jafaral/pim-acl-fixespimd: fix multicast boundary list lifetime and ACL evaluation
Donald SharpGitHubDonald Sharp
f5c7c60ba93MMerge pull request #22081 from opensourcerouting/fix/bgp_cluster_list_truncationbgpd: Avoid cluster list attribute truncation
Rafael ZalamenaGitHubRafael Zalamena
1433df3a727MMerge pull request #22117 from Jafaral/pim-bsr-fixespimd: BSR/C-RP fixes with expanded topotest coverage
Rafael ZalamenaGitHubRafael Zalamena
616d8073b17MMerge pull request #22115 from Jafaral/new-pim-dm-fixespimd: dense mode fixes and topotest coverage
Russ WhiteGitHubRuss White
a5404c66a02MMerge pull request #22159 from opensourcerouting/fix/bgp_extended_attr_for_nhcbgpd: Set extended flag for NHC attribute when re-encoding
Russ WhiteGitHubRuss White
470d1b17579MMerge pull request #21503 from anlancs/zebra/fix-cmp-nexthopzebra: fix wrong comparision for nexthop
Russ WhiteGitHubRuss White
d4dfabbe45fMMerge pull request #22136 from enkechen-panw/bgp-aggregate-parametersbgpd: reorder parameters in bgp_remove_route_from_aggregate()
Donald SharpGitHubDonald Sharp
06981a64abbMMerge pull request #22157 from Jafaral/pim-bsr-rppimd: fix BSR failover RP not setting i_am_rp locally
Donatas AbraitisDonatas Abraitis
10995a6d99dbgpd: Set extended flag for NHC attribute when re-encodingNHC attribute length with lots of characteristics could go clearly over 255, let's use extended length for this attribute, as RFC 4271 defines. Otherwise we have a truncated attribute. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Jafar Al-GharaibehJafar Al-Gharaibeh
3a37acfecc0tests: add BSR RP daemon-kill failover topotestsCover primary RP loss via holdtime expiry and verify the backup RP sets iAmRP, matching the scenario reported in #17588. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
d6f3cc623b8tests: extend BSR fallback topotests to verify iAmRPWhen the primary candidate RP withdraws a group, verify the backup RP is learned on r5 and sees itself as RP on r4 for both address families. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
4967919d29apimd: refresh i_am_rp after BSR RP mapping updatesWhen BSR failover leaves the local RP address unchanged, re-run pim_rp_change and i_am_rp checks so the elected router acts as RP. Fixes #17588 Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
182263ba16cMMerge pull request #22151 from mjstapp/fix_rmap_comm_delbgpd: remove unneeded sort of communities in rmap delete
Russ WhiteGitHubRuss White
9bf889b7bebMMerge pull request #22138 from mjstapp/fix_prefix_match_fspeclib: test the right bytes in flowspec prefixes
Mark StappMark Stapp
1c35c8bb506lib: test the right bytes in flowspec prefixesA couple of the comparisons used for FLOWSPEC prefix types used the address of the flowspec data blob rather than the blob bytes. Test the blob, not the pointers to blobs. Signed-off-by: Mark Stapp <mjs@cisco.com> Reported-by: Qifan Zhang <qzhang@paloaltonetworks.com>
Mark StappMark Stapp
a603e0f5fbdbgpd: remove unneeded sort of communities in rmap deleteWhen routemaps delete from a community list, don't need to re-sort the community list: the delete code preserves the sorted order. Signed-off-by: Mark Stapp <mjs@cisco.com> Reported-by: Qifan Zhang <qzhang@paloaltonetworks.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
364c20c01datests: cover boundary list deletion and mixed ACL orderingExtend pim_boundary_acl to verify pimd survives deleting a prefix-list or access-list while boundary config remains, and that a standard permit entry before a cisco deny is evaluated in first-match order. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
d5ed1aee126pimd: preserve first-match order in pim_access_list_applyEvaluate cisco and standard access-list entries in a single pass so mixed ACLs honor first-match semantics for both MSDP and multicast boundary filtering. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
0d5338e9132pimd: fix non-extended cisco ACL matching in pim_cisco_matchUse addr/addr_mask for classic cisco entries instead of wtf.mask_mask. This bug was latent since the ACL helper moved to pim_util.c; the old access_list_apply fallback masked it until single-pass evaluation. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
d4e324c2286pimd: drop duplicate rec_type from IGMPv3 report debug logThe record type was already printed in the message prefix, so remove the redundant type=%d field from the per-record debug line. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
8db6c186c68pimd: cache boundary list pointers and refresh via hooksStore prefix-list and access-list names on each interface together with cached pointers. Refresh or clear the pointers from pim_prefix_list_update() and pim_access_list_update() when lists change or are deleted, consistent with other pimd plist/ACL usage. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Enke ChenEnke Chen
d60b892b1b9bgpd: reorder parameters in bgp_remove_route_from_aggregate()Reorder parameters to match bgp_add_route_to_aggregate(): (bgp, aggr_p, pi, afi, safi, aggregate) Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
Russ WhiteGitHubRuss White
6412641d82aMMerge pull request #22103 from hnattamaisub/ospfospf6d: bypass MinLSArrival for self-originated MaxAge LSAs
Donald SharpGitHubDonald Sharp
8743b74ff4fMMerge pull request #22119 from enkechen-panw/mgmtd-buildmgmtd: fix link order for libmgmt_be_nb
Donald SharpGitHubDonald Sharp
e80e47c9f88MMerge pull request #22121 from Jafaral/autorp-mapping-agent-fixespimd: fix mapping agent AutoRP discovery packet size
Donald SharpGitHubDonald Sharp
fe1132959bfMMerge pull request #22131 from Jafaral/pim-bsm-crashpimd: guard NULL RP lookups in BSM and RP deletion paths
hariniharini
280ecda5bedtests: bgp_soo: stabilise IPv4 path counts on CPE configsIssue in existing topotest: E AssertionError: IPv4 advertised-routes json brief on cpe1 does not match expected prefixes/shape E assert Generated JSON diff error report: E E > $->advertisedRoutes->192.168.2.0/24->multiPathCount: output has element with value '3' but in expected it has value '2' Rootcause and fix: The IPv6 BGP peers added to cpe1/cpe2 in 28b3ffef8b3f did not...
Donatas AbraitisGitHubDonatas Abraitis
fde30be05c2MMerge pull request #22126 from enkechen-panw/bgp-aggregate-refactorbgpd: refactor bgp_aggregate_{increment,decrement}
Jafar Al-GharaibehJafar Al-Gharaibeh
2cbdad44b72pimd: guard NULL rp lookup in pim_bsm_clear upstream refreshWhen BSM state is cleared, refresh each (*,G) upstream against the current RP mapping. Skip the dereference when pim_rp_find_match_group() returns NULL and treat it as no RP configured. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
49b7896c33apimd: guard NULL rp_all when instating BSM pending RP listpim_instate_pend_list() dereferenced the 224.0.0.0/4 RP without checking whether pim_rp_find_match_group() succeeded. Treat a failed lookup like an unconfigured RP and install from the pending BSM list instead. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
0d6dcf534e0pimd: guard NULL rp lookup in pim_rp_del upstream refreshpim_rp_find_match_group() can return NULL during shutdown or when only prefix-list RPs are configured. Treat a failed lookup like an unset RP when refreshing (*,G) upstreams after RP deletion. Fixes FRRouting/frr#6088. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
69c49c94759MMerge pull request #22127 from enkechen-panw/route-map-relative-pathyang: use relative path for remaining route-map when clauses
Enke ChenEnke Chen
992167c682cbgpd: refactor bgp_aggregate_{increment,decrement}The two functions share identical guard logic and loop structure; the only difference is whether they call bgp_add_route_to_aggregate() or bgp_remove_route_from_aggregate(). Factor the common body into a static helper bgp_aggregate_adjust_count() controlled by a bool increment parameter, and reduce bgp_aggregate_increment/decrement to thin wrappers. Signed-off-by: Enke Chen <enchen@paloaltonet...
Donald SharpGitHubDonald Sharp
e865c3ae945MMerge pull request #22128 from enkechen-panw/test-bgp-sootests: fix bgp_soo topotest by separating IPv4/IPv6 address families
Enke ChenEnke Chen
30561ed0369tests: fix bgp_soo topotest by separating IPv4/IPv6 address familiesThe bgp_soo topotest was flaky because IPv4 routes were being advertised over both IPv4 and IPv6 BGP sessions due to the default behavior of "bgp default ipv4-unicast" which auto-activates IPv4 unicast for all neighbors. This caused inconsistent path counts depending on timing: - Sometimes multiPathCount showed 2 or 3 instead of expected values - The duplicate paths from IPv6 sessions carrying...
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
19b5c7f0f13MMerge pull request #22124 from donaldsharp/bgp_show_vrf_more_in_debugsbgpd: Add vrf name to more bestpath debugs
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
6c56aa96b51MMerge pull request #22114 from donaldsharp/tools_what_toolstests: Remove unknown `pytest.mark.tools`
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
7306b2a025dMMerge pull request #22123 from donaldsharp/bgp_debug_memory_cleanup_on_shutdownbgpd: Cleanup debug memory on shutdown
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
ef4818f47d0MMerge pull request #22125 from donaldsharp/docker_cleanupdocker: Add snmptrapd to list of thingies to install
Enke ChenEnke Chen
a97d0e2a7f1yang: use relative path for remaining route-map when clausesf1ea52bee9 ("yang: use relative path instead of absolute one for route-map") converted most absolute XPath expressions in route-map YANG modules to relative paths, but missed 8 occurrences: - frr-bgp-route-map.yang: rpki-extcommunity (1) - frr-pim-route-map.yang: multicast match conditions (7) Using absolute XPath is not optimal for finding the target node. libyang's lyd_find_xpath() incu...
Donald SharpDonald Sharp
4fda76d98b2docker: Add snmptrapd to list of thingies to installsnmptrapd not being installed causes a test to skip. Let's let the docker ci stuff run this test too. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpGitHubDonald Sharp
9bc65c84517MMerge pull request #22120 from Jafaral/autorp-fixespimd: fix AutoRP holdtime parsing and minor cleanup
Donald SharpDonald Sharp
fc0c94ef62dbgpd: Add vrf name to more bestpath debugsFound more places where bestpath debugs did not print the bgp vrf being operated on. Let's make it easier to understand which vrf is being operated on. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
a3c6f91e63cbgpd: Cleanup debug memory on shutdownMemory was being leaked on shutdown, let's clean it up. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Russ WhiteGitHubRuss White
3fc6a1fb8afMMerge pull request #22113 from donaldsharp/topotest_problemsFix some topotest skipping problems
Russ WhiteGitHubRuss White
e5171822caeMMerge pull request #22104 from Jafaral/gcov-fixestests: harden topotest gcov coverage setup and reporting
Russ WhiteGitHubRuss White
bda757a244bMMerge pull request #22048 from Jafaral/ci-grpc-flakytests: fix grpc topotest xdist collection mismatch in CI
Jafar Al-GharaibehJafar Al-Gharaibeh
590ad073340pimd: fix mapping agent AutoRP discovery packet sizeUse per-RP wire size and consistent buffer checks when packing multiple RPs into a discovery message. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
b48f05a415epimd: fix AutoRP holdtime parsing and minor cleanupUse ntohs for received holdtime and drop a duplicate prefix-list lookup. Note in pim_socket_leave() that leave failures share the joins_failed stat counter. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Enke ChenEnke Chen
23a2443cb2amgmtd: fix link order for libmgmt_be_nblibmgmt_be_nb.la contains rip_cli.o and ripng_cli.o which reference symbols from libfrr (if_rmap_init, group_distribute_list_ipv4_cli_show, etc.). With the current link order, libmgmt_be_nb.la is added after libfrr.la, so the linker doesn't know to pull in those symbols when processing libfrr. Move libmgmt_be_nb.la before libfrr.la in the link order so that its undefined references are resolv...