]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agoFix comment
Arran Cudbard-Bell [Thu, 6 Jul 2017 20:18:59 +0000 (16:18 -0400)] 
Fix comment

9 years agoConvert file descriptor and event timer comparators to something less branchy
Arran Cudbard-Bell [Thu, 6 Jul 2017 20:00:16 +0000 (16:00 -0400)] 
Convert file descriptor and event timer comparators to something less branchy

9 years agoMinor formatting and doxygen
Arran Cudbard-Bell [Thu, 6 Jul 2017 19:13:36 +0000 (15:13 -0400)] 
Minor formatting and doxygen

9 years agoWhere are you symbolizer...
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:27:00 +0000 (14:27 -0400)] 
Where are you symbolizer...

9 years agoStupid comments
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:16:44 +0000 (14:16 -0400)] 
Stupid comments

9 years agoTry 3.9
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:14:45 +0000 (14:14 -0400)] 
Try 3.9

9 years agoMaybe this will work?
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:07:46 +0000 (14:07 -0400)] 
Maybe this will work?

9 years agoAdd repo for shiny new compilers
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:39:40 +0000 (13:39 -0400)] 
Add repo for shiny new compilers

9 years agoTry 4
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:38:02 +0000 (13:38 -0400)] 
Try 4

9 years agoTry bumping clang, llvm versions
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:36:02 +0000 (13:36 -0400)] 
Try bumping clang, llvm versions

9 years agoSet environmental variables in the right place
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:22:45 +0000 (13:22 -0400)] 
Set environmental variables in the right place

9 years agoTry a different way of ignoring "leaks"
Arran Cudbard-Bell [Thu, 6 Jul 2017 16:49:12 +0000 (12:49 -0400)] 
Try a different way of ignoring "leaks"

9 years agoAdd talloc context bindings for file descriptor based events
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:50:15 +0000 (11:50 -0400)] 
Add talloc context bindings for file descriptor based events

9 years agoConstify the event structures we return
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:49:48 +0000 (11:49 -0400)] 
Constify the event structures we return

We really don't want anyone mucking with them at all. Protection mainly to prevent talloc context being changed.

9 years agoDisable leak detection as we can't reproduce the leaks locally to debug
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:44:51 +0000 (11:44 -0400)] 
Disable leak detection as we can't reproduce the leaks locally to debug

9 years agofix unused variables and type casts in rlm_radius
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:17:14 +0000 (11:17 -0400)] 
fix unused variables and type casts in rlm_radius

9 years agoShould be a check in non-debugging builds too
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:14:24 +0000 (11:14 -0400)] 
Should be a check in non-debugging builds too

9 years agoFree more memory on exit, and use talloc's memory report (enabled NULL ctx tracking)
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:08:51 +0000 (11:08 -0400)] 
Free more memory on exit, and use talloc's memory report (enabled NULL ctx tracking)

9 years agoPrevent eapol_test from running repeatedly (again)
Arran Cudbard-Bell [Thu, 6 Jul 2017 14:57:15 +0000 (10:57 -0400)] 
Prevent eapol_test from running repeatedly (again)

This was broken during the conversion to boilermake

9 years agoAllow searches before xlat_root has been initialised
Arran Cudbard-Bell [Thu, 6 Jul 2017 14:33:11 +0000 (10:33 -0400)] 
Allow searches before xlat_root has been initialised

9 years agoneed this, too
Alan T. DeKok [Thu, 6 Jul 2017 14:29:48 +0000 (10:29 -0400)] 
need this, too

9 years agoAdd event/talloc_ctx binding argument
Arran Cudbard-Bell [Thu, 6 Jul 2017 02:31:21 +0000 (22:31 -0400)] 
Add event/talloc_ctx binding argument

Reorder fr_event_timer_insert arguments to be consistent with other event

9 years agoFree xlat_root when there are no registrations left
Arran Cudbard-Bell [Wed, 5 Jul 2017 20:23:29 +0000 (16:23 -0400)] 
Free xlat_root when there are no registrations left

