]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
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
Arran Cudbard-Bell [Fri, 25 May 2018 09:47:00 +0000 (15:47 +0600)]
Rename arg to instance in EAP methods
Arran Cudbard-Bell [Fri, 25 May 2018 09:13:15 +0000 (15:13 +0600)]
Unused structure
Arran Cudbard-Bell [Fri, 25 May 2018 09:10:18 +0000 (15:10 +0600)]
Missed use of da
Arran Cudbard-Bell [Fri, 25 May 2018 09:10:07 +0000 (15:10 +0600)]
Rename the initial state field (previously process) to 'entry_point'
...to make it clear that it's the entry point to the function based state machines that we're meant to be creating, but seem to have ended up using switch statements instead.
Arran Cudbard-Bell [Fri, 25 May 2018 09:03:11 +0000 (15:03 +0600)]
Rename the initial state field in EAP types to entry_point
Arran Cudbard-Bell [Fri, 25 May 2018 07:47:50 +0000 (13:47 +0600)]
Autoload attr_packet_type in proto_radius
Arran Cudbard-Bell [Fri, 25 May 2018 07:39:26 +0000 (13:39 +0600)]
Parse priorities with the standard framework
Arran Cudbard-Bell [Fri, 25 May 2018 06:58:37 +0000 (12:58 +0600)]
Formatting and typos
Arran Cudbard-Bell [Fri, 25 May 2018 06:57:41 +0000 (12:57 +0600)]
Gets date_utc from the log structure
Arran Cudbard-Bell [Fri, 25 May 2018 06:56:48 +0000 (12:56 +0600)]
Document everything in application.h
Arran Cudbard-Bell [Fri, 25 May 2018 06:56:31 +0000 (12:56 +0600)]
Formatting
Arran Cudbard-Bell [Fri, 25 May 2018 03:25:22 +0000 (09:25 +0600)]
Use the correct operator
Arran Cudbard-Bell [Fri, 25 May 2018 02:41:25 +0000 (08:41 +0600)]
Move redis library to src/lib/redis
Arran Cudbard-Bell [Thu, 24 May 2018 15:57:41 +0000 (21:57 +0600)]
Fix more JSON related things
Arran Cudbard-Bell [Thu, 24 May 2018 15:46:37 +0000 (21:46 +0600)]
Fix json .gitignore
Arran Cudbard-Bell [Thu, 24 May 2018 15:45:39 +0000 (21:45 +0600)]
Move json library into src/lib/
Arran Cudbard-Bell [Thu, 24 May 2018 15:35:30 +0000 (21:35 +0600)]
Fix memory leak in pcap_apply_filter
Arran Cudbard-Bell [Thu, 24 May 2018 11:28:06 +0000 (17:28 +0600)]
Fix naming conflict with osmocom
Arran Cudbard-Bell [Thu, 24 May 2018 11:16:12 +0000 (17:16 +0600)]
Pedantic compiler
Arran Cudbard-Bell [Thu, 24 May 2018 10:51:15 +0000 (16:51 +0600)]
Fix setting auth_type in rlm_yubikey
Arran Cudbard-Bell [Thu, 24 May 2018 10:44:56 +0000 (16:44 +0600)]
Remove pointer output
Arran Cudbard-Bell [Thu, 24 May 2018 10:41:44 +0000 (16:41 +0600)]
Line up columns
Arran Cudbard-Bell [Thu, 24 May 2018 10:39:32 +0000 (16:39 +0600)]
Minor memory efficiency improvements in dictionaries
There's no advantage to using individual pools for attribute names as all attributes are allocated within a pool which ensures the name buffer allocation is contiguous.
Arran Cudbard-Bell [Thu, 24 May 2018 09:22:13 +0000 (15:22 +0600)]
Reduce amount of memory pre-allocated for dictionaries
Arran Cudbard-Bell [Thu, 24 May 2018 08:27:10 +0000 (14:27 +0600)]
...and the rest
Arran Cudbard-Bell [Thu, 24 May 2018 08:22:24 +0000 (14:22 +0600)]
Use actual autofree context so we don't have spurious leak messages
Arran Cudbard-Bell [Thu, 24 May 2018 07:52:34 +0000 (13:52 +0600)]
Fix lsan_interface stupidity
Arran Cudbard-Bell [Thu, 24 May 2018 07:44:35 +0000 (13:44 +0600)]
Move declaration of virtual_servers_on_read_config