]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Fri, 11 Apr 2025 19:46:21 +0000 (15:46 -0400)]
show which files we load from realm_dir
Nick Porter [Thu, 24 Apr 2025 09:26:54 +0000 (10:26 +0100)]
Use OCIStmtPrepare2 to prepare Oracle queires. Fixes #5540
Nick Porter [Thu, 24 Apr 2025 09:24:06 +0000 (10:24 +0100)]
Correct format string arguments
Nick Porter [Thu, 24 Apr 2025 09:23:39 +0000 (10:23 +0100)]
WS
Alan T. DeKok [Fri, 11 Apr 2025 00:48:27 +0000 (20:48 -0400)]
note recent changes
Alan T. DeKok [Fri, 11 Apr 2025 00:43:12 +0000 (20:43 -0400)]
it helps to have SSL session before using it. Fixes #5552
Nick Porter [Thu, 10 Apr 2025 17:00:37 +0000 (18:00 +0100)]
Py_EndInterpreter() unlocks the GIL
Nick Porter [Thu, 10 Apr 2025 16:58:06 +0000 (17:58 +0100)]
Py_NewInterpreter locks the GIL
Nick Porter [Thu, 10 Apr 2025 16:57:23 +0000 (17:57 +0100)]
PyImport_AppendInittab can only be called before Py_Initialize
So, before the first interpeter is initialized
Stephen Blackwell [Tue, 8 Apr 2025 18:06:09 +0000 (12:06 -0600)]
Typo: 1821->1812 (#5547)
Alan T. DeKok [Tue, 8 Apr 2025 18:04:01 +0000 (14:04 -0400)]
home_pool may be NULL
Alan T. DeKok [Tue, 8 Apr 2025 18:03:16 +0000 (14:03 -0400)]
hoist NULL check to before dereference
Alan T. DeKok [Tue, 8 Apr 2025 17:09:05 +0000 (13:09 -0400)]
it's better to do this only for Access-Challenge
Alan T. DeKok [Tue, 8 Apr 2025 13:14:20 +0000 (09:14 -0400)]
add support for server affinity.
which means that EAP sessions can be directed to the correct
home server in more situations.
Alan T. DeKok [Fri, 4 Apr 2025 11:30:49 +0000 (07:30 -0400)]
add rule for DER output
Alan T. DeKok [Fri, 21 Mar 2025 06:37:48 +0000 (13:37 +0700)]
define USEC
Alan T. DeKok [Fri, 21 Mar 2025 06:21:40 +0000 (13:21 +0700)]
change lower_limit for reject_delay to 0.5s.
Some equipment is known to retry aggressively if the timeout is
about 1s
Nick Porter [Tue, 18 Mar 2025 18:13:21 +0000 (18:13 +0000)]
Typo
Nick Porter [Tue, 11 Mar 2025 18:36:30 +0000 (18:36 +0000)]
Update Alteon dictionary
Using details provided on the mailing list from
https://netmarket.oss-cn-hangzhou.aliyuncs.com/
2029985f4fad4aef8fc3d7f2f3907ce0 .pdf
Alan T. DeKok [Fri, 7 Mar 2025 12:49:50 +0000 (07:49 -0500)]
add error message about what's required
Alan T. DeKok [Thu, 6 Mar 2025 19:05:57 +0000 (14:05 -0500)]
MS-CHAP is plain-text equivalent.
Mark the Challenge field as secret, so that it doesn't get
exposed when people run the server in debug mode.
Alan T. DeKok [Thu, 6 Mar 2025 11:57:46 +0000 (06:57 -0500)]
print out client name, and rate limit messages
As reported by Hideaki Goto. We do not want to spam the log with
many of the same message. We want to include the client name,
so that the administrator knows which client is making repeated
connection attempts
Alan T. DeKok [Thu, 6 Mar 2025 11:56:16 +0000 (06:56 -0500)]
reject if we have success + fatal error
Alan T. DeKok [Tue, 4 Mar 2025 11:27:04 +0000 (06:27 -0500)]
don't allow renegotiation
which means sending a new certificate in the middle of a TLS
session.
Since the server doesn't expect this behavior, it's likely to not
work
Alan T. DeKok [Wed, 26 Feb 2025 12:39:27 +0000 (07:39 -0500)]
be more flexible about %"
Alan T. DeKok [Wed, 26 Feb 2025 11:55:50 +0000 (06:55 -0500)]
be stricter about marking as VT_XLAT
Alan T. DeKok [Wed, 26 Feb 2025 11:12:09 +0000 (06:12 -0500)]
typo
Alan T. DeKok [Wed, 26 Feb 2025 10:40:56 +0000 (05:40 -0500)]
set tag before parsing value
Alan T. DeKok [Tue, 25 Feb 2025 19:31:17 +0000 (14:31 -0500)]
set tag for :V properly.
Hoist setting of new->tag to before we call fr_pair_value_from_str()
when converting LITERAL to DATA in modcall_fixup_update(), check
for TAG_VALUE, and then parse the tag from the value. Once that's
done, parse the value with from the remaining part of the string.
Add tests
Alan T. DeKok [Tue, 25 Feb 2025 19:30:28 +0000 (14:30 -0500)]
skip ":V" for lists and fix parsing of ":V"
Alan T. DeKok [Tue, 25 Feb 2025 19:27:04 +0000 (14:27 -0500)]
move checks for '%' into fr_pair_mark_xlat()
after verifying that all functions which call it are safe to have
this funtion call fr_pair_value_from_str() if there's no '%' in
the string.
Alan T. DeKok [Tue, 25 Feb 2025 19:09:29 +0000 (14:09 -0500)]
add missing README which lets modules be categorized
Alan T. DeKok [Tue, 25 Feb 2025 15:49:06 +0000 (10:49 -0500)]
parse ":V" in fr_pair_make()
Alan T. DeKok [Tue, 25 Feb 2025 15:10:53 +0000 (10:10 -0500)]
note recent changes
Alan T. DeKok [Tue, 25 Feb 2025 14:58:04 +0000 (09:58 -0500)]
document :V
Alan T. DeKok [Mon, 24 Feb 2025 21:35:13 +0000 (16:35 -0500)]
we didn't need this change
Alan T. DeKok [Mon, 24 Feb 2025 21:35:09 +0000 (16:35 -0500)]
typo
Alan T. DeKok [Mon, 24 Feb 2025 20:46:04 +0000 (15:46 -0500)]
Parse tag from value when :V is used.
This only works for bare words right now, and not for
double-quoted strings.
Alan T. DeKok [Mon, 24 Feb 2025 20:45:42 +0000 (15:45 -0500)]
complain about :V tag in inappropriate places
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