]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
4 years agomove db_dir, as nothing uses it
Alan T. DeKok [Thu, 4 Nov 2021 12:07:25 +0000 (08:07 -0400)] 
move db_dir, as nothing uses it

4 years agofix xlats for virtual modules
Alan T. DeKok [Wed, 3 Nov 2021 21:32:51 +0000 (17:32 -0400)] 
fix xlats for virtual modules

don't even bother for "group".

Register the xlats in the "bootstrap" stage, by walking over the
virtual modules.

switch xlat_redundant() etc. to use the new XLAT API.

4 years agouse another module for redundant tests
Alan T. DeKok [Wed, 3 Nov 2021 16:39:02 +0000 (12:39 -0400)] 
use another module for redundant tests

4 years agomove virtual module to "modules" section
Alan T. DeKok [Wed, 3 Nov 2021 16:35:33 +0000 (12:35 -0400)] 
move virtual module to "modules" section

4 years agoremove all references to "instantiate"
Alan T. DeKok [Wed, 3 Nov 2021 16:31:37 +0000 (12:31 -0400)] 
remove all references to "instantiate"

4 years agoremove special cases for "instantiate", it no longer exists
Alan T. DeKok [Wed, 3 Nov 2021 16:30:24 +0000 (12:30 -0400)] 
remove special cases for "instantiate", it no longer exists

4 years agolook up virtual modules using new API
Alan T. DeKok [Wed, 3 Nov 2021 16:27:19 +0000 (12:27 -0400)] 
look up virtual modules using new API

instead of relying on the old "instantiate" section

4 years agomove virtual_modules back to bootstrap, and track them
Alan T. DeKok [Wed, 3 Nov 2021 16:25:40 +0000 (12:25 -0400)] 
move virtual_modules back to bootstrap, and track them

expose an API to discover the CONF_SECTION for a virtual module

4 years agoRevert "Revert "remove the 'instantiate' section, as it's no longer necessary""
Alan T. DeKok [Wed, 3 Nov 2021 16:22:30 +0000 (12:22 -0400)] 
Revert "Revert "remove the 'instantiate' section, as it's no longer necessary""

This reverts commit 09416b43dfcb6b232bd184fd3a56156a5dd4426a.

4 years agoallow for multiple instances
Alan T. DeKok [Wed, 3 Nov 2021 13:31:32 +0000 (09:31 -0400)] 
allow for multiple instances

4 years agoadd LOG_ID_LIB to files
Alan T. DeKok [Tue, 2 Nov 2021 20:28:20 +0000 (16:28 -0400)] 
add LOG_ID_LIB to files

4 years agocleanups, and allow assigning of IDs to files
Alan T. DeKok [Tue, 2 Nov 2021 19:31:55 +0000 (15:31 -0400)] 
cleanups, and allow assigning of IDs to files

4 years agodefine LOG_ID_SECTION for the drivers
Alan T. DeKok [Tue, 2 Nov 2021 18:13:11 +0000 (14:13 -0400)] 
define LOG_ID_SECTION for the drivers

4 years agocleanups
Alan T. DeKok [Tue, 2 Nov 2021 18:12:35 +0000 (14:12 -0400)] 
cleanups

4 years agoallow for LIB/SECTION IDs to be in different directories
Alan T. DeKok [Tue, 2 Nov 2021 01:24:28 +0000 (21:24 -0400)] 
allow for LIB/SECTION IDs to be in different directories

as with rlm_sql and rlm_eap

4 years agomore notes
Alan T. DeKok [Tue, 2 Nov 2021 01:24:12 +0000 (21:24 -0400)] 
more notes

4 years agoAdd #include <sys/types.h> to the ssize_t test program (#4303)
James Jones [Thu, 4 Nov 2021 14:16:35 +0000 (09:16 -0500)] 
Add #include <sys/types.h> to the ssize_t test program (#4303)

That's (at least one place) where ssize_t gets defined, so the
test program can work as intended. (The header's there for Mac
OS X as well.)

4 years agoDon't print the module prefix
Arran Cudbard-Bell [Thu, 4 Nov 2021 04:09:04 +0000 (00:09 -0400)] 
Don't print the module prefix