9 years agoUse normal talloc memory report
Arran Cudbard-Bell [Wed, 5 Jul 2017 20:10:49 +0000 (16:10 -0400)] 
Use normal talloc memory report

9 years agoTry and track down leak
Arran Cudbard-Bell [Wed, 5 Jul 2017 20:06:38 +0000 (16:06 -0400)] 
Try and track down leak

9 years agomove fr_client_io_t to rlm_radius.
Alan T. DeKok [Wed, 5 Jul 2017 19:37:19 +0000 (15:37 -0400)] 
move fr_client_io_t to rlm_radius.

and start on transport back-end

9 years agoEnable ASAN_OPTIONS=detect_stack_use_after_return=1
Arran Cudbard-Bell [Wed, 5 Jul 2017 19:34:45 +0000 (15:34 -0400)] 
Enable ASAN_OPTIONS=detect_stack_use_after_return=1

9 years agoCheck if sanitize-address-use-after-scope is support
Arran Cudbard-Bell [Wed, 5 Jul 2017 19:23:49 +0000 (15:23 -0400)] 
Check if sanitize-address-use-after-scope is support

9 years agochange scope of buffer
Alan T. DeKok [Wed, 5 Jul 2017 18:57:45 +0000 (14:57 -0400)] 
change scope of buffer

and expand variables only if there's a ${...

9 years agomore ASAN magic
Alan T. DeKok [Wed, 5 Jul 2017 18:41:19 +0000 (14:41 -0400)] 
more ASAN magic

9 years agomove regex tests to their own directory
Alan T. DeKok [Wed, 5 Jul 2017 18:07:20 +0000 (14:07 -0400)] 
move regex tests to their own directory

9 years agobetter errors when we build without regexes
Alan T. DeKok [Wed, 5 Jul 2017 18:06:43 +0000 (14:06 -0400)] 
better errors when we build without regexes

9 years agoHAVE_REGEX fixes
Alan T. DeKok [Wed, 5 Jul 2017 17:59:42 +0000 (13:59 -0400)] 
HAVE_REGEX fixes

refuse to create templates with regex when we don't have them

9 years agoHAVE_REGEX fixes
Alan T. DeKok [Wed, 5 Jul 2017 17:59:31 +0000 (13:59 -0400)] 
HAVE_REGEX fixes

9 years agoMore sanitizer goodness
Arran Cudbard-Bell [Wed, 5 Jul 2017 17:53:25 +0000 (13:53 -0400)] 
More sanitizer goodness

9 years agoEnable LLVM's address sanitizer for clang builds
Arran Cudbard-Bell [Wed, 5 Jul 2017 17:36:55 +0000 (13:36 -0400)] 
Enable LLVM's address sanitizer for clang builds

9 years agoMore ORD fixes in rlm_eap_aka.c and rlm_eap_sim.c
Arran Cudbard-Bell [Wed, 5 Jul 2017 17:15:03 +0000 (13:15 -0400)] 
More ORD fixes in rlm_eap_aka.c and rlm_eap_sim.c

9 years agoFix duplicate symbol
Arran Cudbard-Bell [Wed, 5 Jul 2017 17:12:00 +0000 (13:12 -0400)] 
Fix duplicate symbol

9 years agoPass correct statement length into sqlite3_prepare[_v2]
Arran Cudbard-Bell [Wed, 5 Jul 2017 17:07:31 +0000 (13:07 -0400)] 
Pass correct statement length into sqlite3_prepare[_v2]

9 years agoOnly fread bufferlen - 1 bytes (to allow for \0 byte)
Arran Cudbard-Bell [Wed, 5 Jul 2017 17:06:52 +0000 (13:06 -0400)] 
Only fread bufferlen - 1 bytes (to allow for \0 byte)

9 years agoBind the lifetime of program name and python path to the module
Arran Cudbard-Bell [Wed, 5 Jul 2017 16:40:47 +0000 (12:40 -0400)] 
Bind the lifetime of program name and python path to the module

