]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 7 May 2018 15:34:00 +0000 (11:34 -0400)]
add dictionary directory to fr_dict_autoload()
Alan T. DeKok [Mon, 7 May 2018 15:16:17 +0000 (11:16 -0400)]
more work towards ON_LOAD autoload of dictionaries
fr_dict_autoload_t likely needs to have base_dir removed,
and instead passed in as a function parameter. That should
then work.
Alan T. DeKok [Mon, 7 May 2018 15:08:22 +0000 (11:08 -0400)]
run ON_READ rules when CONF_SECTION is allocated
Alan T. DeKok [Mon, 7 May 2018 15:04:55 +0000 (11:04 -0400)]
over-write replacement in place
Alan T. DeKok [Mon, 7 May 2018 15:02:37 +0000 (11:02 -0400)]
it's a pointer, not a pointer to a pointer
Alan T. DeKok [Mon, 7 May 2018 12:25:08 +0000 (08:25 -0400)]
cf_section_alloc() now adds itself to the parent automatically
this is more in line with the rest of the APIs. And, with the
way that cf_section_alloc() was being called.
Alan T. DeKok [Mon, 7 May 2018 12:23:58 +0000 (08:23 -0400)]
need dl_init() here, too
Alan T. DeKok [Mon, 7 May 2018 12:17:54 +0000 (08:17 -0400)]
added ON_READ for parsing callback functions when reading files
Alan T. DeKok [Sun, 6 May 2018 21:36:10 +0000 (17:36 -0400)]
remove unhelpful warning
Alan T. DeKok [Sun, 6 May 2018 21:32:42 +0000 (17:32 -0400)]
explicitly call dl_init()
Alan T. DeKok [Sun, 6 May 2018 21:28:00 +0000 (17:28 -0400)]
let's just use VMPS
Alan T. DeKok [Sun, 6 May 2018 12:17:00 +0000 (08:17 -0400)]
notes on autoloading proto_FOO dictionaries
Alan T. DeKok [Sun, 6 May 2018 12:14:13 +0000 (08:14 -0400)]
add boilerplate for autoload
Alan T. DeKok [Sat, 5 May 2018 12:03:14 +0000 (08:03 -0400)]
decode VMPS packets using new method
it doesn't do unknown / raw attrs, but that can be fixed later.
Alan T. DeKok [Sat, 5 May 2018 11:52:04 +0000 (07:52 -0400)]
hack to load dictionary.vqp outselves
Alan T. DeKok [Sat, 5 May 2018 11:48:07 +0000 (07:48 -0400)]
try to autoload VMPS / VQP dict.
doesn't seem to work, because autoloads are only registered
for rlm_*, and not proto_*?
Alan T. DeKok [Sat, 5 May 2018 11:41:07 +0000 (07:41 -0400)]
use correct names here, too
Alan T. DeKok [Sat, 5 May 2018 11:36:52 +0000 (07:36 -0400)]
this isn't needed any more
Alan T. DeKok [Fri, 4 May 2018 18:25:46 +0000 (14:25 -0400)]
notes that VMPS doesn't have clients, and we likely want
to fix this...
Alan T. DeKok [Fri, 4 May 2018 18:23:57 +0000 (14:23 -0400)]
preliminary updates for VMPS
Alan T. DeKok [Fri, 4 May 2018 17:13:16 +0000 (13:13 -0400)]
remove unused variable
Alan T. DeKok [Fri, 4 May 2018 16:59:43 +0000 (12:59 -0400)]
use vqp_decode as-is
Alan T. DeKok [Fri, 4 May 2018 16:54:56 +0000 (12:54 -0400)]
added fr_vmps_encode()
Alan T. DeKok [Fri, 4 May 2018 16:24:51 +0000 (12:24 -0400)]
move to new method of handling listeners
still have to re-do raw encode/decode functions, but it's a
good start
Alan T. DeKok [Fri, 4 May 2018 15:40:52 +0000 (11:40 -0400)]
move to new methods
Alan T. DeKok [Fri, 4 May 2018 15:36:41 +0000 (11:36 -0400)]
add fr_vmps_print_hex()
Alan T. DeKok [Fri, 4 May 2018 15:31:42 +0000 (11:31 -0400)]
8 hexits, not 4
Alan T. DeKok [Fri, 4 May 2018 15:19:17 +0000 (11:19 -0400)]
don't need secrets for some protocols
Alan T. DeKok [Fri, 4 May 2018 15:18:23 +0000 (11:18 -0400)]
VMPS packets are small.
Alan T. DeKok [Fri, 4 May 2018 15:18:09 +0000 (11:18 -0400)]
need this, too...
Alan T. DeKok [Fri, 4 May 2018 15:17:05 +0000 (11:17 -0400)]
added fr_vmps_codes
Alan T. DeKok [Fri, 4 May 2018 14:52:09 +0000 (10:52 -0400)]
added dynamic client handler
this should really be protocol-agnostic, but...
Alan T. DeKok [Fri, 4 May 2018 13:56:21 +0000 (09:56 -0400)]
smash it all into new format
copy proto_radius stuff over, hack it so that it works for VMPS,
and commit it.
We still need to fix up proto_vmps, and the base encode/decode
functions. But this part compiles, so it's committed
Alan DeKok [Fri, 4 May 2018 16:28:38 +0000 (12:28 -0400)]
Merge pull request #2224 from nchaigne/4.0.x-201805-dhcpv4-empty-value
Encoding of empty DHCP options
nchaigne [Fri, 4 May 2018 15:36:11 +0000 (17:36 +0200)]
Encoding of empty DHCP options
DHCP options can be empty.
See https://tools.ietf.org/html/rfc4039: "Rapid Commit" always has a len of 0.
The encoding doesn't support this currently.
(I think it worked before, but was broken by https://github.com/FreeRADIUS/freeradius-server/pull/2209 - my bad).
So here's another fix, to support encoding of empty DHCP options.
I also updated (and passed) the dhcp4 unit tests.
Arran Cudbard-Bell [Fri, 4 May 2018 10:04:21 +0000 (16:04 +0600)]
Remove fr_pair_list_copy_by_num, it's not actually used anywhere
Alan T. DeKok [Thu, 3 May 2018 22:36:23 +0000 (18:36 -0400)]
typos
Alan T. DeKok [Thu, 3 May 2018 22:34:37 +0000 (18:34 -0400)]
listen on "*" for TCP
Alan T. DeKok [Thu, 3 May 2018 21:45:46 +0000 (17:45 -0400)]
doxygen
Alan T. DeKok [Thu, 3 May 2018 21:44:40 +0000 (17:44 -0400)]
don't enable dynamic clients in the default config
Alan T. DeKok [Thu, 3 May 2018 21:43:03 +0000 (17:43 -0400)]
shut up stupid compiler
Alan T. DeKok [Thu, 3 May 2018 17:41:47 +0000 (13:41 -0400)]
doxygen
Alan T. DeKok [Thu, 3 May 2018 17:40:43 +0000 (13:40 -0400)]
handle leftover
Alan T. DeKok [Thu, 3 May 2018 17:20:02 +0000 (13:20 -0400)]
let's default to UDP
Alan T. DeKok [Thu, 3 May 2018 17:17:43 +0000 (13:17 -0400)]
pause reading only after reading one packet
Alan T. DeKok [Thu, 3 May 2018 17:10:57 +0000 (13:10 -0400)]
document TCP transport
Alan T. DeKok [Thu, 3 May 2018 17:05:57 +0000 (13:05 -0400)]
typo.
Alan T. DeKok [Thu, 3 May 2018 17:05:26 +0000 (13:05 -0400)]
always call fr_network_error() on socket error
and call app_io->error only if it's set
Alan T. DeKok [Thu, 3 May 2018 16:30:51 +0000 (12:30 -0400)]
typo
Alan T. DeKok [Thu, 3 May 2018 16:29:37 +0000 (12:29 -0400)]
start of TCP
it works for sending basic packets, but crashes on exit
Alan T. DeKok [Thu, 3 May 2018 16:25:47 +0000 (12:25 -0400)]
print actual error before assertion
Alan T. DeKok [Thu, 3 May 2018 16:10:45 +0000 (12:10 -0400)]
define and call fd_set() for TCP sockets
Alan T. DeKok [Thu, 3 May 2018 15:55:46 +0000 (11:55 -0400)]
place-holders for TCP sockets
Alan T. DeKok [Thu, 3 May 2018 15:37:34 +0000 (11:37 -0400)]
handle leftover bytes properly for TCP
Alan T. DeKok [Thu, 3 May 2018 15:34:41 +0000 (11:34 -0400)]
add place-holder FD to connection_alloc
Alan T. DeKok [Thu, 3 May 2018 15:31:52 +0000 (11:31 -0400)]
move enforcment / counting to connection_alloc
Alan T. DeKok [Thu, 3 May 2018 14:56:22 +0000 (10:56 -0400)]
use correct name
Arran Cudbard-Bell [Wed, 2 May 2018 03:55:02 +0000 (07:55 +0400)]
Fix sign issue
Arran Cudbard-Bell [Wed, 2 May 2018 00:39:52 +0000 (04:39 +0400)]
Autoload rlm_eap_fast attrs
Arran Cudbard-Bell [Wed, 2 May 2018 00:34:19 +0000 (04:34 +0400)]
Change autoload functions to iterate over an array of autoload structures
Arran Cudbard-Bell [Wed, 2 May 2018 00:33:46 +0000 (04:33 +0400)]
Add init functions to the eap base library
Arran Cudbard-Bell [Wed, 2 May 2018 00:32:00 +0000 (04:32 +0400)]
Fix autoload definitions in rlm_wimax
This was done before we started using the autoload scripts
Arran Cudbard-Bell [Wed, 2 May 2018 00:31:19 +0000 (04:31 +0400)]
Formatting
Arran Cudbard-Bell [Mon, 30 Apr 2018 10:26:35 +0000 (22:26 +1200)]
Fix minor formatting issue
Alan T. DeKok [Tue, 1 May 2018 14:29:52 +0000 (10:29 -0400)]
don't point to 17 year-old documentation
Alan T. DeKok [Sun, 29 Apr 2018 00:35:22 +0000 (20:35 -0400)]
just use "filename"
Arran Cudbard-Bell [Mon, 30 Apr 2018 10:17:00 +0000 (22:17 +1200)]
Look for attributes in more function calls
Arran Cudbard-Bell [Mon, 30 Apr 2018 09:46:45 +0000 (21:46 +1200)]
Autoload rlm_eap_sim attr
Arran Cudbard-Bell [Mon, 30 Apr 2018 09:24:07 +0000 (21:24 +1200)]
Fix typo in rlm_eap_aka autoload symbol
Arran Cudbard-Bell [Mon, 30 Apr 2018 09:23:53 +0000 (21:23 +1200)]
Show which symbols we're checking for on autoload
Arran Cudbard-Bell [Sun, 29 Apr 2018 23:49:40 +0000 (11:49 +1200)]
Root is looked up for us too
Arran Cudbard-Bell [Sun, 29 Apr 2018 23:46:40 +0000 (11:46 +1200)]
Autoload rlm_eap_aka attrs
Arran Cudbard-Bell [Sun, 29 Apr 2018 23:16:57 +0000 (11:16 +1200)]
Fix minor leak in proto_radius.c
Arran Cudbard-Bell [Sun, 29 Apr 2018 12:22:48 +0000 (00:22 +1200)]
Autoload rlm_radius_udp attributes
Arran Cudbard-Bell [Sun, 29 Apr 2018 12:08:34 +0000 (00:08 +1200)]
Autoload rlm_radius attrs
Arran Cudbard-Bell [Sun, 29 Apr 2018 12:01:39 +0000 (00:01 +1200)]
Better ordering
Arran Cudbard-Bell [Sun, 29 Apr 2018 11:44:11 +0000 (23:44 +1200)]
Add script for generating autoloader definitions in case someone else wants to help
Arran Cudbard-Bell [Sun, 29 Apr 2018 11:42:33 +0000 (23:42 +1200)]
Move the dict autoload defs under their variables
Arran Cudbard-Bell [Sun, 29 Apr 2018 10:22:45 +0000 (22:22 +1200)]
Fix radict to work with current dictionary structure, and print flags
Arran Cudbard-Bell [Sun, 29 Apr 2018 10:22:29 +0000 (22:22 +1200)]
Expose dict flag printing function
Alan T. DeKok [Sat, 28 Apr 2018 14:29:19 +0000 (10:29 -0400)]
fix typos in example
Arran Cudbard-Bell [Sat, 28 Apr 2018 00:16:15 +0000 (12:16 +1200)]
Autoload proto_detail attributes
Arran Cudbard-Bell [Fri, 27 Apr 2018 12:43:10 +0000 (00:43 +1200)]
Use macro for RDEBUG
Arran Cudbard-Bell [Fri, 27 Apr 2018 07:08:14 +0000 (19:08 +1200)]
Use lower case 'authenticate' section names in the default config. Fixes #2220
Arran Cudbard-Bell [Fri, 27 Apr 2018 06:54:19 +0000 (18:54 +1200)]
Closes #2221 ${.:instance} automatically uses name1 if there's no name2 so ${.:name} is not needed
Alan T. DeKok [Thu, 26 Apr 2018 18:12:37 +0000 (14:12 -0400)]
remove unused global configurations
Alan T. DeKok [Thu, 26 Apr 2018 13:05:49 +0000 (09:05 -0400)]
move instantiation to proper function
Alan T. DeKok [Thu, 26 Apr 2018 12:15:36 +0000 (08:15 -0400)]
add UNUSED
Arran Cudbard-Bell [Thu, 26 Apr 2018 09:23:28 +0000 (21:23 +1200)]
Log messages are not doxygen blocks
Alan T. DeKok [Thu, 26 Apr 2018 02:40:38 +0000 (22:40 -0400)]
a better fix for the last commit
Alan T. DeKok [Thu, 26 Apr 2018 02:33:35 +0000 (22:33 -0400)]
don't over-write server_cs
Alan T. DeKok [Thu, 26 Apr 2018 02:20:01 +0000 (22:20 -0400)]
assertions are better than opaque errors
Alan T. DeKok [Thu, 26 Apr 2018 02:11:18 +0000 (22:11 -0400)]
initialize trie, even if we don't have dynamic clients
Arran Cudbard-Bell [Thu, 26 Apr 2018 01:23:23 +0000 (13:23 +1200)]
tmpl_expand returns signed value
Alan T. DeKok [Wed, 25 Apr 2018 23:12:51 +0000 (19:12 -0400)]
add "client find" function
which should be in the app_io anyways...
Alan T. DeKok [Wed, 25 Apr 2018 23:10:10 +0000 (19:10 -0400)]
client_clone is only needed by master.c, so put it there
Arran Cudbard-Bell [Wed, 25 Apr 2018 23:11:49 +0000 (11:11 +1200)]
Run on lines are hard to read
Alan T. DeKok [Wed, 25 Apr 2018 18:13:55 +0000 (14:13 -0400)]
printf fixes
Alan T. DeKok [Wed, 25 Apr 2018 17:25:42 +0000 (13:25 -0400)]
we need this too, apparently.
Alan T. DeKok [Wed, 25 Apr 2018 16:53:31 +0000 (12:53 -0400)]
remove last vestiges of proto_radius