]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 7 Mar 2022 14:15:26 +0000 (09:15 -0500)]
add 'length=uint8'
Alan T. DeKok [Sun, 6 Mar 2022 12:44:42 +0000 (07:44 -0500)]
this is bool
Alan T. DeKok [Fri, 4 Mar 2022 20:46:44 +0000 (15:46 -0500)]
double-check flags for "length=uint16,array"
to tighten up the restrictions a bit, and to make the dictionaries
more explicit
Alan T. DeKok [Fri, 4 Mar 2022 20:03:40 +0000 (15:03 -0500)]
these are arrays of string/octet, prefixed with a 16-bit length
the use of the "array" flag causes the DHCPv6 encoder to automatically
prefix the variable length strings with a 16-bit length. But it
doesn't hurt to have this information explicit in the dictionaries too
Jorge Pereira [Fri, 4 Mar 2022 14:36:40 +0000 (11:36 -0300)]
Fix Centos 8 CI build and enable Rocky 8 (#4399)
* Fix Centos 8 CI build
* Enable Rocky 8 CI build
As the Centos 8 is EOL. Let's also consider see if the build is ok on
Rocky 8.
James Jones [Fri, 4 Mar 2022 14:09:49 +0000 (08:09 -0600)]
Add fr_trunk_verify() and FR_TRUNK_VERIFY() to assist with detecting trunk issues. (#4379)
Sudheer Satyanarayana [Fri, 4 Mar 2022 13:25:12 +0000 (18:55 +0530)]
Minor text fix in LDAP module comments (#4405)
removed redundant word
Arran Cudbard-Bell [Fri, 4 Mar 2022 00:22:59 +0000 (18:22 -0600)]
Correct heap talloc types
Arran Cudbard-Bell [Thu, 3 Mar 2022 23:45:46 +0000 (17:45 -0600)]
Allow heap access functions to be inlined
Heaps hold the thread specific data for xlats, and will do the same for modules, so it's good to try and make them as cheap to access as possible.
Arran Cudbard-Bell [Thu, 3 Mar 2022 20:50:48 +0000 (14:50 -0600)]
Add common fields to the proto modules
Arran Cudbard-Bell [Thu, 3 Mar 2022 03:31:46 +0000 (21:31 -0600)]
Fix spurious debug message
Arran Cudbard-Bell [Thu, 3 Mar 2022 03:31:35 +0000 (21:31 -0600)]
Fix build errors in cassandra
Arran Cudbard-Bell [Thu, 3 Mar 2022 03:17:43 +0000 (21:17 -0600)]
Cast data not inst in sql drivers
Arran Cudbard-Bell [Thu, 3 Mar 2022 03:12:36 +0000 (21:12 -0600)]
Need to bootstrap sqlite _before_ rlm_sql does instantiation and creates the pool
Arran Cudbard-Bell [Thu, 3 Mar 2022 01:38:39 +0000 (19:38 -0600)]
Use common submodule CONF_PARSER code for loading submodules
Arran Cudbard-Bell [Thu, 3 Mar 2022 00:17:51 +0000 (18:17 -0600)]
Use the common submodule infrastructure for rlm_sql
This gives us thread instantiation/detach for sql drivers
Arran Cudbard-Bell [Thu, 3 Mar 2022 00:08:47 +0000 (18:08 -0600)]
Split conf parsing phase off from dl instantiation
This lets us get the instance data in all the appropriate trees before running CONF_PARSER callbacks
Arran Cudbard-Bell [Thu, 3 Mar 2022 00:07:06 +0000 (18:07 -0600)]
Provide accessor to get dl_inst from conf
Arran Cudbard-Bell [Thu, 3 Mar 2022 00:04:20 +0000 (18:04 -0600)]
Call detach on shallowest parent first
Arran Cudbard-Bell [Thu, 3 Mar 2022 00:03:51 +0000 (18:03 -0600)]
Fix whitespace
Arran Cudbard-Bell [Wed, 2 Mar 2022 21:21:22 +0000 (15:21 -0600)]
Switch rlm_radius to using the high level submodule interface
Really this is part of the previous commit, but broken out for ease of examination if we run into problems later.
Arran Cudbard-Bell [Wed, 2 Mar 2022 21:18:50 +0000 (15:18 -0600)]
Use module_t as the common set of fields in loadable modules
Arran Cudbard-Bell [Wed, 2 Mar 2022 15:36:29 +0000 (09:36 -0600)]
Split module_rlm functions out into a separate header file
Arran Cudbard-Bell [Wed, 2 Mar 2022 14:57:25 +0000 (08:57 -0600)]
Explicitly pass in the type of module we're loading to module_bootstrap
Arran Cudbard-Bell [Wed, 2 Mar 2022 14:11:53 +0000 (08:11 -0600)]
Typo
Arran Cudbard-Bell [Wed, 2 Mar 2022 00:03:48 +0000 (18:03 -0600)]
Split out rlm module code from modules.c
github-actions[bot] [Tue, 1 Mar 2022 09:34:49 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Tue, 1 Mar 2022 09:34:43 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Tue, 1 Mar 2022 09:34:40 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Tue, 1 Mar 2022 09:34:36 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Tue, 1 Mar 2022 09:34:33 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Tue, 1 Mar 2022 09:34:31 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Tue, 1 Mar 2022 09:34:28 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Tue, 1 Mar 2022 09:34:21 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
Arran Cudbard-Bell [Wed, 23 Feb 2022 16:05:05 +0000 (11:05 -0500)]
Zero out input buffer on reset in internal md5
Arran Cudbard-Bell [Tue, 22 Feb 2022 21:46:54 +0000 (16:46 -0500)]
use all pre-allocated MD5 ctxs to reduce OpenSSL malloc/free noise
Arran Cudbard-Bell [Tue, 22 Feb 2022 20:30:12 +0000 (15:30 -0500)]
Add atexit state function
Arran Cudbard-Bell [Sat, 19 Feb 2022 04:50:01 +0000 (23:50 -0500)]
Explicitly cleanup "thread local" memory in single threaded mode
Alan T. DeKok [Fri, 18 Feb 2022 13:31:31 +0000 (08:31 -0500)]
check length before using it. Fixes fuzzer
Alan T. DeKok [Thu, 17 Feb 2022 21:51:51 +0000 (16:51 -0500)]
more "shut up clang analyzer"
Alan T. DeKok [Thu, 17 Feb 2022 15:31:45 +0000 (10:31 -0500)]
shut up static analyzer
Alan T. DeKok [Thu, 17 Feb 2022 13:56:55 +0000 (08:56 -0500)]
remove "peek-ahead" da and type
and other minor cleanups
Alan T. DeKok [Thu, 17 Feb 2022 13:53:07 +0000 (08:53 -0500)]
add "make test.unit.xlat"
Arran Cudbard-Bell [Thu, 17 Feb 2022 00:50:27 +0000 (19:50 -0500)]
Fix multiple issues with clearing failed TLS sessions
Arran Cudbard-Bell [Wed, 16 Feb 2022 16:48:56 +0000 (11:48 -0500)]
Unused
Arran Cudbard-Bell [Wed, 16 Feb 2022 05:30:41 +0000 (00:30 -0500)]
Whitespace
Arran Cudbard-Bell [Tue, 15 Feb 2022 03:38:55 +0000 (22:38 -0500)]
Helps if these are the right way round
Arran Cudbard-Bell [Tue, 15 Feb 2022 03:34:55 +0000 (22:34 -0500)]
Print out when a SSL * is bound and unbound
Arran Cudbard-Bell [Tue, 15 Feb 2022 00:18:58 +0000 (19:18 -0500)]
Fix up references to vector attributes
Arran Cudbard-Bell [Tue, 15 Feb 2022 00:13:08 +0000 (19:13 -0500)]
Remove references to EAP-SIM-*
Arran Cudbard-Bell [Mon, 14 Feb 2022 23:46:53 +0000 (18:46 -0500)]
Default to the first method in the NAK list
Arran Cudbard-Bell [Mon, 14 Feb 2022 23:16:54 +0000 (18:16 -0500)]
Support dynamically configuring more than one acceptable EAP method
This is needed for EAP-SIM/AKA/AKA'
Arran Cudbard-Bell [Fri, 11 Feb 2022 17:47:07 +0000 (12:47 -0500)]
Allow SIM-Start packets without identity requests
Unsure why/when this would be useful, but it's needed for completeness.
Arran Cudbard-Bell [Fri, 11 Feb 2022 17:46:27 +0000 (12:46 -0500)]
session-id is now ambiguous, use the correct one
Arran Cudbard-Bell [Fri, 11 Feb 2022 15:49:44 +0000 (10:49 -0500)]
Always run EAP-SIM-START for EAP-SIM
It's useless legacy cruft, EAP-AKA and EAP-AKA' don't require it.
Alan T. DeKok [Thu, 10 Feb 2022 18:57:51 +0000 (13:57 -0500)]
try to quiet clang
Arran Cudbard-Bell [Thu, 10 Feb 2022 18:42:42 +0000 (13:42 -0500)]
Minor fixes
Arran Cudbard-Bell [Thu, 10 Feb 2022 18:42:26 +0000 (13:42 -0500)]
Define the set of case statements for fr_type_signed too
Alan T. DeKok [Thu, 10 Feb 2022 15:44:49 +0000 (10:44 -0500)]
add fr_type_is_signed()
Alan T. DeKok [Thu, 10 Feb 2022 15:38:59 +0000 (10:38 -0500)]
use correct variable
Alan T. DeKok [Thu, 10 Feb 2022 14:48:08 +0000 (09:48 -0500)]
remove RPEDEBUG in xlat_eval_sync function
all callers have multiple paths where they return an error
via fr_strerror..(). However, by xlat_eval_sync using RPEDEBUG,
it "eats" the error, and the caller gets no error message.
Alan T. DeKok [Thu, 10 Feb 2022 14:47:41 +0000 (09:47 -0500)]
groupify child nodes, which is needed
Alan T. DeKok [Thu, 10 Feb 2022 14:27:06 +0000 (09:27 -0500)]
disable until we fix other things
Alan T. DeKok [Thu, 10 Feb 2022 13:57:28 +0000 (08:57 -0500)]
typo
Alan T. DeKok [Thu, 10 Feb 2022 00:41:03 +0000 (19:41 -0500)]
allow << and >>
Alan T. DeKok [Thu, 10 Feb 2022 00:40:06 +0000 (19:40 -0500)]
don't do upcasts on left shift and right shift.
Alan T. DeKok [Wed, 9 Feb 2022 21:04:46 +0000 (16:04 -0500)]
use newer macros, which devolve to array lookups
Alan T. DeKok [Wed, 9 Feb 2022 21:02:43 +0000 (16:02 -0500)]
add more xlat_expr run-time tests
Alan T. DeKok [Wed, 9 Feb 2022 21:02:30 +0000 (16:02 -0500)]
add missing operator
Alan T. DeKok [Wed, 9 Feb 2022 20:53:09 +0000 (15:53 -0500)]
set output flags, and call resolution if needed
Alan T. DeKok [Wed, 9 Feb 2022 20:25:05 +0000 (15:25 -0500)]
arguments are grouped, so ungroup them.
for now, we only handle one element per argument
Alan T. DeKok [Wed, 9 Feb 2022 20:07:20 +0000 (15:07 -0500)]
use "match" to mirror src/tests/unit
Alan T. DeKok [Wed, 9 Feb 2022 20:03:52 +0000 (15:03 -0500)]
add xlat_tokenize_ephemeral_expression() and tests
so that the new xlat expressions can be tested with something
more than just parsing
Alan T. DeKok [Wed, 9 Feb 2022 17:03:39 +0000 (12:03 -0500)]
eval XLAT_TMPL where node is of type data
Alan T. DeKok [Wed, 9 Feb 2022 17:03:19 +0000 (12:03 -0500)]
push xlats to the correct list
Alan T. DeKok [Wed, 9 Feb 2022 17:03:01 +0000 (12:03 -0500)]
set node->fmt to something reasonable
Alan T. DeKok [Wed, 9 Feb 2022 16:47:57 +0000 (11:47 -0500)]
it helps to set "success" so that we actually succeed
Alan T. DeKok [Wed, 9 Feb 2022 16:18:57 +0000 (11:18 -0500)]
let's allocate the resume context from the stack
Alan T. DeKok [Wed, 9 Feb 2022 14:12:58 +0000 (09:12 -0500)]
type to shut up clang
Arran Cudbard-Bell [Tue, 8 Feb 2022 23:06:59 +0000 (18:06 -0500)]
Don't crash if the user explicitly specifies a vector algorithm that isn't milenage
Alan T. DeKok [Tue, 8 Feb 2022 02:54:36 +0000 (21:54 -0500)]
add const
Alan T. DeKok [Mon, 7 Feb 2022 21:11:10 +0000 (16:11 -0500)]
make && / || handle groups recursively
(a, b, c) || (d, e, f) == a || b || c || d || e || f
Alan T. DeKok [Mon, 7 Feb 2022 20:00:37 +0000 (15:00 -0500)]
&& and || are associative, n-ary operators
We'll do more operators later.
Alan T. DeKok [Mon, 7 Feb 2022 19:43:12 +0000 (14:43 -0500)]
simplify things
Alan T. DeKok [Mon, 7 Feb 2022 13:33:38 +0000 (08:33 -0500)]
use fr_slen_t for print functions
Alan T. DeKok [Mon, 7 Feb 2022 13:30:11 +0000 (08:30 -0500)]
remove the child nodes
Arran Cudbard-Bell [Mon, 7 Feb 2022 16:32:38 +0000 (11:32 -0500)]
Fixup stupid warnings
Arran Cudbard-Bell [Mon, 7 Feb 2022 16:25:48 +0000 (11:25 -0500)]
Fix search result timeouts in LDAP
The eventual plan is to use timeout sections, or common parameters for module calls, but we still need to timeout searches until then...
Alan T. DeKok [Mon, 7 Feb 2022 01:22:30 +0000 (20:22 -0500)]
check slen for error
Alan T. DeKok [Sun, 6 Feb 2022 22:38:24 +0000 (17:38 -0500)]
use quote rules, and check for final quotation character
Alan T. DeKok [Sun, 6 Feb 2022 22:38:09 +0000 (17:38 -0500)]
print trailing quote, too
Alan T. DeKok [Sat, 5 Feb 2022 22:16:57 +0000 (17:16 -0500)]
add encode for struct
arrays and dns_labels are still not supported
Alan T. DeKok [Sat, 5 Feb 2022 21:45:22 +0000 (16:45 -0500)]
instantiate logical || / &&
and actually do short-circuit operations.
Untested, of course.
Alan T. DeKok [Fri, 4 Feb 2022 21:29:54 +0000 (16:29 -0500)]
move expr printing to callbacks
and remove xlat_expr_type_t, as it's no longer needed
Alan T. DeKok [Fri, 4 Feb 2022 20:45:24 +0000 (15:45 -0500)]
add xlat_print_t callback for xlat functions
Arran Cudbard-Bell [Sat, 5 Feb 2022 03:53:53 +0000 (22:53 -0500)]
Add tcap asn1 source
Arran Cudbard-Bell [Fri, 4 Feb 2022 18:19:34 +0000 (13:19 -0500)]
Don't leave interface_id uninitialised
Arran Cudbard-Bell [Fri, 4 Feb 2022 01:39:07 +0000 (20:39 -0500)]
Remove dup config item
Arran Cudbard-Bell [Fri, 4 Feb 2022 01:21:09 +0000 (20:21 -0500)]
Fix config section names for EAP-SIM Closes #4395
Arran Cudbard-Bell [Fri, 4 Feb 2022 01:08:45 +0000 (20:08 -0500)]
Fix typo