]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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

3 years agoMark more box functions up as non-null
Arran Cudbard-Bell [Wed, 26 Jan 2022 01:24:53 +0000 (19:24 -0600)] 
Mark more box functions up as non-null

3 years agoMore scan fixes
Arran Cudbard-Bell [Wed, 26 Jan 2022 00:33:50 +0000 (18:33 -0600)] 
More scan fixes

3 years agoPrint the error...
Arran Cudbard-Bell [Tue, 25 Jan 2022 23:19:28 +0000 (17:19 -0600)] 
Print the error...

3 years agoRemove bad asserts
Arran Cudbard-Bell [Tue, 25 Jan 2022 23:11:03 +0000 (17:11 -0600)] 
Remove bad asserts

3 years agoTypo
Arran Cudbard-Bell [Tue, 25 Jan 2022 23:01:56 +0000 (17:01 -0600)] 
Typo

3 years agoStupid compiler
Arran Cudbard-Bell [Tue, 25 Jan 2022 22:59:33 +0000 (16:59 -0600)] 
Stupid compiler

3 years agoQuiet compiler
Arran Cudbard-Bell [Tue, 25 Jan 2022 22:54:48 +0000 (16:54 -0600)] 
Quiet compiler

3 years agolet's try to shut up clang scan even more
Alan T. DeKok [Tue, 25 Jan 2022 22:12:09 +0000 (17:12 -0500)] 
let's try to shut up clang scan even more

it would be greatly appreciated if the same version of clang
produced the same errors on different platforms.

3 years agoFix more build errors in sigtran
Arran Cudbard-Bell [Tue, 25 Jan 2022 21:56:18 +0000 (15:56 -0600)] 
Fix more build errors in sigtran

3 years agoBreak out MEMCMP_RETURN into an inline function
Arran Cudbard-Bell [Tue, 25 Jan 2022 15:49:05 +0000 (09:49 -0600)] 
Break out MEMCMP_RETURN into an inline function

makes debugging easier

3 years agotry to quiet clang scan
Alan T. DeKok [Tue, 25 Jan 2022 21:22:52 +0000 (16:22 -0500)] 
try to quiet clang scan

we might not want to mark up each function with CC_HINT(nonnull),
but it might be worth it.

3 years agoallow for casts, even if we have type hints on input
Alan T. DeKok [Tue, 25 Jan 2022 19:48:05 +0000 (14:48 -0500)] 
allow for casts, even if we have type hints on input

and automatically upcase ipv4 / ipv6 addresses when doing network
comparisons

3 years agoparse enum names when they're known
Alan T. DeKok [Tue, 25 Jan 2022 19:25:19 +0000 (14:25 -0500)] 
parse enum names when they're known

until such time as the rest of the parser is fixed.

3 years agoRevert "remove unused function"
Alan T. DeKok [Tue, 25 Jan 2022 19:16:54 +0000 (14:16 -0500)] 
Revert "remove unused function"

This reverts commit 8a5c44eaf76c5184874a0c63e330b33fbb226ab8.

3 years agotypo
Alan T. DeKok [Tue, 25 Jan 2022 19:15:19 +0000 (14:15 -0500)] 
typo

3 years agore-enable casts in all expressions
Alan T. DeKok [Tue, 25 Jan 2022 15:21:30 +0000 (10:21 -0500)] 
re-enable casts in all expressions

3 years agoremove unused function
Alan T. DeKok [Tue, 25 Jan 2022 15:20:51 +0000 (10:20 -0500)] 
remove unused function

3 years agotry to shut up clang
Alan T. DeKok [Tue, 25 Jan 2022 15:20:39 +0000 (10:20 -0500)] 
try to shut up clang

3 years agotry to shut up clang
Alan T. DeKok [Tue, 25 Jan 2022 15:20:29 +0000 (10:20 -0500)] 
try to shut up clang

3 years agoadd "has_pure_children" flag
Alan T. DeKok [Tue, 25 Jan 2022 14:05:29 +0000 (09:05 -0500)] 
add "has_pure_children" flag

so that when we're purifying functions, if the current node is not
pure, AND the node has no pure children, then we can short-circuit
the walk, and ignore this node.

3 years agomake xlat_expr use new tmpl functions
Alan T. DeKok [Tue, 25 Jan 2022 14:03:40 +0000 (09:03 -0500)] 
make xlat_expr use new tmpl functions

along with other cleanups, which removed some bad functionality
in preparation for rewrites.  This means temporarily removing some
tests, too

3 years agoProcess casts during tokenization for single and double quoted strings
Arran Cudbard-Bell [Tue, 25 Jan 2022 13:37:16 +0000 (07:37 -0600)] 
Process casts during tokenization for single and double quoted strings

3 years agoExplicitly print casts for both sides of the map
Arran Cudbard-Bell [Tue, 25 Jan 2022 13:27:36 +0000 (07:27 -0600)] 
Explicitly print casts for both sides of the map

