]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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

8 years agoFix hundreds of other suppressed warnings
Arran Cudbard-Bell [Thu, 24 May 2018 07:41:00 +0000 (13:41 +0600)] 
Fix hundreds of other suppressed warnings

8 years agoFix reference to global.c
Arran Cudbard-Bell [Thu, 24 May 2018 06:16:23 +0000 (12:16 +0600)] 
Fix reference to global.c

8 years agoFix double semicolon
Arran Cudbard-Bell [Thu, 24 May 2018 06:16:12 +0000 (12:16 +0600)] 
Fix double semicolon

8 years agoFix various issues with developer cflags and developer ldflags
Arran Cudbard-Bell [Thu, 24 May 2018 06:13:03 +0000 (12:13 +0600)] 
Fix various issues with developer cflags and developer ldflags

8 years agoMissing break
Arran Cudbard-Bell [Thu, 24 May 2018 04:52:59 +0000 (10:52 +0600)] 
Missing break

8 years agoAdd the rest of the integer types to json_object_from_value_box
Arran Cudbard-Bell [Thu, 24 May 2018 03:59:10 +0000 (09:59 +0600)] 
Add the rest of the integer types to json_object_from_value_box

8 years agoEmit debugging message
Arran Cudbard-Bell [Thu, 24 May 2018 03:47:44 +0000 (09:47 +0600)] 
Emit debugging message

8 years agoUnused code
Arran Cudbard-Bell [Thu, 24 May 2018 03:39:53 +0000 (09:39 +0600)] 
Unused code

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 24 May 2018 02:51:01 +0000 (08:51 +0600)] 
Doxygen

8 years agoFix error message in compile.c
Arran Cudbard-Bell [Wed, 23 May 2018 17:23:26 +0000 (23:23 +0600)] 
Fix error message in compile.c

8 years agoRework rlm_couchbase JSON->VP code
Arran Cudbard-Bell [Wed, 23 May 2018 13:10:00 +0000 (19:10 +0600)] 
Rework rlm_couchbase JSON->VP code

8 years agoSplit the cast operation out of fr_json_object_to_value_box
Arran Cudbard-Bell [Wed, 23 May 2018 13:09:30 +0000 (19:09 +0600)] 
Split the cast operation out of fr_json_object_to_value_box

8 years agoNew function to allow casting value boxes in place
Arran Cudbard-Bell [Wed, 23 May 2018 13:07:33 +0000 (19:07 +0600)] 
New function to allow casting value boxes in place

8 years agoNew function to convert value boxes to maps
Arran Cudbard-Bell [Wed, 23 May 2018 13:07:12 +0000 (19:07 +0600)] 
New function to convert value boxes to maps

8 years agoFixup fr_dict_enum_by_alias to work on substrings
Arran Cudbard-Bell [Wed, 23 May 2018 12:59:45 +0000 (18:59 +0600)] 
Fixup fr_dict_enum_by_alias to work on substrings

8 years agoDoxygen formatting
Arran Cudbard-Bell [Wed, 23 May 2018 13:07:00 +0000 (19:07 +0600)] 
Doxygen formatting

8 years agoAdd proto by subtrs function
Arran Cudbard-Bell [Wed, 23 May 2018 12:59:14 +0000 (18:59 +0600)] 
Add proto by subtrs function

8 years agoIncrement instance count on successful init
Arran Cudbard-Bell [Wed, 23 May 2018 05:53:40 +0000 (11:53 +0600)] 
Increment instance count on successful init

8 years agoMissed instance_count guard in tls_free
Arran Cudbard-Bell [Wed, 23 May 2018 05:43:23 +0000 (11:43 +0600)] 
Missed instance_count guard in tls_free

8 years agoDoxygen
Arran Cudbard-Bell [Wed, 23 May 2018 05:42:12 +0000 (11:42 +0600)] 
Doxygen

8 years agoRemove more pair_make calls
Arran Cudbard-Bell [Wed, 23 May 2018 05:32:21 +0000 (11:32 +0600)] 
Remove more pair_make calls

8 years agoCreate opendirectory instance data
Arran Cudbard-Bell [Wed, 23 May 2018 05:28:26 +0000 (11:28 +0600)] 
Create opendirectory instance data

8 years agoSet auth_type correctly in rlm_digest
Arran Cudbard-Bell [Wed, 23 May 2018 05:28:12 +0000 (11:28 +0600)] 
Set auth_type correctly in rlm_digest

8 years agoSimplify setting Auth-Type
Arran Cudbard-Bell [Wed, 23 May 2018 05:21:00 +0000 (11:21 +0600)] 
Simplify setting Auth-Type

8 years agoAutoload radsniff atts
Arran Cudbard-Bell [Wed, 23 May 2018 04:47:43 +0000 (10:47 +0600)] 
Autoload radsniff atts