4 years agoHelps to init the lists
Arran Cudbard-Bell [Thu, 4 Nov 2021 03:30:00 +0000 (23:30 -0400)] 
Helps to init the lists

4 years agoCopy all of the server_id and client_id attributes
Arran Cudbard-Bell [Thu, 4 Nov 2021 03:20:35 +0000 (23:20 -0400)] 
Copy all of the server_id and client_id attributes

4 years agoFix assert
Arran Cudbard-Bell [Wed, 3 Nov 2021 23:33:20 +0000 (19:33 -0400)] 
Fix assert

4 years agoFinal temporary fix for replacing nested pairs
Arran Cudbard-Bell [Wed, 3 Nov 2021 23:20:31 +0000 (19:20 -0400)] 
Final temporary fix for replacing nested pairs

4 years agoAdd more validation calls
Arran Cudbard-Bell [Wed, 3 Nov 2021 22:06:52 +0000 (18:06 -0400)] 
Add more validation calls

4 years ago:= should just replace the existing vp instead of building out extents
Arran Cudbard-Bell [Wed, 3 Nov 2021 21:40:52 +0000 (17:40 -0400)] 
:= should just replace the existing vp instead of building out extents

4 years agoStill replacing in the extent's list
Arran Cudbard-Bell [Wed, 3 Nov 2021 21:13:51 +0000 (17:13 -0400)] 
Still replacing in the extent's list

4 years agoFix case in tmpl_extents_find for where the leaf attribute exists
Arran Cudbard-Bell [Wed, 3 Nov 2021 21:00:05 +0000 (17:00 -0400)] 
Fix case in tmpl_extents_find for where the leaf attribute exists

We still want to return its direct parent as a leaf

4 years agoCatch logic errors sooner in tmpl_extents_find
Arran Cudbard-Bell [Wed, 3 Nov 2021 20:20:11 +0000 (16:20 -0400)] 
Catch logic errors sooner in tmpl_extents_find

4 years agoThey're fixed length attributes...
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:53:22 +0000 (15:53 -0400)] 
They're fixed length attributes...

4 years agov4: Convert SQL xlat to new API (#4302)
Nick Porter [Wed, 3 Nov 2021 19:52:10 +0000 (19:52 +0000)] 
v4: Convert SQL xlat to new API (#4302)

* Define sql_xlat_escape()

* Define mox_xlat_instantiate() for rlm_sql

* Amend SQL xlat to use new API

* Register new sql xlat

* Remove old sql xlat escape function

4 years ago...and another couple
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:40:17 +0000 (15:40 -0400)] 
...and another couple

4 years agoIncorrect ctx for timer
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:32:42 +0000 (15:32 -0400)] 
Incorrect ctx for timer

4 years agoFormatting
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:32:29 +0000 (15:32 -0400)] 
Formatting

4 years agotypo
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:18:35 +0000 (15:18 -0400)] 
typo

4 years agoRemove coverity badge. The coverity scan tool is broken.
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:17:13 +0000 (15:17 -0400)] 
Remove coverity badge.  The coverity scan tool is broken.

4 years agoWe need the link address attribute not its ancestor
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:15:30 +0000 (15:15 -0400)] 
We need the link address attribute not its ancestor

4 years agoDon't process the next state if we can't find the required fields
Arran Cudbard-Bell [Wed, 3 Nov 2021 19:11:15 +0000 (15:11 -0400)] 
Don't process the next state if we can't find the required fields

4 years agoOff by one
Arran Cudbard-Bell [Wed, 3 Nov 2021 18:59:13 +0000 (14:59 -0400)] 
Off by one

4 years agoFix crash on exit
Arran Cudbard-Bell [Wed, 3 Nov 2021 18:55:26 +0000 (14:55 -0400)] 
Fix crash on exit

4 years agoDon't loop infinitely when cancelling requests
Arran Cudbard-Bell [Wed, 3 Nov 2021 18:47:12 +0000 (14:47 -0400)] 
Don't loop infinitely when cancelling requests

4 years agoMore quotes
Arran Cudbard-Bell [Wed, 3 Nov 2021 18:46:56 +0000 (14:46 -0400)] 
More quotes

