]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoChange autoload functions to iterate over an array of autoload structures
Arran Cudbard-Bell [Wed, 2 May 2018 00:34:19 +0000 (04:34 +0400)] 
Change autoload functions to iterate over an array of autoload structures

8 years agoAdd init functions to the eap base library
Arran Cudbard-Bell [Wed, 2 May 2018 00:33:46 +0000 (04:33 +0400)] 
Add init functions to the eap base library

8 years agoFix autoload definitions in rlm_wimax
Arran Cudbard-Bell [Wed, 2 May 2018 00:32:00 +0000 (04:32 +0400)] 
Fix autoload definitions in rlm_wimax

This was done before we started using the autoload scripts

8 years agoFormatting
Arran Cudbard-Bell [Wed, 2 May 2018 00:31:19 +0000 (04:31 +0400)] 
Formatting

8 years agoFix minor formatting issue
Arran Cudbard-Bell [Mon, 30 Apr 2018 10:26:35 +0000 (22:26 +1200)] 
Fix minor formatting issue

8 years agodon't point to 17 year-old documentation
Alan T. DeKok [Tue, 1 May 2018 14:29:52 +0000 (10:29 -0400)] 
don't point to 17 year-old documentation

8 years agojust use "filename"
Alan T. DeKok [Sun, 29 Apr 2018 00:35:22 +0000 (20:35 -0400)] 
just use "filename"

8 years agoLook for attributes in more function calls
Arran Cudbard-Bell [Mon, 30 Apr 2018 10:17:00 +0000 (22:17 +1200)] 
Look for attributes in more function calls

8 years agoAutoload rlm_eap_sim attr
Arran Cudbard-Bell [Mon, 30 Apr 2018 09:46:45 +0000 (21:46 +1200)] 
Autoload rlm_eap_sim attr

8 years agoFix typo in rlm_eap_aka autoload symbol
Arran Cudbard-Bell [Mon, 30 Apr 2018 09:24:07 +0000 (21:24 +1200)] 
Fix typo in rlm_eap_aka autoload symbol

8 years agoShow which symbols we're checking for on autoload
Arran Cudbard-Bell [Mon, 30 Apr 2018 09:23:53 +0000 (21:23 +1200)] 
Show which symbols we're checking for on autoload

8 years agoRoot is looked up for us too
Arran Cudbard-Bell [Sun, 29 Apr 2018 23:49:40 +0000 (11:49 +1200)] 
Root is looked up for us too

8 years agoAutoload rlm_eap_aka attrs
Arran Cudbard-Bell [Sun, 29 Apr 2018 23:46:40 +0000 (11:46 +1200)] 
Autoload rlm_eap_aka attrs

8 years agoFix minor leak in proto_radius.c
Arran Cudbard-Bell [Sun, 29 Apr 2018 23:16:57 +0000 (11:16 +1200)] 
Fix minor leak in proto_radius.c

8 years agoAutoload rlm_radius_udp attributes
Arran Cudbard-Bell [Sun, 29 Apr 2018 12:22:48 +0000 (00:22 +1200)] 
Autoload rlm_radius_udp attributes

8 years agoAutoload rlm_radius attrs
Arran Cudbard-Bell [Sun, 29 Apr 2018 12:08:34 +0000 (00:08 +1200)] 
Autoload rlm_radius attrs

8 years agoBetter ordering
Arran Cudbard-Bell [Sun, 29 Apr 2018 12:01:39 +0000 (00:01 +1200)] 
Better ordering

8 years agoAdd script for generating autoloader definitions in case someone else wants to help
Arran Cudbard-Bell [Sun, 29 Apr 2018 11:44:11 +0000 (23:44 +1200)] 
Add script for generating autoloader definitions in case someone else wants to help

8 years agoMove the dict autoload defs under their variables
Arran Cudbard-Bell [Sun, 29 Apr 2018 11:42:33 +0000 (23:42 +1200)] 
Move the dict autoload defs under their variables

8 years agoFix radict to work with current dictionary structure, and print flags
Arran Cudbard-Bell [Sun, 29 Apr 2018 10:22:45 +0000 (22:22 +1200)] 
Fix radict to work with current dictionary structure, and print flags

