From patchwork Fri Nov 27 14:33:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10873 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jbbWT6GVDz3x30 for ; Fri, 27 Nov 2026 14:33:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jbbWT3fVPz6xG for ; Fri, 27 Nov 2026 14:33:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jbbWM2Xlfz37Bd for ; Fri, 27 Nov 2026 14:33:35 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jbbWD4QGJz34Lt for ; Fri, 27 Nov 2026 14:33:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jbbWC4fnFz6Q2; Fri, 27 Nov 2026 14:33:27 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795790007; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=14qGzwojcJ6D8Gu2KgsLbPULsR+YUeqAn35l/FF8/6k=; b=EZ34NSxF69kCmyC76YmVKp/mjs4yA4se66Y0j7lZVJfVI6tI5YdA/eKhBTcMd7Uab2ajUH 3xusqYaxLFmcIpBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795790007; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=14qGzwojcJ6D8Gu2KgsLbPULsR+YUeqAn35l/FF8/6k=; b=tA/v8PcVuMEbTm4LIXzuiZXg/i2G1QMRIouKhcnfC8RIE6kHx7n/ij/kbS9L4ftejwtoW4 sIcrvW41XTvpwF3ehrWZJJvt7TDHQgT0E+Hi1B7Jwqur0X04MALbeFMSKUX2FdSGtK4xcB HgMUV84u1u+QgJ0MLvy5TbFSv7aY+RlPFdol6IqW5IgWZrH97WiYmtza5C733pWq2LnOi5 NdKlu751l31WuCXRAyjfd7TgDjmjKnqUlcc9R+YKZYLtSOueMaJqPSz4IIvnsm3iEmoCPO qa1CrYMVcjnS1NO+h2I5wQQOgQecKJ4Agjv3FMzkKI1NYaYYxLty9tEGd5xZ4A== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] freeradius: Update to version 3.2.11 Date: Fri, 27 Nov 2026 15:33:13 +0100 Message-ID: <20261127143322.3795112-8-adolf.belka@ipfire.org> In-Reply-To: <20261127143322.3795112-1-adolf.belka@ipfire.org> References: <20261127143322.3795112-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 3.2.10 to 3.2.11 - Update of rootfile - Under Feature Improvements the changelog mentions Many security fixes and also that all previous 3.2 versions are deprecated and should not be used. - Changelog 3.2.11 Configuration Updates Add notes on the security of CHAP-Password and MS-CHAP-* If you send these attributes over RADIUS/UDP, then any observer can crack those passwords in milliseconds on a laptop. PEAP / SoH functionality has been removed. It was removed from Windows over 10 years ago, and is no longer relevant. Removed all code and configuration related to trustrouter (abfab) That project was marked as end of life a few years ago. Add example of using socat to test radclient + UDP to the server over TLS. See sites-available/tls, and look for "socat". Add per-section "do_xlat" and "is_json" config items to rlm_rest see mods-available/rest for details. Don't needlessly hex encode Chargeable-User-Identity. This may change the CUI values in existing configurations if the policy is updated. Default value for EAP TLS buffer_size reduced from 64k to 4k, which should save memory with a large number of EAP conversations. Feature Improvements Many security fixes * All previous versions of 3.2 are deprecated, and should not be used. Implement "track_home_server" in home_server_pool configuration, see proxy.conf. The previous (and not working) "affinity_id" configuration has been removed. Implement EAP-PSK. See mods-available/eap for configuration The PSK must be in "PSK-Password", and must be 16 octets in length. Add $VALUE{filename} which reads a value from one line of a file. Add $FILE{filename} which reads a value from the entire contents of a file. Update DPSK module to read VLANs from the CSV file, and to export &reply:Pairwise-Master-Key. Clean up and normalize log messages and debug output. These changes make the messages easier to read, and easier to understand. Add significantly more stats for outgoing proxy sockets. Use wildcard socket for outgoing UDP proxy sockets in more cases This helps to significantly lower the number of active sockets. Add TLS-* attributes for use in Autz-Type New-TLS-Connection Fixes #5979. Performance improvements for "update" sections. The differences are most noticable when there are many attributes (30+). Docker fixups for 32-bit ARM systems. rlm_python3 is now marked as thread-safe, which should help to improve performance. Update dictionary.wifialliance. Patch from Stefan Paetow. Warn at startup if certificates are not in date. Patch from Terry Burton. Bug Fixes Skip TLS PSK checks when OpenSSL does not support PSK Fixes #5874. Updated to help build with OpenSSL 4.0 alpha. Improve performance of State handling when tracking many EAP packets. Fix overflow on relayed DHCP packets. Issue found by A. Ramos. Fix more corner cases in RadSec when sockets have errors. Tweaked module messages to be more consistent, so that messages associated with a request are printed with the correct request ID. Fix race conditions when adding or deleting multiple dynamic TLS clients. Ethernet addresses which are cast to int64 are now in the low bits of the number, instead of the high bits. Remove redundant talloc_free in LDAP. Fixes #5927. Add printing of prepend operator. Fixes #5928. Failed TCP / TLS connections no longer mark the home server as "dead" Existing connections (if any) continue to be used. New connection are blocked for "connect_fail_interval" or "certificate_fail_interval". Handle race condition in "new proxy socket", which fixes a long-standing issue where it would open a socket, send packets, and then (rarely) ignore the replies. Fix secret suppression in rlm_python3. rlm_sql_sqlite no longer leaks the database handle and its file descriptor when a query fails with an error which causes a reconnect, such as a read-only database. The error from the database is now logged, with its file name. Set "secret" flag for dynamic clients, too. For dynamic home servers, make realm_dir filenames and SNI checks case insensitive. Avoid filesort when processing radacct on MySQL / MariaDB. Fix simul_verify_query for SQLite, which looked up the wrong user. Patch from Terry Burton. PR #6000. Update "consistent-keyed-balance" to be more even. There are still some differences between home servers, but the differences are not substantial. Fix OCSP checks for certificates containing Authority Info Access. Clean up memory on OSCP failure. Fixes #5973. Don't use require_ma for CoA / Disconnect packets, as it's not necessary. Many fixes and tweaks for reverse CoA, which is now running in production Patches from CyB0rgg. Don't require Message-Authenticator in Status-Server replies. Fixes #6006. Fix generation of Acct-Unique-Session-Id in some cases. Fixes #5981. Signed-off-by: Adolf Belka --- config/rootfiles/packages/freeradius | 15 ++++++++------- lfs/freeradius | 6 +++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/config/rootfiles/packages/freeradius b/config/rootfiles/packages/freeradius index fdd5a4598..9d7195127 100644 --- a/config/rootfiles/packages/freeradius +++ b/config/rootfiles/packages/freeradius @@ -78,7 +78,6 @@ etc/raddb #etc/raddb/mods-available/rest #etc/raddb/mods-available/smbpasswd #etc/raddb/mods-available/smsotp -#etc/raddb/mods-available/soh #etc/raddb/mods-available/sometimes #etc/raddb/mods-available/sql #etc/raddb/mods-available/sql_map @@ -269,7 +268,6 @@ etc/raddb #etc/raddb/mods-enabled/radutmp #etc/raddb/mods-enabled/realm #etc/raddb/mods-enabled/replicate -#etc/raddb/mods-enabled/soh #etc/raddb/mods-enabled/sradutmp #etc/raddb/mods-enabled/totp #etc/raddb/mods-enabled/unix @@ -312,8 +310,8 @@ etc/raddb #etc/raddb/sites-available/originate-coa #etc/raddb/sites-available/proxy-inner-tunnel #etc/raddb/sites-available/resource-check +#etc/raddb/sites-available/reverse-coa #etc/raddb/sites-available/robust-proxy-accounting -#etc/raddb/sites-available/soh #etc/raddb/sites-available/status #etc/raddb/sites-available/tls #etc/raddb/sites-available/tls-cache @@ -457,6 +455,9 @@ usr/lib/freeradius/rlm_cache.so #usr/lib/freeradius/rlm_cache_rbtree.a #usr/lib/freeradius/rlm_cache_rbtree.la usr/lib/freeradius/rlm_cache_rbtree.so +#usr/lib/freeradius/rlm_cache_sqlite.a +#usr/lib/freeradius/rlm_cache_sqlite.la +usr/lib/freeradius/rlm_cache_sqlite.so #usr/lib/freeradius/rlm_chap.a #usr/lib/freeradius/rlm_chap.la usr/lib/freeradius/rlm_chap.so @@ -499,6 +500,9 @@ usr/lib/freeradius/rlm_eap_mschapv2.so #usr/lib/freeradius/rlm_eap_peap.a #usr/lib/freeradius/rlm_eap_peap.la usr/lib/freeradius/rlm_eap_peap.so +#usr/lib/freeradius/rlm_eap_psk.a +#usr/lib/freeradius/rlm_eap_psk.la +usr/lib/freeradius/rlm_eap_psk.so #usr/lib/freeradius/rlm_eap_pwd.a #usr/lib/freeradius/rlm_eap_pwd.la usr/lib/freeradius/rlm_eap_pwd.so @@ -580,9 +584,6 @@ usr/lib/freeradius/rlm_replicate.so #usr/lib/freeradius/rlm_rest.a #usr/lib/freeradius/rlm_rest.la usr/lib/freeradius/rlm_rest.so -#usr/lib/freeradius/rlm_soh.a -#usr/lib/freeradius/rlm_soh.la -usr/lib/freeradius/rlm_soh.so #usr/lib/freeradius/rlm_sometimes.a #usr/lib/freeradius/rlm_sometimes.la usr/lib/freeradius/rlm_sometimes.so @@ -870,6 +871,7 @@ usr/sbin/radmin #usr/share/doc/freeradius/configuration/dynamic_home_servers.md #usr/share/doc/freeradius/configuration/load_balance.rst #usr/share/doc/freeradius/configuration/post_auth_type +#usr/share/doc/freeradius/configuration/reverse_coa.md #usr/share/doc/freeradius/configuration/session_type #usr/share/doc/freeradius/configuration/simultaneous_use #usr/share/doc/freeradius/configuration/snmp @@ -899,7 +901,6 @@ usr/sbin/radmin #usr/share/doc/freeradius/modules/rlm_pam #usr/share/doc/freeradius/modules/rlm_passwd #usr/share/doc/freeradius/modules/rlm_python -#usr/share/doc/freeradius/modules/rlm_soh #usr/share/doc/freeradius/modules/rlm_sql #usr/share/doc/freeradius/modules/rlm_sqlcounter #usr/share/doc/freeradius/modules/rlm_sqlippool diff --git a/lfs/freeradius b/lfs/freeradius index ec13b8ce3..0f81f3b2c 100644 --- a/lfs/freeradius +++ b/lfs/freeradius @@ -26,7 +26,7 @@ include Config SUMMARY = RADIUS Server -VER = 3.2.10 +VER = 3.2.11 THISAPP = freeradius-server-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = freeradius -PAK_VER = 27 +PAK_VER = 28 DEPS = libtalloc samba @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 2e4b88f13c5742e60fd5b2931e93cb861b8fd0b9b12ba340a08f185884b64e49f035e14387a19b9ae4ae7c71ec9249132c0ccf19febfcdefd4725ddef0877a77 +$(DL_FILE)_BLAKE2 = 342056a88c82f13f9efa7ae525ce310b1091c03eaaaf752428a1985e35b705e87b78acb745807643b1a16eaebbbf53b75476b42110bd98b10fbf420b3199ca56 install : $(TARGET)