4 years agoDon't leave freed thread trunks in the tree of ldap connections
Arran Cudbard-Bell [Wed, 3 Nov 2021 18:08:04 +0000 (14:08 -0400)] 
Don't leave freed thread trunks in the tree of ldap connections

4 years agoFix dns encoder call to dump_fuzzer_data
Arran Cudbard-Bell [Wed, 3 Nov 2021 17:42:23 +0000 (13:42 -0400)] 
Fix dns encoder call to dump_fuzzer_data

4 years agoMove rctx into mctx, fixing dhcpv6_process in the process
Arran Cudbard-Bell [Wed, 3 Nov 2021 17:36:03 +0000 (13:36 -0400)] 
Move rctx into mctx, fixing dhcpv6_process in the process

4 years agoRevert "remove the 'instantiate' section, as it's no longer necessary"
Arran Cudbard-Bell [Wed, 3 Nov 2021 13:17:32 +0000 (09:17 -0400)] 
Revert "remove the 'instantiate' section, as it's no longer necessary"

This reverts commit 842b82fae919c1457b0264ca448395c9c7678790.

4 years agoslightly clear
Arran Cudbard-Bell [Wed, 3 Nov 2021 03:31:20 +0000 (23:31 -0400)] 
slightly clear

4 years agoBetter string parsing errors
Arran Cudbard-Bell [Wed, 3 Nov 2021 03:25:22 +0000 (23:25 -0400)] 
Better string parsing errors

4 years agoFix protocol attributes in xlats in policies
Arran Cudbard-Bell [Wed, 3 Nov 2021 01:56:33 +0000 (21:56 -0400)] 
Fix protocol attributes in xlats in policies

4 years agoIgnore profiler files
Arran Cudbard-Bell [Wed, 3 Nov 2021 01:54:14 +0000 (21:54 -0400)] 
Ignore profiler files

4 years agoCreate tag attributes from the root _not_ under TLVs or other structural elements.
Arran Cudbard-Bell [Tue, 2 Nov 2021 17:47:22 +0000 (13:47 -0400)] 
Create tag attributes from the root _not_ under TLVs or other structural elements.

4 years agoAllow setting the debug level for fuzzer targets
Arran Cudbard-Bell [Tue, 2 Nov 2021 17:46:19 +0000 (13:46 -0400)] 
Allow setting the debug level for fuzzer targets

It can be very useful for tracing protocol execution

4 years agoHave the fuzzer print out talloc errors
Arran Cudbard-Bell [Tue, 2 Nov 2021 14:49:50 +0000 (10:49 -0400)] 
Have the fuzzer print out talloc errors

4 years agofuzzer-no-link needs to be passed to the compiler and linker step
Arran Cudbard-Bell [Tue, 2 Nov 2021 14:00:32 +0000 (10:00 -0400)] 
fuzzer-no-link needs to be passed to the compiler and linker step

4 years agoDo a complete build before running the unit tests
Arran Cudbard-Bell [Tue, 2 Nov 2021 13:52:39 +0000 (09:52 -0400)] 
Do a complete build before running the unit tests

4 years agoQuiet the compiler
Arran Cudbard-Bell [Tue, 2 Nov 2021 13:40:17 +0000 (09:40 -0400)] 
Quiet the compiler

The result of course, is identical.

4 years agoAdd coverage option
Arran Cudbard-Bell [Tue, 2 Nov 2021 13:36:26 +0000 (09:36 -0400)] 
Add coverage option

4 years agoAdd OSS-Fuzz status badge
Arran Cudbard-Bell [Tue, 2 Nov 2021 13:09:53 +0000 (09:09 -0400)] 
Add OSS-Fuzz status badge

