]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
5 years agoFix issue with delete command that caused entries to remain if the address had never...
Arran Cudbard-Bell [Wed, 24 Mar 2021 19:39:48 +0000 (19:39 +0000)] 
Fix issue with delete command that caused entries to remain if the address had never been used

5 years agoLinter: Perl fixes (#4019)
Terry Burton [Wed, 24 Mar 2021 13:58:20 +0000 (13:58 +0000)] 
Linter: Perl fixes (#4019)

5 years agov4: Define parameters for %(dhcpv4_decode: ) and %(dhcpv4_encode: ) xlats (#4023)
Nick Porter [Wed, 24 Mar 2021 13:57:57 +0000 (13:57 +0000)] 
v4: Define parameters for %(dhcpv4_decode: ) and %(dhcpv4_encode: ) xlats (#4023)

* Simplify loops

* Define arguments for dhcpv4 xlats

* Update documentation for %(dhcpv4_decode: )

* Update documentation for %(dhcpv4_encode: ) xlat

* Add dhcpv4 module for dhcp tests

* Test %(dhcpv4_decode: ) and %(dhcpv4_encode: )

* Remove un-used xlat_fmt_to_cursor()

5 years agov4: Define args for %(icmp: ) xlat (#4024)
Nick Porter [Wed, 24 Mar 2021 13:56:45 +0000 (13:56 +0000)] 
v4: Define args for %(icmp: ) xlat (#4024)

* Define arg for icmp xlat

* Update documentation for new %(icmp: ) syntax

* Update icmp module test syntax

5 years agoCert bootstrap: Use -dsaparam for faster DH parameter generation (#4025)
Terry Burton [Wed, 24 Mar 2021 13:55:39 +0000 (13:55 +0000)] 
Cert bootstrap: Use -dsaparam for faster DH parameter generation (#4025)

* Cert bootstrap: Use -dsaparam for faster DH parameter generation

This aligns the bootstrap script with the Makefile, as updated by
0f74763b8f4ce80dab11844df654a2ce18a79850

* Satisfy linter

5 years agov4: Define argument for %(delay: ) xlat (#4022)
Nick Porter [Tue, 23 Mar 2021 20:00:02 +0000 (20:00 +0000)] 
v4: Define argument for %(delay: ) xlat (#4022)

* Define arg for delay xlat

* Update documentation and tests for %(delay: ) xlat syntax

5 years agov4: Define args for rlm_cipher xlats (#4021)
Nick Porter [Tue, 23 Mar 2021 19:59:36 +0000 (19:59 +0000)] 
v4: Define args for rlm_cipher xlats (#4021)

* Define args for rlm_cipher xlats

* Update syntax for %(cipher_rsa_verify: ) in tests

5 years agov4: Define argument for %(chap_password: ) xlat (#4020)
Nick Porter [Tue, 23 Mar 2021 17:32:33 +0000 (17:32 +0000)] 
v4: Define argument for %(chap_password: ) xlat (#4020)

* Define argument for chap_password xlat

* Update documentation for %(chap_password: ) xlat

* Update tests to use new %(chap_password: ) syntax

5 years agov4: Define argument for %(always: ) xlat ... (#4018)
Nick Porter [Tue, 23 Mar 2021 17:22:17 +0000 (17:22 +0000)] 
v4: Define argument for %(always: ) xlat ... (#4018)

* Define argument for always xlat

* Allow %(...) bare xlats

* Update rlm_always xlat syntax in module tests

5 years agofr_value_box_cast_in_place shouldn't trash the input box on error
Arran Cudbard-Bell [Tue, 23 Mar 2021 16:07:52 +0000 (16:07 +0000)] 
fr_value_box_cast_in_place shouldn't trash the input box on error

5 years agoEnsure we don't have hard to diagnose issues in the future
Arran Cudbard-Bell [Tue, 23 Mar 2021 16:07:32 +0000 (16:07 +0000)] 
Ensure we don't have hard to diagnose issues in the future

5 years agoFix merge error and typo
Arran Cudbard-Bell [Tue, 23 Mar 2021 15:02:02 +0000 (15:02 +0000)] 
Fix merge error and typo

5 years agov4: Convert %(integer: ) to new xlat api (#4014)
Nick Porter [Tue, 23 Mar 2021 14:51:28 +0000 (14:51 +0000)] 
v4: Convert %(integer: ) to new xlat api (#4014)

* Convert %(integer: ) to new xlat api

* Update %(integer: ) tests to new syntax

* Update %(integer: ) syntax in other tests

* Update %(integer: ) syntax in documentation

* Update %(integer: ) syntax in raddb

* Fix handling of xlat alternation using %(<func>:<args>) style children

* IPv4 prefix can be cast the same as IPv4 address

* Correct endian handling of conversion of ethernet to integer

* Minor style fixes

* Typo

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
5 years agoConvert %{trigger: } to new xlat api (#4017)
Nick Porter [Tue, 23 Mar 2021 14:48:39 +0000 (14:48 +0000)] 
Convert %{trigger: } to new xlat api (#4017)

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@gmail.com>
5 years agoConvert %{map: } to new xlat api (#4016)
Nick Porter [Tue, 23 Mar 2021 14:45:51 +0000 (14:45 +0000)] 
Convert %{map: } to new xlat api (#4016)

5 years agov4: Convert %(nexttime: ) to new xlat api (#4015)
Nick Porter [Tue, 23 Mar 2021 10:10:52 +0000 (10:10 +0000)] 
v4: Convert %(nexttime: ) to new xlat api (#4015)

* Convert %{nexttime: } to new xlat api

* Add tests for %(nexttime: )

5 years agoVarious linter fixes (#4013)
Terry Burton [Mon, 22 Mar 2021 19:37:15 +0000 (19:37 +0000)] 
Various linter fixes (#4013)

* Linter: Perform a full lint on push to ci-debug

* Linter: MD fixes

* Linter: Python fixes

* Linter: Ruby fixes

* Linter: SQL fixes and disable sql-lint

sql-lint isn't suited for static use

* Linter: HTML fixes

* Linter: Lua fixes

5 years agoAdded Centec dictionary. Fixes #4010 (#4011)
Jorge Pereira [Mon, 22 Mar 2021 17:05:08 +0000 (14:05 -0300)] 
Added Centec dictionary. Fixes #4010 (#4011)

5 years agoFix stupid hacks in pair.c and add new "steal" functions
Arran Cudbard-Bell [Sun, 21 Mar 2021 15:17:29 +0000 (15:17 +0000)] 
Fix stupid hacks in pair.c and add new "steal" functions

Performance of steal isn't always bad, so long as the original context doesn't have too many children.

5 years agov4: Convert %(explode: ) to new xlat api (#4007)
Nick Porter [Fri, 19 Mar 2021 17:48:53 +0000 (17:48 +0000)] 
v4: Convert %(explode: ) to new xlat api (#4007)

* Convert %(explode: ) to new xlat api

* Update documentation to reflect new %(explode ) syntax

* An xlat can return an empty list

* Update test for new %(explode: ) syntax

5 years agotmpl: the pool must be released in the end. (#4002)
Jorge Pereira [Fri, 19 Mar 2021 11:58:48 +0000 (08:58 -0300)] 
tmpl: the pool must be released in the end. (#4002)

5 years agoCI: Combine steps for installing and configuring fixtures (#4003)
Terry Burton [Fri, 19 Mar 2021 11:34:20 +0000 (11:34 +0000)] 
CI: Combine steps for installing and configuring fixtures (#4003)

Saves >20 secs.

5 years agoCI coverity: Use Debian package depends lists (#4004)
Terry Burton [Fri, 19 Mar 2021 11:33:30 +0000 (11:33 +0000)] 
CI coverity: Use Debian package depends lists (#4004)

5 years agov4: Convert %(debug_attr: ) xlat to new api (#4006)
Nick Porter [Fri, 19 Mar 2021 11:32:54 +0000 (11:32 +0000)] 
v4: Convert %(debug_attr: ) xlat to new api (#4006)

* Convert %{debug_attr: } to new xlat api

* Update test references to %(debug_attr: )

* Update documentation for %(debug_attr: )

* Update default debug policy for new %(debug_attr: ) syntax

5 years agov4: Convert %(debug: ) xlat to new api (#4005)
Nick Porter [Fri, 19 Mar 2021 10:51:06 +0000 (10:51 +0000)] 
v4: Convert %(debug: ) xlat to new api (#4005)

* Convert %(debug: ) xlat to new xlat api

* Update tests to match %(debug: ) syntax

* Compile %() xlats as well as %{}

* Improve error message about %() xlat syntax

5 years agoRename unlang_interpret_init to unlang_interpret_init_global
Arran Cudbard-Bell [Thu, 18 Mar 2021 21:31:15 +0000 (21:31 +0000)] 
Rename unlang_interpret_init to unlang_interpret_init_global

5 years agoAdd this back in
Arran Cudbard-Bell [Thu, 18 Mar 2021 21:16:09 +0000 (21:16 +0000)] 
Add this back in

5 years agoFix errors in previous commit
Arran Cudbard-Bell [Thu, 18 Mar 2021 21:07:09 +0000 (21:07 +0000)] 
Fix errors in previous commit

5 years agoRename unlang init functions
Arran Cudbard-Bell [Thu, 18 Mar 2021 20:57:29 +0000 (20:57 +0000)] 
Rename unlang init functions

5 years agoMark runnable not mark resumable
Arran Cudbard-Bell [Thu, 18 Mar 2021 20:52:34 +0000 (20:52 +0000)] 
Mark runnable not mark resumable

5 years agoRetur not needed
Arran Cudbard-Bell [Thu, 18 Mar 2021 20:40:23 +0000 (20:40 +0000)] 
Retur not needed

5 years agoSlightly less awful
Arran Cudbard-Bell [Thu, 18 Mar 2021 20:38:20 +0000 (20:38 +0000)] 
Slightly less awful

5 years agoConvert lpad
Arran Cudbard-Bell [Thu, 18 Mar 2021 18:56:53 +0000 (18:56 +0000)] 
Convert lpad

5 years agov4: Switch %(sub: ) arguments to be <subject> <pattern> <replacement> (#4001)
Nick Porter [Thu, 18 Mar 2021 20:00:51 +0000 (20:00 +0000)] 
v4: Switch %(sub: ) arguments to be <subject> <pattern> <replacement> (#4001)

* Switch %(sub: ) arguments to be <subject> <pattern> <replacement>

* Update tests for new %(sub: ) argument order

* Update documentation for new %(sub: ) argument order

5 years agoCI package tests: Cache eapol_test build and cmake.sh download (#3999)
Terry Burton [Thu, 18 Mar 2021 17:47:59 +0000 (17:47 +0000)] 
CI package tests: Cache eapol_test build and cmake.sh download (#3999)

5 years agov4: Define arguments for %(hmacmd5: ) and %(hmacsha1: ) xlats (#3997)
Nick Porter [Thu, 18 Mar 2021 16:43:42 +0000 (16:43 +0000)] 
v4: Define arguments for %(hmacmd5: ) and %(hmacsha1: ) xlats (#3997)

* Define arguments for hmac xlats and update test syntaxes

* Move parsing error tests to their own files

* Update antora docs for hmac xlats

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@gmail.com>
5 years agov4: Define arguments for %(sub: ) xlat (#3998)
Nick Porter [Thu, 18 Mar 2021 16:40:26 +0000 (16:40 +0000)] 
v4: Define arguments for %(sub: ) xlat (#3998)

* Define arguments for sub xlat

* Don't free twice

* Update sub xlat tests to reflect new syntax

* Update documentation to reflect new sub xlat syntax

* Use escape rules we're provided with

5 years agov4: define arguments for %(concat: ) xlat (#3995)
Nick Porter [Thu, 18 Mar 2021 16:36:05 +0000 (16:36 +0000)] 
v4: define arguments for %(concat: ) xlat (#3995)

* Define args for concat xlat

* Update concat tests for new syntax and add extra tests

* Amend other tests using concat xlat to correct syntax

* Update docs for concat xlat

* Add %(join: ) xlat

* Add test for %(join: ) xlat

* Add %(concat: ) example that uses %(join: )

5 years agov4: Minor fix to map freeing on error (#3996)
Nick Porter [Thu, 18 Mar 2021 11:40:18 +0000 (11:40 +0000)] 
v4: Minor fix to map freeing on error (#3996)

* Correct fr_dlist_talloc_reverse_free() to clear from the very end

* Free map list in reverse due to talloc parenting

* Don't clear head - it is talloc freed by the caller when an error is returned

5 years agoConcatenating group children is now handled somewhere else
Arran Cudbard-Bell [Thu, 18 Mar 2021 11:36:49 +0000 (11:36 +0000)] 
Concatenating group children is now handled somewhere else

5 years agoFormatting
Arran Cudbard-Bell [Thu, 18 Mar 2021 10:57:45 +0000 (10:57 +0000)] 
Formatting

5 years agoDump outstanding data if we're not at the required debug level
Arran Cudbard-Bell [Thu, 18 Mar 2021 10:54:16 +0000 (10:54 +0000)] 
Dump outstanding data if we're not at the required debug level

5 years agoPass correct parameters to fr_log (#3994)
Nick Porter [Thu, 18 Mar 2021 09:52:02 +0000 (09:52 +0000)] 
Pass correct parameters to fr_log (#3994)

5 years agoAdd fd logging function for the global log
Arran Cudbard-Bell [Thu, 18 Mar 2021 01:11:33 +0000 (01:11 +0000)] 
Add fd logging function for the global log

5 years agoCI: Use CI- and distro-provided compiler packages (#3990)
Terry Burton [Thu, 18 Mar 2021 01:04:05 +0000 (01:04 +0000)] 
CI: Use CI- and distro-provided compiler packages (#3990)

GCC 10 is already pre-installed in the environment.

Clang 10 is available in the local boinic-updates repo, so no need to download
from often slow LLVM repo.

5 years agov4: Define arguments for remaining "mono" xlats in xlat_builtin.c already using new...
Nick Porter [Thu, 18 Mar 2021 01:03:47 +0000 (01:03 +0000)] 
v4: Define arguments for remaining "mono" xlats in xlat_builtin.c already using new api (#3992)

* Define arg for string xlat

* Define arg for strlen xlat

* Define arg for case change xlats

* Define arg for urlquote xlat

* Define arg for urlunquote xlat

5 years agoQuiet CI
Arran Cudbard-Bell [Thu, 18 Mar 2021 00:23:25 +0000 (00:23 +0000)] 
Quiet CI

5 years agoRework exec io handling
Arran Cudbard-Bell [Thu, 18 Mar 2021 00:18:00 +0000 (00:18 +0000)] 
Rework exec io handling

Use sbuffs for aggregation

Route stdout and stderr to the request log

Fix argument printing

5 years agoFix tmpl init function name
Arran Cudbard-Bell [Thu, 18 Mar 2021 00:15:12 +0000 (00:15 +0000)] 
Fix tmpl init function name

5 years agoAdd fd IO handler to log to the request
Arran Cudbard-Bell [Thu, 18 Mar 2021 00:13:37 +0000 (00:13 +0000)] 
Add fd IO handler to log to the request

5 years agoPrint when there's no more requests
Arran Cudbard-Bell [Thu, 18 Mar 2021 00:12:54 +0000 (00:12 +0000)] 
Print when there's no more requests

5 years agoFix non-developer debug output
Arran Cudbard-Bell [Wed, 17 Mar 2021 17:00:59 +0000 (17:00 +0000)] 
Fix non-developer debug  output

5 years agoallow detail files to be in any virtual server.
Alan T. DeKok [Wed, 17 Mar 2021 17:46:11 +0000 (13:46 -0400)] 
allow detail files to be in any virtual server.

Currently not allowed in RADIUS, but that has to be fixed :(

5 years agoallow for listen foo { ...}
Alan T. DeKok [Wed, 17 Mar 2021 17:42:38 +0000 (13:42 -0400)] 
allow for listen foo { ...}

which loads proto_foo, instead of proto_$namespace

5 years agodo aligned access to structs
Alan T. DeKok [Wed, 17 Mar 2021 13:19:30 +0000 (09:19 -0400)] 
do aligned access to structs

5 years agoAdd talloc variants of verifiation functions
Arran Cudbard-Bell [Wed, 17 Mar 2021 16:53:27 +0000 (16:53 +0000)] 
Add talloc variants of verifiation functions

5 years agoFix talloc developer's debug output
Arran Cudbard-Bell [Wed, 17 Mar 2021 16:53:05 +0000 (16:53 +0000)] 
Fix talloc developer's debug output

5 years agoVarious fixes
Arran Cudbard-Bell [Wed, 17 Mar 2021 16:04:51 +0000 (16:04 +0000)] 
Various fixes

5 years agoFuzzer artifact download: Fix formatting on MacOS (#3993)
Terry Burton [Wed, 17 Mar 2021 14:59:55 +0000 (14:59 +0000)] 
Fuzzer artifact download: Fix formatting on MacOS (#3993)

5 years agoAdd more verification calls for value box lists
Arran Cudbard-Bell [Wed, 17 Mar 2021 13:21:02 +0000 (13:21 +0000)] 
Add more verification calls for value box lists

5 years agoFix comment
Arran Cudbard-Bell [Wed, 17 Mar 2021 11:35:47 +0000 (11:35 +0000)] 
Fix comment

5 years agoFix alignment issue
Arran Cudbard-Bell [Wed, 17 Mar 2021 11:35:30 +0000 (11:35 +0000)] 
Fix alignment issue

5 years agoCI: MacOS fixes (#3991)
Terry Burton [Wed, 17 Mar 2021 09:08:47 +0000 (09:08 +0000)] 
CI: MacOS fixes (#3991)

* eapol_test build: Don't bork on MacOS due to unknown compiler warnings

* CI: Cache module can't extract to /tmp on MacOS

5 years agov4: 5 more xlats with argument definitions (#3987)
Nick Porter [Tue, 16 Mar 2021 19:08:59 +0000 (19:08 +0000)] 
v4: 5 more xlats with argument definitions (#3987)

5 years agoCI: Cache hostapd build directory to avoid unnecessary rebuild (#3989)
Terry Burton [Tue, 16 Mar 2021 17:58:38 +0000 (17:58 +0000)] 
CI: Cache hostapd build directory to avoid unnecessary rebuild (#3989)

5 years agoNo need for guards on fr_dlist_verify
Arran Cudbard-Bell [Tue, 16 Mar 2021 17:49:34 +0000 (17:49 +0000)] 
No need for guards on fr_dlist_verify

5 years agoFix up sanitizer rename for CI (#3988)
Terry Burton [Tue, 16 Mar 2021 17:40:23 +0000 (17:40 +0000)] 
Fix up sanitizer rename for CI (#3988)

5 years agov4: Next collection of xlats to get defined arguments (#3986)
Nick Porter [Tue, 16 Mar 2021 16:45:53 +0000 (16:45 +0000)] 
v4: Next collection of xlats to get defined arguments (#3986)

* We allow xlat arg specs to require FR_TYPE_VOID

For value boxes whose type are interpreted by the xlat rather than the
parser

* Define arg for xlat bin

* RPEDEBUG needs to set module failure message

* Amend xlat-sub test to match output now RPEDEBUG adds a failure message

* Define arg for xlat hex

* Define arg for xlat md4

* Define arg for xlat md5

* Define arg for xlat pack

5 years agoFix CI complaints for debug builds
Arran Cudbard-Bell [Tue, 16 Mar 2021 16:30:09 +0000 (16:30 +0000)] 
Fix CI complaints for debug builds

5 years ago...and another
Arran Cudbard-Bell [Tue, 16 Mar 2021 16:18:48 +0000 (16:18 +0000)] 
...and another

5 years agoUse correct enum
Arran Cudbard-Bell [Tue, 16 Mar 2021 16:15:01 +0000 (16:15 +0000)] 
Use correct enum

5 years agoValidate arguments at tokenize time
Arran Cudbard-Bell [Tue, 16 Mar 2021 15:44:07 +0000 (15:44 +0000)] 
Validate arguments at tokenize time

5 years agoFairly sure fill_str is always initialised but CI must be appeased
Arran Cudbard-Bell [Tue, 16 Mar 2021 12:10:13 +0000 (12:10 +0000)] 
Fairly sure fill_str is always initialised but CI must be appeased

5 years agoConvert rpad to args based async xlat
Arran Cudbard-Bell [Tue, 16 Mar 2021 01:23:51 +0000 (01:23 +0000)] 
Convert rpad to args based async xlat

5 years agoAdd note
Arran Cudbard-Bell [Tue, 16 Mar 2021 01:23:25 +0000 (01:23 +0000)] 
Add note

5 years agoIncorrect way to line wrap
Arran Cudbard-Bell [Tue, 16 Mar 2021 01:23:16 +0000 (01:23 +0000)] 
Incorrect way to line wrap

5 years agoDon't use RPEDEBUG if we're not setting the error buffer
Arran Cudbard-Bell [Tue, 16 Mar 2021 01:23:04 +0000 (01:23 +0000)] 
Don't use RPEDEBUG if we're not setting the error buffer

5 years agoName is now nonnull
Arran Cudbard-Bell [Mon, 15 Mar 2021 22:50:40 +0000 (22:50 +0000)] 
Name is now nonnull

5 years agoEnsure required arguments come at the start of the list
Arran Cudbard-Bell [Mon, 15 Mar 2021 22:20:25 +0000 (22:20 +0000)] 
Ensure required arguments come at the start of the list

5 years agoAdditional sanity checking
Arran Cudbard-Bell [Mon, 15 Mar 2021 22:04:57 +0000 (22:04 +0000)] 
Additional sanity checking

5 years agoEscape void types too and make code more idiomatic
Arran Cudbard-Bell [Mon, 15 Mar 2021 21:48:17 +0000 (21:48 +0000)] 
Escape void types too and make code more idiomatic

5 years agoLogic inversion
Arran Cudbard-Bell [Mon, 15 Mar 2021 21:40:11 +0000 (21:40 +0000)] 
Logic inversion

5 years agoAdd support for escaping xlat arguments
Arran Cudbard-Bell [Mon, 15 Mar 2021 21:38:54 +0000 (21:38 +0000)] 
Add support for escaping xlat arguments

5 years agoVarious minor style fixes
Arran Cudbard-Bell [Mon, 15 Mar 2021 21:38:03 +0000 (21:38 +0000)] 
Various minor style fixes

5 years agoVarious xlat fixes
Arran Cudbard-Bell [Mon, 15 Mar 2021 20:56:00 +0000 (20:56 +0000)] 
Various xlat fixes

5 years agoCheck allocation
Arran Cudbard-Bell [Mon, 15 Mar 2021 20:21:28 +0000 (20:21 +0000)] 
Check allocation

5 years agoBetter initialisation
Arran Cudbard-Bell [Mon, 15 Mar 2021 20:20:58 +0000 (20:20 +0000)] 
Better initialisation

5 years agoFix merge error
Arran Cudbard-Bell [Mon, 15 Mar 2021 20:20:26 +0000 (20:20 +0000)] 
Fix merge error

5 years agoRename FR_TYPE_INVALID to FR_TYPE_NULL
Arran Cudbard-Bell [Mon, 15 Mar 2021 19:29:45 +0000 (19:29 +0000)] 
Rename FR_TYPE_INVALID to FR_TYPE_NULL

This way zeroed out boxes represent null values.

5 years agov4: Simplified version of xlat_process_args() (#3984)
Nick Porter [Mon, 15 Mar 2021 19:24:06 +0000 (19:24 +0000)] 
v4: Simplified version of xlat_process_args() (#3984)

* Simplified version of xlat_process_args

* Document xlat_process_arg_list

* Handle CI failures

5 years agov4: Initial version of xlat arg parser plus first two xlats to use the parser (#3983)
Nick Porter [Mon, 15 Mar 2021 15:27:40 +0000 (15:27 +0000)] 
v4: Initial version of xlat arg parser plus first two xlats to use the parser (#3983)

* Add single option to xlat arg definition.

* Add validation to xlat arg registration

* Initial basic xlat argument parser

* Differentiate between multi arg and single arg xlat functions

Multi arg functions should be called using the syntax
%(func:<args>)

Single arg functions should be called using the syntax
%{func:<arg>}

* Define argument for xlat base64

* Define arg for xlat base64decode

5 years agoAdd FR_TYPE_VOID to switch statements in value.c
Arran Cudbard-Bell [Mon, 15 Mar 2021 13:55:54 +0000 (13:55 +0000)] 
Add FR_TYPE_VOID to switch statements in value.c

5 years agoMove FR_TYPE_VOID into types.h
Arran Cudbard-Bell [Mon, 15 Mar 2021 13:40:38 +0000 (13:40 +0000)] 
Move FR_TYPE_VOID into types.h

5 years agov4: Initial supporting structures for xlat parameter parsing (#3978)
Nick Porter [Mon, 15 Mar 2021 11:33:48 +0000 (11:33 +0000)] 
v4: Initial supporting structures for xlat parameter parsing (#3978)

* Add definition of xlat argument and xlat argument escaping function

* Add enum to mark xlat with the type of input it consumes

* Add input type and args list to xlat_t, plus default input type

* Add xlat_func_args() and xlat_func_mono() to register xlat arg specs

* Minor typo

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
5 years agoEnable sanitizers on GCC
Arran Cudbard-Bell [Mon, 15 Mar 2021 11:01:19 +0000 (11:01 +0000)] 
Enable sanitizers on GCC

5 years agoCI package tests: Run bleeding-edge distro builds for RPM and DEB on push (#3982)
Terry Burton [Mon, 15 Mar 2021 11:10:11 +0000 (11:10 +0000)] 
CI package tests: Run bleeding-edge distro builds for RPM and DEB on push (#3982)

GH now lets you build the matrix from job output so we can excute different
plans on push vs on schedule.

This lets us perform package testing on each push without consuming lots of
workers.

Typically all DEB or RPM distros either succeed together or fail together, so
on push we just run a job for each of DEB and RPM using a bleeding-edge distro.

5 years agoRemove redundant declaration
Arran Cudbard-Bell [Mon, 15 Mar 2021 10:11:24 +0000 (10:11 +0000)] 
Remove redundant declaration

5 years agoMove commonly called time functions into time.h
Arran Cudbard-Bell [Sun, 14 Mar 2021 21:58:38 +0000 (21:58 +0000)] 
Move commonly called time functions into time.h

5 years agoMinor CI improvements (#3980)
Terry Burton [Sun, 14 Mar 2021 13:09:08 +0000 (13:09 +0000)] 
Minor CI improvements (#3980)

* Use pragmas not hacks to disable build warnings for homebrew libs

Current libjson-c no longer triggering errors.

talloc.h errors silenced by b65415f985bdb4a823afd5d7e1acac4de4314f0b

* CI package tests: Use Azure-hosted mirrors for better reliability

5 years agoNew version of parallel keyword
Arran Cudbard-Bell [Fri, 12 Mar 2021 19:37:14 +0000 (19:37 +0000)] 
New version of parallel keyword

Removes request signalling inversion

Makes parallel children "first class" citizens