]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Thu, 31 May 2018 18:43:50 +0000 (00:43 +0600)]
Clear out strerror buffer to avoid spurious error messages
Arran Cudbard-Bell [Thu, 31 May 2018 18:34:16 +0000 (00:34 +0600)]
Don't cast to int‽
No idea what this was there
Arran Cudbard-Bell [Thu, 31 May 2018 18:22:47 +0000 (00:22 +0600)]
Fixup test
Arran Cudbard-Bell [Thu, 31 May 2018 18:21:44 +0000 (00:21 +0600)]
Print the full attribute name on error
Arran Cudbard-Bell [Thu, 31 May 2018 17:09:45 +0000 (23:09 +0600)]
vp has to be left pointing to the head of the list returned by fr_pair_list_afrom_str, else the block termination check doesn't work
Alan T. DeKok [Thu, 31 May 2018 15:34:34 +0000 (11:34 -0400)]
filter files can't be empty.
Arran Cudbard-Bell [Thu, 31 May 2018 12:46:53 +0000 (18:46 +0600)]
Add log directory archival script
Alan T. DeKok [Thu, 31 May 2018 11:06:39 +0000 (07:06 -0400)]
don't use track after freeing it
Arran Cudbard-Bell [Thu, 31 May 2018 09:29:59 +0000 (15:29 +0600)]
Copy errbuf contents to fr error buffer
Philippe Wooding [Tue, 29 May 2018 21:17:33 +0000 (21:17 +0000)]
Convert rand xlat to new API
Arran Cudbard-Bell [Thu, 31 May 2018 07:29:19 +0000 (13:29 +0600)]
Example .clang-format config which gets us somewhere close to the formatting style we use today
Arran Cudbard-Bell [Thu, 31 May 2018 06:33:38 +0000 (12:33 +0600)]
Use autoloaded attr_request_lifetime
Arran Cudbard-Bell [Thu, 31 May 2018 06:32:09 +0000 (12:32 +0600)]
Remove delete_by_num
Arran Cudbard-Bell [Thu, 31 May 2018 05:34:47 +0000 (11:34 +0600)]
Missed autoload definition
Arran Cudbard-Bell [Thu, 31 May 2018 05:00:00 +0000 (11:00 +0600)]
Remove extra format specifier
Arran Cudbard-Bell [Thu, 31 May 2018 04:58:34 +0000 (10:58 +0600)]
Don't need to dereference name
Alan T. DeKok [Thu, 31 May 2018 00:58:54 +0000 (20:58 -0400)]
remove unused assignments
Alan T. DeKok [Thu, 31 May 2018 00:04:42 +0000 (20:04 -0400)]
use error string
Alan T. DeKok [Wed, 30 May 2018 19:59:31 +0000 (15:59 -0400)]
free pending packets before freeing the table that references them
Arran Cudbard-Bell [Wed, 30 May 2018 16:56:07 +0000 (22:56 +0600)]
Doxygen
Arran Cudbard-Bell [Wed, 30 May 2018 16:53:59 +0000 (22:53 +0600)]
Return 0 not NULL in substr functions
Arran Cudbard-Bell [Wed, 30 May 2018 16:31:56 +0000 (22:31 +0600)]
missed label
Arran Cudbard-Bell [Wed, 30 May 2018 16:31:36 +0000 (22:31 +0600)]
Add an extremely bare bones pair deserializer for things like the detail reader and other string based protocols
Arran Cudbard-Bell [Wed, 30 May 2018 15:17:24 +0000 (21:17 +0600)]
Fix more instances of manual escaping
Arran Cudbard-Bell [Wed, 30 May 2018 15:13:36 +0000 (21:13 +0600)]
The correct macro is isspace
Arran Cudbard-Bell [Wed, 30 May 2018 15:12:19 +0000 (21:12 +0600)]
Add protocol attribute in internal dictionary, we'll automatically populate it with all the protocols later
Arran Cudbard-Bell [Wed, 30 May 2018 15:11:37 +0000 (21:11 +0600)]
Free anything we alloc in mod_decode if decoding the detail entry fails
Not strictly necessary but usually a good thing to do
Arran Cudbard-Bell [Wed, 30 May 2018 15:10:41 +0000 (21:10 +0600)]
Additional autoload boilerplate in proto_detail
Arran Cudbard-Bell [Wed, 30 May 2018 11:41:33 +0000 (17:41 +0600)]
Pass quote and taint through to fr_pair_value_from_str
Arran Cudbard-Bell [Wed, 30 May 2018 06:13:54 +0000 (12:13 +0600)]
Convert dict substr functions so they return number of bytes parsed
Arran Cudbard-Bell [Wed, 30 May 2018 06:10:31 +0000 (12:10 +0600)]
Fixup tmpl_define_undefined_attr to take a default dictionary
Arran Cudbard-Bell [Wed, 30 May 2018 05:46:43 +0000 (11:46 +0600)]
Add dictionary pointer to request, and use it to qualify name based dictionary lookups
Alan T. DeKok [Tue, 29 May 2018 15:33:05 +0000 (11:33 -0400)]
just use attr_name instead of attr_dhcp_name
we already know that this is DHCPv4
Alan T. DeKok [Tue, 29 May 2018 15:31:51 +0000 (11:31 -0400)]
use correct name for magic stuff.
This should really be in a macro, and then used for both
the dictionary loader, and the structure name
Alan T. DeKok [Tue, 29 May 2018 15:10:38 +0000 (11:10 -0400)]
set src/dst IP for packets appropriately
Alan T. DeKok [Tue, 29 May 2018 14:54:04 +0000 (10:54 -0400)]
warn / error on no YIADDR
Alan T. DeKok [Tue, 29 May 2018 01:26:38 +0000 (21:26 -0400)]
drop replies if we fail on discover
Arran Cudbard-Bell [Tue, 29 May 2018 09:53:45 +0000 (15:53 +0600)]
Pass in dict when searching for duplicate names in dict_unknown_afrom_fields
Arran Cudbard-Bell [Tue, 29 May 2018 09:40:59 +0000 (15:40 +0600)]
Fix IV search
Missed bounds check, wrong offset fed to sim_iv_extract function
Turns out this wasn't actually being tested due to issues in the test ctx initialisation code
Arran Cudbard-Bell [Tue, 29 May 2018 08:37:52 +0000 (14:37 +0600)]
Fixup EAP-SIM/AKA encode/decode ctxs
Arran Cudbard-Bell [Tue, 29 May 2018 08:37:13 +0000 (14:37 +0600)]
Use sim algo attribute
Arran Cudbard-Bell [Tue, 29 May 2018 08:34:17 +0000 (14:34 +0600)]
Missed conversion
Arran Cudbard-Bell [Tue, 29 May 2018 08:09:00 +0000 (14:09 +0600)]
Fixup priority parsing
If we *really* want to hide this we should add a parser flag
Arran Cudbard-Bell [Tue, 29 May 2018 05:10:21 +0000 (11:10 +0600)]
More autoload fixups
Alan T. DeKok [Mon, 28 May 2018 20:59:56 +0000 (16:59 -0400)]
set opcode properly, and also hops
Alan T. DeKok [Mon, 28 May 2018 20:56:59 +0000 (16:56 -0400)]
initialize reply from request
Alan T. DeKok [Mon, 28 May 2018 20:51:11 +0000 (16:51 -0400)]
use correct name
Alan T. DeKok [Mon, 28 May 2018 20:48:31 +0000 (16:48 -0400)]
values for message type are uint8, not uint32
Alan T. DeKok [Mon, 28 May 2018 20:46:55 +0000 (16:46 -0400)]
ensure VP is set to NULL when it's freed
Alan T. DeKok [Mon, 28 May 2018 20:44:57 +0000 (16:44 -0400)]
set packet_len
Alan T. DeKok [Mon, 28 May 2018 20:43:00 +0000 (16:43 -0400)]
we use "transport" and not "protocol"
Alan T. DeKok [Mon, 28 May 2018 20:38:21 +0000 (16:38 -0400)]
fix type to lib name check
Alan T. DeKok [Mon, 28 May 2018 18:42:48 +0000 (14:42 -0400)]
do RFC 2131 checks on destination IPs for DHCP packets
Alan T. DeKok [Mon, 28 May 2018 17:52:37 +0000 (13:52 -0400)]
we don't respond to DECLINEs, either
Alan T. DeKok [Mon, 28 May 2018 17:36:45 +0000 (13:36 -0400)]
remove old RADIUS stuff
Arran Cudbard-Bell [Mon, 28 May 2018 12:14:08 +0000 (18:14 +0600)]
Move auth_name() into proto_radius_auth
Arran Cudbard-Bell [Mon, 28 May 2018 11:50:36 +0000 (17:50 +0600)]
Move state tree init and configuration to proto_radius_auth
We should add a mechanism for sharing the state trees between listeners in future.
Arran Cudbard-Bell [Mon, 28 May 2018 10:27:29 +0000 (16:27 +0600)]
Merge pull request #2237 from pwdng/xlat_md5
Convert MD5 xlat to new API
Philippe Wooding [Fri, 25 May 2018 12:12:38 +0000 (12:12 +0000)]
Convert md5 xlat to new API
Arran Cudbard-Bell [Mon, 28 May 2018 09:10:23 +0000 (15:10 +0600)]
A few more cursor conversions...
Arran Cudbard-Bell [Mon, 28 May 2018 08:58:22 +0000 (14:58 +0600)]
Doxygen
Arran Cudbard-Bell [Mon, 28 May 2018 08:42:47 +0000 (14:42 +0600)]
Simplify state API
Arran Cudbard-Bell [Mon, 28 May 2018 08:34:34 +0000 (14:34 +0600)]
Missed rename
Arran Cudbard-Bell [Mon, 28 May 2018 08:24:42 +0000 (14:24 +0600)]
Fixup DHCP attributes in rlm_soh
Arran Cudbard-Bell [Mon, 28 May 2018 08:18:30 +0000 (14:18 +0600)]
Remove fr_dict_attr_by_num
There's still fr_dict_child_attr_by_num which should be used instead
Arran Cudbard-Bell [Mon, 28 May 2018 08:14:31 +0000 (14:14 +0600)]
More cursor conversions
Arran Cudbard-Bell [Mon, 28 May 2018 06:12:53 +0000 (12:12 +0600)]
Remove state calls from the old state machine
Arran Cudbard-Bell [Mon, 28 May 2018 05:49:03 +0000 (11:49 +0600)]
Remove more calls to fr_dict_attr_num
Arran Cudbard-Bell [Mon, 28 May 2018 05:48:41 +0000 (11:48 +0600)]
Split out VQP into a library
Arran Cudbard-Bell [Mon, 28 May 2018 05:12:48 +0000 (11:12 +0600)]
Autoload proto_radius_coa attribute
Arran Cudbard-Bell [Mon, 28 May 2018 05:09:25 +0000 (11:09 +0600)]
Autoload proto_vmps_all attributes
Arran Cudbard-Bell [Mon, 28 May 2018 04:59:42 +0000 (10:59 +0600)]
Autoload proto_vmps_dynamic_client attributes
Arran Cudbard-Bell [Mon, 28 May 2018 04:55:26 +0000 (10:55 +0600)]
Autoload unpack attributes
Arran Cudbard-Bell [Mon, 28 May 2018 04:53:15 +0000 (10:53 +0600)]
Fix usages of the old sim/aka root attributes
Arran Cudbard-Bell [Mon, 28 May 2018 04:24:48 +0000 (10:24 +0600)]
Move dhcp_parameter_request_list into dhcpv4 library
Arran Cudbard-Bell [Mon, 28 May 2018 04:24:29 +0000 (10:24 +0600)]
Use autoloaded attributes in more places in EAP-SIM
Arran Cudbard-Bell [Mon, 28 May 2018 04:03:09 +0000 (10:03 +0600)]
Use new style cursors and autoloaded attributes in SIM library
Arran Cudbard-Bell [Mon, 28 May 2018 03:55:19 +0000 (09:55 +0600)]
Allow token.h to be used standalone
Alan T. DeKok [Mon, 28 May 2018 01:07:11 +0000 (21:07 -0400)]
update docs and examples
Alan T. DeKok [Mon, 28 May 2018 00:57:38 +0000 (20:57 -0400)]
use packet name, not library name for configuration section.
remove unnecessary code.
document changes to the "log" section
Alan T. DeKok [Mon, 28 May 2018 00:44:24 +0000 (20:44 -0400)]
remove wrong comment
Alan T. DeKok [Mon, 28 May 2018 00:41:15 +0000 (20:41 -0400)]
s/fr_app_process_t/fr_app_worker_t/
This structure is called by the worker to process a particular
application
Alan T. DeKok [Mon, 28 May 2018 00:36:19 +0000 (20:36 -0400)]
we don't respond to RELEASE
Alan T. DeKok [Thu, 24 May 2018 15:02:45 +0000 (11:02 -0400)]
we don't reply to RELEASE
so we don't run "send reply" either
Alan T. DeKok [Thu, 24 May 2018 12:53:52 +0000 (08:53 -0400)]
re-add src_ipaddr configuration
Arran Cudbard-Bell [Sun, 27 May 2018 17:11:25 +0000 (23:11 +0600)]
Rename pair_cursor functions to make conversion easier
Arran Cudbard-Bell [Sun, 27 May 2018 17:10:48 +0000 (23:10 +0600)]
Typo
Arran Cudbard-Bell [Sun, 27 May 2018 17:07:55 +0000 (23:07 +0600)]
Use inline functions so we get type validation
Arran Cudbard-Bell [Sun, 27 May 2018 17:02:50 +0000 (23:02 +0600)]
Use fr_cursor_t in exfile.c
Arran Cudbard-Bell [Sun, 27 May 2018 16:57:30 +0000 (22:57 +0600)]
Convert more things to fr_cursor_t
Arran Cudbard-Bell [Sun, 27 May 2018 16:57:10 +0000 (22:57 +0600)]
Fix bug in foreach which used an out of scope variable for the temporary list head
Thanks ASAN!
Arran Cudbard-Bell [Sun, 27 May 2018 16:44:40 +0000 (22:44 +0600)]
use macro to initialise by_da and by_ancestor cursors
Arran Cudbard-Bell [Sun, 27 May 2018 02:49:16 +0000 (08:49 +0600)]
Remove unused var
Arran Cudbard-Bell [Sat, 26 May 2018 14:37:34 +0000 (20:37 +0600)]
I don't know how we can be any clearer...
Arran Cudbard-Bell [Fri, 25 May 2018 11:22:16 +0000 (17:22 +0600)]
Move all the extremely RADIUS specific logging options out of the server core into proto_radius_auth.c
Arran Cudbard-Bell [Fri, 25 May 2018 10:48:11 +0000 (16:48 +0600)]
Unused instance
Arran Cudbard-Bell [Fri, 25 May 2018 10:35:12 +0000 (16:35 +0600)]
Doxygen
Arran Cudbard-Bell [Fri, 25 May 2018 10:25:51 +0000 (16:25 +0600)]
More fixups
Arran Cudbard-Bell [Fri, 25 May 2018 09:49:58 +0000 (15:49 +0600)]
Missed cf_pair_in_table function
Arran Cudbard-Bell [Fri, 25 May 2018 09:49:17 +0000 (15:49 +0600)]
Yes, unfortunately the state machines need instance data too