]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Jorge Pereira [Tue, 14 Mar 2023 18:44:21 +0000 (15:44 -0300)]
Fix runtime error: load of misaligned address in xlat_integer()
Such error:
src/main/xlat.c:206:38: runtime error: load of misaligned address 0x00010410ba72 for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment
0x00010410ba72: note: pointer points here
00 00 00 20 39 38 37 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/main/xlat.c:206:38 in
Jorge Pereira [Tue, 14 Mar 2023 18:27:21 +0000 (15:27 -0300)]
Fix runtime LSAN/ASAN error in fr_in6addr_mask()
Such error:
src/lib/misc.c:1266:34: runtime error: load of misaligned address 0x00016f8b1d54 for type 'const uint64_t' (aka 'const unsigned long long'), which requires 8 byte alignment
0x00016f8b1d54: note: pointer points here
e0 89 29 05 00 00 00 00 00 00 00 00 00 00 ff ff cb 00 71 00 00 00 00 00 e0 89 29 05 01 00 00 00
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/lib/misc.c:1266:34 in
Jorge Pereira [Tue, 14 Mar 2023 17:51:56 +0000 (14:51 -0300)]
Fix AddressSanitizer: odr-violation in 'radiusd_version'
That's why we are backing port the 'HIDDEN' macro.
Jorge Pereira [Tue, 14 Mar 2023 16:26:16 +0000 (13:26 -0300)]
Fix LSAN/ASAN memory-leak in lib/radius
Jorge Pereira [Wed, 8 Mar 2023 15:20:21 +0000 (12:20 -0300)]
Fix runtime LSAN/ASAN error in src/lib/dict.c
src/lib/dict.c:1365:9: runtime error: signed integer overflow:
429496729 * 10 cannot be represented in type 'int'
Jorge Pereira [Wed, 8 Mar 2023 15:17:44 +0000 (12:17 -0300)]
Fix runtime LSAN/ASAN error in src/main/conffile.c
src/main/conffile.c:1831:49: runtime error: applying zero offset to null pointer
Jorge Pereira [Tue, 14 Mar 2023 17:26:55 +0000 (14:26 -0300)]
radattr: Fix several memory-leaks reported by LSAN
Alan T. DeKok [Fri, 17 Mar 2023 13:20:00 +0000 (09:20 -0400)]
juste use fr_hash() instead of hand-rolled hash from 2002
Alan T. DeKok [Thu, 16 Mar 2023 17:01:56 +0000 (13:01 -0400)]
coa->home_server may be NULL. Fixes #4929
It's not clear _why_ home_server==NULL. Nothing resets it.
And it should only be NULL if the CoA packet is sent through a
virtual home server
Alan T. DeKok [Wed, 15 Mar 2023 17:52:34 +0000 (13:52 -0400)]
Update dictionary.wifialliance (#4928)
Discovered HS20-Roaming-Consortium being mentioned here:
https://wiki.geant.org/pages/viewpage.action?pageId=
133763844
Alan T. DeKok [Fri, 10 Mar 2023 21:31:34 +0000 (16:31 -0500)]
fix documentation on max_request_time
Alan T. DeKok [Thu, 9 Mar 2023 20:15:48 +0000 (15:15 -0500)]
call proxy_send() for sending proxied packets
which works for all packet types, including TLS ones.
Alan T. DeKok [Wed, 8 Mar 2023 18:29:01 +0000 (13:29 -0500)]
fix use of DIAG in macro
Alan T. DeKok [Wed, 8 Mar 2023 18:16:57 +0000 (13:16 -0500)]
more fixes for talloc_autofree_context() deprecation
Alan T. DeKok [Wed, 8 Mar 2023 18:02:27 +0000 (13:02 -0500)]
talloc_autofree_context() is deprecated in newer versions of talloc
Alan T. DeKok [Wed, 8 Mar 2023 17:49:00 +0000 (12:49 -0500)]
note TLS 1.2 or smaller for EAP-FAST
Alan T. DeKok [Wed, 8 Mar 2023 17:41:48 +0000 (12:41 -0500)]
Warn if libldap uses NSS. Fixes #4918
Instead of letting things break, or have random crashes, give a big
warning on startup.
Alan T. DeKok [Wed, 8 Mar 2023 13:15:08 +0000 (08:15 -0500)]
shift 32-bit words, not 8-bit words.
Manual port of
cc49e17c80b6
Jorge Pereira [Mon, 20 Feb 2023 15:14:46 +0000 (12:14 -0300)]
rlm_pap: Destroy MD context, causing leaks with OpenSSL >= 3.0 (#4895)
Jorge Pereira [Mon, 20 Feb 2023 15:14:27 +0000 (12:14 -0300)]
rlm_ippool: Destroy MD context, causing leaks with OpenSSL >= 3.0 (#4896)
Jorge Pereira [Mon, 20 Feb 2023 15:14:09 +0000 (12:14 -0300)]
radius: Destroy MD context, causing leaks with OpenSSL >= 3.0 (#4898)
Jorge Pereira [Mon, 20 Feb 2023 15:11:31 +0000 (12:11 -0300)]
rlm_cram: Destroy MD context, causing leaks with OpenSSL >= 3.0 (#4897)
Jorge Pereira [Wed, 15 Feb 2023 21:40:02 +0000 (18:40 -0300)]
md5 xlat: Destroy MD context, causing leaks with OpenSSL >= 3.0 (#4893) (#4894)
Co-authored-by: Terry Burton <tez@terryburton.co.uk>
Alan T. DeKok [Fri, 10 Feb 2023 15:46:40 +0000 (10:46 -0500)]
Revert "sql.accounting needs Acct-Status-Type"
This reverts commit
85faf6285d11e2e1f8ad40f298694cd667040702 .
Alan T. DeKok [Fri, 10 Feb 2023 15:45:47 +0000 (10:45 -0500)]
Revert "run the accounting "post-auth" query for sql_session_start"
This reverts commit
1e8f652994c02278ba0be19ec8aa686a43a40f2b .
Alan T. DeKok [Fri, 10 Feb 2023 15:45:39 +0000 (10:45 -0500)]
Alan T. DeKok [Thu, 9 Feb 2023 16:00:23 +0000 (11:00 -0500)]
typo
Alan T. DeKok [Thu, 9 Feb 2023 15:49:15 +0000 (10:49 -0500)]
run the accounting "post-auth" query for sql_session_start
Which should make it work again. However, it's not a good idea
to have admins mangle the default queries. We should have a
better way of "just doing the right thing"
Terry Burton [Fri, 27 Jan 2023 13:02:08 +0000 (13:02 +0000)]
check-eap-tls: Set Reply-Message in the right request's list (#4869)
Terry Burton [Thu, 26 Jan 2023 14:05:22 +0000 (14:05 +0000)]
pap: Only look for passwords amongst non-vendor attributes (#4865)
Otherwise, the following will trigger a "Don't set
control:User-Password" warning:
VENDOR ABC 42
BEGIN-VENDOR ABC
ATTRIBUTE Not-A-Password 2 string
END-VENDOR ABC
update { &control:Not-A-Password := "x" }
pap
Jorge Pereira [Tue, 10 Jan 2023 16:53:54 +0000 (13:53 -0300)]
Fix typo. refs #4836 (#4844)
Alan T. DeKok [Sun, 8 Jan 2023 02:46:31 +0000 (21:46 -0500)]
this isn't an error
Alan T. DeKok [Wed, 14 Dec 2022 16:19:03 +0000 (11:19 -0500)]
give better error messages for %{listen:TLS-*}
Alan T. DeKok [Wed, 14 Dec 2022 16:16:46 +0000 (11:16 -0500)]
fix various build warnings with newer compilers
Alan T. DeKok [Fri, 9 Dec 2022 16:17:05 +0000 (11:17 -0500)]
don't remove the .d file, it's an output file
which is needed by the target rule
Nick Porter [Fri, 11 Nov 2022 09:59:16 +0000 (09:59 +0000)]
Move error handling to outside #ifdef WITH_TLS
Alan T. DeKok [Thu, 10 Nov 2022 17:23:12 +0000 (17:23 +0000)]
close fd on error
Alan T. DeKok [Thu, 10 Nov 2022 16:56:36 +0000 (16:56 +0000)]
set the host name to the actual host name
Alan T. DeKok [Thu, 10 Nov 2022 16:26:01 +0000 (16:26 +0000)]
show OpenSSL error, too
Alan T. DeKok [Wed, 9 Nov 2022 18:52:28 +0000 (18:52 +0000)]
use macro for home server is dead
Alan T. DeKok [Wed, 9 Nov 2022 18:52:13 +0000 (18:52 +0000)]
remove unnecessary "break"
Alan T. DeKok [Thu, 3 Nov 2022 15:12:12 +0000 (15:12 +0000)]
Revert "check for multiple "down" states. Fixes #4790"
This reverts commit
c493836d2a72d2ebb29e5a2d5f45f3e033ea0094 .
after review, not needed
Alan T. DeKok [Thu, 3 Nov 2022 13:21:22 +0000 (13:21 +0000)]
check for multiple "down" states. Fixes #4790
Alan T. DeKok [Thu, 3 Nov 2022 11:24:15 +0000 (11:24 +0000)]
resync. Helps with #4570
Alan T. DeKok [Thu, 3 Nov 2022 11:15:31 +0000 (11:15 +0000)]
sync with dictionaries. Heklps with #4790
Nick Porter [Mon, 31 Oct 2022 16:39:46 +0000 (16:39 +0000)]
CI: Remove deprecated set-ouput
Alan T. DeKok [Mon, 31 Oct 2022 13:03:00 +0000 (09:03 -0400)]
ctype macros should take explicitly unsigned input
to avoid chars with high bits being converted to negative numbers
perl -p -i -e 's/(tolower|toupper|isupper|islower|isdigit|isalpha|isspace|isxdigit)\(\s*\*/${1}((uint8_t) */g' $(find . -name "*.[ch]" -print)
perl -p -i -e 's/(tolower|toupper|isupper|islower|isdigit|isalpha|isspace|isxdigit)\(\(int\)/${1}((uint8_t)/g' $(find . -name "*.[ch]" -print)
Nick Porter [Mon, 31 Oct 2022 11:52:02 +0000 (11:52 +0000)]
CI: Ensure git-lfs is installed
Nick Porter [Mon, 31 Oct 2022 11:50:54 +0000 (11:50 +0000)]
Update CI actions to node16 versions
Nick Porter [Mon, 31 Oct 2022 11:06:41 +0000 (11:06 +0000)]
Avoid spurious error about absolute path
Nick Porter [Mon, 31 Oct 2022 11:04:11 +0000 (11:04 +0000)]
Only debug packets when condition matches
radius_evaluate_cond() returns -2 for attribute not found - which was
causing packets without the required attributes to appear in conditional
debug output.
Alan T. DeKok [Wed, 19 Oct 2022 13:46:21 +0000 (09:46 -0400)]
updates
from https://www.juniper.net/documentation/us/en/software/junos/subscriber-mgmt-sessions/topics/topic-map/dhcp-options-radius-server.html
Alan T. DeKok [Tue, 11 Oct 2022 18:43:59 +0000 (14:43 -0400)]
whitespace
Alan T. DeKok [Tue, 11 Oct 2022 16:58:56 +0000 (12:58 -0400)]
as found on the net
Alan T. DeKok [Tue, 25 Oct 2022 14:51:02 +0000 (10:51 -0400)]
set partial chain always. Helps with #4785
Alan T. DeKok [Tue, 25 Oct 2022 12:59:53 +0000 (08:59 -0400)]
move partial chain set to after set cert store. Should fix #4753
Alan T. DeKok [Tue, 18 Oct 2022 17:11:48 +0000 (13:11 -0400)]
Fallback to uname -n on missing hostname. Fixes #4772
Alan T. DeKok [Wed, 12 Oct 2022 13:05:52 +0000 (09:05 -0400)]
allow User-Name and CUI in post-proxy filtering
which is also needed for roaming environments
Alan T. DeKok [Wed, 12 Oct 2022 13:02:59 +0000 (09:02 -0400)]
allow Operator-Name and Called-Station-Id
which are needed for various roaming scenarios
Jorge Pereira [Wed, 12 Oct 2022 12:49:34 +0000 (09:49 -0300)]
DS-Lite-Tunnel-Name data type should be 'octets' (#4767)
Backport from v3.2.x (
be3b0426df )
Nick Porter [Wed, 12 Oct 2022 10:37:17 +0000 (11:37 +0100)]
Improve queries for processing radacct into periodic usage data
Removing `OR` from the query allows better index usage
Nick Porter [Wed, 12 Oct 2022 10:32:55 +0000 (11:32 +0100)]
Typo
Alan T. DeKok [Tue, 11 Oct 2022 22:57:04 +0000 (18:57 -0400)]
update docs to be in line with functionality
Jorge Pereira [Wed, 5 Oct 2022 19:32:15 +0000 (16:32 -0300)]
rediswho: Fix typo (#4756)
Matthew Newton [Wed, 28 Sep 2022 23:12:24 +0000 (00:12 +0100)]
update changelog
note #4441 fixed
Matthew Newton [Wed, 28 Sep 2022 22:50:52 +0000 (23:50 +0100)]
refresh configure scripts
Matthew Newton [Wed, 28 Sep 2022 22:49:32 +0000 (23:49 +0100)]
add python.m4 for detecting python > 3.10
Alan T. DeKok [Mon, 26 Sep 2022 21:53:08 +0000 (17:53 -0400)]
refresh.
Alexander Clouter [Mon, 29 Aug 2022 12:28:36 +0000 (13:28 +0100)]
enable parallel builds for debian
Alan T. DeKok [Sun, 10 Jul 2022 12:14:34 +0000 (08:14 -0400)]
add attribute. Fixes #4608
Jorge Pereira [Tue, 20 Sep 2022 14:10:50 +0000 (15:10 +0100)]
Nokia SR dict: Cleanup and freshen against July 2022 reference
Matthew Newton [Tue, 20 Sep 2022 19:26:27 +0000 (20:26 +0100)]
Bump for v3.0.27
Matthew Newton [Tue, 20 Sep 2022 13:45:21 +0000 (14:45 +0100)]
release 3.0.26
Alan T. DeKok [Sun, 28 Aug 2022 14:37:13 +0000 (10:37 -0400)]
as sent via email
Matthew Newton [Mon, 19 Sep 2022 11:13:54 +0000 (12:13 +0100)]
update ChangeLog
Nick Porter [Mon, 5 Sep 2022 13:27:35 +0000 (14:27 +0100)]
Run Ubuntu 18.04 on older image due to packaging issue
Broken in September 2022 update
Nick Porter [Mon, 5 Sep 2022 09:44:32 +0000 (10:44 +0100)]
Move CI to run on Ubuntu 20.04
Jorge Pereira [Mon, 5 Sep 2022 16:41:51 +0000 (13:41 -0300)]
note recent changes (#4705)
Alan T. DeKok [Mon, 29 Aug 2022 19:40:43 +0000 (15:40 -0400)]
typo
Alan T. DeKok [Mon, 15 Aug 2022 20:06:56 +0000 (16:06 -0400)]
ensure that we run the correct post-auth section
Alan T. DeKok [Wed, 1 Jun 2022 10:48:21 +0000 (06:48 -0400)]
more "mention Active Directory by name"
Alan T. DeKok [Wed, 1 Jun 2022 10:44:22 +0000 (06:44 -0400)]
mention Active Directory and Auth-Type and "bind as user"
so that it will be easier for people to tell that those changes
are needed for them.
Alan T. DeKok [Mon, 30 May 2022 18:00:40 +0000 (14:00 -0400)]
update comments and docs
Alan T. DeKok [Mon, 30 May 2022 18:00:20 +0000 (14:00 -0400)]
clarify error messages
Alan T. DeKok [Fri, 27 May 2022 14:11:07 +0000 (10:11 -0400)]
minor cleanups
Alan T. DeKok [Fri, 27 May 2022 14:07:56 +0000 (10:07 -0400)]
catch a few more corner cases
these are only hit when things go completely wrong, but it's
important to fix.
Nick Porter [Fri, 19 Aug 2022 10:32:55 +0000 (11:32 +0100)]
debian packaging updated permitted range of openssl versions
Nick Porter [Thu, 4 Aug 2022 12:58:51 +0000 (13:58 +0100)]
Ubuntu 16.04 is eol and 22.04 is current
Nick Porter [Thu, 4 Aug 2022 14:01:42 +0000 (15:01 +0100)]
Use gcc 10 on Debian sid for building eapol_test
Nick Porter [Thu, 4 Aug 2022 13:01:14 +0000 (14:01 +0100)]
Align v3.0 deb tests with master
Nick Porter [Fri, 19 Aug 2022 09:26:45 +0000 (10:26 +0100)]
Differentiate runner based on repository owner
Allows repo clones to use GitHub runners
Nick Porter [Fri, 15 Jul 2022 16:24:50 +0000 (17:24 +0100)]
Debian sid docker image no longer has /etc/apt/sources.list
Alan T. DeKok [Thu, 26 May 2022 13:03:59 +0000 (09:03 -0400)]
patches for OpenSSL3. Fixes #4539
Alan T. DeKok [Mon, 23 May 2022 20:39:01 +0000 (16:39 -0400)]
quit C compiler warnings
Antonio Torres Moríñigo [Mon, 23 May 2022 19:57:42 +0000 (21:57 +0200)]
hmacmd5: use internal MD5 when FIPS is enabled (#4529)
When the system is in FIPS mode, we need to use internal implementation
of MD5 in order to avoid OpenSSL 3.0 provider limitations.
Related:
947d5d6bd2674a60f7320f0b721e4723243c2285
Signed-off-by: Antonio Torres <antorres@redhat.com>
Alan T. DeKok [Fri, 20 May 2022 19:31:10 +0000 (15:31 -0400)]
load MD5 dynamicall for FIPS. Based on patch from #4511
Alan T. DeKok [Fri, 20 May 2022 15:38:25 +0000 (11:38 -0400)]
add --enable-fips-workaround flag to configure
which means that we use our internal MD4 / MD5 functions always,
as OpenSSL requires much magic to re-enable them in FIPS mode.
It's easier to just our internal implementations, instead of
butchering the stable v3 release.
The downside is that if you do a default build and then enable
FIPS in OpenSSL, the server will simply not work. It has to be
re-build with the --enable-fips flag.
Nick Porter [Fri, 20 May 2022 10:18:24 +0000 (11:18 +0100)]
Fix permissions for mods_config/sql extras in rpms
Nick Porter [Fri, 20 May 2022 09:04:20 +0000 (10:04 +0100)]
Add rpm dependencies for freeradius-config
Make and runuser are required for the certificate bootstrap script
Nick Porter [Thu, 19 May 2022 11:13:24 +0000 (12:13 +0100)]
Add a second run of installing rpm build dependencies
It has been observed that not all dependencies get installed first time
on Rocky 8