8 years agoDon't emit const dict pointers in autoload script
Arran Cudbard-Bell [Wed, 23 May 2018 04:47:18 +0000 (10:47 +0600)] 
Don't emit const dict pointers in autoload script

8 years agoSet main_config.dict_dir in radiusd.c
Arran Cudbard-Bell [Wed, 23 May 2018 04:31:25 +0000 (10:31 +0600)] 
Set main_config.dict_dir in radiusd.c

8 years agoDe-consitfy dictionary pointers so modules can add their own attributes
Arran Cudbard-Bell [Wed, 23 May 2018 04:21:02 +0000 (10:21 +0600)] 
De-consitfy dictionary pointers so modules can add their own attributes

8 years agoInit main config before dictionaries
Arran Cudbard-Bell [Tue, 22 May 2018 16:18:32 +0000 (22:18 +0600)] 
Init main config before dictionaries

so we have the dict_dir...

8 years agoFormatting
Arran Cudbard-Bell [Tue, 22 May 2018 16:18:14 +0000 (22:18 +0600)] 
Formatting

8 years agoFix references to libfreeradius-ldap.c
Arran Cudbard-Bell [Tue, 22 May 2018 15:58:54 +0000 (21:58 +0600)] 
Fix references to libfreeradius-ldap.c

8 years agoMerge pull request #2232 from nchaigne/4.0.x-201805-dhcp-get-option
Arran Cudbard-Bell [Tue, 22 May 2018 15:51:59 +0000 (21:51 +0600)] 
Merge pull request #2232 from nchaigne/4.0.x-201805-dhcp-get-option

fr_dhcpv4_packet_get_option - fix overload handling

8 years agoAutoload dhcpclient attributes
Arran Cudbard-Bell [Tue, 22 May 2018 15:50:25 +0000 (21:50 +0600)] 
Autoload dhcpclient attributes

8 years agofr_dhcpv4_packet_get_option - fix overload handling 2232/head
nchaigne [Tue, 22 May 2018 15:31:37 +0000 (17:31 +0200)] 
fr_dhcpv4_packet_get_option - fix overload handling

This fixes two errors in fr_dhcpv4_packet_get_option:

- value of "overload" option is not retrieved where it should be.
- it is possible to overload in 'sname' without overloading in 'file'.

8 years agoDo reference counting in library init functions
Arran Cudbard-Bell [Tue, 22 May 2018 15:08:06 +0000 (21:08 +0600)] 
Do reference counting in library init functions

8 years agoInit/deinit dhcpv4 proto library in dhcpclient
Arran Cudbard-Bell [Tue, 22 May 2018 14:49:40 +0000 (20:49 +0600)] 
Init/deinit dhcpv4 proto library in dhcpclient

8 years agoDoxygen
Arran Cudbard-Bell [Tue, 22 May 2018 12:25:32 +0000 (18:25 +0600)] 
Doxygen

8 years agoadd load/unload for dhcpv4
Alan T. DeKok [Tue, 22 May 2018 14:23:52 +0000 (10:23 -0400)] 
add load/unload for dhcpv4

8 years agoMerge pull request #2230 from nchaigne/4.0.x-201805-dhcpv4-pcap-recv
Arran Cudbard-Bell [Tue, 22 May 2018 11:50:28 +0000 (17:50 +0600)] 
Merge pull request #2230 from nchaigne/4.0.x-201805-dhcpv4-pcap-recv

Fix to fr_dhcpv4_pcap_recv

8 years agoFix typo
Arran Cudbard-Bell [Tue, 22 May 2018 11:46:59 +0000 (17:46 +0600)] 
Fix typo

8 years agoRename json_pair_make to json_pair_alloc
Arran Cudbard-Bell [Tue, 22 May 2018 10:43:19 +0000 (16:43 +0600)] 
Rename json_pair_make to json_pair_alloc

8 years agoDon't need two
Arran Cudbard-Bell [Tue, 22 May 2018 10:42:28 +0000 (16:42 +0600)] 
Don't need two

8 years agoAutoload rlm_securid attrs
Arran Cudbard-Bell [Tue, 22 May 2018 10:41:10 +0000 (16:41 +0600)] 
Autoload rlm_securid attrs

8 years agoRemove call to pairmake from rlm_sql
Arran Cudbard-Bell [Tue, 22 May 2018 10:35:30 +0000 (16:35 +0600)] 
Remove call to pairmake from rlm_sql

8 years agoFixup autload in rlm_sqlcounter
Arran Cudbard-Bell [Tue, 22 May 2018 10:34:28 +0000 (16:34 +0600)] 
Fixup autload in rlm_sqlcounter

8 years agoFixup autoload in rlm_sqlippool
Arran Cudbard-Bell [Tue, 22 May 2018 10:31:16 +0000 (16:31 +0600)] 
Fixup autoload in rlm_sqlippool

