]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoPass quote and taint through to fr_pair_value_from_str
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

8 years agoConvert dict substr functions so they return number of bytes parsed
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

8 years agoFixup tmpl_define_undefined_attr to take a default dictionary
Arran Cudbard-Bell [Wed, 30 May 2018 06:10:31 +0000 (12:10 +0600)] 
Fixup tmpl_define_undefined_attr to take a default dictionary

8 years agoAdd dictionary pointer to request, and use it to qualify name based dictionary lookups
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

8 years agojust use attr_name instead of attr_dhcp_name
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

8 years agouse correct name for magic stuff.
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

8 years agoset src/dst IP for packets appropriately
Alan T. DeKok [Tue, 29 May 2018 15:10:38 +0000 (11:10 -0400)] 
set src/dst IP for packets appropriately

8 years agowarn / error on no YIADDR
Alan T. DeKok [Tue, 29 May 2018 14:54:04 +0000 (10:54 -0400)] 
warn / error on no YIADDR

8 years agodrop replies if we fail on discover
Alan T. DeKok [Tue, 29 May 2018 01:26:38 +0000 (21:26 -0400)] 
drop replies if we fail on discover

8 years agoPass in dict when searching for duplicate names in dict_unknown_afrom_fields
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

8 years agoFix IV search
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

8 years agoFixup EAP-SIM/AKA encode/decode ctxs
Arran Cudbard-Bell [Tue, 29 May 2018 08:37:52 +0000 (14:37 +0600)] 
Fixup EAP-SIM/AKA encode/decode ctxs

8 years agoUse sim algo attribute
Arran Cudbard-Bell [Tue, 29 May 2018 08:37:13 +0000 (14:37 +0600)] 
Use sim algo attribute

8 years agoMissed conversion
Arran Cudbard-Bell [Tue, 29 May 2018 08:34:17 +0000 (14:34 +0600)] 
Missed conversion

8 years agoFixup priority parsing
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

8 years agoMore autoload fixups
Arran Cudbard-Bell [Tue, 29 May 2018 05:10:21 +0000 (11:10 +0600)] 
More autoload fixups

8 years agoset opcode properly, and also hops
Alan T. DeKok [Mon, 28 May 2018 20:59:56 +0000 (16:59 -0400)] 
set opcode properly, and also hops

8 years agoinitialize reply from request
Alan T. DeKok [Mon, 28 May 2018 20:56:59 +0000 (16:56 -0400)] 
initialize reply from request

8 years agouse correct name
Alan T. DeKok [Mon, 28 May 2018 20:51:11 +0000 (16:51 -0400)] 
use correct name

8 years agovalues for message type are uint8, not uint32
Alan T. DeKok [Mon, 28 May 2018 20:48:31 +0000 (16:48 -0400)] 
values for message type are uint8, not uint32

8 years agoensure VP is set to NULL when it's freed
Alan T. DeKok [Mon, 28 May 2018 20:46:55 +0000 (16:46 -0400)] 
ensure VP is set to NULL when it's freed

8 years agoset packet_len
Alan T. DeKok [Mon, 28 May 2018 20:44:57 +0000 (16:44 -0400)] 
set packet_len

8 years agowe use "transport" and not "protocol"
Alan T. DeKok [Mon, 28 May 2018 20:43:00 +0000 (16:43 -0400)] 
we use "transport" and not "protocol"

8 years agofix type to lib name check
Alan T. DeKok [Mon, 28 May 2018 20:38:21 +0000 (16:38 -0400)] 
fix type to lib name check

8 years agodo RFC 2131 checks on destination IPs for DHCP packets
Alan T. DeKok [Mon, 28 May 2018 18:42:48 +0000 (14:42 -0400)] 
do RFC 2131 checks on destination IPs for DHCP packets

8 years agowe don't respond to DECLINEs, either
Alan T. DeKok [Mon, 28 May 2018 17:52:37 +0000 (13:52 -0400)] 
we don't respond to DECLINEs, either

8 years agoremove old RADIUS stuff
Alan T. DeKok [Mon, 28 May 2018 17:36:45 +0000 (13:36 -0400)] 
remove old RADIUS stuff

