]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Sun, 26 Oct 2025 12:09:21 +0000 (08:09 -0400)]
new URL as per hostap list
Alan T. DeKok [Fri, 24 Oct 2025 18:23:19 +0000 (14:23 -0400)]
for Access-Request, swap Protocol-Error to Access-Reject if necessary
RFC8559 already says that failed CoA can send a NAK with Error-Cause
Alan T. DeKok [Fri, 24 Oct 2025 15:04:29 +0000 (17:04 +0200)]
TIMER is a valid event, too
Alan T. DeKok [Thu, 23 Oct 2025 12:27:04 +0000 (14:27 +0200)]
move assert to run-time check with message
Alan T. DeKok [Thu, 23 Oct 2025 09:08:23 +0000 (11:08 +0200)]
just use stdbool instead of defining true / false ourselves
Alan T. DeKok [Thu, 23 Oct 2025 09:04:08 +0000 (11:04 +0200)]
hoist return to inside of ifdef
Alan T. DeKok [Thu, 23 Oct 2025 07:55:55 +0000 (09:55 +0200)]
disable more compiler warnings
Alan T. DeKok [Thu, 23 Oct 2025 07:04:04 +0000 (09:04 +0200)]
hoist "decode packet" to before "run Post-Proxy"
because we would like to be able to re-proxy some Protocol-Error
packets
and this also removes the reply from the proxy hash before running
the Post-Proxy section. Which means that the server is more likely
to have free IDs for proxying other packets
Alan T. DeKok [Thu, 23 Oct 2025 06:57:24 +0000 (08:57 +0200)]
add missing quote. Fixes #5662
Alan T. DeKok [Thu, 23 Oct 2025 06:55:49 +0000 (08:55 +0200)]
don't close the main listen() socket. Fixes #5661
Alan T. DeKok [Wed, 22 Oct 2025 15:02:18 +0000 (17:02 +0200)]
add missing quotes
Alan T. DeKok [Wed, 22 Oct 2025 14:59:25 +0000 (16:59 +0200)]
quiet analyzer
Alan T. DeKok [Wed, 22 Oct 2025 14:50:52 +0000 (16:50 +0200)]
noted on Protocol-Error
Alan T. DeKok [Wed, 22 Oct 2025 14:47:09 +0000 (16:47 +0200)]
don't add Error-Cause if the policy adds it
Alan T. DeKok [Wed, 22 Oct 2025 14:14:18 +0000 (16:14 +0200)]
return Protocol-Failure if the request can't be queued
Alan T. DeKok [Wed, 22 Oct 2025 13:21:43 +0000 (15:21 +0200)]
it helps to add the VP to the proxy_reply
Alan T. DeKok [Wed, 22 Oct 2025 12:40:37 +0000 (14:40 +0200)]
add VALUEs copied from dictionary.freeradius.internal
Alan T. DeKok [Wed, 22 Oct 2025 12:27:29 +0000 (14:27 +0200)]
add commented-out example for Protocol-Error
Alan T. DeKok [Wed, 22 Oct 2025 12:21:47 +0000 (14:21 +0200)]
use :=, not =
Alan T. DeKok [Wed, 22 Oct 2025 09:41:18 +0000 (11:41 +0200)]
allow module to return NOTFOUND if the realm wasn't found
This behavior change is controlled by a new configuration flag
Alan T. DeKok [Wed, 22 Oct 2025 09:20:50 +0000 (11:20 +0200)]
ensure that we don't decode a synthesized Protocol-Error packet
Alan T. DeKok [Wed, 22 Oct 2025 09:17:34 +0000 (11:17 +0200)]
if the client supports Protocol-Error, then send one to it.
Alan T. DeKok [Wed, 22 Oct 2025 09:14:19 +0000 (11:14 +0200)]
catch corner case / race condition, and turn it into protocol-error
Alan T. DeKok [Wed, 22 Oct 2025 08:51:00 +0000 (10:51 +0200)]
add notes on disabled warnings needed by modern compilers
Alan T. DeKok [Wed, 22 Oct 2025 08:49:44 +0000 (10:49 +0200)]
make definition static
Alan T. DeKok [Wed, 22 Oct 2025 08:14:16 +0000 (10:14 +0200)]
static declarations of arrays create the array, not define it
Alan T. DeKok [Wed, 22 Oct 2025 08:12:42 +0000 (10:12 +0200)]
typo
Alan T. DeKok [Wed, 22 Oct 2025 08:08:57 +0000 (10:08 +0200)]
move declaration for consistency with the rest of the code
Alan T. DeKok [Wed, 22 Oct 2025 08:07:13 +0000 (10:07 +0200)]
VALUE names can include a '.' C defines cannot.
Alan T. DeKok [Wed, 22 Oct 2025 07:53:00 +0000 (09:53 +0200)]
FreeRADIUS-Client-Protocol-Error can now be of type "bool"
Alan T. DeKok [Wed, 22 Oct 2025 07:40:19 +0000 (09:40 +0200)]
add boolean to values and encoder / decoder
Alan T. DeKok [Tue, 21 Oct 2025 14:47:15 +0000 (16:47 +0200)]
place-holder for receiving Protocol-Error from home server
we need to re-proxy it in the request state machine, and we do not
(yet) try to proxy it from the request_running() routine.
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