8 years agoShould be done on load not on bootstrap
Arran Cudbard-Bell [Tue, 22 May 2018 10:26:56 +0000 (16:26 +0600)] 
Should be done on load not on bootstrap

8 years agoRemove calls to pair_make from rlm_ldap
Arran Cudbard-Bell [Tue, 22 May 2018 10:23:12 +0000 (16:23 +0600)] 
Remove calls to pair_make from rlm_ldap

8 years agoAutoload proto_ldap_sync attributes
Arran Cudbard-Bell [Tue, 22 May 2018 10:20:05 +0000 (16:20 +0600)] 
Autoload proto_ldap_sync attributes

8 years agoUse DAs in DHCPv4 base library
Arran Cudbard-Bell [Tue, 22 May 2018 10:10:50 +0000 (16:10 +0600)] 
Use DAs in DHCPv4 base library

8 years agoRemove dict_dir for init functions
Arran Cudbard-Bell [Tue, 22 May 2018 10:02:16 +0000 (16:02 +0600)] 
Remove dict_dir for init functions

8 years agoFix to fr_dhcpv4_pcap_recv 2230/head
nchaigne [Tue, 22 May 2018 09:57:03 +0000 (11:57 +0200)] 
Fix to fr_dhcpv4_pcap_recv

Use the actual DHCP data

8 years agoSimplify dictionary loading by using a global initialisation function
Arran Cudbard-Bell [Tue, 22 May 2018 09:47:53 +0000 (15:47 +0600)] 
Simplify dictionary loading by using a global initialisation function

8 years agoAdd dhcpv4 dictionary back
Arran Cudbard-Bell [Tue, 22 May 2018 04:30:18 +0000 (10:30 +0600)] 
Add dhcpv4 dictionary back

8 years agoAdd export option to radict
Arran Cudbard-Bell [Tue, 22 May 2018 04:30:06 +0000 (10:30 +0600)] 
Add export option to radict

8 years agoAdd additional attributes to the correct dictionary
Arran Cudbard-Bell [Mon, 21 May 2018 17:23:42 +0000 (23:23 +0600)] 
Add additional attributes to the correct dictionary

8 years agocheck check in paircmp_func
Arran Cudbard-Bell [Mon, 21 May 2018 17:23:21 +0000 (23:23 +0600)] 
check check in paircmp_func

8 years agoInitialise temporary box in cond_eval
Arran Cudbard-Bell [Mon, 21 May 2018 17:23:09 +0000 (23:23 +0600)] 
Initialise temporary box in cond_eval

Caused issues if we tried to print the value directly

8 years agoVerify enumvs
Arran Cudbard-Bell [Mon, 21 May 2018 17:21:58 +0000 (23:21 +0600)] 
Verify enumvs

8 years agoFix leak of LDAP server string on init
Arran Cudbard-Bell [Mon, 21 May 2018 16:41:32 +0000 (22:41 +0600)] 
Fix leak of LDAP server string on init

8 years agoFix init memory leak in libfreeradius-ldap
Arran Cudbard-Bell [Mon, 21 May 2018 16:40:00 +0000 (22:40 +0600)] 
Fix init memory leak in libfreeradius-ldap

8 years agoFixup any log messages which print vp_strvalue directly
Arran Cudbard-Bell [Mon, 21 May 2018 09:06:49 +0000 (15:06 +0600)] 
Fixup any log messages which print vp_strvalue directly

Should use %pV which is binary safe

8 years agoAutoload rlm_ldap attributes
Arran Cudbard-Bell [Mon, 21 May 2018 08:48:38 +0000 (14:48 +0600)] 
Autoload rlm_ldap attributes

8 years agoFixup fr_pair_cursor calls in snmp code
Arran Cudbard-Bell [Mon, 21 May 2018 08:21:17 +0000 (14:21 +0600)] 
Fixup fr_pair_cursor calls in snmp code

8 years agoRemove pair_make call in eap.c
Arran Cudbard-Bell [Mon, 21 May 2018 08:20:44 +0000 (14:20 +0600)] 
Remove pair_make call in eap.c

8 years agoFixup fr_pair_cursor calls in rlm_rest and remove pair_make call
Arran Cudbard-Bell [Mon, 21 May 2018 08:17:09 +0000 (14:17 +0600)] 
Fixup fr_pair_cursor calls in rlm_rest and remove pair_make call

8 years agoTypo
Arran Cudbard-Bell [Sun, 20 May 2018 04:30:19 +0000 (10:30 +0600)] 
Typo

8 years agoAutoload more attributes in rlm_rest
Arran Cudbard-Bell [Sat, 19 May 2018 15:02:05 +0000 (21:02 +0600)] 
Autoload more attributes in rlm_rest