8 years agoMove auth_name() into proto_radius_auth
Arran Cudbard-Bell [Mon, 28 May 2018 12:14:08 +0000 (18:14 +0600)] 
Move auth_name() into proto_radius_auth

8 years agoMove state tree init and configuration to 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.

8 years agoMerge pull request #2237 from pwdng/xlat_md5
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

8 years agoConvert md5 xlat to new API 2237/head
Philippe Wooding [Fri, 25 May 2018 12:12:38 +0000 (12:12 +0000)] 
Convert md5 xlat to new API

8 years agoA few more cursor conversions...
Arran Cudbard-Bell [Mon, 28 May 2018 09:10:23 +0000 (15:10 +0600)] 
A few more cursor conversions...

8 years agoDoxygen
Arran Cudbard-Bell [Mon, 28 May 2018 08:58:22 +0000 (14:58 +0600)] 
Doxygen

8 years agoSimplify state API
Arran Cudbard-Bell [Mon, 28 May 2018 08:42:47 +0000 (14:42 +0600)] 
Simplify state API

8 years agoMissed rename
Arran Cudbard-Bell [Mon, 28 May 2018 08:34:34 +0000 (14:34 +0600)] 
Missed rename

8 years agoFixup DHCP attributes in rlm_soh
Arran Cudbard-Bell [Mon, 28 May 2018 08:24:42 +0000 (14:24 +0600)] 
Fixup DHCP attributes in rlm_soh

8 years agoRemove fr_dict_attr_by_num
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

8 years agoMore cursor conversions
Arran Cudbard-Bell [Mon, 28 May 2018 08:14:31 +0000 (14:14 +0600)] 
More cursor conversions

8 years agoRemove state calls from the old state machine
Arran Cudbard-Bell [Mon, 28 May 2018 06:12:53 +0000 (12:12 +0600)] 
Remove state calls from the old state machine

8 years agoRemove more calls to fr_dict_attr_num
Arran Cudbard-Bell [Mon, 28 May 2018 05:49:03 +0000 (11:49 +0600)] 
Remove more calls to fr_dict_attr_num

8 years agoSplit out VQP into a library
Arran Cudbard-Bell [Mon, 28 May 2018 05:48:41 +0000 (11:48 +0600)] 
Split out VQP into a library

8 years agoAutoload proto_radius_coa attribute
Arran Cudbard-Bell [Mon, 28 May 2018 05:12:48 +0000 (11:12 +0600)] 
Autoload proto_radius_coa attribute

8 years agoAutoload proto_vmps_all attributes
Arran Cudbard-Bell [Mon, 28 May 2018 05:09:25 +0000 (11:09 +0600)] 
Autoload proto_vmps_all attributes

8 years agoAutoload proto_vmps_dynamic_client attributes
Arran Cudbard-Bell [Mon, 28 May 2018 04:59:42 +0000 (10:59 +0600)] 
Autoload proto_vmps_dynamic_client attributes

8 years agoAutoload unpack attributes
Arran Cudbard-Bell [Mon, 28 May 2018 04:55:26 +0000 (10:55 +0600)] 
Autoload unpack attributes

8 years agoFix usages of the old sim/aka root attributes
Arran Cudbard-Bell [Mon, 28 May 2018 04:53:15 +0000 (10:53 +0600)] 
Fix usages of the old sim/aka root attributes

8 years agoMove dhcp_parameter_request_list into dhcpv4 library
Arran Cudbard-Bell [Mon, 28 May 2018 04:24:48 +0000 (10:24 +0600)] 
Move dhcp_parameter_request_list into dhcpv4 library

8 years agoUse autoloaded attributes in more places in EAP-SIM
Arran Cudbard-Bell [Mon, 28 May 2018 04:24:29 +0000 (10:24 +0600)] 
Use autoloaded attributes in more places in EAP-SIM

8 years agoUse new style cursors and autoloaded attributes in SIM library
Arran Cudbard-Bell [Mon, 28 May 2018 04:03:09 +0000 (10:03 +0600)] 
Use new style cursors and autoloaded attributes in SIM library

8 years agoAllow token.h to be used standalone
Arran Cudbard-Bell [Mon, 28 May 2018 03:55:19 +0000 (09:55 +0600)] 
Allow token.h to be used standalone

