]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Mon, 16 Nov 2020 17:04:14 +0000 (11:04 -0600)]
IA-PD-Prefix-IPv6-Prefix should be a prefix type
The DHCPv6 standard changes the encoding based on whether it's a struct field or an option, which is why it was a fixed length v6 address before. Unfortunately none of the modules in FreeRADIUS will work with a prefix value split into its components
Arran Cudbard-Bell [Mon, 16 Nov 2020 14:50:17 +0000 (08:50 -0600)]
Add vendor-specific equivalent to DHCP-Error-Message
Arran Cudbard-Bell [Sun, 15 Nov 2020 18:06:19 +0000 (12:06 -0600)]
Add value for Do-Not-Respond
Arran Cudbard-Bell [Sun, 15 Nov 2020 17:58:59 +0000 (11:58 -0600)]
add mode for printing out values
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:57:06 +0000 (10:57 -0600)]
Get a valid cpu/wallclock offset in the test utilities
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:49:00 +0000 (10:49 -0600)]
Attributes contain unix time, not internal time
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:13:58 +0000 (10:13 -0600)]
Remove junk from tests
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:09:17 +0000 (10:09 -0600)]
Stupid symbol auto-complete
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:08:08 +0000 (10:08 -0600)]
Revert "Hex doesn't need to extend"
This reverts commit
ec61b5763e140c225223f199238d18dc8ff01c67 .
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:02:29 +0000 (10:02 -0600)]
Fix leaked marker
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:55:38 +0000 (09:55 -0600)]
Simplify relay encoder
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:53:30 +0000 (09:53 -0600)]
dbuff: Copy ahead/behind macros from sbuffs
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:53:15 +0000 (09:53 -0600)]
Fixup fr_dhcpv6_encode to return the correct length
Fix magic numbers
Make code more concise
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:43:27 +0000 (09:43 -0600)]
Hex doesn't need to extend
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:43:16 +0000 (09:43 -0600)]
Split out tests
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:42:05 +0000 (09:42 -0600)]
Add FR_VALUE_BOX_TO_NETWORK_RETURN
Alan T. DeKok [Sat, 14 Nov 2020 20:41:05 +0000 (15:41 -0500)]
add function to pretty-print DHCPv6 packets as hex
Alan T. DeKok [Sat, 14 Nov 2020 19:50:06 +0000 (14:50 -0500)]
We need <sys/wait.h> on Linux
Alan T. DeKok [Sat, 14 Nov 2020 19:32:25 +0000 (14:32 -0500)]
try to work around libkqueue issues on Linux
Arran Cudbard-Bell [Sat, 14 Nov 2020 17:46:10 +0000 (11:46 -0600)]
Just return slen
Arran Cudbard-Bell [Sat, 14 Nov 2020 17:32:28 +0000 (11:32 -0600)]
simplify fr_value_box_to_network
Alan T. DeKok [Sat, 14 Nov 2020 14:40:06 +0000 (09:40 -0500)]
update for whitespace changes
Alan T. DeKok [Sat, 14 Nov 2020 13:49:52 +0000 (08:49 -0500)]
there is a trailing space after the length
Alan T. DeKok [Sat, 14 Nov 2020 13:24:12 +0000 (08:24 -0500)]
typo
Alan T. DeKok [Sat, 14 Nov 2020 13:12:06 +0000 (08:12 -0500)]
add relay reply test
Alan T. DeKok [Sat, 14 Nov 2020 13:08:16 +0000 (08:08 -0500)]
<sigh> Header fields are NOT OPTIONAL
if there's no VP for the header field, we MUST encode SOMETHING.
Doing anything else is utterly ridiculous
Alan T. DeKok [Sat, 14 Nov 2020 13:05:15 +0000 (08:05 -0500)]
if no original, fall through to encoding the header from VPs
Alan T. DeKok [Sat, 14 Nov 2020 13:04:19 +0000 (08:04 -0500)]
added debugging
Arran Cudbard-Bell [Sat, 14 Nov 2020 00:59:57 +0000 (18:59 -0600)]
Process extents lifo style
Arran Cudbard-Bell [Sat, 14 Nov 2020 00:57:08 +0000 (18:57 -0600)]
Allocate from the correct ctx in subrequest.c
Terry Burton [Sat, 14 Nov 2020 00:45:57 +0000 (00:45 +0000)]
CI: Only trigger scheduled coverity scans from main repo (#3746)
Arran Cudbard-Bell [Sat, 14 Nov 2020 00:29:04 +0000 (18:29 -0600)]
Formatting
Arran Cudbard-Bell [Fri, 13 Nov 2020 23:38:01 +0000 (17:38 -0600)]
Fix edge case in fr_dict_attr_common_parent
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:59:45 +0000 (16:59 -0600)]
For proxied requests don't filer reply attributes by protocol
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:59:27 +0000 (16:59 -0600)]
Only print attributes of... the actual protocol!
Do as the name suggests. Only took three years...
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:20:51 +0000 (16:20 -0600)]
Have the DHCPv6 state machine the work of creating the canned reply
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:12:56 +0000 (16:12 -0600)]
Formatting
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:12:49 +0000 (16:12 -0600)]
Allow limits to be set on the number of attributes copied
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:12:09 +0000 (16:12 -0600)]
Sort
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:12:01 +0000 (16:12 -0600)]
Add doxygen headers for request_data_add
It's annoying to try and puzzle out what all the arguments mean.
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:09:07 +0000 (16:09 -0600)]
More indenting
Arran Cudbard-Bell [Fri, 13 Nov 2020 22:06:59 +0000 (16:06 -0600)]
Indent pair lists by default
Alan T. DeKok [Fri, 13 Nov 2020 21:00:56 +0000 (16:00 -0500)]
remove unused printf arg
Arran Cudbard-Bell [Fri, 13 Nov 2020 19:39:28 +0000 (13:39 -0600)]
Fix fr_pair_list_log to print nested attributes with indentation
Alan T. DeKok [Fri, 13 Nov 2020 18:09:44 +0000 (13:09 -0500)]
make the virtual servers call app_process bootstrap / instantiate
so that the proto_* modules don't need to do it.
and now that the app_process pointer is cached, each 'type = foo'
app_process handler is bootstrapped / instantiated only once,
instead of multiple times as before.
Alan T. DeKok [Fri, 13 Nov 2020 17:50:44 +0000 (12:50 -0500)]
cache the entire dl_module_inst_t* for packet types
which means that we can not only get the process function by name
as before, but we also have full access to the data for calling
bootstrap, instantiate, etc.
Alan T. DeKok [Fri, 13 Nov 2020 17:38:24 +0000 (12:38 -0500)]
rename variable
Alan T. DeKok [Fri, 13 Nov 2020 16:07:46 +0000 (11:07 -0500)]
move proto name argument to be a little cleaner
Alan T. DeKok [Fri, 13 Nov 2020 16:05:12 +0000 (11:05 -0500)]
remove code_allowed[code]. It's redundant with type_submodule_by_code
Alan T. DeKok [Fri, 13 Nov 2020 16:01:19 +0000 (11:01 -0500)]
move settings of type_submodule_by_name to the type_parse function
Alan T. DeKok [Thu, 12 Nov 2020 20:46:07 +0000 (15:46 -0500)]
pull necessary work from fr_app_process_type_parse()
in preparation for drastically simplifying the booting process
Alan T. DeKok [Thu, 12 Nov 2020 20:38:15 +0000 (15:38 -0500)]
initialize "code"
Alan T. DeKok [Thu, 12 Nov 2020 20:27:20 +0000 (15:27 -0500)]
we don't use recv/send sections for control sockets
so might as well nuke them
Alan T. DeKok [Thu, 12 Nov 2020 20:23:16 +0000 (15:23 -0500)]
remove unused code
Alan T. DeKok [Thu, 12 Nov 2020 20:17:25 +0000 (15:17 -0500)]
remove unused files
Arran Cudbard-Bell [Fri, 13 Nov 2020 18:39:10 +0000 (12:39 -0600)]
Return the reply packet type
Arran Cudbard-Bell [Fri, 13 Nov 2020 18:13:46 +0000 (12:13 -0600)]
Helps to set the extent
Arran Cudbard-Bell [Fri, 13 Nov 2020 18:10:37 +0000 (12:10 -0600)]
fr_pair_list_copy should append not prepend
Arran Cudbard-Bell [Fri, 13 Nov 2020 17:44:05 +0000 (11:44 -0600)]
Fixup = and += with nested LHS for callers of map_to_request
This gives at least partial nesting functionality for LDAP, SQL maps, and redis_ippool
Add support for nested attribute references for ':=', '=', '+='
Arran Cudbard-Bell [Fri, 13 Nov 2020 16:15:01 +0000 (10:15 -0600)]
Add tmpl_extents_debug
Arran Cudbard-Bell [Fri, 13 Nov 2020 15:31:41 +0000 (09:31 -0600)]
Force cleanup
Arran Cudbard-Bell [Fri, 13 Nov 2020 15:27:26 +0000 (09:27 -0600)]
Typo
Arran Cudbard-Bell [Fri, 13 Nov 2020 15:22:18 +0000 (09:22 -0600)]
Hide the big callergraphs
Arran Cudbard-Bell [Fri, 13 Nov 2020 00:22:30 +0000 (18:22 -0600)]
Better group names
Arran Cudbard-Bell [Fri, 13 Nov 2020 00:16:19 +0000 (18:16 -0600)]
Typo
Arran Cudbard-Bell [Fri, 13 Nov 2020 00:09:35 +0000 (18:09 -0600)]
Should be private
Arran Cudbard-Bell [Fri, 13 Nov 2020 00:08:06 +0000 (18:08 -0600)]
Disable subgrouping. We control the grouping not doxygen.
Arran Cudbard-Bell [Thu, 12 Nov 2020 23:29:00 +0000 (17:29 -0600)]
Clearer docs for fr_dbuff_extend_t
Arran Cudbard-Bell [Thu, 12 Nov 2020 23:25:54 +0000 (17:25 -0600)]
Clearer docs for _status in #fr_dbuff_extend_lowat
Arran Cudbard-Bell [Thu, 12 Nov 2020 23:17:01 +0000 (17:17 -0600)]
More fixes
Arran Cudbard-Bell [Thu, 12 Nov 2020 22:46:02 +0000 (16:46 -0600)]
Repetition
Arran Cudbard-Bell [Thu, 12 Nov 2020 22:43:00 +0000 (16:43 -0600)]
Make the warnings around caching pointers clearer
Arran Cudbard-Bell [Thu, 12 Nov 2020 22:36:31 +0000 (16:36 -0600)]
Shuffle the fr_dbuff_extend_t typedef around
Arran Cudbard-Bell [Thu, 12 Nov 2020 20:25:57 +0000 (14:25 -0600)]
Helps to provide a valid example
Arran Cudbard-Bell [Thu, 12 Nov 2020 20:23:55 +0000 (14:23 -0600)]
Typo
Terry Burton [Thu, 12 Nov 2020 20:21:11 +0000 (20:21 +0000)]
CI: No need to call apt-get update after add-apt-repository (#3745)
Arran Cudbard-Bell [Thu, 12 Nov 2020 20:20:37 +0000 (14:20 -0600)]
Fix order
Arran Cudbard-Bell [Thu, 12 Nov 2020 20:14:11 +0000 (14:14 -0600)]
More consistent description of accessors
Arran Cudbard-Bell [Thu, 12 Nov 2020 20:09:54 +0000 (14:09 -0600)]
Posessive...
Arran Cudbard-Bell [Thu, 12 Nov 2020 20:08:05 +0000 (14:08 -0600)]
Ommit this
Arran Cudbard-Bell [Thu, 12 Nov 2020 20:04:46 +0000 (14:04 -0600)]
Yet more tweaks
Arran Cudbard-Bell [Thu, 12 Nov 2020 19:57:53 +0000 (13:57 -0600)]
Update target dir
Arran Cudbard-Bell [Thu, 12 Nov 2020 19:54:40 +0000 (13:54 -0600)]
More tweaks
Terry Burton [Thu, 12 Nov 2020 19:36:13 +0000 (19:36 +0000)]
CI: Use pre-installed DBs since containers are slow to start (#3744)
Arran Cudbard-Bell [Thu, 12 Nov 2020 19:31:28 +0000 (13:31 -0600)]
Typo
Arran Cudbard-Bell [Thu, 12 Nov 2020 19:30:47 +0000 (13:30 -0600)]
Cleanup doxygen output for dbuff
Arran Cudbard-Bell [Thu, 12 Nov 2020 17:51:13 +0000 (11:51 -0600)]
Mark things as private
Arran Cudbard-Bell [Thu, 12 Nov 2020 17:50:41 +0000 (11:50 -0600)]
More doxygen
Arran Cudbard-Bell [Thu, 12 Nov 2020 17:23:32 +0000 (11:23 -0600)]
Deploy documentation to github pages
Arran Cudbard-Bell [Thu, 12 Nov 2020 16:52:09 +0000 (10:52 -0600)]
More doxygen
Alan T. DeKok [Thu, 12 Nov 2020 16:38:08 +0000 (11:38 -0500)]
shut up static analyzer
Alan T. DeKok [Thu, 12 Nov 2020 16:36:30 +0000 (11:36 -0500)]
make `type = ...` parsers use new function
Alan T. DeKok [Thu, 12 Nov 2020 16:33:03 +0000 (11:33 -0500)]
add fr_app_process_type_parse()
to abstract all of the common parsing of `type = ...`
Alan T. DeKok [Thu, 12 Nov 2020 15:16:32 +0000 (10:16 -0500)]
use Packet-Type for names, not Message-Type
Alan T. DeKok [Thu, 12 Nov 2020 15:06:50 +0000 (10:06 -0500)]
give a better error message than "internal sanity check failed"
Alan T. DeKok [Thu, 12 Nov 2020 15:06:03 +0000 (10:06 -0500)]
unknown attributes can still be created if the dictionaries are read-only
otherwise we're unable to create _any_ unknown attributes at run-time.
Alan T. DeKok [Thu, 12 Nov 2020 13:17:12 +0000 (08:17 -0500)]
typo
Arran Cudbard-Bell [Thu, 12 Nov 2020 01:55:06 +0000 (19:55 -0600)]
Always initialise rcode
Arran Cudbard-Bell [Thu, 12 Nov 2020 01:39:47 +0000 (19:39 -0600)]
Fix yielding from eap_method_select
Arran Cudbard-Bell [Thu, 12 Nov 2020 01:29:41 +0000 (19:29 -0600)]
Doxygen