From patchwork Mon Nov 30 16:31:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106541 Received: from mail-dl1-f44.google.com (mail-dl1-f44.google.com [74.125.82.44]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.36344.1796056329721859745 for ; Mon, 30 Nov 2026 08:32:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=G1OqwYIM; spf=pass (domain: gmail.com, ip: 74.125.82.44, mailfrom: raj.khem@gmail.com) Received: by mail-dl1-f44.google.com with SMTP id a92af1059eb24-14394530ec6so5757907c88.1 for ; Mon, 30 Nov 2026 08:32:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796056329; x=1796661129; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lu7WIZWGF442wgPslwK7SuxX1cNGTGutUoS1fx7X3CA=; b=G1OqwYIMrRTJirl9kHaelPqaxw5TSDdZuiQCIyAAn8EVdU0BiqCmvauRntLk+jYOSd jyDhMLiN252g9HbDWQKIuQ+1PEpbSKa6H3vnZ7fLyiTp0FKGNU1qR3084TygCA+LtEzh Y3cy5YN1zsaPrYo1/2f5zwxk+RYf3rZOATAGKxeozwMmzN/PrDFAROArlIcw5BGD6bZn OjsFQZkruXp0ipNfmlf5ZLoNB1mhwGR2Ste//F7S/ms7cXKcM8Zjwn19QvUAwXkC40ds fLDJEAz713Tv6d/vpCt0/H6izXFKSCaygi4Yg6lVhiaJusyauGRmMlwPCsY70aZ0uepr 1sDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796056329; x=1796661129; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=lu7WIZWGF442wgPslwK7SuxX1cNGTGutUoS1fx7X3CA=; b=o6syfatrx+Xey/pTM/A8MqI107qqEWRuvwDJK/1bbGG9Ate2CYTJQVJsVAPSTuEPwO PMfyizfWnf7TIoLHKRylaUJbSs/qQalMIinFjzRnZj67Zl/LXoqiler/bFOf1qY6IC9y VVmCIV2GIE+9x8WsA5fgp5knvgNSjxxXHQSEno1iNVPUTKWg12x9blJsp5nZB6jvcR/W DPiDmSlZe+KkM6eH4ZeARtokKW1Cl7mw84TY4H1TyZyRg83dxekp/cWN1wpbf/OQNMaM T4miuzxkhxEiqFGgTXAvsoH0sB0UQYeB8hDpjGAgQ7bsbmiW3F8QLURquNe9FkSJh3LE Bqsg== X-Gm-Message-State: APuU4Z9rzcnsgBpRGcQGRGVK2VVxWfitpI5hxua/W5a0QRked/L23Mvy BOsU8/l7f6x9dRoltMS1EHX9cwOrw1KntPcWphcjn21PnKegT6LgY4ySmPzA8s0Z X-Gm-Gg: AZFdTZdTtLhgOGJmbRal4aVatrbYC5bi1LUR8WyAjwwP8YzzLFjZX7uH2IpXdKyKWbr X8HoJEvPFZehKkqY5VgqpRcYxc4jsH7o6mS3eHfbslNUBDN2va72HgJkoeZOcmbNoHRyez8Fv2a Y/wRq7XwS7ETC/63uZfE/xUa2c/S5VQJD6x/gGyY3+Ihi2JYXTKX2E14u6ZbUJDSzw3UrnwlxAL oEgl3YDQS4a6XPGpbVQ+KGZAvEghfZJErTH2h/B3r61XqGg6uW1BKYjVRRe85Kqlq34dpQmGZ0v +tdKHZzJG7sH8O3faotCxOy6xUvpGDGLIidIqlsMh6m6ZqgtHlzGP7n7Eq4Y6hXCk1UUX+UrAXw MN9kwL2HFuZb3jd+RFz/pvjRkpFYWbe3Xa/CWhY8Rpd66Q+Arp57wPn+8cw1xhb1MlhGXUUp7l5 hDvkS1oKrpUsAcsLblMGEByraaD/rZZmWJRogdMJXFAVERe2FLWi6i+4K3HsDilu+OVE6o0OTDY xwg88T58Wa6z/fNohZPP7RADxC9IBluhv6gRlSJLR4z3KP8pOgT5BPuMRmiAlUT9LAvBjv+43X4 6/tog7AyKkSwH/2WYu1tpousffM1TNc2xMU8sZsEMZDSjNuP7t5CW26WJ0MawwuDt7g1fWZcU5G j/Vn9XcrwNE8QUNtkAG8d3J8S0JU57vjecXpC6RRUHBCG2KEnjkyg2ekaAQ69yS9jDgjs1cpPJY XUMZ54YaRfnGVTY+5MUuO19J8Eqw+lqjghAMlmfV4F+JUUGqwncYkwTHpPbJDPyYf2vlWJp/IJG 1sB0faxCjpvWaQAFcBtSJTbfNjwkEYCAIcb0FW3RohI/RSW+lEk/9t39U5mth3STCoDEVTtQYdk N0z3 X-Received: by 2002:a05:701b:4502:20b0:152:9e88:daaa with SMTP id a92af1059eb24-1b55690040amr32607774c88.36.1796056328773; Mon, 30 Nov 2026 08:32:08 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b556840494sm79143312c88.12.2026.11.30.08.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 08:32:08 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 11/15] freeradius: Upgrade 3.2.10 -> 3.2.11 Date: Mon, 30 Nov 2026 08:31:47 -0800 Message-ID: <20261130163151.1629071-12-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261130163151.1629071-1-khem.raj@oss.qualcomm.com> References: <20261130163151.1629071-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 16:32:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133551 A high-urgency release with many security fixes; upstream deprecates all earlier 3.2 releases. - Fixes an overflow on relayed DHCP packets, RadSec socket error corner cases and races adding or deleting dynamic TLS clients. - Builds with OpenSSL 4.0. - Adds EAP-PSK, track_home_server for home server pools, $VALUE{} and $FILE{} expansions, TLS-* attributes for New-TLS-Connection and more proxy socket statistics; rlm_python3 is thread-safe. - Removes PEAP/SoH and trustrouter (abfab) support, stops hex encoding Chargeable-User-Identity and lowers the default EAP TLS buffer_size from 64k to 4k. Drop 0001-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch, which was merged upstream. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...ING-functions-for-OpenSSL-4.0-compat.patch | 78 ------------------- ...eradius_3.2.10.bb => freeradius_3.2.11.bb} | 3 +- 2 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/freeradius/freeradius/0001-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch rename meta-networking/recipes-connectivity/freeradius/{freeradius_3.2.10.bb => freeradius_3.2.11.bb} (98%) diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius/0001-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch b/meta-networking/recipes-connectivity/freeradius/freeradius/0001-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch deleted file mode 100644 index 9c7c9a15b0..0000000000 --- a/meta-networking/recipes-connectivity/freeradius/freeradius/0001-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch +++ /dev/null @@ -1,78 +0,0 @@ -From e2c69353ed1702c22eac2191b67977853d7d4277 Mon Sep 17 00:00:00 2001 -From: Antonio Torres -Date: Tue, 5 May 2026 14:42:27 +0200 -Subject: [PATCH] Use ASN1_STRING functions for OpenSSL 4.0 compat - -Use ASN1_STRING accessor functions instead of direct field access -for ASN1_IA5STRING, ASN1_INTEGER, and ASN1_TIME structures. - -This fixes compatibility with OpenSSL 4.0. - -Signed-off-by: Antonio Torres -Upstream-Status: Submitted [https://github.com/FreeRADIUS/freeradius-server/pull/5841] -Signed-off-by: Jaipaul Cheernam ---- - src/main/tls.c | 26 ++++++++++++++++---------- - 1 file changed, 16 insertions(+), 10 deletions(-) - -diff --git a/src/main/tls.c b/src/main/tls.c -index bcb65cecca8b..211eb0f9ff9d 100644 ---- a/src/main/tls.c -+++ b/src/main/tls.c -@@ -2568,7 +2568,7 @@ static int ocsp_parse_cert_url(X509 *cert, char **host_out, char **port_out, - if (OBJ_obj2nid(ad->method) != NID_ad_OCSP) continue; - if (ad->location->type != GEN_URI) continue; - -- if (OCSP_parse_url((char *) ad->location->d.ia5->data, host_out, -+ if (OCSP_parse_url((const char *) ASN1_STRING_get0_data(ad->location->d.ia5), host_out, - port_out, path_out, is_https)) { - ret = 1; - break; -@@ -3050,12 +3050,14 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx) - * we're at the client or issuing certificate. - */ - if (certs && -- (lookup <= 1) && sn && ((size_t) sn->length < (sizeof(buf) / 2))) { -+ (lookup <= 1) && sn && ((size_t) ASN1_STRING_length(sn) < (sizeof(buf) / 2))) { - char *p = buf; - int i; -+ int sn_len = ASN1_STRING_length(sn); -+ const unsigned char *sn_data = ASN1_STRING_get0_data(sn); - -- for (i = 0; i < sn->length; i++) { -- sprintf(p, "%02x", (unsigned int)sn->data[i]); -+ for (i = 0; i < sn_len; i++) { -+ sprintf(p, "%02x", (unsigned int)sn_data[i]); - p += 2; - } - vp = fr_pair_make(talloc_ctx, certs, cert_attr_names[FR_TLS_SERIAL][lookup], buf, T_OP_SET); -@@ -3068,9 +3070,11 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx) - buf[0] = '\0'; - asn_time = X509_get_notAfter(client_cert); - if (certs && (lookup <= 1) && asn_time && -- (asn_time->length < (int) sizeof(buf))) { -- memcpy(buf, (char*) asn_time->data, asn_time->length); -- buf[asn_time->length] = '\0'; -+ (ASN1_STRING_length(asn_time) < (int) sizeof(buf))) { -+ int time_len = ASN1_STRING_length(asn_time); -+ const unsigned char *time_data = ASN1_STRING_get0_data(asn_time); -+ memcpy(buf, time_data, time_len); -+ buf[time_len] = '\0'; - vp = fr_pair_make(talloc_ctx, certs, cert_attr_names[FR_TLS_EXPIRATION][lookup], buf, T_OP_SET); - rdebug_pair(L_DBG_LVL_2, request, vp, NULL); - } -@@ -3081,9 +3085,11 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx) - buf[0] = '\0'; - asn_time = X509_get_notBefore(client_cert); - if (certs && (lookup <= 1) && asn_time && -- (asn_time->length < (int) sizeof(buf))) { -- memcpy(buf, (char*) asn_time->data, asn_time->length); -- buf[asn_time->length] = '\0'; -+ (ASN1_STRING_length(asn_time) < (int) sizeof(buf))) { -+ int time_len = ASN1_STRING_length(asn_time); -+ const unsigned char *time_data = ASN1_STRING_get0_data(asn_time); -+ memcpy(buf, time_data, time_len); -+ buf[time_len] = '\0'; - vp = fr_pair_make(talloc_ctx, certs, cert_attr_names[FR_TLS_VALID_SINCE][lookup], buf, T_OP_SET); - rdebug_pair(L_DBG_LVL_2, request, vp, NULL); - } diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.10.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.11.bb similarity index 98% rename from meta-networking/recipes-connectivity/freeradius/freeradius_3.2.10.bb rename to meta-networking/recipes-connectivity/freeradius/freeradius_3.2.11.bb index 2ff1a9e2be..03749043ef 100644 --- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.10.bb +++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.11.bb @@ -39,12 +39,11 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;tag=$ file://0016-version.c-don-t-print-build-flags.patch \ file://0017-Add-acinclude.m4-to-include-required-macros.patch \ file://0018-Fix-permissions-after-generating-certificates-with-m.patch \ - file://0001-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch \ " raddbdir = "${sysconfdir}/${MLPREFIX}raddb" -SRCREV = "9071ea041b9172e52eabbba91619afaf3a238795" +SRCREV = "6f62142bc4bada1fcfe189d8a54855594f4ad68f" UPSTREAM_CHECK_GITTAGREGEX = "release_(?P\d+(\_\d+)+)"