]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 weeks agoUse the evaluated content type when we accept all types
Nick Porter [Wed, 1 Apr 2026 09:10:49 +0000 (10:10 +0100)] 
Use the evaluated content type when we accept all types

4 weeks agoEnsure we have /bin/bash on FreeBSD
Nick Porter [Mon, 30 Mar 2026 19:09:47 +0000 (20:09 +0100)] 
Ensure we have /bin/bash on FreeBSD

Used in some tests

4 weeks agoCorrect creation of ca.cnf for CRL tests
Nick Porter [Fri, 27 Mar 2026 14:36:21 +0000 (14:36 +0000)] 
Correct creation of ca.cnf for CRL tests

4 weeks agoCorrect comment
Nick Porter [Fri, 27 Mar 2026 11:42:33 +0000 (11:42 +0000)] 
Correct comment

4 weeks agoinclude aerohive dictionary, and fix alias
Alan T. DeKok [Mon, 30 Mar 2026 16:55:25 +0000 (12:55 -0400)] 
include aerohive dictionary, and fix alias

4 weeks agoupdate errors and docs for ALIAS to make them clearer
Alan T. DeKok [Mon, 30 Mar 2026 16:55:07 +0000 (12:55 -0400)] 
update errors and docs for ALIAS to make them clearer

4 weeks agoActually free the ptr when ref count hits zero
Nick Porter [Mon, 30 Mar 2026 07:36:52 +0000 (08:36 +0100)] 
Actually free the ptr when ref count hits zero

To match the description of the function behaviour

4 weeks agodecrease reference count, so that memory is freed
Alan T. DeKok [Sun, 29 Mar 2026 19:22:07 +0000 (15:22 -0400)] 
decrease reference count, so that memory is freed

4 weeks agotypo
Alan T. DeKok [Sun, 29 Mar 2026 17:46:37 +0000 (13:46 -0400)] 
typo

4 weeks agosave / set / restore filename and line in _dict_from_file()
Alan T. DeKok [Sun, 29 Mar 2026 17:36:27 +0000 (13:36 -0400)] 
save / set / restore filename and line in _dict_from_file()

So that the callers don't have to, and this function is
idempotent.

and update the current frame with the filename and line number,
too.

4 weeks agoadd tests for core talloc functions
Alan T. DeKok [Sun, 29 Mar 2026 15:32:52 +0000 (11:32 -0400)] 
add tests for core talloc functions

4 weeks agoadd tests for our additional talloc functions
Alan T. DeKok [Sun, 29 Mar 2026 15:11:29 +0000 (11:11 -0400)] 
add tests for our additional talloc functions

4 weeks agoensure that the disarm ctx is initialized
Alan T. DeKok [Sun, 29 Mar 2026 15:07:00 +0000 (11:07 -0400)] 
ensure that the disarm ctx is initialized

4 weeks agoclean up on error, and remove dead assertion
Alan T. DeKok [Sun, 29 Mar 2026 13:48:54 +0000 (09:48 -0400)] 
clean up on error, and remove dead assertion