8 years agoExpose dict flag printing function
Arran Cudbard-Bell [Sun, 29 Apr 2018 10:22:29 +0000 (22:22 +1200)] 
Expose dict flag printing function

8 years agofix typos in example
Alan T. DeKok [Sat, 28 Apr 2018 14:29:19 +0000 (10:29 -0400)] 
fix typos in example

8 years agoAutoload proto_detail attributes
Arran Cudbard-Bell [Sat, 28 Apr 2018 00:16:15 +0000 (12:16 +1200)] 
Autoload proto_detail attributes

8 years agoUse macro for RDEBUG
Arran Cudbard-Bell [Fri, 27 Apr 2018 12:43:10 +0000 (00:43 +1200)] 
Use macro for RDEBUG

8 years agoUse lower case 'authenticate' section names in the default config. Fixes #2220
Arran Cudbard-Bell [Fri, 27 Apr 2018 07:08:14 +0000 (19:08 +1200)] 
Use lower case 'authenticate' section names in the default config.  Fixes #2220

8 years agoCloses #2221 ${.:instance} automatically uses name1 if there's no name2 so ${.:name...
Arran Cudbard-Bell [Fri, 27 Apr 2018 06:54:19 +0000 (18:54 +1200)] 
Closes #2221 ${.:instance} automatically uses name1 if there's no name2 so ${.:name} is not needed

8 years agoremove unused global configurations
Alan T. DeKok [Thu, 26 Apr 2018 18:12:37 +0000 (14:12 -0400)] 
remove unused global configurations

8 years agomove instantiation to proper function
Alan T. DeKok [Thu, 26 Apr 2018 13:05:49 +0000 (09:05 -0400)] 
move instantiation to proper function

8 years agoadd UNUSED
Alan T. DeKok [Thu, 26 Apr 2018 12:15:36 +0000 (08:15 -0400)] 
add UNUSED

8 years agoLog messages are not doxygen blocks
Arran Cudbard-Bell [Thu, 26 Apr 2018 09:23:28 +0000 (21:23 +1200)] 
Log messages are not doxygen blocks

8 years agoa better fix for the last commit
Alan T. DeKok [Thu, 26 Apr 2018 02:40:38 +0000 (22:40 -0400)] 
a better fix for the last commit

8 years agodon't over-write server_cs
Alan T. DeKok [Thu, 26 Apr 2018 02:33:35 +0000 (22:33 -0400)] 
don't over-write server_cs

8 years agoassertions are better than opaque errors
Alan T. DeKok [Thu, 26 Apr 2018 02:20:01 +0000 (22:20 -0400)] 
assertions are better than opaque errors

8 years agoinitialize trie, even if we don't have dynamic clients
Alan T. DeKok [Thu, 26 Apr 2018 02:11:18 +0000 (22:11 -0400)] 
initialize trie, even if we don't have dynamic clients

8 years agotmpl_expand returns signed value
Arran Cudbard-Bell [Thu, 26 Apr 2018 01:23:23 +0000 (13:23 +1200)] 
tmpl_expand returns signed value

8 years agoadd "client find" function
Alan T. DeKok [Wed, 25 Apr 2018 23:12:51 +0000 (19:12 -0400)] 
add "client find" function

which should be in the app_io anyways...

8 years agoclient_clone is only needed by master.c, so put it there
Alan T. DeKok [Wed, 25 Apr 2018 23:10:10 +0000 (19:10 -0400)] 
client_clone is only needed by master.c, so put it there

8 years agoRun on lines are hard to read
Arran Cudbard-Bell [Wed, 25 Apr 2018 23:11:49 +0000 (11:11 +1200)] 
Run on lines are hard to read

8 years agoprintf fixes
Alan T. DeKok [Wed, 25 Apr 2018 18:13:55 +0000 (14:13 -0400)] 
printf fixes

8 years agowe need this too, apparently.
Alan T. DeKok [Wed, 25 Apr 2018 17:25:42 +0000 (13:25 -0400)] 
we need this too, apparently.

8 years agoremove last vestiges of proto_radius
Alan T. DeKok [Wed, 25 Apr 2018 16:53:31 +0000 (12:53 -0400)] 
remove last vestiges of proto_radius

