]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 21 Oct 2025 14:33:25 +0000 (16:33 +0200)]
add error_cause to process_proxy_reply()
the realm routing code tracks what kind of error occured. It then
passes the error_cause to process_proxy_reply().
If there's no proxy_reply, AND Post-Proxy-Type Fail sets
&config:Response-Packet-Type := Protocol-Error
Then we create a proxy reply of Protocol-Error, and add Error-Cause
with the correct value.
Note that this failure case is where the proxy can't send the
packet anywhere, and not where we received a Protocol-Error after
proxying a request.
Alan T. DeKok [Tue, 21 Oct 2025 14:12:34 +0000 (16:12 +0200)]
run Protocol-Error through Post-Proxy-Type if it's configured
Alan T. DeKok [Tue, 21 Oct 2025 08:08:39 +0000 (10:08 +0200)]
define VALUEs, too
Alan T. DeKok [Tue, 21 Oct 2025 07:09:00 +0000 (09:09 +0200)]
add protocol_error configuration to clients
by default, we don't send Protocol-Error to clients. We have to
double-check that clients don't go crazy when they receive a
Protocol-Error reply.
If we find out that all clients are fine with Protocol-Error,
then this configuration item should be removed.
Alan T. DeKok [Tue, 21 Oct 2025 06:09:17 +0000 (08:09 +0200)]
add more values for Error-Cause
Alan T. DeKok [Mon, 20 Oct 2025 14:45:34 +0000 (16:45 +0200)]
allow Protocol-Error responses to proxied packets
Alan T. DeKok [Mon, 20 Oct 2025 14:45:06 +0000 (16:45 +0200)]
allow Protocol-Error replies in radclient
Alan T. DeKok [Mon, 20 Oct 2025 14:31:11 +0000 (16:31 +0200)]
encode, decode, sign, and verify Protocol-Error packets.
RFC 7930 says:
Regardless of the original packet code, the RADIUS Server calculates
the Message-Authenticator attribute as if the original packet were an
Access-Request packet. The identifier is copied from the original
request.
Except that it says nothing about the Response Authenticator field.
Given that all response packets have their Response Authenticator
calculated the same way, we just do the same for Protocol-Error
Alan T. DeKok [Mon, 20 Oct 2025 14:30:45 +0000 (16:30 +0200)]
add Protocol-Error to the VALUEs for Packet-Type
Nick Porter [Wed, 15 Oct 2025 10:54:20 +0000 (11:54 +0100)]
The child request can be either running or proxied
Nick Porter [Wed, 15 Oct 2025 10:13:14 +0000 (11:13 +0100)]
Add input to choose config in debug launcher
Nick Porter [Wed, 15 Oct 2025 07:18:39 +0000 (08:18 +0100)]
Use correct order of arguments to calloc
Alan T. DeKok [Tue, 14 Oct 2025 10:36:44 +0000 (12:36 +0200)]
remove unused assigment
Alan T. DeKok [Tue, 14 Oct 2025 10:28:19 +0000 (12:28 +0200)]
clean up request_done() after double-checking its callers
who only call it with a small number of actions
Alan T. DeKok [Mon, 13 Oct 2025 15:45:39 +0000 (17:45 +0200)]
don't mash child_state if it's queued
Alan T. DeKok [Mon, 13 Oct 2025 12:42:36 +0000 (14:42 +0200)]
one more assert
Alan T. DeKok [Mon, 13 Oct 2025 12:25:55 +0000 (14:25 +0200)]
add more assertions to enforce assumptions
Alan T. DeKok [Wed, 8 Oct 2025 14:48:15 +0000 (10:48 -0400)]
note recent changes
Alan T. DeKok [Wed, 8 Oct 2025 13:41:00 +0000 (09:41 -0400)]
add eduroam NAI filter example
Alan T. DeKok [Wed, 1 Oct 2025 22:13:10 +0000 (18:13 -0400)]
remove unused variable
Alan T. DeKok [Wed, 1 Oct 2025 22:05:50 +0000 (18:05 -0400)]
return RECONNECT on connection failure. Fixes #5651
Alan T. DeKok [Mon, 29 Sep 2025 12:11:11 +0000 (08:11 -0400)]
just cache the parent TALLOC_CTX in the request
Alan T. DeKok [Mon, 29 Sep 2025 11:53:35 +0000 (07:53 -0400)]
use correct end definition
Nick Porter [Fri, 26 Sep 2025 13:40:31 +0000 (14:40 +0100)]
Test that DHCP options are correctly sorted before encoding
So that there's a single option 82 encoded at the end of the list with
its sub options in order
Nick Porter [Fri, 26 Sep 2025 13:37:58 +0000 (14:37 +0100)]
Sort DHCP pairs before encoding in radattr
So the test behaviour matches that of the DHCP module
Nick Porter [Fri, 26 Sep 2025 13:04:09 +0000 (14:04 +0100)]
Fix sorting of DHCP options
So that TLVs are first sorted on the option and then the sub-option
Alan T. DeKok [Tue, 16 Sep 2025 20:22:05 +0000 (16:22 -0400)]
always set tcp cleanup routine
Alan T. DeKok [Tue, 16 Sep 2025 20:21:41 +0000 (16:21 -0400)]
do a better job of enforcing lifetime && idle_timeout
Alan T. DeKok [Tue, 16 Sep 2025 20:21:08 +0000 (16:21 -0400)]
grab the propxy mutex when freeing a proxy listener
Alan T. DeKok [Tue, 16 Sep 2025 20:20:44 +0000 (16:20 -0400)]
free the listener if we can't insert it into the packet list
Alan T. DeKok [Tue, 16 Sep 2025 16:10:12 +0000 (12:10 -0400)]
enable fips workaround even when building in normal mode
Alan T. DeKok [Thu, 11 Sep 2025 12:12:24 +0000 (08:12 -0400)]
check in thaw, too
Alan T. DeKok [Thu, 11 Sep 2025 12:11:25 +0000 (08:11 -0400)]
don't freeze a socket twice
Alan T. DeKok [Thu, 11 Sep 2025 10:25:45 +0000 (06:25 -0400)]
document %n
Alan T. DeKok [Tue, 9 Sep 2025 11:03:21 +0000 (07:03 -0400)]
don't load legacy provider on --enable-fips-workaround. Fixes #5644
Alan T. DeKok [Mon, 1 Sep 2025 22:52:43 +0000 (18:52 -0400)]
add backlog parameter for the listen() API
Alan T. DeKok [Mon, 1 Sep 2025 14:25:16 +0000 (10:25 -0400)]
note recent changes
Alan T. DeKok [Mon, 1 Sep 2025 14:25:04 +0000 (10:25 -0400)]
use native data types for 20+ year-old versions of OSX
Alan T. DeKok [Mon, 1 Sep 2025 13:58:23 +0000 (09:58 -0400)]
reset "now". Fixes #5642
because if you change the OS date to 25 years in the future,
then bad things happen.
Gerald Vogt [Sun, 24 Aug 2025 12:27:52 +0000 (14:27 +0200)]
run dir is moved to /run (#5637)
Gerald Vogt [Sun, 24 Aug 2025 12:27:25 +0000 (14:27 +0200)]
Use of MemoryLimit is deprecated (#5639)
Nick Porter [Fri, 22 Aug 2025 18:59:37 +0000 (19:59 +0100)]
Correctly report when built with PCRE2
Nick Porter [Fri, 22 Aug 2025 17:29:33 +0000 (18:29 +0100)]
Set selinux boolean to allow PCRE2 JIT
Nick Porter [Fri, 22 Aug 2025 11:21:13 +0000 (12:21 +0100)]
Typo
Alan T. DeKok [Fri, 22 Aug 2025 11:13:26 +0000 (07:13 -0400)]
run-time disable JIT if PCRE can't allocate executable memory.
Nick Porter [Fri, 22 Aug 2025 10:49:52 +0000 (11:49 +0100)]
Prioritise libpcre over libpcre2
RHEL 9 has issues with PCRE2 JIT compilation, so prioritise PCRE until
those are resolved.
Matthew Newton [Wed, 20 Aug 2025 19:00:08 +0000 (20:00 +0100)]
docker release workflow on tags only again
github actions is weird on non-master branches
Matthew Newton [Wed, 20 Aug 2025 18:57:24 +0000 (19:57 +0100)]
Bump for 3.2.9
Matthew Newton [Wed, 20 Aug 2025 16:29:15 +0000 (17:29 +0100)]
release 3.2.8
Matthew Newton [Sun, 17 Aug 2025 21:14:15 +0000 (22:14 +0100)]
add actions job to build release multiarch docker images
pushes to freeradius-test for the time being
Matthew Newton [Mon, 18 Aug 2025 18:24:41 +0000 (19:24 +0100)]
dockerfiles: fix checkout for alpine
refresh dockerfiles
Alan T. DeKok [Mon, 11 Aug 2025 14:47:34 +0000 (10:47 -0400)]
change "fips=no" to "-fips"
based on discussions with the OpenSSL developers in
https://github.com/FreeRADIUS/freeradius-server/issues/5631
and
https://docs.openssl.org/3.5/man7/property/#global-and-local
Nick Porter [Mon, 11 Aug 2025 09:36:30 +0000 (10:36 +0100)]
Add Debian 13 to docker and crossbuild tests
Nick Porter [Mon, 11 Aug 2025 09:25:11 +0000 (10:25 +0100)]
Add Debian 13 to .deb builds
Nick Porter [Mon, 11 Aug 2025 09:24:49 +0000 (10:24 +0100)]
All .deb platforms have libpcre2 or libpcre3
Nick Porter [Fri, 8 Aug 2025 16:52:34 +0000 (17:52 +0100)]
Create correct pair
Nick Porter [Fri, 8 Aug 2025 16:52:05 +0000 (17:52 +0100)]
Align Ruckus-DPSK-Params attribute no with dictionary
Nick Porter [Mon, 4 Aug 2025 12:03:51 +0000 (13:03 +0100)]
Make debug message read correctly
Nick Porter [Mon, 28 Jul 2025 10:58:42 +0000 (11:58 +0100)]
Use pcre2 in standard CI
Nick Porter [Mon, 28 Jul 2025 10:09:03 +0000 (11:09 +0100)]
Prefer PCRE2 on .deb platforms
Nick Porter [Mon, 28 Jul 2025 09:54:10 +0000 (10:54 +0100)]
RHEL 10 has dropped pcre
Nick Porter [Tue, 17 Jun 2025 14:05:20 +0000 (15:05 +0100)]
Use MariaDB client library on RHEL 10
Nick Porter [Tue, 17 Jun 2025 13:31:57 +0000 (14:31 +0100)]
Add Rocky 10 to CI tests
Nick Porter [Tue, 17 Jun 2025 13:30:10 +0000 (14:30 +0100)]
Add Rocky 10 to docker and crossbuild jobs
Nick Porter [Mon, 28 Jul 2025 09:53:43 +0000 (10:53 +0100)]
Add support for pcre2 in place of pcre
Nick Porter [Fri, 25 Jul 2025 12:50:35 +0000 (13:50 +0100)]
Add keyword tests to vscode launcher
Alan T. DeKok [Fri, 25 Jul 2025 10:23:11 +0000 (12:23 +0200)]
note recent changes
Alan T. DeKok [Fri, 25 Jul 2025 08:11:29 +0000 (10:11 +0200)]
be closer to the paper
Alan T. DeKok [Fri, 25 Jul 2025 07:37:54 +0000 (09:37 +0200)]
actually free the cache
Alan T. DeKok [Fri, 25 Jul 2025 07:36:04 +0000 (09:36 +0200)]
Revert "Free expired cache entries"
This reverts commit
10f6be583c5538f2fd98643d490f62fc17e2f4dd .
Nick Porter [Thu, 24 Jul 2025 14:33:30 +0000 (15:33 +0100)]
Free expired cache entries
Nick Porter [Thu, 24 Jul 2025 14:32:45 +0000 (15:32 +0100)]
Parent the cache entries off the cache
Alan T. DeKok [Thu, 24 Jul 2025 13:00:18 +0000 (15:00 +0200)]
minor tweaks
Alan T. DeKok [Thu, 24 Jul 2025 12:50:39 +0000 (14:50 +0200)]
minor fixes
add "todo" for consistent-keyed-balance. This should be addressed
before the next release.
For non-redundant types, if the chosen home server is alive, then
return that immediately without going through the loop. Otherwise
fall back to load-balance.
This is a change from ealier versions, and should help with better
load balancing, instead of always picking the "next" home server.
Update the documentation to match, and document keyed-load-balance
Alan T. DeKok [Wed, 23 Jul 2025 15:10:07 +0000 (17:10 +0200)]
more "shut up compiler"
clang scan passes, but the normal compiler complains
Alan T. DeKok [Wed, 23 Jul 2025 14:48:32 +0000 (16:48 +0200)]
fixes for variable initialization
Alan T. DeKok [Wed, 23 Jul 2025 14:36:48 +0000 (16:36 +0200)]
hoist variables so that they're not over-written
Alan T. DeKok [Wed, 23 Jul 2025 14:24:38 +0000 (16:24 +0200)]
rearrange and rewrite
it might not be entirely clearer, but it definitely has more
functionality.
Alan T. DeKok [Wed, 23 Jul 2025 13:28:42 +0000 (15:28 +0200)]
add tests for DPSK
Alan T. DeKok [Tue, 22 Jul 2025 16:08:15 +0000 (18:08 +0200)]
a better way to do K-way hashing
Alan T. DeKok [Tue, 22 Jul 2025 15:36:35 +0000 (17:36 +0200)]
typo
Alan T. DeKok [Tue, 22 Jul 2025 15:25:17 +0000 (17:25 +0200)]
Revert "hoist "id" into the array"
This reverts commit
9987442d0e9df1e773ce57f50213821d5d0c681e .
let's do it a better way
Alan T. DeKok [Tue, 22 Jul 2025 11:45:51 +0000 (13:45 +0200)]
special error for EMSGSIZ
Azure and other things cause issues, so we make the error message
clearer. Not use "too long", but "UDP fragmentation is broken"
Alan T. DeKok [Tue, 22 Jul 2025 11:40:02 +0000 (13:40 +0200)]
hoist "id" into the array
so that we have better locality of reference for the O(N^2)
loop for consistent keyed balance. For other situations, it
increases the memory usage slightly, but doesn't have a large
effect on other use-cases
Alan T. DeKok [Tue, 22 Jul 2025 10:53:10 +0000 (12:53 +0200)]
add consistent-keyed-balance
which tries to pick a consistent server for the hash, rather than
picking one based on randomness. :(
Alan T. DeKok [Tue, 22 Jul 2025 10:04:36 +0000 (12:04 +0200)]
tweak error message
Alan T. DeKok [Sun, 20 Jul 2025 13:57:42 +0000 (15:57 +0200)]
make the error messages clearer
Alan T. DeKok [Wed, 16 Jul 2025 19:08:09 +0000 (15:08 -0400)]
allow 0.5 for reject delay
Nick Porter [Tue, 15 Jul 2025 16:03:47 +0000 (17:03 +0100)]
Add timestamp option to log config
So that timestamps can be added to debug logs at level 1 and 2 if
needed.
Nick Porter [Mon, 14 Jul 2025 16:15:02 +0000 (17:15 +0100)]
Debian 10 repos have been removed
Nick Porter [Mon, 14 Jul 2025 15:50:02 +0000 (16:50 +0100)]
Avoid spurious User-Name errors on EAP-TLS
There is no inner / outer User-Name - so when calling the virtual server
to validate certificates, there is nothing to check / warn about.
Alan T. DeKok [Mon, 7 Jul 2025 15:20:37 +0000 (11:20 -0400)]
update docs and debug message for wildcard clients
nolade [Thu, 3 Jul 2025 20:12:58 +0000 (16:12 -0400)]
docs-v3: Add Tutorials section and update xrefs.
nolade [Fri, 27 Jun 2025 18:53:32 +0000 (14:53 -0400)]
docs-v3: Added Concepts section, copy/edit, formatted, & other small tweaks
nolade [Wed, 18 Jun 2025 18:30:58 +0000 (14:30 -0400)]
docs-v3: Fix docsite build errors, update nav panel, and modify xrefs. Remove non-existent modules in v3.2.x - raddb and tutorials
nolade [Wed, 18 Jun 2025 18:30:58 +0000 (14:30 -0400)]
docs: remove non-existent modules in v3.2.x - raddb and tutorials
Alan T. DeKok [Fri, 4 Jul 2025 18:37:27 +0000 (14:37 -0400)]
point to new corporate page
Alan T. DeKok [Fri, 4 Jul 2025 18:37:13 +0000 (14:37 -0400)]
update docs and links
Alan T. DeKok [Fri, 4 Jul 2025 18:20:11 +0000 (14:20 -0400)]
point to new packages site
Alan T. DeKok [Wed, 25 Jun 2025 11:42:36 +0000 (07:42 -0400)]
update docs