FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Mark StappGitHubMark Stapp
0148e777bd8MMerge pull request #20950 from hnattamaisub/ip_route_briefzebra: support brief json for show ip route command
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
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
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...
Carmine ScarpittaCarmine Scarpitta
1ab257d29cebgpd: Fix wrong union member access in bgp_ls_nlri_display()BGP-LS NLRIs carry different data depending on their type (Node, Link, or Prefix). Internally the data is stored in a C union, where only the member matching the active NLRI type is valid to read. bgp_ls_nlri_display() always reads the protocol_id and identifier fields through the node union member, even when the NLRI is actually a Link or Prefix. Reading the wrong union member is undefined be...
Donatas AbraitisDonatas Abraitis
d4a8cb405e5bgpd: Always print peer-group first for the specific neighborAvoid such a case like below where neighbor X does not have remote-as 1, but gets the remote-as from peer-group G. neighbor G peer-group neighbor G remote-as 2 neighbor X remote-as 1 neighbor X peer-group G Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
9c43242d32etests: Check if we can override remote-as per neighborSigned-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
f05fda88329bgpd: Allow overriding "remote-as" per-neighborSince we have a way to specify "remote-as auto", it makes sense to relax this behavior to allow overriding remote-as for an arbitrary neighbor too. E.g. Arista allows this behavior. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Russ WhiteGitHubRuss White
7d94895937cMMerge pull request #21438 from mjstapp/fix_tracepoint_gcc_14bgpd,lib,zebra: use explicit casts in tracepoint definitions
Mark StappGitHubMark Stapp
a9550014bb7MMerge pull request #21443 from cscarpitta/fix_srv6_sid_notify_cidbgpd: Fix copy-paste error in SRv6 DT46 SID duplicate install check (CID 1670455)
Carmine ScarpittaCarmine Scarpitta
0b8b8d3e2c0bgpd: Fix copy-paste error in SRv6 DT46 SID duplicate install checkSRv6 End.DT46 uses a single shared SID for both the IPv4 (AFI_IP) and IPv6 (AFI_IP6) address families within a VRF. When zebra notifies bgpd that a SID has been assigned, bgpd must install it for both AFIs. To avoid sending zebra a duplicate ROUTE_ADD, the AFI_IP6 code path first checks whether AFI_IP has already done the install: 1) do both AFIs currently hold the same SID? 2) has AFI_I...
Kyrylo YatsenkoKyrylo Yatsenko
7186f8484f0zebra: topotest for last address deletionAdd test that checks kernel routes behaviour on last address deletion. For IPv4 last address deletion must delete all routes for kernel and FRR. For IPv6 checks that as expected last address deletion doesn't effect kernel or FRR routes. See #13561 Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
506c9aa4879zebra: remove kernel route on last address deletionFixes: #13561 Linux kernel deletes IPv4 routes when last interface IPv4 address is deleted, but intentionally doesn't send RTM_DELROUTE in this case. IPv6 has no such behaviour: all routes remain intact on last address deletion. FRR has function rib_update_handle_kernel_route_down_possibility that handles setting interface down, but not removal of last address. To fix the situation: * Add ...
Carmine ScarpittaGitHubCarmine Scarpitta
4ef1aa852e7MMerge pull request #21432 from iurmanj6WIND/fix-srv6-doc-bisdoc: fix SRv6 route commands (bis)
Mark StappMark Stapp
689d29b8867bgpd,lib,zebra: cast pointers to intptr_t in tracepointsCast pointers in tracepoint arguments to intptr_t explicitly to keep compilers happy. Signed-off-by: Mark Stapp <mjs@cisco.com>
Mark StappMark Stapp
24e6573a20abgpd: fix error in evpn_mac_ip_zsend tracepoint definitionprefix.macip_addr.eth_tag used as a pointer, but actually an int. Signed-off-by: Mark Stapp <mjs@cisco.com>
Mark StappGitHubMark Stapp
b97fb700b35MMerge pull request #21433 from y-bharath14/srib-yang-V14yang: Correct pyang errors in frr-pim-route-map.yang