]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Nick Porter [Fri, 10 Jan 2025 21:35:48 +0000 (21:35 +0000)]
Use ROPTIONAL where request may not be set
When TLS connections are outbound there is not a dummy request
associated with the socket.
Nick Porter [Fri, 10 Jan 2025 21:08:15 +0000 (21:08 +0000)]
Correct signature for SQL driver mod_instantiate
Alan T. DeKok [Wed, 8 Jan 2025 20:07:34 +0000 (15:07 -0500)]
tweaks
Alan T. DeKok [Wed, 8 Jan 2025 16:18:31 +0000 (11:18 -0500)]
notes on debugging using OSX utilities.
Alan T. DeKok [Wed, 8 Jan 2025 15:58:37 +0000 (10:58 -0500)]
actually print out the config
Alan T. DeKok [Tue, 7 Jan 2025 22:03:22 +0000 (17:03 -0500)]
hashes aren't rlm_rcode_t
Alan T. DeKok [Tue, 7 Jan 2025 15:19:20 +0000 (10:19 -0500)]
on double-checking, this isn't necessary
Alan T. DeKok [Tue, 7 Jan 2025 14:44:28 +0000 (09:44 -0500)]
add CRL distribution points. Fixes #4992
Add TLS-Client-Cert-CRL-Distribution-Points and
TLS-Cert-CRL-Distribution-Points
Alan T. DeKok [Tue, 7 Jan 2025 13:19:33 +0000 (08:19 -0500)]
more stats for TCP sockets, too
Aren Sandersen [Tue, 7 Jan 2025 12:59:38 +0000 (07:59 -0500)]
Don't crash when the OSCP URL is invalid. Fixes #5433
Alan T. DeKok [Mon, 6 Jan 2025 19:28:46 +0000 (14:28 -0500)]
ix eap tls preload certificate chains for realms Fixes #5299
Alan T. DeKok [Mon, 6 Jan 2025 16:26:42 +0000 (11:26 -0500)]
minor tweaks to debug output
Alan T. DeKok [Mon, 6 Jan 2025 15:13:00 +0000 (10:13 -0500)]
document new behavior of the EAP in pre-proxy
Alan T. DeKok [Mon, 6 Jan 2025 14:16:19 +0000 (09:16 -0500)]
note recent changes
Mark Donnelly [Mon, 6 Jan 2025 14:12:24 +0000 (09:12 -0500)]
Calculate length of EAP-Message only. Fixes #5486
The calculation of EAP message length needs to total the length
of all the EAP message attributes, rather than the length of the
first EAP message attribute and all subsequent attributes of all
types. Also, enhance the error message to include the calculated
lengths.
Alan T. DeKok [Sun, 5 Jan 2025 14:53:11 +0000 (09:53 -0500)]
better handle single-character expansions. Fixes #2216
Alan T. DeKok [Sun, 5 Jan 2025 14:08:54 +0000 (09:08 -0500)]
update example flags. Fixes #5346
Alan T. DeKok [Sun, 5 Jan 2025 13:59:40 +0000 (08:59 -0500)]
rename to --show-config. Fixes #5442
This avoids conflict with clang's --config option.
We should probably instead have a special "--" option which
signifies "end of jlibtool options.
Arguably jlibtool should have
Alan T. DeKok [Sun, 5 Jan 2025 03:06:43 +0000 (22:06 -0500)]
it's now safe to do request_done() for QUEUED requests
Alan T. DeKok [Sun, 5 Jan 2025 02:53:26 +0000 (21:53 -0500)]
be more aggressive about cleaning up full queues
Alan T. DeKok [Sun, 5 Jan 2025 02:52:59 +0000 (21:52 -0500)]
API to see if the fifo is full
Alan T. DeKok [Sat, 4 Jan 2025 21:40:00 +0000 (16:40 -0500)]
remember to unlock the mutex
Alan T. DeKok [Sat, 4 Jan 2025 21:15:34 +0000 (16:15 -0500)]
remove dups and minor tweaks
Alan T. DeKok [Sat, 4 Jan 2025 20:25:30 +0000 (15:25 -0500)]
note recent changes
Alan T. DeKok [Sat, 4 Jan 2025 18:27:11 +0000 (13:27 -0500)]
better handle "queue full" states
we already have a request state which indicates that the request
is owned by the queue. We add a new request state which says that
the queue code should free the request on dequeue.
Double-checked the rest of the code, and added more cleanups
for requests which should handle the "queue full" case a bit
better.
Alan T. DeKok [Sat, 4 Jan 2025 16:51:26 +0000 (11:51 -0500)]
clear errors on CTRL-C
Alan T. DeKok [Sat, 4 Jan 2025 16:41:31 +0000 (11:41 -0500)]
add support for timeout. Fixes #5417
Alan T. DeKok [Sat, 4 Jan 2025 13:47:41 +0000 (08:47 -0500)]
remove unnecessary code, and add comment explaining why
Alan T. DeKok [Sat, 4 Jan 2025 13:57:46 +0000 (08:57 -0500)]
add stress test script as posted to github PR #5480
Alan T. DeKok [Fri, 3 Jan 2025 21:26:12 +0000 (16:26 -0500)]
remove extraneous assert
Alan T. DeKok [Fri, 3 Jan 2025 21:25:29 +0000 (16:25 -0500)]
note the behavior of the various listen states
Nick Porter [Fri, 3 Jan 2025 20:00:01 +0000 (20:00 +0000)]
Handle label only used on TLS builds
Nick Porter [Fri, 3 Jan 2025 19:56:00 +0000 (19:56 +0000)]
Allow for PGRES_TUPLES_CHUNK when checking PostgreSQL status codes
Nick Porter [Fri, 3 Jan 2025 19:43:03 +0000 (19:43 +0000)]
Handle clang scan warnings
Nick Porter [Fri, 3 Jan 2025 19:21:46 +0000 (19:21 +0000)]
Hide TLS code on non-tls builds
Alan T. DeKok [Fri, 3 Jan 2025 18:13:29 +0000 (13:13 -0500)]
clean up TLS connection checking
move the "read from socket" to the main event loop, which solves
a number of issues.
Alan T. DeKok [Fri, 3 Jan 2025 16:39:16 +0000 (11:39 -0500)]
let's add a reject delay
Alan T. DeKok [Fri, 3 Jan 2025 16:36:05 +0000 (11:36 -0500)]
let's make it executable
Alan T. DeKok [Fri, 3 Jan 2025 16:24:39 +0000 (11:24 -0500)]
catch more corner cases when using check_client_connections=yes
Alan T. DeKok [Fri, 3 Jan 2025 16:10:30 +0000 (11:10 -0500)]
scripts and tests for rejected user
Alan T. DeKok [Fri, 3 Jan 2025 15:12:29 +0000 (10:12 -0500)]
add sample configuration for checking client connections
Alan T. DeKok [Fri, 3 Jan 2025 03:29:47 +0000 (22:29 -0500)]
automatically choose password if no eap type is set
and update the documentation to match
Alan T. DeKok [Fri, 3 Jan 2025 03:07:29 +0000 (22:07 -0500)]
use arrays
in preparation for simple password configuration
Alan T. DeKok [Fri, 3 Jan 2025 02:58:17 +0000 (21:58 -0500)]
typo
Alan T. DeKok [Thu, 2 Jan 2025 21:35:32 +0000 (16:35 -0500)]
add sample TEAP configuration files for eapol_test
Alan T. DeKok [Thu, 2 Jan 2025 16:44:46 +0000 (11:44 -0500)]
cleanups, debug, and implement Basic-Password-Auth-Resp
Alan T. DeKok [Thu, 2 Jan 2025 13:12:21 +0000 (08:12 -0500)]
add example, because it's hard to read the docs
Alan T. DeKok [Thu, 2 Jan 2025 03:05:56 +0000 (22:05 -0500)]
more debugging
Alan T. DeKok [Wed, 1 Jan 2025 16:14:31 +0000 (11:14 -0500)]
hoist allocation of fake request
in preparation for supporting basic password
Alan T. DeKok [Wed, 1 Jan 2025 14:53:06 +0000 (09:53 -0500)]
set default to ""
Alan T. DeKok [Wed, 1 Jan 2025 14:30:14 +0000 (09:30 -0500)]
catch misconfiguration between required and received
Alan T. DeKok [Wed, 1 Jan 2025 14:28:25 +0000 (09:28 -0500)]
make errors REDEBUG
Alan T. DeKok [Wed, 1 Jan 2025 14:02:03 +0000 (09:02 -0500)]
extract outer TLVs from peer, and use them in Crypto-Binding
Alan T. DeKok [Wed, 1 Jan 2025 01:55:56 +0000 (20:55 -0500)]
Allow sending of Basic-Password-Auth-Req
then check for and validate Basic-Password-Auth-Resp
It doesn't yet handle password responses. That requires some
more rearchitecture.
Alan T. DeKok [Wed, 1 Jan 2025 01:55:02 +0000 (20:55 -0500)]
don't default to MD5 for inner EAP. It's not supported.
Alan T. DeKok [Wed, 1 Jan 2025 00:06:24 +0000 (19:06 -0500)]
more sanity checks
Alan T. DeKok [Tue, 31 Dec 2024 19:41:24 +0000 (14:41 -0500)]
refuse to do anything other than TEAPv1
Alan T. DeKok [Tue, 31 Dec 2024 19:12:51 +0000 (14:12 -0500)]
Handle the case where we have Outer TLVs with TEAP
Alan T. DeKok [Tue, 31 Dec 2024 19:00:01 +0000 (14:00 -0500)]
sanity check outer TLV length even if 'L' bit is not set
Alan T. DeKok [Tue, 31 Dec 2024 18:35:04 +0000 (13:35 -0500)]
use newer options for OSX, ported from v4
Alan T. DeKok [Tue, 31 Dec 2024 18:32:13 +0000 (13:32 -0500)]
remove debugging
Alan T. DeKok [Tue, 31 Dec 2024 17:03:35 +0000 (12:03 -0500)]
quiet compiler
Alan T. DeKok [Tue, 31 Dec 2024 16:36:09 +0000 (11:36 -0500)]
start of work to allow TEAP 'O' bit without 'L' bit
Alan T. DeKok [Tue, 31 Dec 2024 15:23:20 +0000 (10:23 -0500)]
use macros instead of magic numbers
and add commented-out debugging messages
Alan T. DeKok [Tue, 31 Dec 2024 15:36:04 +0000 (10:36 -0500)]
update docs to say that "authenticate" means User-Name / User-Password
Alan T. DeKok [Tue, 31 Dec 2024 14:23:36 +0000 (09:23 -0500)]
debug updates for clarity
Nick Porter [Tue, 31 Dec 2024 09:49:48 +0000 (09:49 +0000)]
Ubuntu 24 runners already use OpenSSL 3.0
Nick Porter [Tue, 31 Dec 2024 09:29:31 +0000 (09:29 +0000)]
Switch CI runners to Ubuntu 24
Self hosted runners are already using Ubuntu 24 based images - so make
GitHub hosted the same
Alan T. DeKok [Mon, 30 Dec 2024 23:16:19 +0000 (18:16 -0500)]
better debugging and state machine fixes
only go to the provisioning stage after all authentications have
succeeded.
Alan T. DeKok [Mon, 30 Dec 2024 21:41:00 +0000 (16:41 -0500)]
clean up debug output
most people don't care about hex blobs, so those are made DEBUG3
Alan T. DeKok [Mon, 30 Dec 2024 19:53:24 +0000 (14:53 -0500)]
choose Identity-Type sent by the peer
and not what we're asking for next
Alan T. DeKok [Mon, 30 Dec 2024 19:31:10 +0000 (14:31 -0500)]
set phase2 properly
Alan T. DeKok [Mon, 30 Dec 2024 19:24:11 +0000 (14:24 -0500)]
cleanups, and let's not send too many Identity-Type exchanges
Alan T. DeKok [Mon, 30 Dec 2024 18:52:56 +0000 (13:52 -0500)]
add provisions for handling Outer TLVs for peer, too
Alan T. DeKok [Mon, 30 Dec 2024 00:48:54 +0000 (19:48 -0500)]
set flag if we're an EAP inner tunnel
and then use the flag to disallow session resumption for the
inner TLS-based method. The caller should instead do resumption
for the outer TLS-based EAP method.
Alan T. DeKok [Sun, 29 Dec 2024 21:40:14 +0000 (16:40 -0500)]
allow only a limited subset of inner EAP types
some are just not suitable, as they do not derive MSK or EMSK
Alan T. DeKok [Sun, 29 Dec 2024 17:32:24 +0000 (12:32 -0500)]
add more aliases. Fixes #5484
Alan T. DeKok [Sun, 29 Dec 2024 15:02:36 +0000 (10:02 -0500)]
minor cleanups
Alan T. DeKok [Mon, 23 Dec 2024 12:37:29 +0000 (07:37 -0500)]
note recent changes
Alan T. DeKok [Mon, 23 Dec 2024 12:36:00 +0000 (07:36 -0500)]
allow stats for home server with src_ipaddr set. Fixes #5483
Alan T. DeKok [Sat, 21 Dec 2024 13:03:08 +0000 (08:03 -0500)]
note changes for TEAP
Alan T. DeKok [Sat, 21 Dec 2024 12:20:25 +0000 (07:20 -0500)]
finalize TEAP auto state machine
Alan T. DeKok [Sat, 21 Dec 2024 11:48:13 +0000 (06:48 -0500)]
add configuration for machine + user
and disable PAC provisioning. Tho this needs source code changes
to wpa_supplicant in order to work.
Alan T. DeKok [Sat, 21 Dec 2024 11:47:43 +0000 (06:47 -0500)]
more debugging, and set fake->config instead of request
Alan T. DeKok [Sat, 21 Dec 2024 11:47:08 +0000 (06:47 -0500)]
more debugging for showing how we get EAP-Type
Alan T. DeKok [Sat, 21 Dec 2024 11:05:17 +0000 (06:05 -0500)]
format
Alan T. DeKok [Sat, 21 Dec 2024 10:47:58 +0000 (05:47 -0500)]
print names instead of numbers for friendliness
Alan T. DeKok [Thu, 12 Dec 2024 13:45:29 +0000 (08:45 -0500)]
correct order of fields
Alan T. DeKok [Wed, 11 Dec 2024 14:35:00 +0000 (09:35 -0500)]
complain if we get TEAP inside of TEAP
Alan T. DeKok [Tue, 10 Dec 2024 15:36:59 +0000 (10:36 -0500)]
note recent changes
Alan T. DeKok [Tue, 10 Dec 2024 15:30:12 +0000 (10:30 -0500)]
add support for xlat of filename
Alan T. DeKok [Tue, 10 Dec 2024 14:46:07 +0000 (09:46 -0500)]
Add handling for Subject Alternative Name (SAN) URIs Closes #5450
Manual merge with minor changes
Nick Porter [Mon, 9 Dec 2024 20:06:13 +0000 (20:06 +0000)]
Add options to control return behaviour in group and policy sections
Alan T. DeKok [Fri, 6 Dec 2024 13:45:03 +0000 (08:45 -0500)]
typo: User is 1
Alan T. DeKok [Thu, 5 Dec 2024 15:45:27 +0000 (10:45 -0500)]
set t->received_version
Nick Porter [Thu, 5 Dec 2024 13:06:51 +0000 (13:06 +0000)]
Correct handling of "untrusted" certs. Fixes #5466
OpenSSL calls all certificates presented by a client that aren't in the
local trust store "untrusted".
Therefore when verifying a client certificate, that will always be
untrusted - so we only have untrusted CAs in the chain if there is more
than one untrusted certificate.
Alan T. DeKok [Thu, 5 Dec 2024 13:13:04 +0000 (08:13 -0500)]
added more debug output
Alan T. DeKok [Thu, 5 Dec 2024 12:40:04 +0000 (07:40 -0500)]
fix typos
Nick Porter [Thu, 5 Dec 2024 09:44:18 +0000 (09:44 +0000)]
Use PyEval_RestoreThread to swap to main thread. Fixes #5111
Py_Finalize wants the GIL locked, and PyThreadState_Swap doesn't do
that.
Nick Porter [Thu, 5 Dec 2024 09:40:55 +0000 (09:40 +0000)]
Don't run Python detach function on config check