8 years agomoved master IO handler to src/lib/io
Alan T. DeKok [Wed, 25 Apr 2018 16:52:12 +0000 (12:52 -0400)] 
moved master IO handler to src/lib/io

8 years agoprint out what we received
Alan T. DeKok [Wed, 25 Apr 2018 16:52:00 +0000 (12:52 -0400)] 
print out what we received

8 years agoprivatize internal structures to io.c
Alan T. DeKok [Wed, 25 Apr 2018 16:28:19 +0000 (12:28 -0400)] 
privatize internal structures to io.c

8 years agowhitespace
Alan T. DeKok [Wed, 25 Apr 2018 16:26:55 +0000 (12:26 -0400)] 
whitespace

8 years agomove inst->io.FOO to inst->io in io.c
Alan T. DeKok [Wed, 25 Apr 2018 16:12:40 +0000 (12:12 -0400)] 
move inst->io.FOO to inst->io in io.c

and various other minor cleanups

8 years agomove "network_get" to public app_io API
Alan T. DeKok [Wed, 25 Apr 2018 16:07:01 +0000 (12:07 -0400)] 
move "network_get" to public app_io API

8 years agomove "connection_set" to public app_io API
Alan T. DeKok [Wed, 25 Apr 2018 16:00:57 +0000 (12:00 -0400)] 
move "connection_set" to public app_io API

8 years agoremove last vestiges of proto_radius knowledge from io.c
Alan T. DeKok [Wed, 25 Apr 2018 15:49:34 +0000 (11:49 -0400)] 
remove last vestiges of proto_radius knowledge from io.c

8 years agoadd mod_instantiate to master IO handler
Alan T. DeKok [Wed, 25 Apr 2018 15:42:09 +0000 (11:42 -0400)] 
add mod_instantiate to master IO handler

and rearrange code in proto_radius to match

8 years agorearrangement
Alan T. DeKok [Wed, 25 Apr 2018 15:37:25 +0000 (11:37 -0400)] 
rearrangement

8 years agomake process_by_code smaller
Alan T. DeKok [Wed, 25 Apr 2018 15:37:03 +0000 (11:37 -0400)] 
make process_by_code smaller

we only need FR_MAX_PACKET_CODE, because that's all we support

8 years agoadd mod_bootstrap to io.c
Alan T. DeKok [Wed, 25 Apr 2018 15:01:12 +0000 (11:01 -0400)] 
add mod_bootstrap to io.c

and move code from proto_radius over there

8 years agono need to check process_by_code any more in io.c
Alan T. DeKok [Tue, 24 Apr 2018 23:07:59 +0000 (19:07 -0400)] 
no need to check process_by_code any more in io.c

8 years agomove app_io to fr_io_instance_t
Alan T. DeKok [Tue, 24 Apr 2018 23:04:36 +0000 (19:04 -0400)] 
move app_io to fr_io_instance_t

8 years agouse set priority API
Alan T. DeKok [Tue, 24 Apr 2018 22:53:37 +0000 (18:53 -0400)] 
use set priority API

8 years agoadd "set priority" API
Alan T. DeKok [Tue, 24 Apr 2018 22:51:34 +0000 (18:51 -0400)] 
add "set priority" API

to abstract that from the protocol agnostic IO handler

8 years agoremove assertion
Alan T. DeKok [Tue, 24 Apr 2018 19:06:16 +0000 (15:06 -0400)] 
remove assertion

8 years agowhitespace
Alan T. DeKok [Tue, 24 Apr 2018 18:53:52 +0000 (14:53 -0400)] 
whitespace

8 years agorename struct entries in preparation for splitting out io.c
Alan T. DeKok [Tue, 24 Apr 2018 18:50:39 +0000 (14:50 -0400)] 
rename struct entries in preparation for splitting out io.c

8 years agorename many proto_radius_foo to fr_io_foo
Alan T. DeKok [Mon, 23 Apr 2018 20:02:13 +0000 (16:02 -0400)] 
rename many proto_radius_foo to fr_io_foo

in preparation for lib-ifying io.c.  So that other protocols
can use it, too

8 years agoabstract names for debug messages
Alan T. DeKok [Mon, 23 Apr 2018 19:40:18 +0000 (15:40 -0400)] 
abstract names for debug messages