PySys_SetPath and PySys_SetName don't appear to duplicate the buffer, they just store a pointer.

9 years agoUse strncmp instead of memcmp so we don't overrun the buffer pointed to by ptr
Arran Cudbard-Bell [Wed, 5 Jul 2017 16:38:29 +0000 (12:38 -0400)] 
Use strncmp instead of memcmp so we don't overrun the buffer pointed to by ptr

9 years agoFix line wrap in .travis.yml
Arran Cudbard-Bell [Wed, 5 Jul 2017 15:00:31 +0000 (11:00 -0400)] 
Fix line wrap in .travis.yml

9 years agoRename devflags to devcflags
Arran Cudbard-Bell [Wed, 5 Jul 2017 15:00:21 +0000 (11:00 -0400)] 
Rename devflags to devcflags

9 years agoUpdate configure
Arran Cudbard-Bell [Wed, 5 Jul 2017 14:53:03 +0000 (10:53 -0400)] 
Update configure

9 years agoAdd and enable
Arran Cudbard-Bell [Wed, 5 Jul 2017 13:28:29 +0000 (09:28 -0400)] 
Add and enable

9 years agoMake filter changes more efficient in fr_event_fd_insert
Arran Cudbard-Bell [Wed, 5 Jul 2017 13:27:08 +0000 (09:27 -0400)] 
Make filter changes more efficient in fr_event_fd_insert

9 years agoRemove unused variable
Arran Cudbard-Bell [Wed, 5 Jul 2017 13:10:00 +0000 (09:10 -0400)] 
Remove unused variable

9 years agoDon’t leave the connection registered for writes
Arran Cudbard-Bell [Wed, 5 Jul 2017 01:53:05 +0000 (21:53 -0400)] 
Don’t leave the connection registered for writes

9 years agoEVFILT_READ and EVFILT_WRITE need to be added as separate events
Arran Cudbard-Bell [Wed, 5 Jul 2017 01:48:32 +0000 (21:48 -0400)] 
EVFILT_READ and EVFILT_WRITE need to be added as separate events

9 years agoSet function pointers to NULL if ef fd is re-registered
Arran Cudbard-Bell [Wed, 5 Jul 2017 01:13:09 +0000 (21:13 -0400)] 
Set function pointers to NULL if ef fd is re-registered

9 years agoDelete the connection timer in more cases
Arran Cudbard-Bell [Wed, 5 Jul 2017 00:28:22 +0000 (20:28 -0400)] 
Delete the connection timer in more cases

9 years agoFix travis
Arran Cudbard-Bell [Wed, 5 Jul 2017 00:11:41 +0000 (20:11 -0400)] 
Fix travis

9 years agoFix cursor free order in logtee_it
Arran Cudbard-Bell [Tue, 4 Jul 2017 22:52:26 +0000 (18:52 -0400)] 
Fix cursor free order in logtee_it

It's not perfect, should be fixed.

9 years agoPass in thread instance, not the global instance
Arran Cudbard-Bell [Tue, 4 Jul 2017 22:52:07 +0000 (18:52 -0400)] 
Pass in thread instance, not the global instance

9 years agoTemporarily disable logging whilst in a logging function
Arran Cudbard-Bell [Tue, 4 Jul 2017 22:51:41 +0000 (18:51 -0400)] 
Temporarily disable logging whilst in a logging function

9 years agoUse typed talloc function
Arran Cudbard-Bell [Tue, 4 Jul 2017 22:51:04 +0000 (18:51 -0400)] 
Use typed talloc function

9 years agoPrint errors
Arran Cudbard-Bell [Tue, 4 Jul 2017 22:50:52 +0000 (18:50 -0400)] 
Print errors

9 years agoAdd yet another typed talloc function
Arran Cudbard-Bell [Tue, 4 Jul 2017 22:50:38 +0000 (18:50 -0400)] 
Add yet another typed talloc function

