]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Fri, 22 Jan 2021 16:25:38 +0000 (11:25 -0500)]
add libfreeradius-PROTOCOL.la as dependency of test.unit.PROTOCOL
because GNU make is too stupid to figure it out
Alan T. DeKok [Fri, 22 Jan 2021 16:14:19 +0000 (11:14 -0500)]
allocate child_struct for all key fields
even if it doesn't actually use child structs
Nick Porter [Fri, 22 Jan 2021 12:14:41 +0000 (12:14 +0000)]
Call trigger_args_afrom_server() with a fr_pair_list to populate
rather than allocating a new list in the function
Nick Porter [Fri, 22 Jan 2021 11:18:06 +0000 (11:18 +0000)]
Correct order of parameters in eap_packet_to_vp()
Nick Porter [Fri, 22 Jan 2021 11:09:03 +0000 (11:09 +0000)]
fr_pair_list_clear() is not needed to clear and initialise a list.
fr_pair_list_free() leaves the header in the correct state
Nick Porter [Fri, 22 Jan 2021 11:04:04 +0000 (11:04 +0000)]
Call map_list_mod_to_vps() with a fr_pair_list_t to populate
rather than allocating a new list in the function.
Nick Porter [Wed, 20 Jan 2021 12:49:24 +0000 (12:49 +0000)]
Move cursor tests to correct framework
Nick Porter [Wed, 20 Jan 2021 10:38:14 +0000 (10:38 +0000)]
Remove un-used cursor
Nick Porter [Wed, 20 Jan 2021 10:37:01 +0000 (10:37 +0000)]
Replace cursor functions with pair_list functions in rlm_couchbase.c
Nick Porter [Wed, 20 Jan 2021 10:36:31 +0000 (10:36 +0000)]
Correct docuemntation
Nick Porter [Tue, 19 Jan 2021 17:24:20 +0000 (17:24 +0000)]
Correct method to add pairs to existing list in rlm_mruby.c
Nick Porter [Mon, 18 Jan 2021 13:39:46 +0000 (13:39 +0000)]
Pass pointer to request_pairs to lua_pushlightuserdata()
Nick Porter [Mon, 18 Jan 2021 12:37:55 +0000 (12:37 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_lua/lua.c
Nick Porter [Wed, 13 Jan 2021 08:12:34 +0000 (08:12 +0000)]
Remove final packet->vps references
Nick Porter [Tue, 12 Jan 2021 10:03:49 +0000 (10:03 +0000)]
Use TALLOC_FREE() to free and reset single fr_pair_t
Nick Porter [Mon, 11 Jan 2021 09:41:56 +0000 (09:41 +0000)]
Reworked version of raidus_pairmove()
Rather than break the "to" and "from" lists into arrays, this
implementation keeps the fr_pair_list_t structures but uses arrays to
mark which "to" entries are edited / to be deleted.
New pair_list functions are used for list manipulation.
The original int counters are retained for debug messages.
Nick Porter [Mon, 11 Jan 2021 09:27:45 +0000 (09:27 +0000)]
Amend rls_files.c to handle map_to_vp appending to pair_list
Nick Porter [Mon, 11 Jan 2021 09:22:57 +0000 (09:22 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_eap_ttls/ttls.c
Nick Porter [Mon, 11 Jan 2021 09:08:05 +0000 (09:08 +0000)]
Correct function for returning a locally generated pair_list
Nick Porter [Mon, 11 Jan 2021 09:07:38 +0000 (09:07 +0000)]
Amend attr_filter_common() to handle map_to_vp() appending to a pair_list
Nick Porter [Mon, 11 Jan 2021 09:05:17 +0000 (09:05 +0000)]
Tidy map_to_request()
Replace one cursor with pair_list functions
Use the previous cursor's name as the pair_list name for clarity
Use correct function to clear a list for re-use
Nick Porter [Mon, 11 Jan 2021 08:59:51 +0000 (08:59 +0000)]
Amend map_exec_to_vp() to append pairs to a fr_pair_list_t
Needs to work the same as map_to_vp()
Nick Porter [Mon, 11 Jan 2021 08:58:27 +0000 (08:58 +0000)]
Correct method to return a locally created list
Nick Porter [Mon, 11 Jan 2021 08:52:50 +0000 (08:52 +0000)]
Alter _json_map_proc_get_value() to append to fr_pair_list_t
Needs to behave the same as map_to_vp()
Nick Porter [Mon, 11 Jan 2021 08:47:51 +0000 (08:47 +0000)]
Amend fr_ldap_map_getvalue() to handle map_to_vp() adding to lists
Nick Porter [Mon, 11 Jan 2021 08:43:15 +0000 (08:43 +0000)]
Amend map_to_vp to add pairs to a fr_pair_list_t
Usually it will only find one pair, but the case of list to list means a
whole list is returned.
Nick Porter [Mon, 11 Jan 2021 08:36:50 +0000 (08:36 +0000)]
Use correct function for appending a pair_list to another in rlm_json.c
Nick Porter [Sat, 9 Jan 2021 16:14:41 +0000 (16:14 +0000)]
Add fr_pair_list_len to return length of a fr_pair_list_t list
Nick Porter [Sat, 9 Jan 2021 16:13:55 +0000 (16:13 +0000)]
s/fr_cursor/fr_dcursor/ in vmps/vmps.c
Nick Porter [Sat, 9 Jan 2021 16:12:51 +0000 (16:12 +0000)]
s/fr_cursor/fr_dcursor/ in tacacs/encode.c
Nick Porter [Sat, 9 Jan 2021 15:59:02 +0000 (15:59 +0000)]
s/fr_cursor/fr_dcursor/ in tacacs/decode.c
Nick Porter [Sat, 9 Jan 2021 15:56:54 +0000 (15:56 +0000)]
s/fr_cursor/fr_dcursor/ in internal/encode.c
Nick Porter [Sat, 9 Jan 2021 15:56:07 +0000 (15:56 +0000)]
s/fr_cursor/fr_dcursor/ in internal/decode.c
Nick Porter [Sat, 9 Jan 2021 15:52:50 +0000 (15:52 +0000)]
Handle child options being in a fr_pair_list_t in dhcpv6/encode.c
Nick Porter [Sat, 9 Jan 2021 15:48:35 +0000 (15:48 +0000)]
s/fr_cursor/fr_dcursor/ in dhcpv6/encode.c
Nick Porter [Sat, 9 Jan 2021 15:45:37 +0000 (15:45 +0000)]
Correct assignment of temporary list to vp->group for fr_pair_list_t
Nick Porter [Sat, 9 Jan 2021 15:44:38 +0000 (15:44 +0000)]
s/fr_cursor/fr_dcursor/ in dhcpv6/decode.c
Nick Porter [Sat, 9 Jan 2021 15:41:07 +0000 (15:41 +0000)]
s/fr_cursor/fr_dcursor/ in dhcpv6/base.c
Nick Porter [Sat, 9 Jan 2021 15:39:46 +0000 (15:39 +0000)]
Amend fr_dhcpv6_next_encocable to work with dcursors
Nick Porter [Sat, 9 Jan 2021 15:00:17 +0000 (15:00 +0000)]
s/fr_cursor/fr_dcursor/ in dhcpv4/packet.c
Nick Porter [Sat, 9 Jan 2021 14:59:31 +0000 (14:59 +0000)]
s/fr_cursor/fr_dcursor/ in dhcpv4/decode.c
Nick Porter [Sat, 9 Jan 2021 14:58:06 +0000 (14:58 +0000)]
s/fr_cursor/fr_dcursor/ in dhcpv4/encode.c
Nick Porter [Sat, 9 Jan 2021 14:55:56 +0000 (14:55 +0000)]
s/fr_cursor/fr_dcursor/ in dhcpv4/base.c
Nick Porter [Sat, 9 Jan 2021 14:55:16 +0000 (14:55 +0000)]
s/fr_cursor/fr_dcursor/ in arp/base.c
Nick Porter [Sat, 9 Jan 2021 14:32:18 +0000 (14:32 +0000)]
Handle adding of individual vps in mod_vptuple()
VPs are added to a temporary list and then the whole list
radius_pairmove() added to the destination.
Nick Porter [Sat, 9 Jan 2021 14:20:34 +0000 (14:20 +0000)]
Use correct type for local temporary lists in rlm_sql.c
And correct function to clear lists for re-use.
Nick Porter [Sat, 9 Jan 2021 14:16:54 +0000 (14:16 +0000)]
Use fr_pair_list_t rather than cursor in sql_pair_list_afrom_str()
Nick Porter [Sat, 9 Jan 2021 14:07:02 +0000 (14:07 +0000)]
Handle using radius_pairmove to add a single pair to a list in rest.c
Nick Porter [Sat, 9 Jan 2021 14:04:28 +0000 (14:04 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_rest/rest.c
Nick Porter [Fri, 8 Jan 2021 17:58:33 +0000 (17:58 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_smtp.c
Nick Porter [Fri, 8 Jan 2021 17:55:13 +0000 (17:55 +0000)]
Correct function to reset a fr_pair_list_t
Nick Porter [Fri, 8 Jan 2021 17:54:53 +0000 (17:54 +0000)]
reply is a list, so needs adding as a list rather than a single pair
Nick Porter [Fri, 8 Jan 2021 17:52:19 +0000 (17:52 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_radius_udp.c
Nick Porter [Fri, 8 Jan 2021 17:41:58 +0000 (17:41 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_radius.c
Nick Porter [Fri, 8 Jan 2021 17:41:17 +0000 (17:41 +0000)]
Correctly handle list head passed to get_hv_content() in rlm_perl.c
Nick Porter [Fri, 8 Jan 2021 17:40:16 +0000 (17:40 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_perl.c
Nick Porter [Fri, 8 Jan 2021 17:36:10 +0000 (17:36 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_passwd.c
Nick Porter [Fri, 8 Jan 2021 17:35:39 +0000 (17:35 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_logtee.c
Nick Porter [Fri, 8 Jan 2021 17:27:04 +0000 (17:27 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_linelog.c
Nick Porter [Fri, 8 Jan 2021 17:25:42 +0000 (17:25 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_ldap/groups.c
Nick Porter [Fri, 8 Jan 2021 16:45:14 +0000 (16:45 +0000)]
Correct debug message
Nick Porter [Fri, 8 Jan 2021 16:36:58 +0000 (16:36 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_expr.c
Nick Porter [Fri, 8 Jan 2021 16:32:19 +0000 (16:32 +0000)]
Correctly handle list returned by fr_pair_list_copy_by_da in peap.c
Nick Porter [Fri, 8 Jan 2021 16:12:11 +0000 (16:12 +0000)]
Handle the difference between fr_pair_list_t and fr_pair_t in mschap_finalize()
Nick Porter [Fri, 8 Jan 2021 16:09:08 +0000 (16:09 +0000)]
Correctly handle setting of fake->request_pairs in eap_fast_eap_payload()
Nick Porter [Fri, 8 Jan 2021 16:06:32 +0000 (16:06 +0000)]
Remove un-needed cursor init
Nick Porter [Fri, 8 Jan 2021 16:06:00 +0000 (16:06 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_eap_fast.c
Nick Porter [Fri, 8 Jan 2021 16:05:08 +0000 (16:05 +0000)]
s/fr_cursor/fr_dcursor/ in eap_fast.c
Nick Porter [Fri, 8 Jan 2021 15:45:38 +0000 (15:45 +0000)]
Alter eap_fast_decode_pair() to take fr_pair_list_t rather than cursor
Nick Porter [Fri, 8 Jan 2021 14:53:38 +0000 (14:53 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_dhcpv4.c
Nick Porter [Fri, 8 Jan 2021 13:36:09 +0000 (13:36 +0000)]
s/fr_cursor/fr_dcursor/ in rlm_cache.c
Nick Porter [Fri, 8 Jan 2021 13:34:50 +0000 (13:34 +0000)]
s/fr_cursor/fr_dcursor/ in proto_vmps/proto_vmps.c
Nick Porter [Fri, 8 Jan 2021 13:34:10 +0000 (13:34 +0000)]
Tidy format
Nick Porter [Fri, 8 Jan 2021 13:32:49 +0000 (13:32 +0000)]
Handle using the result of fr_dcursor_next() as the start of a list
Nick Porter [Wed, 6 Jan 2021 18:03:48 +0000 (18:03 +0000)]
s/fr_cursor/fr_dcursor/ in proto_tacacs/proto/tacacs_auth.c
Nick Porter [Wed, 6 Jan 2021 18:03:14 +0000 (18:03 +0000)]
s/fr_cursor/fr_dcursor/ in proto_tacacs/proto_tacacs.c
Nick Porter [Wed, 6 Jan 2021 18:01:05 +0000 (18:01 +0000)]
s/fr_cursor/fr_dcursor/ in proto_radius/proto_radius_auth.c
Nick Porter [Wed, 6 Jan 2021 18:00:25 +0000 (18:00 +0000)]
s/fr_cursor/fr_dcursor/ in proto_radius/proto_radius.c
Nick Porter [Wed, 6 Jan 2021 17:50:10 +0000 (17:50 +0000)]
Small performance tweak
Nick Porter [Wed, 6 Jan 2021 17:45:52 +0000 (17:45 +0000)]
Handle pair_list created by fr_pair_list_afrom_str in proto_detail.c
Nick Porter [Wed, 6 Jan 2021 17:36:12 +0000 (17:36 +0000)]
s/fr_cursor/fr_dcursor/ in proto_detail/proto_detail.c
Nick Porter [Wed, 6 Jan 2021 15:27:10 +0000 (15:27 +0000)]
s/fr_cursor/fr_dcursor/ in proto_dhcpv6/proto_dhcpv6.c
Nick Porter [Wed, 6 Jan 2021 15:25:55 +0000 (15:25 +0000)]
s/fr_cursor/fr_dcursor/ in proto_dhcpv4/proto_dhcpv4.c
Nick Porter [Wed, 6 Jan 2021 15:24:40 +0000 (15:24 +0000)]
s/fr_cursor/fr_dcursor/ in proto_dhcpv4/dhcpclient.c
Nick Porter [Wed, 6 Jan 2021 14:59:42 +0000 (14:59 +0000)]
Simplify _sql_map_proc_get_value() to simply add value to supplied list head
Nick Porter [Wed, 6 Jan 2021 14:58:32 +0000 (14:58 +0000)]
Simplify csv_map_getvalue() to just append value to supplied list header
Nick Porter [Wed, 6 Jan 2021 14:57:03 +0000 (14:57 +0000)]
Amend map_list_mod_to_vps() to return fr_pair_list_t *
Nick Porter [Wed, 6 Jan 2021 14:17:13 +0000 (14:17 +0000)]
Set correct type for head in trigger_xlat()
Nick Porter [Wed, 6 Jan 2021 14:14:33 +0000 (14:14 +0000)]
Correct handling of temporary vps within foreach.c
Nick Porter [Wed, 6 Jan 2021 14:11:13 +0000 (14:11 +0000)]
s/fr_cursor/fr_dcursor/ in lib/unlang/xlat_builtin.c
Only for cursors operating on fr_pair_list_t. There are also cursors
operating on lists of fr_value_box_t which need to remain as fr_cursor
Nick Porter [Wed, 6 Jan 2021 13:59:37 +0000 (13:59 +0000)]
s/fr_cursor/fr_dcursor/ in lib/io/test_point.h
Nick Porter [Wed, 6 Jan 2021 13:46:04 +0000 (13:46 +0000)]
Amend fr_pair_list_afrom_box() to return fr_pair_list_t *
Nick Porter [Wed, 6 Jan 2021 13:42:26 +0000 (13:42 +0000)]
Amend tmpl cursors to use dlists
Nick Porter [Wed, 6 Jan 2021 11:24:01 +0000 (11:24 +0000)]
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/vector.c
Nick Porter [Wed, 6 Jan 2021 11:22:59 +0000 (11:22 +0000)]
Correct comment grammar
Nick Porter [Wed, 6 Jan 2021 11:21:18 +0000 (11:21 +0000)]
Ensure num_elements is correct in destination list after move
Nick Porter [Wed, 6 Jan 2021 11:20:29 +0000 (11:20 +0000)]
Correct documentation for fr_dlist_prev
Nick Porter [Wed, 6 Jan 2021 10:56:46 +0000 (10:56 +0000)]
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/state_machine.c
Nick Porter [Wed, 6 Jan 2021 10:35:19 +0000 (10:35 +0000)]
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/encode.c
Nick Porter [Wed, 6 Jan 2021 10:33:33 +0000 (10:33 +0000)]
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/decode.c