]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
5 years agov4: Convert %{expr: } to new xlat api (#4042)
Nick Porter [Tue, 30 Mar 2021 11:29:05 +0000 (12:29 +0100)] 
v4: Convert %{expr: } to new xlat api (#4042)

* Convert %{expr: } to new xlat api

* Remove incorrect "UNUSED"

5 years agoctx is actually used
Arran Cudbard-Bell [Tue, 30 Mar 2021 11:27:59 +0000 (12:27 +0100)] 
ctx is actually used

5 years agoAvoid allocating dummy requests in rlm_redis_ippool_tool
Arran Cudbard-Bell [Tue, 30 Mar 2021 11:25:09 +0000 (12:25 +0100)] 
Avoid allocating dummy requests in rlm_redis_ippool_tool

That now requires the dictionaries, and we really don't want to add that dependency...

5 years agoFix trigger args assert
Arran Cudbard-Bell [Tue, 30 Mar 2021 10:50:36 +0000 (11:50 +0100)] 
Fix trigger args assert

5 years agoComment fix (#4040)
Nick Porter [Mon, 29 Mar 2021 18:50:17 +0000 (19:50 +0100)] 
Comment fix (#4040)

5 years agov4: Convert dict xlats to new api (#4039)
Nick Porter [Mon, 29 Mar 2021 14:27:36 +0000 (15:27 +0100)] 
v4: Convert dict xlats to new api (#4039)

* Convert %(attr_by_num: ) to new xlat api

* Convert %(attr_by_oid: ) to new xlat api

* Convert %(vendor: ) to new xlat api

* Convert %(vendor_num: ) to new xlat api

* Convert %(attr: ) to new xlat api

* Convert %(attr_num: ) to new xlat api

5 years agov4: Convert %(client: ) to new xlat api (#4038)
Nick Porter [Mon, 29 Mar 2021 14:26:48 +0000 (15:26 +0100)] 
v4: Convert %(client: ) to new xlat api (#4038)

* Convert %(client: ) to new xlat api

* Update documentation for %(client: ) xlat

* Update existing uses of %(client: ) xlat in raddb

* Update existing reference to %(client: ) in tests

* Add specific test for %(client: ) xlat

* Tidy client map test

* Fix docs

They were very wrong...

* Fix examples in config file too

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
5 years agov4: Define arguments for %(length: ) xlat (#4037)
Nick Porter [Mon, 29 Mar 2021 14:22:01 +0000 (15:22 +0100)] 
v4: Define arguments for %(length: ) xlat (#4037)

* Define arguments for %(length: ) xlat

* Update tests that use %(length: ) xlat

* Update docs for %(length: ) xlat

* Make xlat_fmt_aprint() reflect original call syntax

* Make xlat_print reflect original call syntax

5 years agov4: Convert %(interpreter: ) to new xlat api (#4036)
Nick Porter [Mon, 29 Mar 2021 14:19:25 +0000 (15:19 +0100)] 
v4: Convert %(interpreter: ) to new xlat api (#4036)

* Convert %(interpreter: ) to new xlat api

* Update existing tests to use new %(interpreter: ) syntax

* Update documentation for %(interpreter: ) xlat

* Add test for %(interpreter: ) xlat

* Typo

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
5 years agov4: convert %(config :) to new xlat api (#4033)
Nick Porter [Mon, 29 Mar 2021 09:18:04 +0000 (10:18 +0100)] 
v4: convert %(config :) to new xlat api (#4033)

* Convert %{config: } to new xlat api

* Update documentation for new %(config: ) xlat syntax

* Remove former config xlat escape function

* Add test for %(config: ) xlat

5 years agoAmend xlat register in unit_test_attribute to new api (#4032)
Nick Porter [Fri, 26 Mar 2021 17:51:59 +0000 (17:51 +0000)] 
Amend xlat register in unit_test_attribute to new api (#4032)

5 years agov4: Convert eap-aka-sim xlats to new api (#4030)
Nick Porter [Thu, 25 Mar 2021 19:32:27 +0000 (19:32 +0000)] 
v4: Convert eap-aka-sim xlats to new api (#4030)

* Convert %{aka_sim_id_method: } to new xlat api

* Update docs for new %(aka_sim_id_method: ) syntax

* Update tests for new %(aka_sim_id_method: ) syntax

* Convert %{aka_sim_id_type: } to new xlat api

* Update docs for new %(aka_sim_id_type: ) syntax

* Update tests for new %(aka_sim_id_type: ) syntax

* Convert %{3gpp_pseudonym_key_index: } xlat to new api

* Update docs for new %(3gpp_pseudonym_key_index: ) syntax

* Convert %(3gpp_pseudonym_decrypt: ) to new xlat api

* Amend documentation for new syntax of %(3gpp_pseudonym_decrypt: ) xlat

* Auto load eap_aka_sim enums for xlats

* Convert %(3gpp_pseudonym_encrypt: ) to new xlat api

* Update documentation to new %(3gpp_pseudonym_encrypt: ) syntax

* Update tests to use new %(3gpp_pseudonym_encrypt: ) syntax

* Move eap_aka_sim tests to eap_sim to match module name so they run.

* Tidy eap_sim test files

5 years agoRefresh test certificates
Arran Cudbard-Bell [Thu, 25 Mar 2021 19:18:43 +0000 (19:18 +0000)] 
Refresh test certificates

5 years agov4: Define arguments for json xlats (#4027)
Nick Porter [Thu, 25 Mar 2021 10:14:55 +0000 (10:14 +0000)] 
v4: Define arguments for json xlats (#4027)

* Define args for json xlats

* Update json tests to match new generic failure message

* Missing arguments will mean no child

* Simplify json encode tests

* Remove input argument errors from json encode test and create error test

* Correct ERROR handling for module tests

* Simplify unlang in json eval tests

* Simplify unlang in json parser tests

* Simplify unlang in json quote tests

* Enable 64bit json eval tests

5 years agov4: Define arguments for redis xlats already using new api (#4028)
Nick Porter [Thu, 25 Mar 2021 10:10:11 +0000 (10:10 +0000)] 
v4: Define arguments for redis xlats already using new api (#4028)

* Define args for %(redis_node: ) xlat

* Define arguments for %(redis_remap: ) xlat

* Minor formatting

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
5 years agoICMP xlat should be defined arguments, not a stream (#4026)
Nick Porter [Thu, 25 Mar 2021 10:07:16 +0000 (10:07 +0000)] 
ICMP xlat should be defined arguments, not a stream (#4026)

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