]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 years agodisable until we fix other things
Alan T. DeKok [Thu, 10 Feb 2022 14:27:06 +0000 (09:27 -0500)] 
disable until we fix other things

3 years agotypo
Alan T. DeKok [Thu, 10 Feb 2022 13:57:28 +0000 (08:57 -0500)] 
typo

3 years agoallow << and >>
Alan T. DeKok [Thu, 10 Feb 2022 00:41:03 +0000 (19:41 -0500)] 
allow << and >>

3 years agodon't do upcasts on left shift and right shift.
Alan T. DeKok [Thu, 10 Feb 2022 00:40:06 +0000 (19:40 -0500)] 
don't do upcasts on left shift and right shift.

3 years agouse newer macros, which devolve to array lookups
Alan T. DeKok [Wed, 9 Feb 2022 21:04:46 +0000 (16:04 -0500)] 
use newer macros, which devolve to array lookups

3 years agoadd more xlat_expr run-time tests
Alan T. DeKok [Wed, 9 Feb 2022 21:02:43 +0000 (16:02 -0500)] 
add more xlat_expr run-time tests

3 years agoadd missing operator
Alan T. DeKok [Wed, 9 Feb 2022 21:02:30 +0000 (16:02 -0500)] 
add missing operator

3 years agoset output flags, and call resolution if needed
Alan T. DeKok [Wed, 9 Feb 2022 20:53:09 +0000 (15:53 -0500)] 
set output flags, and call resolution if needed

3 years agoarguments are grouped, so ungroup them.
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

3 years agouse "match" to mirror src/tests/unit
Alan T. DeKok [Wed, 9 Feb 2022 20:07:20 +0000 (15:07 -0500)] 
use "match" to mirror src/tests/unit

3 years agoadd xlat_tokenize_ephemeral_expression() and tests
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

3 years agoeval XLAT_TMPL where node is of type data
Alan T. DeKok [Wed, 9 Feb 2022 17:03:39 +0000 (12:03 -0500)] 
eval XLAT_TMPL where node is of type data

3 years agopush xlats to the correct list
Alan T. DeKok [Wed, 9 Feb 2022 17:03:19 +0000 (12:03 -0500)] 
push xlats to the correct list

3 years agoset node->fmt to something reasonable
Alan T. DeKok [Wed, 9 Feb 2022 17:03:01 +0000 (12:03 -0500)] 
set node->fmt to something reasonable

3 years agoit helps to set "success" so that we actually succeed
Alan T. DeKok [Wed, 9 Feb 2022 16:47:57 +0000 (11:47 -0500)] 
it helps to set "success" so that we actually succeed

3 years agolet's allocate the resume context from the stack
Alan T. DeKok [Wed, 9 Feb 2022 16:18:57 +0000 (11:18 -0500)] 
let's allocate the resume context from the stack

3 years agotype to shut up clang
Alan T. DeKok [Wed, 9 Feb 2022 14:12:58 +0000 (09:12 -0500)] 
type to shut up clang

3 years agoDon't crash if the user explicitly specifies a vector algorithm that isn't milenage
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

3 years agoadd const
Alan T. DeKok [Tue, 8 Feb 2022 02:54:36 +0000 (21:54 -0500)] 
add const

3 years agomake && / || handle groups recursively
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

3 years ago&& and || are associative, n-ary operators
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.

3 years agosimplify things
Alan T. DeKok [Mon, 7 Feb 2022 19:43:12 +0000 (14:43 -0500)] 
simplify things

3 years agouse fr_slen_t for print functions
Alan T. DeKok [Mon, 7 Feb 2022 13:33:38 +0000 (08:33 -0500)] 
use fr_slen_t for print functions

3 years agoremove the child nodes
Alan T. DeKok [Mon, 7 Feb 2022 13:30:11 +0000 (08:30 -0500)] 
remove the child nodes

3 years agoFixup stupid warnings
Arran Cudbard-Bell [Mon, 7 Feb 2022 16:32:38 +0000 (11:32 -0500)] 
Fixup stupid warnings

3 years agoFix search result timeouts in LDAP
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...

3 years agocheck slen for error
Alan T. DeKok [Mon, 7 Feb 2022 01:22:30 +0000 (20:22 -0500)] 
check slen for error

3 years agouse quote rules, and check for final quotation character
Alan T. DeKok [Sun, 6 Feb 2022 22:38:24 +0000 (17:38 -0500)] 
use quote rules, and check for final quotation character

