]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Tue, 31 Mar 2020 14:49:18 +0000 (08:49 -0600)]
global: Put FR_TYPE_GROUP in the correct group of enum values
Arran Cudbard-Bell [Tue, 31 Mar 2020 14:47:57 +0000 (08:47 -0600)]
internal: Fix iterating over children
Alan T. DeKok [Tue, 31 Mar 2020 13:48:51 +0000 (09:48 -0400)]
use standard macro to skip whitespace
Alan T. DeKok [Tue, 31 Mar 2020 13:46:30 +0000 (09:46 -0400)]
we should pretty much NEVER use "*++p". Instead, use *(p++)
The first one increments 'p' BEFORE assigning. Which results
in uninitialized memory.
The second on increments 'p' AFTER assigning. Which is what we want
Arran Cudbard-Bell [Mon, 30 Mar 2020 20:31:57 +0000 (14:31 -0600)]
curl: Fix minor cosmetic issues
Alan T. DeKok [Fri, 27 Mar 2020 19:52:46 +0000 (15:52 -0400)]
typo --> fr_dict_t
Arran Cudbard-Bell [Sat, 28 Mar 2020 23:26:30 +0000 (17:26 -0600)]
internal: Fix failing test
We don't automatically aggregate TLVs.
Arran Cudbard-Bell [Sat, 28 Mar 2020 22:05:29 +0000 (16:05 -0600)]
internal: New encoder/decoder for IPC and serialisation
Arran Cudbard-Bell [Sat, 28 Mar 2020 04:04:23 +0000 (22:04 -0600)]
misc: We want the position of the highest bit, not the highest bit itself
Arran Cudbard-Bell [Sat, 28 Mar 2020 04:03:58 +0000 (22:03 -0600)]
net: Fix fr_net_from_uint64v
Start the copy from the right position
Arran Cudbard-Bell [Fri, 27 Mar 2020 23:47:32 +0000 (17:47 -0600)]
radius: Should start encoding current position not head
Arran Cudbard-Bell [Fri, 27 Mar 2020 23:45:10 +0000 (17:45 -0600)]
unit_test_attribute: Switch to using iterator in encode_pair function
Arran Cudbard-Bell [Fri, 27 Mar 2020 22:58:52 +0000 (16:58 -0600)]
curl: ignore all.mk
Terry Burton [Fri, 27 Mar 2020 16:46:47 +0000 (16:46 +0000)]
Extend module tests for rlm_files (#3341)
Test control and reply list modification operations.
Arran Cudbard-Bell [Fri, 27 Mar 2020 14:29:18 +0000 (08:29 -0600)]
radius: Move to using an iterator for skipping non-encodable attributes
Arran Cudbard-Bell [Thu, 26 Mar 2020 22:26:45 +0000 (16:26 -0600)]
pair: Add macro for checking for sufficient space in encode buffer
Arran Cudbard-Bell [Thu, 26 Mar 2020 22:26:21 +0000 (16:26 -0600)]
pair: Remove useless fields
James Jones [Fri, 27 Mar 2020 12:58:26 +0000 (07:58 -0500)]
make {dhcpv[46], radius}/encode.c encodability functions as similar as possible
Arran Cudbard-Bell [Thu, 26 Mar 2020 22:24:46 +0000 (16:24 -0600)]
enocders: Create a struct for da_stack which includes depth.
Means we no longer have to memset the entire stack on each rebuild.
Arran Cudbard-Bell [Thu, 26 Mar 2020 21:32:51 +0000 (15:32 -0600)]
s/tlv_stack/da_stack/g
It's used for more than TLVs
Arran Cudbard-Bell [Thu, 26 Mar 2020 21:31:48 +0000 (15:31 -0600)]
scripts: Fix extraction destination
Alan T. DeKok [Thu, 26 Mar 2020 17:28:13 +0000 (13:28 -0400)]
stop fighting with travis && just revert for now
Alan T. DeKok [Thu, 26 Mar 2020 17:28:02 +0000 (13:28 -0400)]
add for testing
Alan T. DeKok [Thu, 26 Mar 2020 16:43:32 +0000 (12:43 -0400)]
one more dependency
it's still not clear why it runs multiple rules in parallel,
even when the rules say "don't do that"
Alan T. DeKok [Thu, 26 Mar 2020 16:39:19 +0000 (12:39 -0400)]
allow value box groups to be cast to strvalue / octets
and printed
shaunmiles [Thu, 26 Mar 2020 16:07:37 +0000 (16:07 +0000)]
Updates dictionary.bskyb (#3340)
* adds new attributes required by the business
Co-authored-by: Shaun Miles <shaun.miles@bskyb.com>
Alan T. DeKok [Thu, 26 Mar 2020 15:56:48 +0000 (11:56 -0400)]
more cleanups
Alan T. DeKok [Thu, 26 Mar 2020 14:29:19 +0000 (10:29 -0400)]
generalize parsing of special tokens
Alan T. DeKok [Thu, 26 Mar 2020 13:46:37 +0000 (09:46 -0400)]
also make ca.crt, what the heck
Alan T. DeKok [Thu, 26 Mar 2020 13:43:04 +0000 (09:43 -0400)]
clean up rules so that they don't run all of the time
Alan T. DeKok [Wed, 25 Mar 2020 20:48:30 +0000 (16:48 -0400)]
client, server, and ocsp need the ca crt
Arran Cudbard-Bell [Wed, 25 Mar 2020 21:36:27 +0000 (15:36 -0600)]
trunk: Add state machine diagram for trunk connections
Arran Cudbard-Bell [Wed, 25 Mar 2020 20:24:22 +0000 (14:24 -0600)]
scripts: Override fetchexclude when we're pulling from within the install_deps.sh script
Arran Cudbard-Bell [Wed, 25 Mar 2020 20:16:52 +0000 (14:16 -0600)]
Don't download lfs files by default
Alan T. DeKok [Wed, 25 Mar 2020 20:06:32 +0000 (16:06 -0400)]
add explicit dependencies for all products
so that gnu make can properly do -j 8
Arran Cudbard-Bell [Wed, 25 Mar 2020 17:47:09 +0000 (11:47 -0600)]
scripts: Add install_deps.sh for installing brewed and proprietary dependencies for macOS
add appropriate license and copyright notice
Arran Cudbard-Bell [Wed, 25 Mar 2020 17:46:03 +0000 (11:46 -0600)]
Revert "script to install dependencies on OSX"
This reverts commit
e446e04c95d19b08c99d94f40c6f2d8eef310558 .
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:51:58 +0000 (08:51 -0600)]
Add proprietary dependencies
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:48:51 +0000 (08:48 -0600)]
git: Add bz2 and gz to git-lfs tracking list
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:45:42 +0000 (08:45 -0600)]
curl: Doxygen
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:45:31 +0000 (08:45 -0600)]
connection: Fix issue where closed was entered when it shouldn't have been on halt
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:45:02 +0000 (08:45 -0600)]
connection: Fix issue where closed wasn't always entered on shutdown
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:44:47 +0000 (08:44 -0600)]
connection: Fix issue where closed wasn't always entered on reconnect
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:43:58 +0000 (08:43 -0600)]
connection: Connecting can only be entered from init
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:43:40 +0000 (08:43 -0600)]
connection: Limit the number of states we can enter halted from
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:43:19 +0000 (08:43 -0600)]
connection: Fix verb noun order to be the same as trunk
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:39:05 +0000 (08:39 -0600)]
trunk: In reality halted can only be reached from a very small number of states, and there will always be no requests left on the connection
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:38:23 +0000 (08:38 -0600)]
trunk: Signalling a draining connection as inactive should move it to inactive-draining
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:37:59 +0000 (08:37 -0600)]
trunk: Signalling an inactive-draining connection to be active, should move it to draining, not active
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:37:28 +0000 (08:37 -0600)]
trunk: Doxygen
Arran Cudbard-Bell [Wed, 25 Mar 2020 14:37:17 +0000 (08:37 -0600)]
trunk: If we're re-activating a connection, check whether it's full or not and move it into the appropriate state
Arran Cudbard-Bell [Tue, 24 Mar 2020 16:19:50 +0000 (10:19 -0600)]
trunk: We don't free we drain _then_ free.
Alan T. DeKok [Wed, 25 Mar 2020 15:25:58 +0000 (11:25 -0400)]
one more attempt to see if we can create the output directories first
Alan T. DeKok [Wed, 25 Mar 2020 15:20:22 +0000 (11:20 -0400)]
generate rules for each individual file
which should help with stomping issues and "make -j 8"
Alan T. DeKok [Wed, 25 Mar 2020 14:39:43 +0000 (10:39 -0400)]
always build test certs when doing non-package builds
Alan T. DeKok [Wed, 25 Mar 2020 14:12:36 +0000 (10:12 -0400)]
refresh certs
now that it takes ~2s to recreate them, we should likely just
delete these. Then, build && use the ones in raddb/certs/
Alan T. DeKok [Wed, 25 Mar 2020 13:49:14 +0000 (09:49 -0400)]
script to install dependencies on OSX
Alan T. DeKok [Tue, 24 Mar 2020 17:51:07 +0000 (13:51 -0400)]
move blocks of code to common functions for later re-use
with async exec
Alan T. DeKok [Tue, 24 Mar 2020 17:42:18 +0000 (13:42 -0400)]
remove rad_fork(). It's no longer used
Alan T. DeKok [Mon, 23 Mar 2020 21:20:10 +0000 (17:20 -0400)]
expand the child, not the node
Arran Cudbard-Bell [Tue, 24 Mar 2020 14:17:29 +0000 (08:17 -0600)]
curl: As per tradition...
Arran Cudbard-Bell [Tue, 24 Mar 2020 13:57:42 +0000 (07:57 -0600)]
curl: de-conflict SET_OPTION/SET_MOPTION
Arran Cudbard-Bell [Tue, 24 Mar 2020 00:21:25 +0000 (18:21 -0600)]
trunk: Add inactive-draining state to allow inactive connections to be closed gracefully
Arran Cudbard-Bell [Mon, 23 Mar 2020 23:46:52 +0000 (17:46 -0600)]
curl: Use a standard prefix for all log messages
Arran Cudbard-Bell [Mon, 23 Mar 2020 23:14:26 +0000 (17:14 -0600)]
curl: Allow a pass through the event loop before servicing the mhandle
Alan T. DeKok [Mon, 23 Mar 2020 14:22:58 +0000 (10:22 -0400)]
check for empty string && output list
Alan T. DeKok [Mon, 23 Mar 2020 14:22:48 +0000 (10:22 -0400)]
remove unused assignment
Alan T. DeKok [Mon, 23 Mar 2020 13:22:08 +0000 (09:22 -0400)]
quiet compiler
Alan T. DeKok [Mon, 23 Mar 2020 12:58:02 +0000 (08:58 -0400)]
APIs to tokenize xlats into arguments for argv
along with a function to evaluate the xlat into an argv-style
C string array for synchronous xlats, and a function to split
the parent xlat into an array of xlat_exp_t*, for asynchronous
xlat expansion.
And tests. Tests are good.
Alan T. DeKok [Sun, 22 Mar 2020 19:36:24 +0000 (15:36 -0400)]
first pass at xlat_tokenize_argv()
which assumes that the input is a "const char*" which will
be in turn parsed and split into argv-style strings.
Alan T. DeKok [Sun, 22 Mar 2020 15:44:05 +0000 (11:44 -0400)]
framework for adding XLAT_TYPE_CHILD
Arran Cudbard-Bell [Mon, 23 Mar 2020 02:27:25 +0000 (20:27 -0600)]
cf_parse: Fix the remaining type checks
Arran Cudbard-Bell [Fri, 20 Mar 2020 22:30:27 +0000 (16:30 -0600)]
cf_parse: Fix formatting
Arran Cudbard-Bell [Fri, 20 Mar 2020 22:30:01 +0000 (16:30 -0600)]
cf_parse: Fix check for FR_TYPE_OCTETS
Arran Cudbard-Bell [Fri, 20 Mar 2020 21:53:46 +0000 (15:53 -0600)]
Revert "comment out various array / pointer types"
This reverts commit
7484619c9f9eb7d7e72134998812d8634044d189 .
Alan T. DeKok [Sun, 22 Mar 2020 15:37:15 +0000 (11:37 -0400)]
remove until we finish the work
Alan T. DeKok [Sun, 22 Mar 2020 15:07:44 +0000 (11:07 -0400)]
walk over alternate *and* child of alternation nodes
Alan T. DeKok [Sun, 22 Mar 2020 15:04:23 +0000 (11:04 -0400)]
if they're used as bit masks, ensure that the masks don't overlap
Alan T. DeKok [Sun, 22 Mar 2020 14:42:18 +0000 (10:42 -0400)]
more make xlat_tokenize_literal() respect inlen
Alan T. DeKok [Sun, 22 Mar 2020 14:41:44 +0000 (10:41 -0400)]
use un-escaped length for input to xlat
Herwin [Sat, 21 Mar 2020 16:53:31 +0000 (17:53 +0100)]
Compile fixes for uint128 library (#3332)
Alan T. DeKok [Sat, 21 Mar 2020 15:21:36 +0000 (11:21 -0400)]
make xlat_tokenize_literal() respect inlen
Alan T. DeKok [Sat, 21 Mar 2020 15:17:50 +0000 (11:17 -0400)]
make xlat_tokenize_function() respect inlen
Alan T. DeKok [Sat, 21 Mar 2020 15:12:33 +0000 (11:12 -0400)]
depend on the binaries, not on the build target
Alan T. DeKok [Sat, 21 Mar 2020 15:06:45 +0000 (11:06 -0400)]
update more APIs to take 'inlen'
and don't modify 'char const *' buffers.
Alan T. DeKok [Sat, 21 Mar 2020 14:55:30 +0000 (10:55 -0400)]
make xlat_tokenize_regex() respect inlen
Alan T. DeKok [Fri, 20 Mar 2020 22:10:19 +0000 (18:10 -0400)]
unused in non-debug builds
Alan T. DeKok [Fri, 20 Mar 2020 21:48:17 +0000 (17:48 -0400)]
use correct data type
Alan T. DeKok [Fri, 20 Mar 2020 21:14:51 +0000 (17:14 -0400)]
comment out various array / pointer types
as they're not used elsewhere in the CONF_PARSER arrays, and
they cause compiler errors due to the type checks
Arran Cudbard-Bell [Fri, 20 Mar 2020 21:08:45 +0000 (15:08 -0600)]
trunk: Typo
Alan T. DeKok [Fri, 20 Mar 2020 20:39:17 +0000 (16:39 -0400)]
fix type inconsistencies
now that the FR_CONF_TYPE_CHECK macro is fixed, there are many
inconsistencies in the CONF_PARSER structs. Fixing those here.
Arran Cudbard-Bell [Fri, 20 Mar 2020 20:23:43 +0000 (14:23 -0600)]
cf_parse: Correctly identify subsections.
cf_parse: Void is special and disables type checks.
cf_parse: Add support for float/double in type checks.
Arran Cudbard-Bell [Fri, 20 Mar 2020 20:22:51 +0000 (14:22 -0600)]
cf_parse: Alpabetise dummy types and add float/double
Arran Cudbard-Bell [Fri, 20 Mar 2020 19:51:21 +0000 (13:51 -0600)]
trunk: Distinguish between INITIAL and UNASSIGNED states
Arran Cudbard-Bell [Fri, 20 Mar 2020 19:51:00 +0000 (13:51 -0600)]
trunk: The only valid state change for PARTIAL is PENDING -> PARTIAL
Arran Cudbard-Bell [Fri, 20 Mar 2020 19:01:37 +0000 (13:01 -0600)]
trunk: De-conflict macro scoped variable names
Arran Cudbard-Bell [Fri, 20 Mar 2020 03:16:47 +0000 (21:16 -0600)]
interpret: Fix stupid debug message
Arran Cudbard-Bell [Fri, 20 Mar 2020 03:12:19 +0000 (21:12 -0600)]
trunk: Add asserts to catch a connection being halted that's still in one of the lists
Arran Cudbard-Bell [Thu, 19 Mar 2020 23:04:04 +0000 (17:04 -0600)]
configure: Fix commit hash to 4 bytes (8 hexits)
Arran Cudbard-Bell [Thu, 19 Mar 2020 22:31:09 +0000 (16:31 -0600)]
global: Mask off version correctly