]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Thu, 7 Oct 2021 02:46:59 +0000 (21:46 -0500)]
Fix comment
Arran Cudbard-Bell [Thu, 7 Oct 2021 02:43:26 +0000 (21:43 -0500)]
Don't verify data.enumv for structural types
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:51:57 +0000 (20:51 -0500)]
type based sublists
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:35:26 +0000 (20:35 -0500)]
We probably don't need the tmplist here...
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:33:56 +0000 (20:33 -0500)]
Move pair child by num, and make it use internal functions instead of iterating over the pair list directly
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:32:06 +0000 (20:32 -0500)]
User newer type check function
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:31:06 +0000 (20:31 -0500)]
Shouldn't have been removed
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:23:37 +0000 (20:23 -0500)]
Remove spurious new lines
James Jones [Thu, 7 Oct 2021 01:39:58 +0000 (20:39 -0500)]
Add fr_{lst, heap}_foreach() and tests thereof. (#4237)
Note that because we have to declare an fr_{lst, heap}_iter as well
as a variable of type pointer to the element type of the {lst, heap},
we must take the approach of fr_dlist_foreach_safe(). Correct uses
will thus look like they have unbalanced braces.
Arran Cudbard-Bell [Wed, 6 Oct 2021 22:33:44 +0000 (17:33 -0500)]
Remove a direct access to the element count in lists
Arran Cudbard-Bell [Wed, 6 Oct 2021 22:15:16 +0000 (17:15 -0500)]
s/head/order_head/ s/entry/order in pair code
This is to prepare for pair trees
Alan T. DeKok [Wed, 6 Oct 2021 21:01:02 +0000 (17:01 -0400)]
pass length of data, not offset of label
Alan T. DeKok [Wed, 6 Oct 2021 20:59:15 +0000 (16:59 -0400)]
let's check availability before dereferencing, m'kay?
Alan T. DeKok [Wed, 6 Oct 2021 20:51:13 +0000 (16:51 -0400)]
doxygen
Alan T. DeKok [Wed, 6 Oct 2021 20:47:21 +0000 (16:47 -0400)]
check for overflow before decoding anything
Alan T. DeKok [Wed, 6 Oct 2021 20:19:20 +0000 (16:19 -0400)]
error tests from the fuzzer
Alan T. DeKok [Wed, 6 Oct 2021 20:19:16 +0000 (16:19 -0400)]
typo
Alan T. DeKok [Wed, 6 Oct 2021 20:14:37 +0000 (16:14 -0400)]
add fr_strerror() and FR_PROTO_TRACE
Alan T. DeKok [Wed, 6 Oct 2021 20:14:21 +0000 (16:14 -0400)]
add fr_strerror()
Alan T. DeKok [Wed, 6 Oct 2021 19:54:05 +0000 (15:54 -0400)]
minor cleanups
Alan T. DeKok [Wed, 6 Oct 2021 17:17:15 +0000 (13:17 -0400)]
add "const"
Alan T. DeKok [Wed, 6 Oct 2021 16:36:44 +0000 (12:36 -0400)]
add dns fuzzer files
Arran Cudbard-Bell [Wed, 6 Oct 2021 02:05:48 +0000 (21:05 -0500)]
with tmpl_afrom_attr_str when we're expecting an attribute, 0 is an invalid return code too
Alan T. DeKok [Tue, 5 Oct 2021 23:15:08 +0000 (19:15 -0400)]
remove unused assignment
Alan T. DeKok [Tue, 5 Oct 2021 20:48:54 +0000 (16:48 -0400)]
refresh dns_labels struct, instead of reallocating it
which cuts down on the leaks while fuzzing, but doesn't eliminate
them.
Alan T. DeKok [Tue, 5 Oct 2021 19:45:17 +0000 (15:45 -0400)]
abstract "decode record" into common function
Alan T. DeKok [Tue, 5 Oct 2021 19:44:52 +0000 (15:44 -0400)]
more unused variables
Alan T. DeKok [Tue, 5 Oct 2021 19:29:44 +0000 (15:29 -0400)]
add a target to quickly debug fuzzer crashes
Alan T. DeKok [Tue, 5 Oct 2021 19:24:44 +0000 (15:24 -0400)]
free the correct thing on decode error
and use the parent ctx for allocations of raw attributes,
instead of the child ctx
Alan T. DeKok [Tue, 5 Oct 2021 19:20:27 +0000 (15:20 -0400)]
fix CI errors
Alan T. DeKok [Tue, 5 Oct 2021 18:49:41 +0000 (14:49 -0400)]
add DNS to the fuzzer list
Alan T. DeKok [Tue, 5 Oct 2021 18:39:52 +0000 (14:39 -0400)]
Miracles and magic.
Alan T. DeKok [Fri, 1 Oct 2021 15:42:17 +0000 (11:42 -0400)]
set the new value.
this will be used after the server starts, because that's when
the callback is hit. It won't (yet) be used in references
as the configuration files are being read.
Alan T. DeKok [Fri, 1 Oct 2021 15:41:53 +0000 (11:41 -0400)]
set parsed before calling the callback function
Alan T. DeKok [Fri, 1 Oct 2021 15:41:29 +0000 (11:41 -0400)]
use cf_pair_dup() to get parsed, filename, line, etc.
Arran Cudbard-Bell [Mon, 4 Oct 2021 20:03:24 +0000 (15:03 -0500)]
char **
Arran Cudbard-Bell [Mon, 4 Oct 2021 19:53:19 +0000 (14:53 -0500)]
Missed const
Arran Cudbard-Bell [Mon, 4 Oct 2021 19:47:29 +0000 (14:47 -0500)]
Add option to explicitly disable proxying for a rlm_rest section
Arran Cudbard-Bell [Mon, 4 Oct 2021 18:11:06 +0000 (13:11 -0500)]
Add global atexit functions
Alan T. DeKok [Mon, 4 Oct 2021 19:29:28 +0000 (15:29 -0400)]
updates to allow for encoding nested VPs
Alan T. DeKok [Mon, 4 Oct 2021 17:15:48 +0000 (13:15 -0400)]
don't bother resetting parent, it's not necessary
Alan T. DeKok [Mon, 4 Oct 2021 16:35:01 +0000 (12:35 -0400)]
update expected output
Alan T. DeKok [Mon, 4 Oct 2021 15:54:50 +0000 (11:54 -0400)]
reset to correct parent
Alan T. DeKok [Mon, 4 Oct 2021 15:54:31 +0000 (11:54 -0400)]
remove extra whitespace
Arran Cudbard-Bell [Sat, 2 Oct 2021 23:21:44 +0000 (18:21 -0500)]
Bump macOS and hostap versions
Arran Cudbard-Bell [Sat, 2 Oct 2021 22:04:37 +0000 (17:04 -0500)]
Fix eapol_test picking up the wrong OpenSSL version?
Arran Cudbard-Bell [Sat, 2 Oct 2021 18:53:19 +0000 (13:53 -0500)]
Build eapol_test against OpenSSL 1.1.0
Building against 3.0 produces many errors and the resulting eapol_test utility seems to fail in mschapv2. This is likely because it's not explicitly loading the "legacy" provider, and so md4 is not available.
Arran Cudbard-Bell [Sat, 2 Oct 2021 18:18:15 +0000 (13:18 -0500)]
Use OpenSSL 3.0 for macOS tests
Arran Cudbard-Bell [Sat, 2 Oct 2021 16:26:44 +0000 (11:26 -0500)]
Work around bug in OpenSSL 3.0 that causes handshakes to fail
Arran Cudbard-Bell [Sat, 2 Oct 2021 16:26:15 +0000 (11:26 -0500)]
Improve fr_tls_log_io_error
It now prints out the string identifier for the error, and produces debugging output for none fatal errors.
Arran Cudbard-Bell [Sat, 2 Oct 2021 00:37:51 +0000 (19:37 -0500)]
OpenSSL 3.0 PBKDF2 functions don't like zero iterations
Arran Cudbard-Bell [Fri, 1 Oct 2021 18:51:44 +0000 (13:51 -0500)]
Use newer EC_POINT_*affine_coordinates functions and EVP API in rlm_eap_pwd
Arran Cudbard-Bell [Fri, 1 Oct 2021 18:00:12 +0000 (13:00 -0500)]
Use EVP API for eap_fast_crypto.c
Arran Cudbard-Bell [Fri, 1 Oct 2021 17:35:03 +0000 (12:35 -0500)]
Use newer certificate functions to work with OpenSSL 3.0
Arran Cudbard-Bell [Fri, 1 Oct 2021 22:58:15 +0000 (17:58 -0500)]
Don't build engine.c if we're using OpenSSL 3.0
Arran Cudbard-Bell [Fri, 1 Oct 2021 17:34:13 +0000 (12:34 -0500)]
Update hmac_sha1 and hmac_md5 to use the EVP API
Calling the HMAC functions directly is deprecated in OpenSSL 3.0
Arran Cudbard-Bell [Fri, 1 Oct 2021 18:52:29 +0000 (13:52 -0500)]
Use EVP api in rlm_wimax
Arran Cudbard-Bell [Fri, 1 Oct 2021 17:18:30 +0000 (12:18 -0500)]
FIPS_mode() has been removed in OpenSSL 3.0
Load "legacy" provider for MD4
Arran Cudbard-Bell [Fri, 1 Oct 2021 17:18:02 +0000 (12:18 -0500)]
RSA_SSLV23_PADDING is not available in OpenSSL 3.0
We didn't do anything with it anyway...
Arran Cudbard-Bell [Fri, 1 Oct 2021 15:29:01 +0000 (10:29 -0500)]
*OpenSSL 1.1.*
Arran Cudbard-Bell [Fri, 1 Oct 2021 15:25:28 +0000 (10:25 -0500)]
Explicitly install openssl for CI
Arran Cudbard-Bell [Fri, 1 Oct 2021 14:52:37 +0000 (09:52 -0500)]
Various log fixes
Arran Cudbard-Bell [Fri, 1 Oct 2021 13:27:41 +0000 (08:27 -0500)]
Set macosx-version-min to be the current version
Arran Cudbard-Bell [Thu, 30 Sep 2021 23:49:16 +0000 (18:49 -0500)]
Better names for log destination table
Arran Cudbard-Bell [Thu, 30 Sep 2021 23:37:03 +0000 (18:37 -0500)]
Standardise on _not_ returning an errcode from logging functions
Arran Cudbard-Bell [Thu, 30 Sep 2021 19:51:11 +0000 (14:51 -0500)]
rename L_DST_EXTRA to L_DST_FUNC
Arran Cudbard-Bell [Thu, 30 Sep 2021 19:44:15 +0000 (14:44 -0500)]
New logging init functions
Arran Cudbard-Bell [Thu, 30 Sep 2021 19:36:44 +0000 (14:36 -0500)]
Simpler user/group parsing
Alan T. DeKok [Tue, 28 Sep 2021 14:49:06 +0000 (10:49 -0400)]
advance the correct buffer
Alan T. DeKok [Tue, 28 Sep 2021 14:22:52 +0000 (10:22 -0400)]
this should be const
Alan T. DeKok [Fri, 24 Sep 2021 18:37:26 +0000 (14:37 -0400)]
allow decoding part-way through a buffer
Alan T. DeKok [Fri, 24 Sep 2021 18:33:39 +0000 (14:33 -0400)]
tests are in GMT, so print that
Alan T. DeKok [Fri, 24 Sep 2021 15:52:38 +0000 (11:52 -0400)]
allow 'length=uint16' as a flag for STRUCT
because struct.c supports it, so why not...
Arran Cudbard-Bell [Fri, 24 Sep 2021 23:22:21 +0000 (18:22 -0500)]
typo
Nick Porter [Fri, 24 Sep 2021 20:43:43 +0000 (21:43 +0100)]
v4: Async LDAP connection fixes (#4240)
* Improve log message for successful LDAP async bind
* typo
* net_timeout is still used
* ldap_get_option can return LDAP_SUCCESS before the fd is known
* If _ldap_bind_io_write was called without an fd look it up now
* Store the connection fd for setting trunk events
* Signal the connection once the bind has succeeded
* Setting LDAP_OPT_NETWORK_TIMEOUT actually stops async calls
* log_prefix should be const
* Associate connection state handle with ldap connection
* Add error message if LDAP connection does not allocate
* Explain use of net_timeout
* Explain behavior of ldap_get_option
* Explain why we may call _ldap_bind_io_write() without a writable fd
Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Arran Cudbard-Bell [Fri, 24 Sep 2021 20:39:55 +0000 (15:39 -0500)]
Fix request timeout in rlm_sql_cassandra
Arran Cudbard-Bell [Fri, 24 Sep 2021 20:27:29 +0000 (15:27 -0500)]
Init lhs/rhs in fr_value_box_print
Arran Cudbard-Bell [Fri, 24 Sep 2021 20:27:15 +0000 (15:27 -0500)]
Fix overflow
Arran Cudbard-Bell [Fri, 24 Sep 2021 20:21:59 +0000 (15:21 -0500)]
Fix another timeout arg
Arran Cudbard-Bell [Fri, 24 Sep 2021 20:18:26 +0000 (15:18 -0500)]
Fix passing keepalive config items
Arran Cudbard-Bell [Fri, 24 Sep 2021 20:08:10 +0000 (15:08 -0500)]
Fix time delta issues in ldap related code
Arran Cudbard-Bell [Fri, 24 Sep 2021 19:34:48 +0000 (14:34 -0500)]
Fix watchdog time check
Arran Cudbard-Bell [Fri, 24 Sep 2021 19:31:23 +0000 (14:31 -0500)]
Set sd_watchdog_interval
Arran Cudbard-Bell [Fri, 24 Sep 2021 19:11:00 +0000 (14:11 -0500)]
Wrap fr_time_delta_t and fr_unix_time_t in structs
Fix invalid timeouts passed to redis and memcached
Alan T. DeKok [Fri, 24 Sep 2021 14:17:56 +0000 (10:17 -0400)]
update interpreter docs
Alan T. DeKok [Thu, 23 Sep 2021 18:15:48 +0000 (14:15 -0400)]
add EAP-FAST dictionary and make it run
it starts up, but it doesn't work, because the underlying
EAP handlers only do EAP-TLS for now.
We will need to fix this for v4, in order to:
* define and use src/lib/process/fast
* define a real dictionary (not an internal one)
* use the struct encoder where possible
* fix the encoder / decoder to use the newer API
Alan T. DeKok [Thu, 23 Sep 2021 17:45:13 +0000 (13:45 -0400)]
remove EAP-FAST aliases. they're really not needed
Alan T. DeKok [Thu, 23 Sep 2021 17:26:10 +0000 (13:26 -0400)]
renew at 60% of PAC lifetime
Arran Cudbard-Bell [Thu, 23 Sep 2021 18:13:59 +0000 (13:13 -0500)]
Fix overflow in rlm_cache
Arran Cudbard-Bell [Thu, 23 Sep 2021 17:32:30 +0000 (12:32 -0500)]
Quiet warning about pragma
Arran Cudbard-Bell [Thu, 23 Sep 2021 17:24:41 +0000 (12:24 -0500)]
Add `fr_time_max()`
Arran Cudbard-Bell [Thu, 23 Sep 2021 16:59:48 +0000 (11:59 -0500)]
Fix time addition in proto_ldap_sync
Arran Cudbard-Bell [Thu, 23 Sep 2021 16:54:40 +0000 (11:54 -0500)]
Wrap time when calling sd_watchdog_event manually
Arran Cudbard-Bell [Thu, 23 Sep 2021 16:35:06 +0000 (11:35 -0500)]
Switch fr_time_t to use a struct to detect misuses
Alan T. DeKok [Wed, 22 Sep 2021 19:04:28 +0000 (15:04 -0400)]
pac_type is uint16, not uint32
Alan T. DeKok [Wed, 22 Sep 2021 17:19:48 +0000 (13:19 -0400)]
fix data type here, too
Alan T. DeKok [Wed, 22 Sep 2021 17:15:55 +0000 (13:15 -0400)]
convert query timeout to time_delta
Alan T. DeKok [Wed, 22 Sep 2021 16:59:51 +0000 (12:59 -0400)]
use time_delta
Alan T. DeKok [Wed, 22 Sep 2021 16:54:06 +0000 (12:54 -0400)]
let's finish the conversion
Alan T. DeKok [Wed, 22 Sep 2021 16:46:57 +0000 (12:46 -0400)]
convert to using fr_time_t