FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donald SharpGitHubDonald Sharp
9ac92fa0f80MMerge pull request #21481 from Jafaral/pim-fix-mfc-logpimd: fix NOCACHE MFC resync detection log, add vrf name too
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
62b97fbcd14MMerge pull request #21303 from mjstapp/fix_ospf_tlvs_2ospfd: add validation in several places before accessing message bodies
Donatas AbraitisGitHubDonatas Abraitis
8f239d2c8aaMMerge pull request #21489 from soumyar-roy/soumya/resettimebgpd: fix last Reset timer losing day part after 24 hours
Mark StappGitHubMark Stapp
d881589e1c3MMerge pull request #21413 from enkechen-panw/static-cleanup-vrfstaticd: fix static_cleanup_vrf() nexthop-VRF removal ordering
souroysouroy
d9cb599034bbgpd: fix last Reset timer losing day part after 24 hoursThe lastResetTimerMsecs JSON field was computed using gmtime_r() and only accounted for hours, minutes, and seconds (tm_hour, tm_min, tm_sec), but missed the day field (tm_yday). This caused the value to wrap around and lose days when elapsed time exceeded 24 hours. Use direct multiplication (uptime * 1000) instead, matching how bgpTimerUpMsec is correctly computed. Signed-off-by: Soumya Roy <...
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
02b54d6ddaaMMerge pull request #21487 from mjstapp/fix_pcep_free_nullpceplib: ignore NULL obj in free_obj api
Jafar Al-GharaibehJafar Al-Gharaibeh
62b7ab8f958pimd: fix NOCACHE MFC resync detection log, add vrf name tooOnly treat as kernel/user MFC resync when MFC was already installed before this NOCACHE upcall (snapshot via pim_upstream_find before find_or_add). Avoids false positives on first packet when find_or_add installs in the same call. Log resync at debug with VRF; add VRF to kernel upcall lines. Without this fix, pim logs a warning for every new flow: ``` r1-eth0: NOCACHE for (192.168.100.10,238.0...
Donald SharpGitHubDonald Sharp
e18e32f095dMMerge pull request #21483 from Babaijan/mgmtd-fix-21471mgmtd: align commit config request argument order
Mark StappMark Stapp
db641e5dee4pceplib: ignore NULL obj in free_obj apiSafely ignore a NULL obj pointer passed to the free_obj api. Signed-off-by: Mark Stapp <mjs@cisco.com>
Mark StappGitHubMark Stapp
0148e777bd8MMerge pull request #20950 from hnattamaisub/ip_route_briefzebra: support brief json for show ip route command
Ainur BikchantaevAinur Bikchantaev
577357ce110mgmtd: align commit config request argument orderSigned-off-by: Ainur Bikchantaev <bikchantaev.aa@ksb-soft.ru>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
2eb0971dcedMMerge pull request #21462 from donaldsharp/pceplib_coveritypceplib: obj is already de-refed, no need to check for NULL
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
4c5e5ee2a30MMerge pull request #21476 from donaldsharp/ospf6_connected_winsospf6d: Remove ospf6 route when connected wins
Enke ChenEnke Chen
2c693afa1edtests: staticd: test VRF teardown cleanup for ECMP routesAdd test_vrf_teardown_cleanup to the static_cross_vrf_nexthop topotest suite to cover the bug fixed in static_cleanup_vrf(): when a nexthop VRF goes down, the stale cross-VRF nexthop must not appear in the route ADD sent to zebra. The fix marks affected nexthops VRF_UNKNOWN before calling static_zebra_route_add(), which skips VRF_UNKNOWN entries. Without the fix, the ADD is sent with the old ...
Enke ChenEnke Chen
010cfef20d9staticd: fix static_cleanup_vrf() nexthop-VRF removal orderingWhen a nexthop VRF goes down, static_cleanup_vrf() must mark affected nexthops as VRF_UNKNOWN *before* reinstalling the path. The previous code called static_uninstall_nexthop() per nexthop while nh->nh_vrf_id still held the old valid VRF ID. This caused static_uninstall_path() to issue a ZAPI ADD that included the departing nexthop — since static_zebra_route_add() only skips nexthops already...
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
6ba3b5eaaa8MMerge pull request #21252 from donaldsharp/mgmt_frontend_problems_in_zebraMgmt frontend problems in zebra
Donald SharpGitHubDonald Sharp
e7ff98b8e58MMerge pull request #21475 from Jafaral/ci-docsci: gate github-ci Build/Test jobs on non-doc paths; add HTML doc job
Donald SharpDonald Sharp
7acbf6d6c3eospf6d: Remove ospf6 route when connected winsCurrently when ospf6 installs a route that is later covered by a connected, the ospf6 route is never removed. Modify the code to detect the case where the new route that `wins` in ospf6 notices that it is connected and the old route that was in was a ospf6 route. If so send a specific route deletion for the ospf6 route. This failure is happening infrequently in the ospf6_point_to_multipoint t...
Jafar Al-GharaibehJafar Al-Gharaibeh
4cc3e29b780doc: document standalone Sphinx HTML build without configureAdd a section at the end of building-doc.rst describing how to run sphinx-build from the repository root when the tree has not been configured. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
41b6bd40727ci: gate github-ci Build/Test jobs on non-doc paths; add HTML doc job- Add doc-path-filter job (dorny/paths-filter) for doc/** vs rest of tree. - Run Prepare-MIB-Cache, Build, and Test only when changes exist outside doc/. - Add Documentation-HTML job (sphinx user + developer) when doc/ changes. - Skip Documentation-HTML when doc/ is unchanged. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Christian HoppsChristian Hopps
628dccb37f3tests: update test descriptionThis is a particular type of test we shouldn't mix in other generic config tests. The previous name was too generic as well so update it too. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
7a37c7752fctests: Modify tests to better test some zebra cli changesBetter test: a) ip import table b) allow-external.... c) packet read in values for zebra Signed-off-by: Donald Sharp <sharpd@nvidia.com> Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
14310d78b0alib: add to a comment on apply_finishSigned-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
df92b1cfb3amgmtd: improve vty error handling for `mgmt edit`Improve handling of error in frontend client/mgmt vty. Use this to return a more appropriate result (CMD_WARNING_CONFIG_FAILED) back to vtysh mirroring the normal config change path. As a result vtysh will correctly exit with status 1 when running one shot `mgmt edit` config commands. Signed-off-by: Christian Hopps <chopps@labn.net>
Donald SharpChristian HoppsDonald Sharp
95434229ceezebra: Move `ip import-table` to mgmt frontend sideThe `ip import-table ...` commands were not on the mgmt front end side. Move them to it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpChristian HoppsDonald Sharp
2b4bf3d3a36zebra: Move `zebra work-queue` to mgmt frontend sideReroute the `zebra work-queue` commands to actually be on the mgmt frontend side instead of the zebra side. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpChristian HoppsDonald Sharp
1e1cb5dc349zebra: Move `zebra zapi-packets` to mgmt frontend sideMove the `zebra zapi-packets` command to fully use the mgmt frontend. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpChristian HoppsDonald Sharp
f0f566d0ec7zebra: Move `zebra dplane limit` to mgmt frontend sideRoute the `zebra dplane limit` CLI through the mgmt-fronted zebra NB path and implement the existing dplane queue limit NB apply callback so the command keeps its behavior after the move. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpGitHubDonald Sharp
c704a2fdd88MMerge pull request #21442 from opensourcerouting/rip-log-neighborripd,yang: log neighbor events
Donatas AbraitisGitHubDonatas Abraitis
75e7c3b45f0MMerge pull request #21026 from sougatahitcs/bfd_actual_tx_timeout_with_applied_jitter_topotest_cleanupbfdd: bfd tx timeout topotest cleanup
Donatas AbraitisGitHubDonatas Abraitis
18aa3e41e48MMerge pull request #21461 from Jafaral/bgp-evpn-json-deadcodebgpd: remove unreachable json_paths free in evpn_show_all_routes()
Rafael ZalamenaRafael Zalamena
21e76145983doc: document new RIP log toggleDocument a new command in the `router rip` configuration node to toggle the RIP discovery / disappearance messages. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael ZalamenaRafael Zalamena
e9f892ec92etests: increment test to include new loggingIncrement the RIP BFD test to include testing the new log messages. The RIP BFD topology fits this test well due to the decreased interval between peer discovery and peer disappearance (due to BFD fast convergence). Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Martin WinterRafael ZalamenaMartin Winter
9e4cb219f31ripd, yang: add log-neighbor-changes configurationWhen log-neighbor-changes is enabled the RIP daemon will log everytime a peer is discovered and a peer times out. Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Donald SharpDonald Sharp
ce5ef148bbfpceplib: obj is already de-refed, no need to check for NULLobj is created via common_object_create() which never returns a NULL pointer. There is no need to test for it being NULL. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
bce204c1e5ebgpd: remove unreachable json_paths free in evpn_show_all_routes()When brief is true, json_paths is never allocated; the else branch was dead code and triggered Coverity CID 1670529 (DEADCODE). Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Christian HoppsGitHubChristian Hopps
7e4e723db82MMerge pull request #21051 from nishant111/nishant/watchfrr_collect_corewatchfrr,tools: add --collect-core to core dump unresponsive daemon
Mark StappMark Stapp
c70e0dd7682ospfd: add validation in several places before accessingAdd validation of LSA, TLV, and sub-TLV sizes before accessing bytes within the message bodies. Reported-by: Haruto Kimura (Stella) <harutokimura0608@gmail.com> Signed-off-by: Mark Stapp <mjs@cisco.com>
Rafael ZalamenaGitHubRafael Zalamena
039b63c10edMMerge pull request #21073 from sougatahitcs/sougatab/bfdd-avoid-prefix-list-mem-alloc-oom-fixbfdd: avoid prefix-list memory allocation in bfd to solve oom issue
Donald SharpGitHubDonald Sharp
2ac63aa73fdMMerge pull request #19564 from hedrok/13561-zebra-kernel-route-last-address-deletezebra: remove kernel route on last address deletion
Donald SharpGitHubDonald Sharp
5cf63641a01MMerge pull request #21450 from opensourcerouting/fix/bgp_peer-group_remote_as_differentbgpd: Allow overriding "remote-as" per-neighbor
Donald SharpGitHubDonald Sharp
bf867d4836dMMerge pull request #21453 from cscarpitta/fix_bgp_ls_wrong_union_member_accessbgpd: Fix wrong union member access in `bgp_ls_nlri_display()`
Donald SharpGitHubDonald Sharp
cb19f335ed9MMerge pull request #21456 from cscarpitta/fix_bgp_ls_use_proper_address_formattersbgpd: Use `%pI4/%pI6` formatters in BGP-LS NLRI display
Donald SharpGitHubDonald Sharp
b5b426305abMMerge pull request #21458 from opensourcerouting/pim_inet4_dumppimd: `pim_inet4_dump` -> `%pI4s`
Sougata BarikSougata Barik
32de64766edbfdd: avoid prefix-list memory allocation in bfd to solve oom issuePrefix-list memory is allocated in all FRR modules even when not needed. Added a mechanism to avoid allocation for modules that do not use prefix lists. Ticket: #4707868 Signed-off-by: Sougata Barik <sougatab@nvidia.com>
David LamparterDavid Lamparter
1a728a982fclib, pimd: `pim_inet4_dump`, begone!Signed-off-by: David 'equinox' Lamparter <equinox@opensourcerouting.org>
David LamparterDavid Lamparter
c20c7e6c632pimd: `pim_inet4_dump` -> `%pI4s`Better late than never, we don't need `pim_inet4_dump` when we have `printfrr`, replace it with `%pI4s` format strings. Signed-off-by: David 'equinox' Lamparter <equinox@opensourcerouting.org>
Donatas AbraitisGitHubDonatas Abraitis
e76579b279eMMerge pull request #21455 from cscarpitta/fix_bgp_ls_oversized_node_link_name_tlvsbgpd: Skip oversized BGP-LS Node and Link Name TLVs
Carmine ScarpittaCarmine Scarpitta
9537a7f416ebgpd: Use %pI4/%pI6 formatters in BGP-LS NLRI displaybgp_ls_nlri_display() converts addresses with inet_ntop() into a local string buffer before printing. FRR already supports %pI4/%pI6 in vty_out(), so the extra conversion path and temporary buffer are unnecessary. Replace inet_ntop()-based formatting with direct %pI4/%pI6 printing for router IDs and link interface/neighbor addresses, and drop the unused ipaddr_str buffer. This simplifies the ...
Carmine ScarpittaCarmine Scarpitta
e9ad308238bbgpd: Skip oversized BGP-LS Node and Link Name TLVsparse_node_name() and parse_link_name() accept a length parameter from the BGP-LS TLV header and allocate a buffer of that size without bounds checking. A malicious peer can send TLVs with length fields up to 64KB, causing per-advertisement memory exhaustion that accumulates across many updates. Fix by adding separate constants BGP_LS_MAX_NODE_NAME_LEN and BGP_LS_MAX_LINK_NAME_LEN (255 bytes e...