4 weeks agoremove unused code
Alan T. DeKok [Sun, 29 Mar 2026 13:44:37 +0000 (09:44 -0400)] 
remove unused code

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:56 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:37 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:34 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:28 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:26 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:19 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/der.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:17 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/der.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/cbor.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:13 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/cbor.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Sun, 29 Mar 2026 05:15:11 +0000 (05:15 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Sun, 29 Mar 2026 05:14:35 +0000 (05:14 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar

4 weeks agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Sun, 29 Mar 2026 05:09:29 +0000 (05:09 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

4 weeks agofix various minor issues in module.c
Alan T. DeKok [Fri, 27 Mar 2026 01:36:13 +0000 (14:36 +1300)] 
fix various minor issues in module.c

4 weeks agoensure that talloc hierarchy is correct in client_read()
Alan T. DeKok [Fri, 27 Mar 2026 01:32:04 +0000 (14:32 +1300)] 
ensure that talloc hierarchy is correct in client_read()

which allows it to better clean up on error.

4 weeks agotypo in debug statement
Alan T. DeKok [Thu, 26 Mar 2026 23:43:22 +0000 (12:43 +1300)] 
typo in debug statement

4 weeks agoclean up self_pipe FDs on error
Alan T. DeKok [Thu, 26 Mar 2026 23:38:35 +0000 (12:38 +1300)] 
clean up self_pipe FDs on error

4 weeks agomore complaints when '&' is used
Alan T. DeKok [Thu, 26 Mar 2026 23:33:44 +0000 (12:33 +1300)] 
more complaints when '&' is used

4 weeks agoremove more '&'
Alan T. DeKok [Thu, 26 Mar 2026 23:31:48 +0000 (12:31 +1300)] 
remove more '&'

4 weeks agodocs-v4: Integrity check of `finally` - added more info about internal/virtual server...
nolade [Thu, 26 Mar 2026 20:45:49 +0000 (16:45 -0400)] 
docs-v4: Integrity check of `finally` - added more info about internal/virtual server usage and added note re: hardcoded 5 sec min_time

4 weeks agoallow calculation of " "*4
Alan T. DeKok [Thu, 26 Mar 2026 21:14:08 +0000 (10:14 +1300)] 
allow calculation of " "*4

which repeats a string / octets.  For sanity, we have disallowed
large values.  Where "large" is 4K.  There are very, very, few
reasons to have large strings.

4 weeks agodocs-v4: added `notset` rcode to table
nolade [Thu, 26 Mar 2026 19:29:00 +0000 (15:29 -0400)] 
docs-v4: added `notset` rcode to table

4 weeks agotweaks and word smithing
Alan T. DeKok [Thu, 26 Mar 2026 20:27:57 +0000 (09:27 +1300)] 
tweaks and word smithing

4 weeks agodocs-v4: added NOTES to try / catch about `catch` runs on all rcodes.
nolade [Thu, 26 Mar 2026 16:15:26 +0000 (12:15 -0400)] 
docs-v4: added NOTES to try / catch about `catch` runs on all rcodes.

4 weeks agodocs-v4: Intergrity check on Limit - added example with `catch` and fixed typo/syntax
nolade [Thu, 26 Mar 2026 18:41:05 +0000 (14:41 -0400)] 
docs-v4: Intergrity check on Limit - added example with `catch` and fixed typo/syntax

4 weeks agodocs-v4: Timeout Integrity check - fixed syntax/type, added note for `timeout` fails...
nolade [Thu, 26 Mar 2026 18:57:21 +0000 (14:57 -0400)] 
docs-v4: Timeout Integrity check - fixed syntax/type, added note for `timeout` fails when no value generated `!box`

4 weeks agotweaks
Alan T. DeKok [Thu, 26 Mar 2026 20:21:06 +0000 (09:21 +1300)] 
tweaks

4 weeks agodocs-v4: Detach integrity check - corrected syntax on examples to include `::`, added...
nolade [Thu, 26 Mar 2026 15:02:54 +0000 (11:02 -0400)] 
docs-v4: Detach integrity check - corrected syntax on examples to include `::`, added note re: detach not the last statement used in a `subrequest`

4 weeks agochecks for corner cases when doing find / parse / etc.
Alan T. DeKok [Thu, 26 Mar 2026 20:13:35 +0000 (09:13 +1300)] 
checks for corner cases when doing find / parse / etc.

4 weeks agodon't allow ".foo" as pair / section names
Alan T. DeKok [Thu, 26 Mar 2026 19:59:20 +0000 (08:59 +1300)] 
don't allow ".foo" as pair / section names

otherwise it breaks all sorts of things

4 weeks agodouble-check states after processing deferred signals
Alan T. DeKok [Thu, 26 Mar 2026 02:49:48 +0000 (15:49 +1300)] 
double-check states after processing deferred signals

4 weeks agobe more aggressive about freeing memory in cursors
Alan T. DeKok [Thu, 26 Mar 2026 02:31:22 +0000 (15:31 +1300)] 
be more aggressive about freeing memory in cursors

4 weeks agoAdd test of TACACS+ encode using multiple Vendor arguments
Nick Porter [Thu, 26 Mar 2026 19:59:39 +0000 (19:59 +0000)] 
Add test of TACACS+ encode using multiple Vendor arguments

As a regression test for previous behaviour where the argument count was
incorrect for this case.

4 weeks agoRemove spurious debug
Nick Porter [Thu, 26 Mar 2026 19:21:59 +0000 (19:21 +0000)] 
Remove spurious debug

4 weeks agoCheck for Vendor attributes before RFC 8097 attributes
Nick Porter [Thu, 26 Mar 2026 19:17:21 +0000 (19:17 +0000)] 
Check for Vendor attributes before RFC 8097 attributes

Vendor attributes have the root as their parent in the TACACS+
dictionary, so were caught by the test for RFC 8907 attributes and
therefore returning the wrong count.

4 weeks agoCorrect Juniper TACACS+ dictionary
Nick Porter [Thu, 26 Mar 2026 16:17:44 +0000 (16:17 +0000)] 
Correct Juniper TACACS+ dictionary

4 weeks agoCorrect iterator use
Nick Porter [Thu, 26 Mar 2026 13:42:44 +0000 (13:42 +0000)] 
Correct iterator use

4 weeks agofix various bugs in tmpl_eval.c
Alan T. DeKok [Wed, 25 Mar 2026 23:01:47 +0000 (12:01 +1300)] 
fix various bugs in tmpl_eval.c

4 weeks agofix various bugs in tmpl_tokenize.c
Alan T. DeKok [Wed, 25 Mar 2026 23:18:00 +0000 (12:18 +1300)] 
fix various bugs in tmpl_tokenize.c

4 weeks agouse consistent headings
Alan T. DeKok [Wed, 25 Mar 2026 22:20:17 +0000 (11:20 +1300)] 
use consistent headings

4 weeks agodocs-v4: Updated doc to reflect child behviour when exiting from parallel. Fixed...
nolade [Wed, 25 Mar 2026 15:05:23 +0000 (11:05 -0400)] 
docs-v4: Updated doc to reflect child behviour when exiting from parallel. Fixed typo

4 weeks agonotes on why we can't detach the subrequest
Alan T. DeKok [Wed, 25 Mar 2026 22:16:36 +0000 (11:16 +1300)] 
notes on why we can't detach the subrequest

4 weeks agocancel the subrequest, too
Alan T. DeKok [Wed, 25 Mar 2026 20:38:57 +0000 (09:38 +1300)] 
cancel the subrequest, too

4 weeks agoDon't free subrequest during eap auth cancellation
Nick Porter [Wed, 25 Mar 2026 18:37:41 +0000 (18:37 +0000)] 
Don't free subrequest during eap auth cancellation

It needs to persist so that it and any child subrequests talloc'd off it
can complete after the cancellation callbacks have been run.

4 weeks agoRemove vendor name from RtBrick attributes
Nick Porter [Wed, 25 Mar 2026 09:05:46 +0000 (09:05 +0000)] 
Remove vendor name from RtBrick attributes

4 weeks agotweaks and formatting
Alan T. DeKok [Tue, 24 Mar 2026 22:31:43 +0000 (11:31 +1300)] 
tweaks and formatting

4 weeks agodocs-v4: integrity doc/source check. Fixed discrepencies in the expressions.adoc...
nolade [Wed, 18 Mar 2026 21:05:39 +0000 (17:05 -0400)] 
docs-v4: integrity doc/source check. Fixed discrepencies in the expressions.adoc files

4 weeks agotweaks and formatting
Alan T. DeKok [Tue, 24 Mar 2026 22:27:22 +0000 (11:27 +1300)] 
tweaks and formatting

4 weeks agodocs-v4: doc integrity fixes to the foreach.adoc file
nolade [Tue, 24 Mar 2026 19:04:59 +0000 (15:04 -0400)] 
docs-v4: doc integrity fixes to the foreach.adoc file

4 weeks agoport RTBrick dictionary from v3
Alan T. DeKok [Tue, 24 Mar 2026 21:51:15 +0000 (10:51 +1300)] 
port RTBrick dictionary from v3

and change for v4.  Use v4 data types, and add refs to the DHCP
dictionaries, and update encrypt= line

4 weeks agominor cleanups
Alan T. DeKok [Tue, 24 Mar 2026 21:59:01 +0000 (10:59 +1300)] 
minor cleanups

4 weeks agoadd more test module configurations
Alan T. DeKok [Tue, 24 Mar 2026 21:58:42 +0000 (10:58 +1300)] 
add more test module configurations

4 weeks agoaccount for abinary header, too. Fixes #5779
Alan T. DeKok [Tue, 24 Mar 2026 21:33:17 +0000 (10:33 +1300)] 
account for abinary header, too.  Fixes #5779

4 weeks agoframework and sample tests for reading module configurations
Alan T. DeKok [Mon, 23 Mar 2026 02:22:32 +0000 (15:22 +1300)] 
framework and sample tests for reading module configurations

4 weeks agoprint out data type in error too
Alan T. DeKok [Mon, 23 Mar 2026 00:27:07 +0000 (13:27 +1300)] 
print out data type in error too

so that it's easier to tell just what the thing expects

4 weeks agocomplain when there are duplicate 'type = foo' entries
Alan T. DeKok [Mon, 23 Mar 2026 00:23:15 +0000 (13:23 +1300)] 
complain when there are duplicate 'type = foo' entries

4 weeks agoclarify error a little bit
Alan T. DeKok [Mon, 23 Mar 2026 00:20:09 +0000 (13:20 +1300)] 
clarify error a little bit

4 weeks agoadd '-C' to unit_test_module
Alan T. DeKok [Mon, 23 Mar 2026 00:04:42 +0000 (13:04 +1300)] 
add '-C' to unit_test_module

4 weeks agomore RADIUS encode / decode tests for corner cases
Alan T. DeKok [Sun, 22 Mar 2026 20:20:10 +0000 (09:20 +1300)] 
more RADIUS encode / decode tests for corner cases

5 weeks agoPacify Coverity (CID #1690427)
Nick Porter [Tue, 24 Mar 2026 08:44:12 +0000 (08:44 +0000)] 
Pacify Coverity (CID #1690427)

5 weeks agoCorrect array index
Nick Porter [Tue, 24 Mar 2026 08:23:22 +0000 (08:23 +0000)] 
Correct array index

The first array entry relates to worker `MIN_WORKER_ID`, not worker 0

5 weeks agoci: docker fixes for multi-server-tests job
Matthew Newton [Tue, 24 Mar 2026 00:41:08 +0000 (00:41 +0000)] 
ci: docker fixes for multi-server-tests job

5 weeks agoIn single thread mode the worker_id is 0
Nick Porter [Mon, 23 Mar 2026 20:13:21 +0000 (20:13 +0000)] 
In single thread mode the worker_id is 0

5 weeks agoSet up destructor for coord_pair
Nick Porter [Mon, 23 Mar 2026 18:27:13 +0000 (18:27 +0000)] 
Set up destructor for coord_pair

To clean up any pending requests during shutdown

5 weeks agoAdd optional inst_destroy to coordinator callbacks
Nick Porter [Mon, 23 Mar 2026 18:23:31 +0000 (18:23 +0000)] 
Add optional inst_destroy to coordinator callbacks

For instance specific destructors

5 weeks agoNaming correction
Nick Porter [Mon, 23 Mar 2026 18:07:34 +0000 (18:07 +0000)] 
Naming correction

5 weeks agoCorrect definition of Worker-Id attribute
Nick Porter [Mon, 23 Mar 2026 16:32:35 +0000 (16:32 +0000)] 
Correct definition of Worker-Id attribute

5 weeks agoPass a module context to coordinator worker callbacks
Nick Porter [Mon, 23 Mar 2026 11:14:18 +0000 (11:14 +0000)] 
Pass a module context to coordinator worker callbacks

5 weeks agoStore module instance when registering coordinator
Nick Porter [Mon, 23 Mar 2026 11:11:50 +0000 (11:11 +0000)] 
Store module instance when registering coordinator

So it can be passed to worker callbacks which may want module instance
or thread instance data.

5 weeks agoHandle main thread connecting to coordinators
Nick Porter [Mon, 23 Mar 2026 11:08:31 +0000 (11:08 +0000)] 
Handle main thread connecting to coordinators

Which is happening now that the main thread is creating thread instance
data.

The main thread will return -1 when calling fr_schedule_worker_id().

This case is now handled by increasing the size of the coordinator
arrays to handle the extra "worker" and calculating array indexes
appropriately.

5 weeks agoAdd additional asserts
Nick Porter [Mon, 23 Mar 2026 09:24:47 +0000 (09:24 +0000)] 
Add additional asserts

5 weeks agoSet an initial value for worker_id
Nick Porter [Mon, 23 Mar 2026 09:23:22 +0000 (09:23 +0000)] 
Set an initial value for worker_id

So that fr_schedule_workder_id() returns -1 when called from the main
thread, avoiding confusion with worker 0.

5 weeks agoMulti-server tests only run on the FreeRADIUS repo
Nick Porter [Fri, 20 Mar 2026 10:25:47 +0000 (10:25 +0000)] 
Multi-server tests only run on the FreeRADIUS repo

5 weeks agoBump GitHub action versions for Node.js 24
Nick Porter [Fri, 20 Mar 2026 10:23:25 +0000 (10:23 +0000)] 
Bump GitHub action versions for Node.js 24

5 weeks agocomplain if receipt file is the same as one of the input files
Alan T. DeKok [Sun, 22 Mar 2026 19:25:35 +0000 (08:25 +1300)] 
complain if receipt file is the same as one of the input files

5 weeks agoadd more tests for corner cases
Alan T. DeKok [Sun, 22 Mar 2026 19:30:40 +0000 (08:30 +1300)] 
add more tests for corner cases

5 weeks agoencode OID subidentifier value 0 as single 0x00 byte
ethan-thompson [Mon, 16 Mar 2026 19:38:53 +0000 (15:38 -0400)] 
encode OID subidentifier value 0 as single 0x00 byte

Signed-off-by: ethan-thompson <ethan.thompson@networkradius.com>
5 weeks agoavoid buffer overread in SET OF lexicographic comparator
ethan-thompson [Mon, 16 Mar 2026 19:37:13 +0000 (15:37 -0400)] 
avoid buffer overread in SET OF lexicographic comparator

Signed-off-by: ethan-thompson <ethan.thompson@networkradius.com>
5 weeks agoRemove file containing PII accidentally committed in b0f4123c84
Arran Cudbard-Bell [Sat, 21 Mar 2026 04:38:24 +0000 (22:38 -0600)] 
Remove file containing PII accidentally committed in b0f4123c84

5 weeks agoEmit the command that failed when it fails
Arran Cudbard-Bell [Thu, 19 Mar 2026 16:36:16 +0000 (10:36 -0600)] 
Emit the command that failed when it fails

5 weeks agomulti-server: add daily scheduled run for all tests
Arran Cudbard-Bell [Thu, 19 Mar 2026 04:43:46 +0000 (22:43 -0600)] 
multi-server: add daily scheduled run for all tests

Schedule runs at 2pm EST (7pm UTC) daily, executing all tests
including longer-running variants.  Push and PR triggers continue
to run only the short CI tests.

5 weeks agodocument behavior of $ENV{} with conditions
Alan T. DeKok [Fri, 20 Mar 2026 12:50:11 +0000 (08:50 -0400)] 
document behavior of $ENV{} with conditions

and add tests for current behavior, so at least we will be able
to detect when the behavior is wrong

5 weeks agomissing environment variables in strings can be a parse error
Alan T. DeKok [Thu, 19 Mar 2026 21:03:33 +0000 (17:03 -0400)] 
missing environment variables in strings can be a parse error

foo = $ENV{MISSING} is an error
foo = "$ENV{MISSING}" is OK

$INCLUDE foo/$ENV{MISSING} is an error

if (... $ENV{MISSING} ...) is OK, but should be updated so that
it only allows it inside of a quoted string

5 weeks agoin some cases, "no data" is a parse error
Alan T. DeKok [Thu, 19 Mar 2026 20:23:50 +0000 (16:23 -0400)] 
in some cases, "no data" is a parse error

and add tests to match

5 weeks agoadd and use error for "input is empty"
Alan T. DeKok [Thu, 19 Mar 2026 20:21:41 +0000 (16:21 -0400)] 
add and use error for "input is empty"

when the input shouldn't be empty.  this is different from the
case of "got input, but it wasn't what I expected"

5 weeks agotweak assertion for empty input
Alan T. DeKok [Thu, 19 Mar 2026 20:00:36 +0000 (16:00 -0400)] 
tweak assertion for empty input

5 weeks agotweak developer index page for clarity
Alan T. DeKok [Thu, 19 Mar 2026 19:12:24 +0000 (15:12 -0400)] 
tweak developer index page for clarity