]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
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
Arran Cudbard-Bell [Thu, 19 Mar 2020 22:23:49 +0000 (16:23 -0600)]
global: Include debug state in the magic number
Arran Cudbard-Bell [Thu, 19 Mar 2020 20:07:50 +0000 (14:07 -0600)]
rlm_radius_udp: Additional assert in request_timeout
Alan T. DeKok [Thu, 19 Mar 2020 18:11:20 +0000 (14:11 -0400)]
pass in/inlen to xlat_tokenize() functions
instead of "fmt". This change lets us pass in substrings,
as with updating exec changes
Alan T. DeKok [Thu, 19 Mar 2020 17:53:24 +0000 (13:53 -0400)]
revert
Terry Burton [Thu, 19 Mar 2020 17:17:10 +0000 (17:17 +0000)]
raduat fixes (#3323)
* raduat: Use the given instance of radclient
* raduat: Use the given DICTPATH
Alan T. DeKok [Thu, 19 Mar 2020 14:56:36 +0000 (10:56 -0400)]
depend on binaries
Alan T. DeKok [Thu, 19 Mar 2020 12:47:13 +0000 (08:47 -0400)]
add build rule to catch non-existent input files
Alan T. DeKok [Thu, 19 Mar 2020 12:41:45 +0000 (08:41 -0400)]
remove binary which doesn't exist
and depend on the full path to the tests
Alan T. DeKok [Thu, 19 Mar 2020 12:19:01 +0000 (08:19 -0400)]
Use consistent formatting
via "make dictionary.format"
B Thompson [Thu, 19 Mar 2020 08:52:06 +0000 (11:52 +0300)]
Added dictionary.vasexperts
Arran Cudbard-Bell [Wed, 18 Mar 2020 22:56:11 +0000 (18:56 -0400)]
rlm_radius_udp: Cache the tconn, so we can still access it if the module
Jorge Pereira [Wed, 18 Mar 2020 00:46:06 +0000 (21:46 -0300)]
Remove MINGW32 ifdef's
Alan T. DeKok [Wed, 18 Mar 2020 20:38:12 +0000 (16:38 -0400)]
copy all bits FROM start_bit
Alan T. DeKok [Wed, 18 Mar 2020 20:21:22 +0000 (16:21 -0400)]
printf is more portable than "echo -n"
Alan T. DeKok [Wed, 18 Mar 2020 19:51:27 +0000 (15:51 -0400)]
no need to copy `fmt`, it's been const for a while
Alan T. DeKok [Wed, 18 Mar 2020 19:48:14 +0000 (15:48 -0400)]
this should take const
Alan T. DeKok [Wed, 18 Mar 2020 13:11:35 +0000 (09:11 -0400)]
mask off unused bits already in the buffer
instead of relying on the buffer to be zeroed.
Arran Cudbard-Bell [Wed, 18 Mar 2020 02:15:30 +0000 (22:15 -0400)]
radius: Don't molest the request further if its connection has just become a zombie. It's suffered enough...
Jorge Pereira [Wed, 18 Mar 2020 01:58:23 +0000 (22:58 -0300)]
trunk: Don't process invalid queue (#3326)
Arran Cudbard-Bell [Wed, 18 Mar 2020 00:09:19 +0000 (20:09 -0400)]
unit_test_attribute: Only < 0 is an error for encoders.
Arran Cudbard-Bell [Wed, 18 Mar 2020 00:02:44 +0000 (20:02 -0400)]
rest: Use config.h from curl library
Alan T. DeKok [Tue, 17 Mar 2020 23:21:54 +0000 (19:21 -0400)]
status_check can be zero
Alan T. DeKok [Tue, 17 Mar 2020 21:06:37 +0000 (17:06 -0400)]
fix up ancient nonblock usage
Alan T. DeKok [Tue, 17 Mar 2020 21:02:21 +0000 (17:02 -0400)]
remove mingw nonsense
Arran Cudbard-Bell [Tue, 17 Mar 2020 22:16:11 +0000 (18:16 -0400)]
curl: Rework code to use fr_curl_io_request_t structs, which have the result of the operation written to them
We wouldn't need to do this, but curl provides no way of extracting the same info from the easy handle
Arran Cudbard-Bell [Tue, 17 Mar 2020 04:03:39 +0000 (00:03 -0400)]
unit_test_attribute: Only consider '-' special if it's at the end of a line
Arran Cudbard-Bell [Tue, 17 Mar 2020 03:48:38 +0000 (23:48 -0400)]
unit_test_attribute: Add function for writing the last returned value to the data buffer
Arran Cudbard-Bell [Tue, 17 Mar 2020 03:48:02 +0000 (23:48 -0400)]
log: Add function for pretty printing hex with markers
Arran Cudbard-Bell [Mon, 16 Mar 2020 22:06:01 +0000 (18:06 -0400)]
curl: Fix debug message
Arran Cudbard-Bell [Mon, 16 Mar 2020 22:01:41 +0000 (18:01 -0400)]
rest: use the correct transfers field
Arran Cudbard-Bell [Mon, 16 Mar 2020 20:13:48 +0000 (16:13 -0400)]
rest: This is specific to rest
Arran Cudbard-Bell [Mon, 16 Mar 2020 20:06:03 +0000 (16:06 -0400)]
curl: Create libfreeradius-curl
Arran Cudbard-Bell [Sun, 15 Mar 2020 23:21:40 +0000 (19:21 -0400)]
pair: Change the group functions to take an explicit list struct
We can use _Generic to automatically select the correct functions later... Or maybe just change the invocation