4 years agoFix _fr_sbuff_out_ssize typo (#4300)
James Jones [Tue, 2 Nov 2021 01:35:59 +0000 (20:35 -0500)] 
Fix _fr_sbuff_out_ssize typo (#4300)

4 years agomagic to make fuzzers work
Alan T. DeKok [Mon, 1 Nov 2021 11:52:19 +0000 (07:52 -0400)] 
magic to make fuzzers work

when we have two "main" functions.

4 years agoMore corpus data...
Arran Cudbard-Bell [Sun, 31 Oct 2021 15:23:41 +0000 (11:23 -0400)] 
More corpus data...

4 years agoBetter name
Arran Cudbard-Bell [Sun, 31 Oct 2021 15:13:18 +0000 (11:13 -0400)] 
Better name

4 years agoCombine openat and fchmod
Arran Cudbard-Bell [Sun, 31 Oct 2021 15:11:06 +0000 (11:11 -0400)] 
Combine openat and fchmod

4 years agoMerge new corpus data
Arran Cudbard-Bell [Sun, 31 Oct 2021 15:05:14 +0000 (11:05 -0400)] 
Merge new corpus data

4 years agoCommit merged corpus data
Arran Cudbard-Bell [Sun, 31 Oct 2021 07:15:41 +0000 (03:15 -0400)] 
Commit merged corpus data

4 years agoFix fr_unix_time_from_t crash from clusterfuzz
Arran Cudbard-Bell [Sun, 31 Oct 2021 06:24:48 +0000 (02:24 -0400)] 
Fix fr_unix_time_from_t crash from clusterfuzz

For some reason maximum month value was set to 13, which created a buffer overrun.

4 years agoCommit merged corpus data
Arran Cudbard-Bell [Sun, 31 Oct 2021 05:35:05 +0000 (01:35 -0400)] 
Commit merged corpus data

4 years agoAdd support for producing fuzzer seed corpuses from unit test data
Arran Cudbard-Bell [Sun, 31 Oct 2021 04:53:20 +0000 (00:53 -0400)] 
Add support for producing fuzzer seed corpuses from unit test data

Support changing the fuzzer output dir mid-file

Add test.fuzzer.merge to merge all corpuses

Run the unit tests before scheduled fuzzing

This dumps the latest seed data from the unit tests into the corpus dir

Add fuzzer output dirs to the unit tests

4 years agoUpdate DHCPv4 corpus
Arran Cudbard-Bell [Sun, 31 Oct 2021 04:50:40 +0000 (00:50 -0400)] 
Update DHCPv4 corpus

4 years agoBump LLVM version used for fuzzing
Arran Cudbard-Bell [Sun, 31 Oct 2021 01:11:07 +0000 (21:11 -0400)] 
Bump LLVM version used for fuzzing

4 years agoAlways initialise err
Arran Cudbard-Bell [Sun, 31 Oct 2021 00:18:08 +0000 (20:18 -0400)] 
Always initialise err

4 years agoDisable reverse lookups too
Arran Cudbard-Bell [Sat, 30 Oct 2021 22:10:04 +0000 (18:10 -0400)] 
Disable reverse lookups too

4 years agoJust use the normal intialisation macro...
Arran Cudbard-Bell [Sat, 30 Oct 2021 21:48:23 +0000 (17:48 -0400)] 
Just use the normal intialisation macro...

4 years agoapparently these all need to agree now...
Arran Cudbard-Bell [Sat, 30 Oct 2021 21:45:21 +0000 (17:45 -0400)] 
apparently these all need to agree now...

4 years agoJust suppress the warnings... Stupid stupid GCC
Arran Cudbard-Bell [Sat, 30 Oct 2021 21:42:16 +0000 (17:42 -0400)] 
Just suppress the warnings... Stupid stupid GCC

4 years agoMake definition and declaration agree
Arran Cudbard-Bell [Sat, 30 Oct 2021 21:32:08 +0000 (17:32 -0400)] 
Make definition and declaration agree

4 years agofr_regex_flags_t is a bitfield, not an array.
Arran Cudbard-Bell [Sat, 30 Oct 2021 21:31:01 +0000 (17:31 -0400)] 
fr_regex_flags_t is a bitfield, not an array.

4 years agoRevert "Slightly less hacky way of quieting GCC"
Arran Cudbard-Bell [Sat, 30 Oct 2021 19:07:52 +0000 (15:07 -0400)] 
Revert "Slightly less hacky way of quieting GCC"

This reverts commit ff8869bda0b3f69d2655ccc9e577a2d4c267bc5e.

4 years agoSlightly less hacky way of quieting GCC
Arran Cudbard-Bell [Sat, 30 Oct 2021 19:03:20 +0000 (15:03 -0400)] 
Slightly less hacky way of quieting GCC

4 years agoMore GCC fixes
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:52:50 +0000 (14:52 -0400)] 
More GCC fixes

4 years agoApparently that's not enough
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:45:22 +0000 (14:45 -0400)] 
Apparently that's not enough

