FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Carmine ScarpittaGitHubCarmine Scarpitta
cea8d91b156MMerge pull request #21376 from hedrok/bgp_ls_add_several_tlvslib, isisd, bgpd: BGP-LS add several tlvs
Donatas AbraitisGitHubDonatas Abraitis
146e8cdaa79MMerge pull request #21778 from donaldsharp/bgp_crashesBgp crashes
Donatas AbraitisGitHubDonatas Abraitis
887175d4345MMerge pull request #21786 from enkechen-panw/aggr-counter-fix1bgpd: fix aggregate->count undercount when dampening is cleared
Enke ChenEnke Chen
bab49c7e097bgpd: fix aggregate->count undercount when dampening is clearedbgp_damp_info_clean() calls bgp_aggregate_increment() while the path still carries BGP_PATH_DAMPED (and BGP_PATH_HISTORY), so the increment is skipped because BGP_PATH_HOLDDOWN() is true. bgp_damp_info_free() then clears those flags, leaving the route active in the RIB with no HOLDDOWN. When the route is later deleted, bgp_aggregate_decrement() proceeds normally, driving count one below where...
Donald SharpDonald Sharp
c5638ab946abgpd: Prevent crash when list is already NULLEnsure that the list is actually there on cleanup. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
7be92a7123abgpd: Prevent assert on shutdown in evpn setupI am seeing this crash on shutdown: (gdb) bt 0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44 1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 3 0x000073b03f64527e in __GI_raise (sig=6) at ../sysd...
Kyrylo YatsenkoKyrylo Yatsenko
5ee1b95053abgpd: BGP-LS: simplify bgp_ls_attr_to_jsonSimplify bgp_ls_attr_to_json using json_object_string_addf instead of snprintfrr + json_object_string_add Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
6c55c752604tests: BGP-LS IS-IS Area Identifier (TLV 1027)Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
e0d9ce87c80bgpd: BGP-LS: update IS-IS Area Identifier (TLV 1027)* Console output (bgp_ls_attr_display) * JSON output (bgp_ls_attr_to_json) * Fill in from TED (bgp_ls_populate_node_attr) Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
c489cf70f12isis, lib: add isis area id to ls_nodeIt is needed for BGP-LS IS-IS Area Identifier (TLV 1027) Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Donald SharpGitHubDonald Sharp
5c8e5670fd5MMerge pull request #21711 from LabNConsulting/chopps/commit-info-msgadd successful commit info msg
Mark StappGitHubMark Stapp
1fa29d150dfMMerge pull request #21777 from opensourcerouting/fix/security_hardening_bgpdbgpd: Add some defences for AS4/ENCAP handling
Donatas AbraitisDonatas Abraitis
44f3385741abgpd: Define a maximum number of TLVs for ENCAP attributeAdding just a guard against the memory going crazy (too much malloc()s) with legitimate TLVs, but sort of "malformed"/crafted packet. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
9f2507e0d89bgpd: Replace assert() with a boundary check conditionJust to avoid randomly killing bgpd daemon with a malformed packet. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Russ WhiteGitHubRuss White
2e60433ab77MMerge pull request #21485 from sougatahitcs/sougatab/bgpd-show-bgp-vrfs-jsonbgpd: Add json support for show bgp vrfs cmd
Russ WhiteGitHubRuss White
de246873dedMMerge pull request #21300 from pguibert6WIND/gre_fixesGre fixes
Russ WhiteGitHubRuss White
4b8f83cc460MMerge pull request #21011 from florath/satlab/ospf6-zebra-reinstall-mainospf6d: reinstall routes after zebra reconnect
Russ WhiteGitHubRuss White
809485620ffMMerge pull request #21104 from GaladrielZhao/fix/nhe_received_updatezebra: Fix incorrect update of 'nhe_received' in route_entry_update_nhe()
Russ WhiteGitHubRuss White
79af48826aeMMerge pull request #21467 from hnattamaisub/bgp_md5bgpd: dynamic neighbors not up with md5 in non default vrf
hariniharini
1c40b4dea66tests: Added topotests to simulate the problem scenario.Signed-off-by: harini <hnattamaisub@nvidia.com>
hariniharini
d788c55198ebgpd: dynamic neighbors not up with md5 in non default vrfIssue: When non default vrf, bgp instance and peer group with dynamic neighbors and md5 config are configured together, bgp peer config happens first. But bgp vrf enable notification is received later. BGP listerner socket get created now, but the md5 password is not set on listening FD. Due to this tcp session not getting established. Fix: walk through the bgp peer group listening socket rang...
Donatas AbraitisGitHubDonatas Abraitis
163578c6378MMerge pull request #21687 from soumyar-roy/soumya/LLwronginf
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
649ecaa8a0aMMerge pull request #21764 from donaldsharp/pim_ordering_issuepimd: Provide better ordering for calling pim_upstream_use_rpt
Nathan BahrGitHubNathan Bahr
94f30bfa1b5MMerge pull request #21704 from soumyar-roy/soumya/pimdcrashpimd: fix crash in JP agg list due to stale upstream entry
Donald SharpGitHubDonald Sharp
456b14d23d8MMerge pull request #21734 from Jafaral/bsr-grp-boundpimd: harden BSM group/RP parsing paths
Donald SharpDonald Sharp
3eaca3c502fpimd: Provide better ordering for calling pim_upstream_use_rptIn pim_upstream_new, call pim_upstream_use_rpt after the rpf_update as that pim_upstream_use_rpt can make a decision about what is done based upon rpf changes. This aligns the two together. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpGitHubDonald Sharp
673ea49a7a2MMerge pull request #21686 from mjstapp/fix_nhrp_uninitnhrpd: improve validation in packet parsing
Kyrylo YatsenkoKyrylo Yatsenko
56106a15a51tests: BGP-LS add Node MSD (TLV 266)Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
3177c9feb96bgpd: BGP-LS: add Node MSD (TLV 266)Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
b67bf10ca9dtests: BGP-LS SR Capabilities (TLV 1034)Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
dbbff1b0b66bgpd: BGP-LS: add SR Capabilities (TLV 1034)Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
53dee15eccebgpd: BGP-LS Fix bgp_ls_attr_prefix_sid_lenSigned-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Donatas AbraitisGitHubDonatas Abraitis
61b552f09a9MMerge pull request #21755 from cscarpitta/bgp_ls_replace_tlv_flagsbgpd: Replace `BGP_LS_TLV_*` macros with standard FRR `FLAG` macros
Carmine ScarpittaCarmine Scarpitta
f3e1af27ccbbgpd: Replace BGP_LS_TLV_ macros with standard FRR FLAG macrosbgp_ls_nlri.h defines four local helpers: #define BGP_LS_TLV_SET(bitmap, bit) ((bitmap) |= (1ULL << (bit))) #define BGP_LS_TLV_CHECK(bitmap, bit) ((bitmap) & (1ULL << (bit))) #define BGP_LS_TLV_UNSET(bitmap, bit) ((bitmap) &= ~(1ULL << (bit))) #define BGP_LS_TLV_RESET(bitmap) ((bitmap) = 0) These duplicate the SET_FLAG / CHECK_FLAG / UNSET_FLAG / RESET_FLAG macros already defin...
Rafael ZalamenaGitHubRafael Zalamena
a6ff023c16aMMerge pull request #21613 from pguibert6WIND/bfd_misc_fixesBFD miscellaneous fixes
Donatas AbraitisGitHubDonatas Abraitis
20514f5e01bMMerge pull request #21604 from cscarpitta/use_bgp_ls_set_macrobgpd: Use `BGP_LS_TLV_SET` macro to set `present_tlvs` bits
Donatas AbraitisGitHubDonatas Abraitis
4e2a60ce8ccMMerge pull request #20930 from sougatahitcs/sougatab/bgpd-Fixed-crashes-in-bgp-received-routes-brief-5 bgpd: Fixed crash in bgp received-routes detail json and code cleanup
Donatas AbraitisGitHubDonatas Abraitis
6578290d3ffMMerge pull request #21735 from lsang6WIND/srv6_unicastbgpd: move auto config flag from bgp to srv6 unicast policy
Jafar Al-GharaibehJafar Al-Gharaibeh
96cebe936f5pimd: harden BSM group/RP parsing pathsBound BSR-derived (G,RP) state growth and tighten AFI/mask validation so malformed or flooded BSM input cannot drive unbounded allocations. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
souroysouroy
974453f9713pimd: fix crash in JP agg list due to stale upstream entryWhen pim_upstream_rpf_clear() nulls the RPF interface, it does not remove the upstream from the old RPF neighbor's JP aggregation list. This leaves a stale entry that becomes a dangling pointer after the upstream is eventually freed. When the neighbor's JP timer fires and iterates the list, it dereferences the freed upstream causing a SIGSEGV. Fix by finding the RPF neighbor and removing the u...
Donald SharpGitHubDonald Sharp
6347b261fb8MMerge pull request #21733 from nick-bouliane/evpn_del_fix_flagzebra: fix EVPN MACIP DEL flag mixup in neighbor delete path
Mark StappGitHubMark Stapp
de3c4168a65MMerge pull request #21699 from donaldsharp/bgp_vpnv4_per_nexthop_label_failuretests: Ensure test_bgp_vpnv4_per_nexthop_label.py actually has a chance
Donald SharpGitHubDonald Sharp
dd32f365d01MMerge pull request #21707 from Jafaral/fix-pim-hellopimd: cap PIM Hello secondary address list parsing
Christian HoppsChristian Hopps
133b62ee575tests: add tests for info msgs on config applyAdd a YANG test module with config, conditionally load it and add CLI commands to set. Add a test which covers both the classic CLI path as well as the EDIT config path. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
7d2889b0139mgmtd: allow info msg on successful config applyAllow for return of informational messages from backend NB callbacks back to the frontend on successful commits. Backend clients can now send any errmsg set during the APPLY phase in the CFG_APPLY_REPLY variable data. mgmtd collects messages from all backends and forwards the result to the frontend in the COMMIT_REPLY message. The vty frontend will now displays them as well. Signed-off-by: Chr...
Loïc SangLoïc Sang
add27c10c8dbgpd: move auto config flag from bgp to srv6 unicast policyMove SID allocation auto mode on bgp to srv6 unicast policy. This is a better fit and rename to SRV6_POLICY_FLAG_SID_AUTO. Signed-off-by: Loïc Sang <loic.sang@6wind.com>
Yuqing ZhaoYuqing Zhao
e4c9930e703zebra: Fix incorrect update of 'nhe_received' in route_entry_update_nhe()The variable 'nhe_received' stores the NHG received from the upper-level protocol. It should not be unconditionally overwritten during route processing, as doing so loses the original NHG. In route_entry_update_nhe(), replace the unconditional update of nhe_received with a conditional one: only clear nhe_received (and decrement its ref) when it points to the same NHG as nhe, which is being rep...
Mark StappGitHubMark Stapp
8f34dfbd5baMMerge pull request #21712 from donaldsharp/ospf_te_not_setting_typeospfd: Fix setting of type
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
a335ed63faeMMerge pull request #21691 from donaldsharp/pim_fixes_in_testPim fixes in test
Nick BoulianeNick Bouliane
19e835883d1zebra: fix EVPN MACIP DEL flag mixup in neighbor delete pathOn ZEBRA_MACIP_DEL, zebra_evpn_neigh_send_del_to_client() was passing ZEBRA_NEIGH_* flags into zebra_evpn_macip_send_msg_to_client(), while debug output decodes those bits as ZEBRA_MACIP_TYPE_* flags. Because bit values overlap, DEL logs could incorrectly print "Sticky MAC". This is a flag-domain mismatch on DEL reporting, not a behavior change in BGP processing (DEL uses state). Fix by sendi...