]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 24 Feb 2025 19:57:24 +0000 (14:57 -0500)]
define, parse, and print tag ":V"
which is intended to cause tags to be parsed from values
and hoist the "set tag" code to before the calls to
fr_pair_value_from_str(), so that it can parse the tag
Alan T. DeKok [Mon, 24 Feb 2025 19:56:36 +0000 (14:56 -0500)]
add commented-out CFLAGS which can quiet the compiler a bit more
Alan T. DeKok [Sun, 23 Feb 2025 15:14:23 +0000 (10:14 -0500)]
more typo
Alan T. DeKok [Sun, 23 Feb 2025 14:42:58 +0000 (09:42 -0500)]
fix the typo
Alan T. DeKok [Sun, 23 Feb 2025 14:32:38 +0000 (09:32 -0500)]
produce better errors on bad passwords
Alan T. DeKok [Sun, 23 Feb 2025 14:22:12 +0000 (09:22 -0500)]
typo
Alan T. DeKok [Sun, 23 Feb 2025 13:43:45 +0000 (08:43 -0500)]
'%' at the end of a string is itself, and not an error
Alan T. DeKok [Sun, 23 Feb 2025 13:43:24 +0000 (08:43 -0500)]
only mark strings for expansion when they contain '%'
Alan T. DeKok [Thu, 20 Feb 2025 22:39:53 +0000 (17:39 -0500)]
and formatted
Alan T. DeKok [Thu, 20 Feb 2025 21:57:29 +0000 (16:57 -0500)]
fix typos and clean it up to remove duplication
Alan T. DeKok [Thu, 20 Feb 2025 21:45:52 +0000 (16:45 -0500)]
as posted to the list
Matthew Newton [Thu, 20 Feb 2025 00:26:43 +0000 (00:26 +0000)]
make libpcre optional in debian package
Newer OSes are PCRE2 only, but v3 doesn't support that. Doesn't seem to be any
official way to do this, so just "or another package that we already want".
Alan T. DeKok [Tue, 18 Feb 2025 18:20:52 +0000 (13:20 -0500)]
prevent duplications
Alan T. DeKok [Tue, 18 Feb 2025 18:06:58 +0000 (13:06 -0500)]
typo. fixes #5522
Terry Burton [Fri, 7 Feb 2025 14:31:39 +0000 (14:31 +0000)]
Preliminary module for producing to Kafka
Based on https://github.com/thebinary/rlm_kafka
Terry Burton [Fri, 7 Feb 2025 14:26:47 +0000 (14:26 +0000)]
Don't needlessly attempt to set euid to the current euid
This isn't a noop on Linux and will cause librdkafka to fail.
Alan T. DeKok [Mon, 17 Feb 2025 13:18:46 +0000 (08:18 -0500)]
document Windows behavior
Alan T. DeKok [Sun, 16 Feb 2025 15:37:21 +0000 (10:37 -0500)]
fix crash in TEAP module
Alan T. DeKok [Sun, 16 Feb 2025 14:43:40 +0000 (09:43 -0500)]
allow building when OpenSSL is missing PSK. Fixes #5520
Alan T. DeKok [Sat, 15 Feb 2025 17:26:09 +0000 (12:26 -0500)]
point to ltb-project which may have OpenSSL-compatible libraries
Alan T. DeKok [Fri, 14 Feb 2025 13:07:39 +0000 (08:07 -0500)]
adds hint message for users testing TEAP using eapol_test. Fixes #5518
Nick Porter [Thu, 13 Feb 2025 12:07:19 +0000 (12:07 +0000)]
Use control:Packet-SRC-IP-Address when proxying needs a given source
For the case when using Packet-DST-IP-Address to direct proxying.
This needs to align with the src_ipaddr defined for the home server.
Matthew Newton [Wed, 12 Feb 2025 20:39:00 +0000 (20:39 +0000)]
ci: bump ubuntu versions
Alan T. DeKok [Wed, 12 Feb 2025 12:06:47 +0000 (07:06 -0500)]
note recent changes
Alan T. DeKok [Wed, 12 Feb 2025 12:03:13 +0000 (07:03 -0500)]
wrap crl_dp checks in if (certs && (lookup <= 1). Fixes #5515
Alan T. DeKok [Tue, 11 Feb 2025 21:47:13 +0000 (16:47 -0500)]
only build the fuzzer if we have -fsanitize=fuzzer
Alan T. DeKok [Tue, 11 Feb 2025 21:20:25 +0000 (16:20 -0500)]
we don't need these flags here
Alan T. DeKok [Tue, 11 Feb 2025 21:19:28 +0000 (16:19 -0500)]
check that the packet is well-formed
rad_decode() doesn't do this, but instead assumes that the packet
is OK.
Alan T. DeKok [Tue, 11 Feb 2025 20:56:26 +0000 (15:56 -0500)]
add framework for fuzzer
Alan T. DeKok [Sat, 8 Feb 2025 11:45:55 +0000 (06:45 -0500)]
move STOP check to before assert. Fixes #5512
Alan T. DeKok [Sun, 2 Feb 2025 03:57:34 +0000 (22:57 -0500)]
check for invalid values of the Crypto-Binding Flags field
Alan T. DeKok [Sun, 2 Feb 2025 03:57:17 +0000 (22:57 -0500)]
rename function for clarity
Alan T. DeKok [Sun, 2 Feb 2025 03:56:33 +0000 (22:56 -0500)]
move failures to RWDEBUG
Alan T. DeKok [Sat, 1 Feb 2025 21:05:34 +0000 (16:05 -0500)]
debug print TEAP attributes we're sending in phase 2
Alan T. DeKok [Sat, 1 Feb 2025 21:03:31 +0000 (16:03 -0500)]
minor cleanups, and print inner VPs in Access-Accept
Alan T. DeKok [Sat, 1 Feb 2025 21:02:36 +0000 (16:02 -0500)]
add only one user with EAP-MSCHAPv2
Alan T. DeKok [Sat, 1 Feb 2025 21:00:34 +0000 (16:00 -0500)]
allow TLS 1.2, and use "autheap=MSCHAPv2"
otherwise eapol_test complains with
TLS: Unsupported Phase2 EAP method 'MSCHAPv2'
Matthew Newton [Fri, 31 Jan 2025 16:19:17 +0000 (16:19 +0000)]
Bump for 3.2.8
Matthew Newton [Fri, 31 Jan 2025 11:42:21 +0000 (11:42 +0000)]
release 3.2.7
Matthew Newton [Fri, 31 Jan 2025 11:37:48 +0000 (11:37 +0000)]
disable unix/utmp modules in the default config
Matthew Newton [Thu, 30 Jan 2025 23:52:19 +0000 (23:52 +0000)]
rebuild dockerfiles
- bump alpine version from 3.13 to 3.21
- remove python2-dev from alpine (no longer in OS)
- remove rlm_couchbase from alpine (OS has Couchbase v3, which we can't use)
Matthew Newton [Thu, 30 Jan 2025 19:30:50 +0000 (19:30 +0000)]
rlm_couchbase: we can't build on couchbase v3
Matthew Newton [Wed, 29 Jan 2025 14:16:25 +0000 (14:16 +0000)]
add configure switch for radlast
/usr/bin/last is unavailable on some systems due to 32bit utmp, which is what
radlast uses, so give the option to simply not include it when building
Matthew Newton [Fri, 24 Jan 2025 13:33:35 +0000 (13:33 +0000)]
example docs for tmpdir with systemd. Fixes #5066
Nick Porter [Fri, 24 Jan 2025 18:59:01 +0000 (18:59 +0000)]
Add basic radsecproxy.conf for testing
Alan T. DeKok [Fri, 24 Jan 2025 15:34:35 +0000 (10:34 -0500)]
note recent changes
Nick Porter [Fri, 24 Jan 2025 09:59:50 +0000 (09:59 +0000)]
SSL_CTX_set_psk_find_session_callback was added in OpenSSL 1.1.1
Nick Porter [Fri, 24 Jan 2025 09:34:04 +0000 (09:34 +0000)]
Add detail to error observed when TLS PSK is wrong
Nick Porter [Thu, 23 Jan 2025 18:39:42 +0000 (18:39 +0000)]
PSK config uses either identity or query
Nick Porter [Thu, 23 Jan 2025 18:39:04 +0000 (18:39 +0000)]
Set PSK session callback for server SSL ctx
Nick Porter [Thu, 23 Jan 2025 18:37:59 +0000 (18:37 +0000)]
Define cbtls_psk_find_session() for TLS 1.3 PSK session creation
Nick Porter [Thu, 23 Jan 2025 18:29:00 +0000 (18:29 +0000)]
Move psk_server_callback to cb.c
And split apart so query expansion can be used for TLS 1.3 callback as
well.
Nick Porter [Fri, 24 Jan 2025 09:33:06 +0000 (09:33 +0000)]
Correct function signature for event_new_fd()
It is used as an event callback, so needs to have the
fr_event_callback_t signature.
Nick Porter [Thu, 23 Jan 2025 12:25:29 +0000 (12:25 +0000)]
Backport alignment consistent ipv6 masking from v4
Matthew Newton [Thu, 23 Jan 2025 19:48:07 +0000 (19:48 +0000)]
No sock for detail listeners. Fixes #5485
Nick Porter [Wed, 22 Jan 2025 17:46:12 +0000 (17:46 +0000)]
Free authority info access extracted from cert
Nick Porter [Wed, 22 Jan 2025 16:07:52 +0000 (16:07 +0000)]
Distribution points need to be freed
Nick Porter [Wed, 22 Jan 2025 12:30:10 +0000 (12:30 +0000)]
Report OpenSSL errors at each stage of OCSP failure
Nick Porter [Fri, 17 Jan 2025 13:37:14 +0000 (13:37 +0000)]
Use client shortname as TLS conf name
Alan T. DeKok [Sun, 19 Jan 2025 12:10:27 +0000 (07:10 -0500)]
The configuration item is psk_hexphrase. #5469
Alan T. DeKok [Fri, 17 Jan 2025 14:06:22 +0000 (09:06 -0500)]
typo
Alan T. DeKok [Fri, 17 Jan 2025 13:54:01 +0000 (08:54 -0500)]
add proxy_rate_limit module
Alan T. DeKok [Thu, 16 Jan 2025 21:29:12 +0000 (16:29 -0500)]
add defaults
Terry Burton [Tue, 9 Jan 2024 23:36:05 +0000 (23:36 +0000)]
Preliminary mod_proxy_rate_limit module
Alan T. DeKok [Wed, 15 Jan 2025 15:41:06 +0000 (10:41 -0500)]
note recent changes
Alan T. DeKok [Wed, 15 Jan 2025 15:37:50 +0000 (10:37 -0500)]
use the server TLS configuration, not client.
the home_server code uses tls_client_conf_parse(), because that
controls the settings used by the _client_ to connect to the home
server,
the client code should then use tls_server_conf_parse(), because
theat controls the settings used by the _server_ when a client
connects.
listen.c also now sets listen->tls = client->tls, so this is the
correct behavior.
Previously, the client TLS settings were entirely ignored. So it's
OK to change (i.e. fix) this behavior
Nick Porter [Mon, 13 Jan 2025 17:38:58 +0000 (17:38 +0000)]
If a client has a TLS config, use that in preference to the listener one
Nick Porter [Mon, 13 Jan 2025 17:37:37 +0000 (17:37 +0000)]
Parse client specific tls conf sections
Nick Porter [Mon, 13 Jan 2025 11:26:47 +0000 (11:26 +0000)]
No need to warn about short shared secret for RadSec connections
Nick Porter [Mon, 13 Jan 2025 11:26:05 +0000 (11:26 +0000)]
WS
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