3 years agoprint trailing quote, too
Alan T. DeKok [Sun, 6 Feb 2022 22:38:09 +0000 (17:38 -0500)] 
print trailing quote, too

3 years agoadd encode for struct
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

3 years agoinstantiate logical || / &&
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.

3 years agomove expr printing to callbacks
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

3 years agoadd xlat_print_t callback for xlat functions
Alan T. DeKok [Fri, 4 Feb 2022 20:45:24 +0000 (15:45 -0500)] 
add xlat_print_t callback for xlat functions

3 years agoAdd tcap asn1 source
Arran Cudbard-Bell [Sat, 5 Feb 2022 03:53:53 +0000 (22:53 -0500)] 
Add tcap asn1 source

3 years agoDon't leave interface_id uninitialised
Arran Cudbard-Bell [Fri, 4 Feb 2022 18:19:34 +0000 (13:19 -0500)] 
Don't leave interface_id uninitialised

3 years agoRemove dup config item
Arran Cudbard-Bell [Fri, 4 Feb 2022 01:39:07 +0000 (20:39 -0500)] 
Remove dup config item

3 years agoFix config section names for EAP-SIM Closes #4395
Arran Cudbard-Bell [Fri, 4 Feb 2022 01:21:09 +0000 (20:21 -0500)] 
Fix config section names for EAP-SIM Closes #4395

3 years agoFix typo
Arran Cudbard-Bell [Fri, 4 Feb 2022 01:08:45 +0000 (20:08 -0500)] 
Fix typo

3 years agoFix OpenSSL version printing
Arran Cudbard-Bell [Fri, 4 Feb 2022 00:08:59 +0000 (19:08 -0500)] 
Fix OpenSSL version printing

3 years agoAdd lots of debugging around TLS session actions
Arran Cudbard-Bell [Thu, 3 Feb 2022 23:51:47 +0000 (18:51 -0500)] 
Add lots of debugging around TLS session actions

3 years agoNow called "session"
Arran Cudbard-Bell [Thu, 3 Feb 2022 21:42:59 +0000 (16:42 -0500)] 
Now called "session"

3 years agoNo need to create all those temporary sbuffs if the input data is empty
Arran Cudbard-Bell [Thu, 3 Feb 2022 16:25:12 +0000 (11:25 -0500)] 
No need to create all those temporary sbuffs if the input data is empty

3 years agoDon't need to do work if pad_len is the same length as the thing being padded
Arran Cudbard-Bell [Thu, 3 Feb 2022 16:05:44 +0000 (11:05 -0500)] 
Don't need to do work if pad_len is the same length as the thing being padded

3 years agoFix double free after successful resumption
Arran Cudbard-Bell [Thu, 3 Feb 2022 10:52:49 +0000 (05:52 -0500)] 
Fix double free after successful resumption

3 years agoFix parsing some mac addresses
Arran Cudbard-Bell [Thu, 3 Feb 2022 10:38:41 +0000 (05:38 -0500)] 
Fix parsing some mac addresses

3 years agop rules are used
Arran Cudbard-Bell [Thu, 3 Feb 2022 04:49:04 +0000 (23:49 -0500)] 
p rules are used

3 years agoWe don't need to install radsizes
Arran Cudbard-Bell [Thu, 3 Feb 2022 02:22:55 +0000 (21:22 -0500)] 
We don't need to install radsizes

3 years agoUpdate resume and signal functions in rlm_sigtran
Arran Cudbard-Bell [Thu, 3 Feb 2022 02:17:40 +0000 (21:17 -0500)] 
Update resume and signal functions in rlm_sigtran