3 years agoone more...
Arran Cudbard-Bell [Tue, 25 Jan 2022 01:22:04 +0000 (19:22 -0600)] 
one more...

3 years agoreturn the value we parsed
Alan T. DeKok [Tue, 25 Jan 2022 00:00:48 +0000 (19:00 -0500)] 
return the value we parsed

3 years agouse the correct sbuff
Alan T. DeKok [Mon, 24 Jan 2022 23:59:51 +0000 (18:59 -0500)] 
use the correct sbuff

3 years agotypo
Alan T. DeKok [Mon, 24 Jan 2022 23:45:54 +0000 (18:45 -0500)] 
typo

3 years agocorrect spelling mistake. Fixes #4374
Alan T. DeKok [Mon, 24 Jan 2022 23:42:02 +0000 (18:42 -0500)] 
correct spelling mistake.  Fixes #4374

3 years agoTry attribute references and xlats first... oops
Arran Cudbard-Bell [Mon, 24 Jan 2022 22:41:25 +0000 (16:41 -0600)] 
Try attribute references and xlats first... oops

3 years agoAdd support for explicit casts for barewords
Arran Cudbard-Bell [Mon, 24 Jan 2022 22:39:56 +0000 (16:39 -0600)] 
Add support for explicit casts for barewords

3 years agoUse more type specific type printing parsing functions
Arran Cudbard-Bell [Mon, 24 Jan 2022 22:20:54 +0000 (16:20 -0600)] 
Use more type specific type printing parsing functions

3 years agohandle the cast of XLAT_TMPL being data
Alan T. DeKok [Mon, 24 Jan 2022 22:02:07 +0000 (17:02 -0500)] 
handle the cast of XLAT_TMPL being data

3 years agoallow (foo) in a cast, too.
Alan T. DeKok [Mon, 24 Jan 2022 19:30:11 +0000 (14:30 -0500)] 
allow (foo) in a cast, too.

3 years agonotes for DHCPv4 encodings
Alan T. DeKok [Sun, 23 Jan 2022 14:02:16 +0000 (09:02 -0500)] 
notes for DHCPv4 encodings

3 years agoAdd fr_type_from_str and fr_type_to_str
Arran Cudbard-Bell [Mon, 24 Jan 2022 22:01:21 +0000 (16:01 -0600)] 
Add fr_type_from_str and fr_type_to_str

Which more than halves the length of the function call...

3 years ago.git/HEAD doesn't exist for submodules
Arran Cudbard-Bell [Mon, 24 Jan 2022 21:26:53 +0000 (15:26 -0600)] 
.git/HEAD doesn't exist for submodules

3 years agoApply validation to enum value names
Arran Cudbard-Bell [Mon, 24 Jan 2022 21:25:41 +0000 (15:25 -0600)] 
Apply validation to enum value names

3 years agoMove sbuff talloc wrappers to using fr_slen_t
Arran Cudbard-Bell [Mon, 24 Jan 2022 21:25:23 +0000 (15:25 -0600)] 
Move sbuff talloc wrappers to using fr_slen_t

If something breaks then we'll need to fix the wrapped functions...

3 years agoFix build issue in rlm_sigtran
Arran Cudbard-Bell [Mon, 24 Jan 2022 20:14:34 +0000 (14:14 -0600)] 
Fix build issue in rlm_sigtran

Seems like it was missed in the module call refactoring

3 years agoUse new libkqueue EVFILT_LIBKQUEUE version interface
Arran Cudbard-Bell [Mon, 24 Jan 2022 18:20:34 +0000 (12:20 -0600)] 
Use new libkqueue EVFILT_LIBKQUEUE version interface

This lets us retrieve the real version at runtime.

3 years agonotes for option 119
Alan T. DeKok [Sun, 23 Jan 2022 13:53:38 +0000 (08:53 -0500)] 
notes for option 119

3 years agobetter handling of casts
Alan T. DeKok [Sat, 22 Jan 2022 13:48:28 +0000 (08:48 -0500)] 
better handling of casts

3 years agoallow for non-socket listeners
Alan T. DeKok [Fri, 21 Jan 2022 15:49:03 +0000 (10:49 -0500)] 
allow for non-socket listeners

which have no app_io->open, but do have app_io->event_list_set

3 years agohave only one return point from tokenize_expression()
Alan T. DeKok [Thu, 20 Jan 2022 21:25:57 +0000 (16:25 -0500)] 
have only one return point from tokenize_expression()

which may make it easier to groupify things.

3 years agogroupify arguments to functions
Alan T. DeKok [Thu, 20 Jan 2022 21:23:21 +0000 (16:23 -0500)] 
groupify arguments to functions

for now, we create the arguments and then groupify them if necessary.

The alternative is to always create grouping nodes, and then
remove / reparent them if they're not necessary.

3 years agoskip work if we're already in the network thread
Alan T. DeKok [Thu, 20 Jan 2022 20:50:36 +0000 (15:50 -0500)] 
skip work if we're already in the network thread