so that io.c is largely protocol agnostic.

8 years agoonly do duplicate tree if we track duplicates
Alan T. DeKok [Mon, 23 Apr 2018 18:47:13 +0000 (14:47 -0400)] 
only do duplicate tree if we track duplicates

8 years agouse new dedup function
Alan T. DeKok [Mon, 23 Apr 2018 18:44:30 +0000 (14:44 -0400)] 
use new dedup function

8 years agoadd packet comparison function
Alan T. DeKok [Mon, 23 Apr 2018 18:44:04 +0000 (14:44 -0400)] 
add packet comparison function

for doing dedup

8 years agoAutoload dictionary attributes in rlm_pap might close #2220
Arran Cudbard-Bell [Wed, 25 Apr 2018 11:32:17 +0000 (23:32 +1200)] 
Autoload dictionary attributes in rlm_pap might close #2220

...and a few other cleanups.

8 years agoMove Auth-Type registration to bootstrap in rlm_mschap
Arran Cudbard-Bell [Wed, 25 Apr 2018 11:26:25 +0000 (23:26 +1200)] 
Move Auth-Type registration to bootstrap in rlm_mschap

8 years agoUse common boilerplate for setting Auth-Type
Arran Cudbard-Bell [Wed, 25 Apr 2018 11:26:01 +0000 (23:26 +1200)] 
Use common boilerplate for setting Auth-Type

8 years agoFixup dictionary numbers for hashed password attributes so they don't conflict
Arran Cudbard-Bell [Wed, 25 Apr 2018 11:25:37 +0000 (23:25 +1200)] 
Fixup dictionary numbers for hashed password attributes so they don't conflict

8 years agoRename README to README.md
Arran Cudbard-Bell [Tue, 24 Apr 2018 00:45:54 +0000 (12:45 +1200)] 
Rename README to README.md

8 years agoadd "deny" to limited networks
Alan T. DeKok [Mon, 23 Apr 2018 15:21:47 +0000 (11:21 -0400)] 
add "deny" to limited networks

8 years agoFix goto labels in auth_wbclient.c
Arran Cudbard-Bell [Sun, 22 Apr 2018 00:39:16 +0000 (12:39 +1200)] 
Fix goto labels in auth_wbclient.c

8 years agoMissing semicolon
Arran Cudbard-Bell [Sun, 22 Apr 2018 00:20:57 +0000 (12:20 +1200)] 
Missing semicolon

8 years agoRevert "quiet stupid compilers" - Shouldn't be needed
Arran Cudbard-Bell [Sat, 21 Apr 2018 22:45:12 +0000 (10:45 +1200)] 
Revert "quiet stupid compilers" - Shouldn't be needed

This reverts commit 91a7f2eb41195d27524746409e05beb8ff71c958.

8 years agoAlways enable ASAN if requested, even if it's not a dev build
Arran Cudbard-Bell [Sat, 21 Apr 2018 11:18:57 +0000 (23:18 +1200)] 
Always enable ASAN if requested, even if it's not a dev build

Only check for LSAN interface if we're building with ASAN

8 years agoquiet stupid compilers
Arran Cudbard-Bell [Sat, 21 Apr 2018 01:20:51 +0000 (13:20 +1200)] 
quiet stupid compilers

8 years agoRevert "add prototypes"
Alan T. DeKok [Fri, 20 Apr 2018 19:21:08 +0000 (15:21 -0400)] 
Revert "add prototypes"

This reverts commit 1a789072c2c5ab77e74ba08ed53833b064fa7fbc.

GCC complains there's no function prototype.  And if you add one,
complains about duplicate definition.

leave it un-prototyped until such time as we figure out WTF is
wrong with GCC

8 years agoadd prototypes
Alan T. DeKok [Fri, 20 Apr 2018 18:39:06 +0000 (14:39 -0400)] 
add prototypes

8 years agodon't hard-code "UDP" as the transport name
Alan T. DeKok [Fri, 20 Apr 2018 17:52:40 +0000 (13:52 -0400)] 
don't hard-code "UDP" as the transport name