8 years agoupdate docs and examples
Alan T. DeKok [Mon, 28 May 2018 01:07:11 +0000 (21:07 -0400)] 
update docs and examples

8 years agouse packet name, not library name for configuration section.
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

8 years agoremove wrong comment
Alan T. DeKok [Mon, 28 May 2018 00:44:24 +0000 (20:44 -0400)] 
remove wrong comment

8 years agos/fr_app_process_t/fr_app_worker_t/
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

8 years agowe don't respond to RELEASE
Alan T. DeKok [Mon, 28 May 2018 00:36:19 +0000 (20:36 -0400)] 
we don't respond to RELEASE

8 years agowe don't reply 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

8 years agore-add src_ipaddr configuration
Alan T. DeKok [Thu, 24 May 2018 12:53:52 +0000 (08:53 -0400)] 
re-add src_ipaddr configuration

8 years agoRename pair_cursor functions to make conversion easier
Arran Cudbard-Bell [Sun, 27 May 2018 17:11:25 +0000 (23:11 +0600)] 
Rename pair_cursor functions to make conversion easier

8 years agoTypo
Arran Cudbard-Bell [Sun, 27 May 2018 17:10:48 +0000 (23:10 +0600)] 
Typo

8 years agoUse inline functions so we get type validation
Arran Cudbard-Bell [Sun, 27 May 2018 17:07:55 +0000 (23:07 +0600)] 
Use inline functions so we get type validation

8 years agoUse fr_cursor_t in exfile.c
Arran Cudbard-Bell [Sun, 27 May 2018 17:02:50 +0000 (23:02 +0600)] 
Use fr_cursor_t in exfile.c

8 years agoConvert more things to fr_cursor_t
Arran Cudbard-Bell [Sun, 27 May 2018 16:57:30 +0000 (22:57 +0600)] 
Convert more things to fr_cursor_t

8 years agoFix bug in foreach which used an out of scope variable for the temporary list head
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!

8 years agouse macro to initialise by_da and by_ancestor cursors
Arran Cudbard-Bell [Sun, 27 May 2018 16:44:40 +0000 (22:44 +0600)] 
use macro to initialise by_da and by_ancestor cursors

8 years agoRemove unused var
Arran Cudbard-Bell [Sun, 27 May 2018 02:49:16 +0000 (08:49 +0600)] 
Remove unused var

8 years agoI don't know how we can be any clearer...
Arran Cudbard-Bell [Sat, 26 May 2018 14:37:34 +0000 (20:37 +0600)] 
I don't know how we can be any clearer...

8 years agoMove all the extremely RADIUS specific logging options out of the server core into...
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

8 years agoUnused instance
Arran Cudbard-Bell [Fri, 25 May 2018 10:48:11 +0000 (16:48 +0600)] 
Unused instance

8 years agoDoxygen
Arran Cudbard-Bell [Fri, 25 May 2018 10:35:12 +0000 (16:35 +0600)] 
Doxygen

8 years agoMore fixups
Arran Cudbard-Bell [Fri, 25 May 2018 10:25:51 +0000 (16:25 +0600)] 
More fixups

8 years agoMissed cf_pair_in_table function
Arran Cudbard-Bell [Fri, 25 May 2018 09:49:58 +0000 (15:49 +0600)] 
Missed cf_pair_in_table function

8 years agoYes, unfortunately the state machines need instance data too
Arran Cudbard-Bell [Fri, 25 May 2018 09:49:17 +0000 (15:49 +0600)] 
Yes, unfortunately the state machines need instance data too

8 years agoRename arg to instance in EAP methods
Arran Cudbard-Bell [Fri, 25 May 2018 09:47:00 +0000 (15:47 +0600)] 
Rename arg to instance in EAP methods

8 years agoUnused structure
Arran Cudbard-Bell [Fri, 25 May 2018 09:13:15 +0000 (15:13 +0600)] 
Unused structure

8 years agoMissed use of da
Arran Cudbard-Bell [Fri, 25 May 2018 09:10:18 +0000 (15:10 +0600)] 
Missed use of da

8 years agoRename the initial state field (previously process) to 'entry_point'
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.

