freeradius: Update to version 3.2.11
Commit Message
- 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 <adolf.belka@ipfire.org>
---
config/rootfiles/packages/freeradius | 15 ++++++++-------
lfs/freeradius | 6 +++---
2 files changed, 11 insertions(+), 10 deletions(-)
@@ -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
@@ -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)