8 years agoCommit lsan.h
Arran Cudbard-Bell [Fri, 20 Apr 2018 09:26:28 +0000 (21:26 +1200)] 
Commit lsan.h

8 years agoHardcode supressions
Arran Cudbard-Bell [Fri, 20 Apr 2018 08:50:25 +0000 (20:50 +1200)] 
Hardcode supressions

8 years agoDisable LSAN for more of the python initialisation functions as python sucks
Arran Cudbard-Bell [Fri, 20 Apr 2018 07:21:51 +0000 (19:21 +1200)] 
Disable LSAN for more of the python initialisation functions as python sucks

8 years agoUse LSAN top level header file
Arran Cudbard-Bell [Fri, 20 Apr 2018 07:20:46 +0000 (19:20 +1200)] 
Use LSAN top level header file

8 years agoFix unused args
Arran Cudbard-Bell [Fri, 20 Apr 2018 07:10:23 +0000 (19:10 +1200)] 
Fix unused args

8 years agodestroy more functions
Arran Cudbard-Bell [Fri, 20 Apr 2018 06:34:23 +0000 (18:34 +1200)] 
destroy more functions

8 years agoSwitch to thread instantiate and destruction functions for rlm_python
Arran Cudbard-Bell [Fri, 20 Apr 2018 06:21:15 +0000 (18:21 +1200)] 
Switch to thread instantiate and destruction functions for rlm_python

8 years agoUse the fr_strerror() logging macros
Arran Cudbard-Bell [Fri, 20 Apr 2018 04:21:49 +0000 (16:21 +1200)] 
Use the fr_strerror() logging macros

8 years agoxlat expansion errors are debug statements
Alan T. DeKok [Thu, 19 Apr 2018 23:07:01 +0000 (19:07 -0400)] 
xlat expansion errors are debug statements

8 years agoutility functions call fr_strerror_printf(), not ERROR
Alan T. DeKok [Thu, 19 Apr 2018 23:03:55 +0000 (19:03 -0400)] 
utility functions call fr_strerror_printf(), not ERROR

8 years agoFixup rlm_python to use mod_load and mod_unload
Arran Cudbard-Bell [Thu, 19 Apr 2018 07:34:22 +0000 (19:34 +1200)] 
Fixup rlm_python to use mod_load and mod_unload

8 years agoand some more
Arran Cudbard-Bell [Thu, 19 Apr 2018 06:53:39 +0000 (18:53 +1200)] 
and some more

8 years agoFix memory leaks in 3gpp_pseydonym_encrypt
Arran Cudbard-Bell [Thu, 19 Apr 2018 06:52:14 +0000 (18:52 +1200)] 
Fix memory leaks in 3gpp_pseydonym_encrypt

Only happened on error but definitely worth addressing

8 years agoclean up the client only if there are no packets for it
Alan T. DeKok [Wed, 18 Apr 2018 16:19:35 +0000 (12:19 -0400)] 
clean up the client only if there are no packets for it

8 years agodelete max_request timer if there are no active requests
Alan T. DeKok [Wed, 18 Apr 2018 16:18:19 +0000 (12:18 -0400)] 
delete max_request timer if there are no active requests

8 years agouse the correct structure entry
Alan T. DeKok [Wed, 18 Apr 2018 16:13:00 +0000 (12:13 -0400)] 
use the correct structure entry

8 years agowe may have multiple clients being defined...
Alan T. DeKok [Wed, 18 Apr 2018 13:31:25 +0000 (09:31 -0400)] 
we may have multiple clients being defined...

8 years agofree children before parent
Alan T. DeKok [Wed, 18 Apr 2018 13:10:00 +0000 (09:10 -0400)] 
free children before parent

8 years agomove code that increments pending packets
Alan T. DeKok [Wed, 18 Apr 2018 13:00:12 +0000 (09:00 -0400)] 
move code that increments pending packets

so that it's encapsulated in push/pop functions

8 years agoun-confuse the compiler. Hopefully.
Alan T. DeKok [Wed, 18 Apr 2018 12:32:20 +0000 (08:32 -0400)] 
un-confuse the compiler.  Hopefully.

8 years agotravis issues
Alan T. DeKok [Wed, 18 Apr 2018 11:58:39 +0000 (07:58 -0400)] 
travis issues