9 years agoPass through the fd_errno from kevent
Arran Cudbard-Bell [Tue, 4 Jul 2017 21:38:32 +0000 (17:38 -0400)] 
Pass through the fd_errno from kevent

9 years agoDumb typo in vasprintf that misaligned the rest of the variadic arguments
Arran Cudbard-Bell [Tue, 4 Jul 2017 20:55:44 +0000 (16:55 -0400)] 
Dumb typo in vasprintf that misaligned the rest of the variadic arguments

9 years agomore config for rlm_radius
Alan T. DeKok [Tue, 4 Jul 2017 19:38:45 +0000 (15:38 -0400)] 
more config for rlm_radius

9 years agogut and replace with start of new method
Alan T. DeKok [Tue, 4 Jul 2017 17:48:58 +0000 (13:48 -0400)] 
gut and replace with start of new method

9 years agorename rlm_radius_client to rlm_radius
Alan T. DeKok [Tue, 4 Jul 2017 17:23:48 +0000 (13:23 -0400)] 
rename rlm_radius_client to rlm_radius

9 years agodefine fr_client_io_t
Alan T. DeKok [Tue, 4 Jul 2017 17:22:44 +0000 (13:22 -0400)] 
define fr_client_io_t

9 years agoAdditional debugging
Arran Cudbard-Bell [Tue, 4 Jul 2017 19:00:01 +0000 (15:00 -0400)] 
Additional debugging

9 years agoReturn the correct state
Arran Cudbard-Bell [Tue, 4 Jul 2017 18:59:50 +0000 (14:59 -0400)] 
Return the correct state

9 years agoDelete the timeout timer when the connection has connected
Arran Cudbard-Bell [Tue, 4 Jul 2017 18:59:29 +0000 (14:59 -0400)] 
Delete the timeout timer when the connection has connected

9 years agoCall the right callback for init
Arran Cudbard-Bell [Tue, 4 Jul 2017 18:59:06 +0000 (14:59 -0400)] 
Call the right callback for init

9 years agoLog error if we fail inserting into the event loop
Arran Cudbard-Bell [Tue, 4 Jul 2017 18:58:55 +0000 (14:58 -0400)] 
Log error if we fail inserting into the event loop

9 years agoEmite log messages before chaing states
Arran Cudbard-Bell [Tue, 4 Jul 2017 18:58:39 +0000 (14:58 -0400)] 
Emite log messages before chaing states

9 years agowe don't care about the return code. CID #1414419
Alan T. DeKok [Tue, 4 Jul 2017 14:29:02 +0000 (10:29 -0400)] 
we don't care about the return code.  CID #1414419

9 years agouse static name. CID #1414432
Alan T. DeKok [Tue, 4 Jul 2017 14:27:25 +0000 (10:27 -0400)] 
use static name.  CID #1414432

9 years agodon't link in old listeners.
Alan T. DeKok [Mon, 3 Jul 2017 12:46:01 +0000 (08:46 -0400)] 
don't link in old listeners.

and remove code using it from the server core.

9 years agoSimilar fix to #2014
Arran Cudbard-Bell [Mon, 3 Jul 2017 13:32:34 +0000 (09:32 -0400)] 
Similar fix to #2014

9 years agoRemove more references to hungroups and hints
Arran Cudbard-Bell [Sat, 1 Jul 2017 01:31:47 +0000 (21:31 -0400)] 
Remove more references to hungroups and hints

9 years agoRemove rlm_realm and rlm_preprocess
Arran Cudbard-Bell [Sat, 1 Jul 2017 01:10:46 +0000 (21:10 -0400)] 
Remove rlm_realm and rlm_preprocess

Both were duplicative of behaviour in unlang

9 years agotravis fixes
Alan T. DeKok [Fri, 30 Jun 2017 23:59:36 +0000 (19:59 -0400)] 
travis fixes

9 years agohopefully last travis issue
Alan T. DeKok [Fri, 30 Jun 2017 22:03:52 +0000 (18:03 -0400)] 
hopefully last travis issue