8 years agoRename the initial state field in EAP types to entry_point
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

8 years agoAutoload attr_packet_type in proto_radius
Arran Cudbard-Bell [Fri, 25 May 2018 07:47:50 +0000 (13:47 +0600)] 
Autoload attr_packet_type in proto_radius

8 years agoParse priorities with the standard framework
Arran Cudbard-Bell [Fri, 25 May 2018 07:39:26 +0000 (13:39 +0600)] 
Parse priorities with the standard framework

8 years agoFormatting and typos
Arran Cudbard-Bell [Fri, 25 May 2018 06:58:37 +0000 (12:58 +0600)] 
Formatting and typos

8 years agoGets date_utc from the log structure
Arran Cudbard-Bell [Fri, 25 May 2018 06:57:41 +0000 (12:57 +0600)] 
Gets date_utc from the log structure

8 years agoDocument everything in application.h
Arran Cudbard-Bell [Fri, 25 May 2018 06:56:48 +0000 (12:56 +0600)] 
Document everything in application.h

8 years agoFormatting
Arran Cudbard-Bell [Fri, 25 May 2018 06:56:31 +0000 (12:56 +0600)] 
Formatting

8 years agoUse the correct operator
Arran Cudbard-Bell [Fri, 25 May 2018 03:25:22 +0000 (09:25 +0600)] 
Use the correct operator

8 years agoMove redis library to src/lib/redis
Arran Cudbard-Bell [Fri, 25 May 2018 02:41:25 +0000 (08:41 +0600)] 
Move redis library to src/lib/redis

8 years agoFix more JSON related things
Arran Cudbard-Bell [Thu, 24 May 2018 15:57:41 +0000 (21:57 +0600)] 
Fix more JSON related things

8 years agoFix json .gitignore
Arran Cudbard-Bell [Thu, 24 May 2018 15:46:37 +0000 (21:46 +0600)] 
Fix json .gitignore

8 years agoMove json library into src/lib/
Arran Cudbard-Bell [Thu, 24 May 2018 15:45:39 +0000 (21:45 +0600)] 
Move json library into src/lib/

8 years agoFix memory leak in pcap_apply_filter
Arran Cudbard-Bell [Thu, 24 May 2018 15:35:30 +0000 (21:35 +0600)] 
Fix memory leak in pcap_apply_filter

8 years agoFix naming conflict with osmocom
Arran Cudbard-Bell [Thu, 24 May 2018 11:28:06 +0000 (17:28 +0600)] 
Fix naming conflict with osmocom

8 years agoPedantic compiler
Arran Cudbard-Bell [Thu, 24 May 2018 11:16:12 +0000 (17:16 +0600)] 
Pedantic compiler

8 years agoFix setting auth_type in rlm_yubikey
Arran Cudbard-Bell [Thu, 24 May 2018 10:51:15 +0000 (16:51 +0600)] 
Fix setting auth_type in rlm_yubikey

8 years agoRemove pointer output
Arran Cudbard-Bell [Thu, 24 May 2018 10:44:56 +0000 (16:44 +0600)] 
Remove pointer output

8 years agoLine up columns
Arran Cudbard-Bell [Thu, 24 May 2018 10:41:44 +0000 (16:41 +0600)] 
Line up columns

8 years agoMinor memory efficiency improvements in dictionaries
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.

8 years agoReduce amount of memory pre-allocated for dictionaries
Arran Cudbard-Bell [Thu, 24 May 2018 09:22:13 +0000 (15:22 +0600)] 
Reduce amount of memory pre-allocated for dictionaries

8 years ago...and the rest
Arran Cudbard-Bell [Thu, 24 May 2018 08:27:10 +0000 (14:27 +0600)] 
...and the rest

8 years agoUse actual autofree context so we don't have spurious leak messages
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

8 years agoFix lsan_interface stupidity
Arran Cudbard-Bell [Thu, 24 May 2018 07:52:34 +0000 (13:52 +0600)] 
Fix lsan_interface stupidity

8 years agoMove declaration of virtual_servers_on_read_config
Arran Cudbard-Bell [Thu, 24 May 2018 07:44:35 +0000 (13:44 +0600)] 
Move declaration of virtual_servers_on_read_config