4 years agoUse the correct init macro
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:43:55 +0000 (14:43 -0400)] 
Use the correct init macro

4 years agoUnhide dict_eap_aka_sim
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:40:13 +0000 (14:40 -0400)] 
Unhide dict_eap_aka_sim

4 years agoInitialise more buffers
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:39:55 +0000 (14:39 -0400)] 
Initialise more buffers

4 years agoFix other fr_dict_t and fr_dict_attr_t ODR violations
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:32:29 +0000 (14:32 -0400)] 
Fix other fr_dict_t and fr_dict_attr_t ODR violations

4 years agoQuiet gcc?
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:10:50 +0000 (14:10 -0400)] 
Quiet gcc?

4 years agoDon't export attr/dict symbols
Arran Cudbard-Bell [Sat, 30 Oct 2021 18:06:05 +0000 (14:06 -0400)] 
Don't export attr/dict symbols

4 years agoUse different sbuff initialisers for printing and parsing
Arran Cudbard-Bell [Sat, 30 Oct 2021 17:59:40 +0000 (13:59 -0400)] 
Use different sbuff initialisers for printing and parsing

Zero terminate buffers used for printing

4 years agoInit more vars in minmax heap tests
Arran Cudbard-Bell [Sat, 30 Oct 2021 17:58:22 +0000 (13:58 -0400)] 
Init more vars in minmax heap tests

4 years agoBump compiler versions
Arran Cudbard-Bell [Sat, 30 Oct 2021 17:03:42 +0000 (13:03 -0400)] 
Bump compiler versions

4 years agoneed shell script quoting inside of m4 quoting
Alan T. DeKok [Sat, 30 Oct 2021 16:20:09 +0000 (12:20 -0400)] 
need shell script quoting inside of m4 quoting

4 years agoQuiet compiler
Arran Cudbard-Bell [Sat, 30 Oct 2021 14:40:19 +0000 (10:40 -0400)] 
Quiet compiler

4 years agoOrder by sign
Arran Cudbard-Bell [Fri, 29 Oct 2021 23:13:38 +0000 (19:13 -0400)] 
Order by sign

4 years agoRevert "move to a saner location"
Alan T. DeKok [Fri, 29 Oct 2021 13:57:03 +0000 (09:57 -0400)] 
Revert "move to a saner location"

This reverts commit 90052cfd2ee73c13c8d556e9dfc97af93b5f5fb1.

nope

4 years agoDisable dns lookups for fuzzers
Arran Cudbard-Bell [Fri, 29 Oct 2021 13:39:45 +0000 (09:39 -0400)] 
Disable dns lookups for fuzzers

4 years agomove to a saner location
Alan T. DeKok [Fri, 29 Oct 2021 13:25:15 +0000 (09:25 -0400)] 
move to a saner location

4 years agotrack types, too
Alan T. DeKok [Thu, 28 Oct 2021 19:50:51 +0000 (15:50 -0400)] 
track types, too

4 years agodon't keep adding numbers
Alan T. DeKok [Thu, 28 Oct 2021 14:46:35 +0000 (10:46 -0400)] 
don't keep adding numbers

4 years agoMinmax heap (#4290)
James Jones [Fri, 29 Oct 2021 13:23:55 +0000 (08:23 -0500)] 
Minmax heap (#4290)

* Add minmax_heap type

* Add minmax_heap type

* Add minmax_heap type

4 years agoValidate after we figure out it's a real pair list match
Arran Cudbard-Bell [Fri, 29 Oct 2021 05:38:41 +0000 (01:38 -0400)] 
Validate after we figure out it's a real pair list match

4 years agoDetect partial list matches
Arran Cudbard-Bell [Fri, 29 Oct 2021 05:30:46 +0000 (01:30 -0400)] 
Detect partial list matches

Ensures reply-message doesn't get parsed as reply.-message

4 years agoAll other table match functions are case insensitive
Arran Cudbard-Bell [Fri, 29 Oct 2021 03:59:46 +0000 (23:59 -0400)] 
All other table match functions are case insensitive