9 years agominor travis fixes
Alan T. DeKok [Fri, 30 Jun 2017 21:34:17 +0000 (17:34 -0400)] 
minor travis fixes

9 years agoremove more macros and function prototypes
Alan T. DeKok [Fri, 30 Jun 2017 20:56:52 +0000 (16:56 -0400)] 
remove more macros and function prototypes

9 years agoremove the guts of process.c
Alan T. DeKok [Fri, 30 Jun 2017 20:48:11 +0000 (16:48 -0400)] 
remove the guts of process.c

9 years agoremove unused variable
Alan T. DeKok [Fri, 30 Jun 2017 18:26:27 +0000 (14:26 -0400)] 
remove unused variable

9 years agoforbid old-style listeners
Alan T. DeKok [Fri, 30 Jun 2017 17:14:37 +0000 (13:14 -0400)] 
forbid old-style listeners

and move tests to using the new-style listeners

9 years agoadd missing REXDENT
Alan T. DeKok [Fri, 30 Jun 2017 15:58:21 +0000 (11:58 -0400)] 
add missing REXDENT

9 years agouse same indentation for skipped contents
Alan T. DeKok [Fri, 30 Jun 2017 15:48:50 +0000 (11:48 -0400)] 
use same indentation for skipped contents

9 years agoassert that modules don't break indentation
Alan T. DeKok [Fri, 30 Jun 2017 15:48:00 +0000 (11:48 -0400)] 
assert that modules don't break indentation

9 years agomove common_packet_debug to auth.c
Alan T. DeKok [Fri, 30 Jun 2017 15:44:39 +0000 (11:44 -0400)] 
move common_packet_debug to auth.c

where it can be accessed by the new listeners.  This fix is
only temporary.

9 years agoadd fr_request_async_bootstrap()
Alan T. DeKok [Fri, 30 Jun 2017 15:43:17 +0000 (11:43 -0400)] 
add fr_request_async_bootstrap()

which bootstraps an async listener (ONE ONLY) for
unit_test_module

9 years agonote where we may want more REXDENT in the future
Alan T. DeKok [Fri, 30 Jun 2017 15:42:28 +0000 (11:42 -0400)] 
note where we may want more REXDENT in the future

9 years agodon't do double indentation
Alan T. DeKok [Fri, 30 Jun 2017 15:42:20 +0000 (11:42 -0400)] 
don't do double indentation

9 years agofix DEBUG4 to be actually DEBUG4
Alan T. DeKok [Fri, 30 Jun 2017 15:39:34 +0000 (11:39 -0400)] 
fix DEBUG4 to be actually DEBUG4

9 years agoadd REXDENT, which would be useful
Alan T. DeKok [Fri, 30 Jun 2017 15:37:43 +0000 (11:37 -0400)] 
add REXDENT, which would be useful

9 years agoupdate comments and sanity checks
Alan T. DeKok [Fri, 30 Jun 2017 11:41:12 +0000 (07:41 -0400)] 
update comments and sanity checks

9 years agoremove unused variable
Alan T. DeKok [Thu, 29 Jun 2017 18:57:40 +0000 (14:57 -0400)] 
remove unused variable

9 years agostupid compiler
Alan T. DeKok [Thu, 29 Jun 2017 18:42:16 +0000 (14:42 -0400)] 
stupid compiler

9 years agojust remove code for proxying
Alan T. DeKok [Thu, 29 Jun 2017 18:32:18 +0000 (14:32 -0400)] 
just remove code for proxying

9 years agojust remove home server stuff
Alan T. DeKok [Thu, 29 Jun 2017 18:29:40 +0000 (14:29 -0400)] 
just remove home server stuff

9 years agoremove one more home pool API call
Alan T. DeKok [Thu, 29 Jun 2017 18:17:04 +0000 (14:17 -0400)] 
remove one more home pool API call

9 years agoremove references to home server / pool API
Alan T. DeKok [Thu, 29 Jun 2017 18:07:58 +0000 (14:07 -0400)] 
remove references to home server / pool API