3 years agoFix typo (#4392)
Jorge Pereira [Wed, 2 Feb 2022 19:36:23 +0000 (16:36 -0300)] 
Fix typo (#4392)

3 years agoRevert "pull underlying error back up the error stack"
Alan T. DeKok [Tue, 1 Feb 2022 20:49:18 +0000 (15:49 -0500)] 
Revert "pull underlying error back up the error stack"

This reverts commit b2b3ace4b5645898437cfa6217f9fa70d6af1793.

<sigh>  Too many inter-dependencies

3 years agoSplit DHCPv4 dictionaries to pair attributes/values with their RFCs (#4387)
James Jones [Tue, 1 Feb 2022 20:30:59 +0000 (14:30 -0600)] 
Split DHCPv4 dictionaries to pair attributes/values with their RFCs (#4387)

3 years agojust push everything to tmpl_afrom_substr()
Alan T. DeKok [Tue, 1 Feb 2022 16:59:06 +0000 (11:59 -0500)] 
just push everything to tmpl_afrom_substr()

3 years agoadd xor
Alan T. DeKok [Tue, 1 Feb 2022 16:56:30 +0000 (11:56 -0500)] 
add xor

3 years agocatch more types when printing
Alan T. DeKok [Tue, 1 Feb 2022 16:55:48 +0000 (11:55 -0500)] 
catch more types when printing

3 years agopull underlying error back up the error stack
Alan T. DeKok [Tue, 1 Feb 2022 16:47:08 +0000 (11:47 -0500)] 
pull underlying error back up the error stack

3 years agostart of regex handling
Alan T. DeKok [Tue, 1 Feb 2022 14:40:27 +0000 (09:40 -0500)] 
start of regex handling

3 years agodelete h323 stuff
Alan T. DeKok [Mon, 31 Jan 2022 19:50:35 +0000 (14:50 -0500)] 
delete h323 stuff

3 years agoremove fr_pair_make
Alan T. DeKok [Mon, 31 Jan 2022 18:39:09 +0000 (13:39 -0500)] 
remove fr_pair_make

3 years agoshut up VSA stuff for now
Alan T. DeKok [Mon, 31 Jan 2022 18:36:33 +0000 (13:36 -0500)] 
shut up VSA stuff for now

3 years agoremove fr_pair_make()
Alan T. DeKok [Mon, 31 Jan 2022 15:52:43 +0000 (10:52 -0500)] 
remove fr_pair_make()

3 years agodon't use fr_pair_make()
Alan T. DeKok [Mon, 31 Jan 2022 15:47:33 +0000 (10:47 -0500)] 
don't use fr_pair_make()

3 years agoregexes are not allowed, unless the operator is a regex
Alan T. DeKok [Fri, 28 Jan 2022 14:57:33 +0000 (09:57 -0500)] 
regexes are not allowed, unless the operator is a regex

3 years agomore notes and tests
Alan T. DeKok [Wed, 26 Jan 2022 20:24:51 +0000 (15:24 -0500)] 
more notes and tests

3 years agoadd "help" target
Alan T. DeKok [Wed, 26 Jan 2022 19:41:11 +0000 (14:41 -0500)] 
add "help" target

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:48 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:39 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:36 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:33 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:31 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:28 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:21 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar

3 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Sat, 29 Jan 2022 09:34:18 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

3 years agoStill needs linking to the normal libraries apparently
Arran Cudbard-Bell [Fri, 28 Jan 2022 22:11:47 +0000 (16:11 -0600)] 
Still needs linking to the normal libraries apparently

3 years agotmpl rules can be NULL
Arran Cudbard-Bell [Fri, 28 Jan 2022 22:04:37 +0000 (16:04 -0600)] 
tmpl rules can be NULL

3 years agoAdd support for floats as barewords
Arran Cudbard-Bell [Fri, 28 Jan 2022 21:35:10 +0000 (15:35 -0600)] 
Add support for floats as barewords

3 years agoOnly allow things which look like enums during tokenization
Arran Cudbard-Bell [Thu, 27 Jan 2022 18:30:01 +0000 (12:30 -0600)] 
Only allow things which look like enums during tokenization

3 years agore-arrange structures to help with packing
Arran Cudbard-Bell [Fri, 28 Jan 2022 21:09:37 +0000 (15:09 -0600)] 
re-arrange structures to help with packing

3 years agoAllow tmpl rules commands to work with bitfields
Arran Cudbard-Bell [Fri, 28 Jan 2022 21:08:53 +0000 (15:08 -0600)] 
Allow tmpl rules commands to work with bitfields

3 years agoAdd binary to print out structure sizes
Arran Cudbard-Bell [Fri, 28 Jan 2022 21:08:28 +0000 (15:08 -0600)] 
Add binary to print out structure sizes

3 years agoScheduled fuzzing: More typos (#4382)
Terry Burton [Fri, 28 Jan 2022 13:56:12 +0000 (13:56 +0000)] 
Scheduled fuzzing: More typos (#4382)

3 years agoCI MacOS: Enable trunk tests (#4383)
Terry Burton [Fri, 28 Jan 2022 13:55:48 +0000 (13:55 +0000)] 
CI MacOS: Enable trunk tests (#4383)

3 years agoFix typo
Arran Cudbard-Bell [Thu, 27 Jan 2022 20:00:39 +0000 (14:00 -0600)] 
Fix typo

3 years agoJust ommit the table completely
Arran Cudbard-Bell [Thu, 27 Jan 2022 17:37:15 +0000 (11:37 -0600)] 
Just ommit the table completely

3 years agoRevert "Maybe the logging bio is stuck in an infinite loop?"
Arran Cudbard-Bell [Thu, 27 Jan 2022 17:37:07 +0000 (11:37 -0600)] 
Revert "Maybe the logging bio is stuck in an infinite loop?"

This reverts commit e745f820543f940393f8e8b3ab31d278032ce2dc.

3 years agoFix ODR violation
Arran Cudbard-Bell [Thu, 27 Jan 2022 17:23:16 +0000 (11:23 -0600)] 
Fix ODR violation

3 years agoeap-tls test: Builds using clang analyzers are slow (#4381)
Terry Burton [Thu, 27 Jan 2022 15:07:08 +0000 (15:07 +0000)] 
eap-tls test: Builds using clang analyzers are slow (#4381)

3 years agoMaybe the logging bio is stuck in an infinite loop?
Arran Cudbard-Bell [Thu, 27 Jan 2022 14:07:37 +0000 (08:07 -0600)] 
Maybe the logging bio is stuck in an infinite loop?

Given we can only reproduce this issue in CI, this is the only way to check...

3 years agonot a string
Arran Cudbard-Bell [Wed, 26 Jan 2022 19:33:42 +0000 (13:33 -0600)] 
not a string

3 years agoScheduled fuzzing: Typo (#4380)
Terry Burton [Thu, 27 Jan 2022 14:00:10 +0000 (14:00 +0000)] 
Scheduled fuzzing: Typo (#4380)

3 years agoadd target-specific rules, and a "help" line
Alan T. DeKok [Wed, 26 Jan 2022 19:36:19 +0000 (14:36 -0500)] 
add target-specific rules, and a "help" line

3 years agoMinor documentation fixes. Closes #4301
Arran Cudbard-Bell [Wed, 26 Jan 2022 19:29:49 +0000 (13:29 -0600)] 
Minor documentation fixes.  Closes #4301

3 years agorlm_python: Strip out -ffat-lto-objects (#4373)
Jorge Pereira [Wed, 26 Jan 2022 19:28:17 +0000 (16:28 -0300)] 
rlm_python: Strip out -ffat-lto-objects (#4373)

3 years agoSame deal with fr_value_box_memdup
Arran Cudbard-Bell [Wed, 26 Jan 2022 19:25:19 +0000 (13:25 -0600)] 
Same deal with fr_value_box_memdup

3 years agoChanges to make test_requeue_on_reconnect() work (#4372)
James Jones [Wed, 26 Jan 2022 19:04:27 +0000 (13:04 -0600)] 
Changes to make test_requeue_on_reconnect() work (#4372)

* Can't free preq until the end along with everything else, since
  otherwise, a later demux will look at it at least to validate
  talloc type and thus do a use after free, so we don't free
  separately and give it the appropriate talloc context
* Setting preq->treq after fr_trunk_request_enqueue() was missing.
* In some cases, it takes longer for the trunk request to make it
  to a stop state than the test author expected, because the trunk
  is given a request_cancel_mux function. If we should instead be
  hurrying test time along faster, we can make that change.

3 years agoExplicitly document and test for NULL input case.
Arran Cudbard-Bell [Wed, 26 Jan 2022 18:55:37 +0000 (12:55 -0600)] 
Explicitly document and test for NULL input case.

3 years agoString input for fr_value_box_bstrndup maye be NULL
Arran Cudbard-Bell [Wed, 26 Jan 2022 18:50:16 +0000 (12:50 -0600)] 
String input for fr_value_box_bstrndup maye be NULL

3 years agoCheck the result of fr_sbuff_out_aunescape_until correctly
Arran Cudbard-Bell [Wed, 26 Jan 2022 17:15:50 +0000 (11:15 -0600)] 
Check the result of fr_sbuff_out_aunescape_until correctly

3 years agoPrint functions return signed values
Arran Cudbard-Bell [Wed, 26 Jan 2022 15:27:56 +0000 (09:27 -0600)] 
Print functions return signed values

3 years agoScheduled fuzzing: Clone with greater depth to find last corpus update (#4377)
Terry Burton [Wed, 26 Jan 2022 14:47:47 +0000 (14:47 +0000)] 
Scheduled fuzzing: Clone with greater depth to find last corpus update (#4377)

3 years agoFix more warnings
Arran Cudbard-Bell [Wed, 26 Jan 2022 14:45:25 +0000 (08:45 -0600)] 
Fix more warnings