]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agofinish tab expansions in the framework
Alan T. DeKok [Mon, 23 Jul 2018 18:51:59 +0000 (14:51 -0400)] 
finish tab expansions in the framework

8 years agocheck for liveliness on edge nodes
Alan T. DeKok [Mon, 23 Jul 2018 18:17:02 +0000 (14:17 -0400)] 
check for liveliness on edge nodes

8 years agosuppress duplicate expansions in fr_command_complete()
Alan T. DeKok [Mon, 23 Jul 2018 12:57:06 +0000 (08:57 -0400)] 
suppress duplicate expansions in fr_command_complete()

and start checking for tab expansion callbacks

8 years agotrie_parent is used with fr_cond_assert
Alan T. DeKok [Sun, 22 Jul 2018 19:18:30 +0000 (15:18 -0400)] 
trie_parent is used with fr_cond_assert

8 years agodon't use DEEPBIND when using address sanitizer
Alan T. DeKok [Sun, 22 Jul 2018 18:31:49 +0000 (14:31 -0400)] 
don't use DEEPBIND when using address sanitizer

8 years agoremove unused assignment
Alan T. DeKok [Sun, 22 Jul 2018 18:04:22 +0000 (14:04 -0400)] 
remove unused assignment

8 years agomore cleanups and renaming
Alan T. DeKok [Sun, 22 Jul 2018 17:12:55 +0000 (13:12 -0400)] 
more cleanups and renaming

8 years agotypo
Alan T. DeKok [Sun, 22 Jul 2018 17:10:34 +0000 (13:10 -0400)] 
typo

8 years agonotes cleanups and build fixes
Alan T. DeKok [Sun, 22 Jul 2018 17:09:42 +0000 (13:09 -0400)] 
notes cleanups and build fixes

8 years agopass the full line to str_to_argv()
Alan T. DeKok [Sun, 22 Jul 2018 16:43:33 +0000 (12:43 -0400)] 
pass the full line to str_to_argv()

so that we properly track state

8 years agoadd fr_io_stats to network && workers
Alan T. DeKok [Fri, 20 Jul 2018 15:34:17 +0000 (11:34 -0400)] 
add fr_io_stats to network && workers

along with export functions

8 years agoMake test run again on macOS
Arran Cudbard-Bell [Fri, 20 Jul 2018 18:47:23 +0000 (14:47 -0400)] 
Make test run again on macOS

8 years agoFix clang scan issue
Arran Cudbard-Bell [Fri, 20 Jul 2018 18:47:11 +0000 (14:47 -0400)] 
Fix clang scan issue

8 years agoPass RTLD_DEEPBIND to dlopen
Arran Cudbard-Bell [Fri, 20 Jul 2018 17:29:47 +0000 (13:29 -0400)] 
Pass RTLD_DEEPBIND to dlopen

8 years agoDon't bother with return codes
Arran Cudbard-Bell [Fri, 20 Jul 2018 17:26:12 +0000 (13:26 -0400)] 
Don't bother with return codes

8 years agoinclude stdbool header
Alan T. DeKok [Fri, 20 Jul 2018 15:29:51 +0000 (11:29 -0400)] 
include stdbool header

8 years agoadd in/out stats
Alan T. DeKok [Thu, 19 Jul 2018 20:16:46 +0000 (16:16 -0400)] 
add in/out stats

8 years agoTypo
Arran Cudbard-Bell [Fri, 20 Jul 2018 03:24:44 +0000 (23:24 -0400)] 
Typo

8 years agoMissing include
Arran Cudbard-Bell [Fri, 20 Jul 2018 03:07:14 +0000 (23:07 -0400)] 
Missing include

8 years agoVarious fixes
Arran Cudbard-Bell [Thu, 19 Jul 2018 17:04:44 +0000 (13:04 -0400)] 
Various fixes

8 years agoFunctions in src/lib/util are not allowed to call rad_assert
Arran Cudbard-Bell [Thu, 19 Jul 2018 16:46:27 +0000 (12:46 -0400)] 
Functions in src/lib/util are not allowed to call rad_assert

8 years agotalloc.c needs to includes its own headers
Arran Cudbard-Bell [Thu, 19 Jul 2018 16:46:09 +0000 (12:46 -0400)] 
talloc.c needs to includes its own headers

8 years agoAdd build.h and missing.h to all public headers in libfreeradius-util
Arran Cudbard-Bell [Thu, 19 Jul 2018 16:35:19 +0000 (12:35 -0400)] 
Add build.h and missing.h to all public headers in libfreeradius-util

This ensures things linking to libfreeradius-util can use the headers individually.

8 years agoDeal with strlcpy on linux
Arran Cudbard-Bell [Thu, 19 Jul 2018 16:19:05 +0000 (12:19 -0400)] 
Deal with strlcpy on linux

8 years agoMove value box field names out of dict.c
Arran Cudbard-Bell [Thu, 19 Jul 2018 16:03:52 +0000 (12:03 -0400)] 
Move value box field names out of dict.c

8 years agoInclude missing header
Arran Cudbard-Bell [Thu, 19 Jul 2018 16:03:35 +0000 (12:03 -0400)] 
Include missing header

8 years agofixup header order
Arran Cudbard-Bell [Thu, 19 Jul 2018 15:40:41 +0000 (11:40 -0400)] 
fixup header order

8 years agoCleanup libfreeradius-util
Arran Cudbard-Bell [Thu, 19 Jul 2018 15:37:41 +0000 (11:37 -0400)] 
Cleanup libfreeradius-util

- Move all functions into individual header files
- Have those header files only include the headers they actually need
- Ensure all header files have the correct boilerplate
- Repatreate some functions back to the libraries they belonged to

8 years agoInclude more system headers
Arran Cudbard-Bell [Thu, 19 Jul 2018 06:00:35 +0000 (02:00 -0400)] 
Include more system headers

8 years agoFixup valuebox offsets
Arran Cudbard-Bell [Thu, 19 Jul 2018 03:50:36 +0000 (23:50 -0400)] 
Fixup valuebox offsets

8 years agoMove the last functions out of the util library top level
Arran Cudbard-Bell [Thu, 19 Jul 2018 03:47:47 +0000 (23:47 -0400)] 
Move the last functions out of the util library top level

8 years agoSplit out socket functions into their own header
Arran Cudbard-Bell [Thu, 19 Jul 2018 03:13:10 +0000 (23:13 -0400)] 
Split out socket functions into their own header

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 19 Jul 2018 03:03:57 +0000 (23:03 -0400)] 
Doxygen

8 years agoBreak out more headers
Arran Cudbard-Bell [Thu, 19 Jul 2018 02:53:25 +0000 (22:53 -0400)] 
Break out more headers

8 years agoFixup doxygen headers in src/lib/util
Arran Cudbard-Bell [Thu, 19 Jul 2018 01:57:33 +0000 (21:57 -0400)] 
Fixup doxygen headers in src/lib/util

8 years agoNeed to record t
Arran Cudbard-Bell [Wed, 18 Jul 2018 20:27:12 +0000 (16:27 -0400)] 
Need to record t

8 years agoTypo
Arran Cudbard-Bell [Wed, 18 Jul 2018 19:51:12 +0000 (15:51 -0400)] 
Typo

8 years agoThe leak occurs outside of SSL_CTX_new
Arran Cudbard-Bell [Wed, 18 Jul 2018 19:39:39 +0000 (15:39 -0400)] 
The leak occurs outside of SSL_CTX_new

8 years agoShould not have been comitted
Arran Cudbard-Bell [Wed, 18 Jul 2018 18:53:35 +0000 (14:53 -0400)] 
Should not have been comitted

8 years agoIgnore base.h
Arran Cudbard-Bell [Wed, 18 Jul 2018 18:52:47 +0000 (14:52 -0400)] 
Ignore base.h

8 years agoAllocate memory in our object bound context
Arran Cudbard-Bell [Wed, 18 Jul 2018 18:51:48 +0000 (14:51 -0400)] 
Allocate memory in our object bound context

8 years agoRedundant declaration
Arran Cudbard-Bell [Wed, 18 Jul 2018 18:41:35 +0000 (14:41 -0400)] 
Redundant declaration

8 years agostupid git..
Arran Cudbard-Bell [Wed, 18 Jul 2018 17:52:29 +0000 (13:52 -0400)] 
stupid git..

8 years ago..and another one
Arran Cudbard-Bell [Wed, 18 Jul 2018 17:49:58 +0000 (13:49 -0400)] 
..and another one

8 years agoMissed macro
Arran Cudbard-Bell [Wed, 18 Jul 2018 17:27:27 +0000 (13:27 -0400)] 
Missed macro

8 years agoRevert "Try and cleanup app data"
Arran Cudbard-Bell [Wed, 18 Jul 2018 16:30:08 +0000 (12:30 -0400)] 
Revert "Try and cleanup app data"

This reverts commit db253777fade35358ab6d6a3759b27f47e3daf28.

# Conflicts:
# src/lib/tls/ctx.c

8 years agoFix OpenSSL memory leaks on SSL_CTX allocation
Arran Cudbard-Bell [Wed, 18 Jul 2018 16:29:06 +0000 (12:29 -0400)] 
Fix OpenSSL memory leaks on SSL_CTX allocation

8 years ago...so the server doesn't grind to a halt.
Arran Cudbard-Bell [Wed, 18 Jul 2018 02:48:48 +0000 (22:48 -0400)] 
...so the server doesn't grind to a halt.

8 years agoPass obj into CRYPTO_free_ex_data
Arran Cudbard-Bell [Wed, 18 Jul 2018 01:17:00 +0000 (21:17 -0400)] 
Pass obj into CRYPTO_free_ex_data

8 years agoTry and fix -C unlang lsan
Arran Cudbard-Bell [Wed, 18 Jul 2018 00:52:32 +0000 (20:52 -0400)] 
Try and fix -C unlang lsan

8 years agoTry and cleanup app data
Arran Cudbard-Bell [Wed, 18 Jul 2018 00:14:15 +0000 (20:14 -0400)] 
Try and cleanup app data

8 years agoMissed fr_reset_dumpable
Arran Cudbard-Bell [Tue, 17 Jul 2018 23:19:20 +0000 (19:19 -0400)] 
Missed fr_reset_dumpable

8 years agoDon't start the sigtran thread if we're just checking the config
Arran Cudbard-Bell [Tue, 17 Jul 2018 22:47:00 +0000 (18:47 -0400)] 
Don't start the sigtran thread if we're just checking the config

8 years agoMove sd_watchdog_interval to the server library
Arran Cudbard-Bell [Tue, 17 Jul 2018 22:04:32 +0000 (18:04 -0400)] 
Move sd_watchdog_interval to the server library

8 years agoStupid static analysis?
Arran Cudbard-Bell [Tue, 17 Jul 2018 20:04:20 +0000 (16:04 -0400)] 
Stupid static analysis?

8 years agoServer library needs to be linked to systemd too
Arran Cudbard-Bell [Tue, 17 Jul 2018 19:55:35 +0000 (15:55 -0400)] 
Server library needs to be linked to systemd too

8 years agoSwitch request data to dlist
Arran Cudbard-Bell [Tue, 17 Jul 2018 03:03:00 +0000 (23:03 -0400)] 
Switch request data to dlist

8 years agoCheck whether the field that's meant to be an fr_dlist_t is actually an fr_dlist_t
Arran Cudbard-Bell [Tue, 17 Jul 2018 02:05:14 +0000 (22:05 -0400)] 
Check whether the field that's meant to be an fr_dlist_t is actually an fr_dlist_t

Because when it's a fr_dlist_t *, and you don't notice, it's confusing when the 8 bytes preceeding the structure gets overwritten with a linked list pointer.

8 years agoMinor fixes
Arran Cudbard-Bell [Sun, 15 Jul 2018 16:28:48 +0000 (12:28 -0400)] 
Minor fixes

8 years agoTweak dlists to make removing items easier in iterator loops
Arran Cudbard-Bell [Sun, 15 Jul 2018 14:46:17 +0000 (10:46 -0400)] 
Tweak dlists to make removing items easier in iterator loops

8 years agoDo state attribute lookups outside of the critical region
Arran Cudbard-Bell [Sun, 15 Jul 2018 14:01:13 +0000 (10:01 -0400)] 
Do state attribute lookups outside of the critical region

There was never really a good reason to do them in state_entry_find

8 years agoWe don't actually reparent the chunk
Arran Cudbard-Bell [Sun, 15 Jul 2018 13:49:39 +0000 (09:49 -0400)] 
We don't actually reparent the chunk

8 years agoThis is dumb, we just don't care that much
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:50:49 +0000 (22:50 -0400)] 
This is dumb, we just don't care that much

and besides, when we move to thread specific state trees and git rid of the locks, then everything will return to being perfectly accurate

8 years agoAllow oversubscription of the state->tree for ongoing requests
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:49:34 +0000 (22:49 -0400)] 
Allow oversubscription of the state->tree for ongoing requests

8 years agoSimplify additional request data handling functions
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:48:30 +0000 (22:48 -0400)] 
Simplify additional request data handling functions

Almost means it'll get converted to a dlist when we switch the cursor's list implementation

8 years agostart simplifying request data functions
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:35:45 +0000 (22:35 -0400)] 
start simplifying request data functions

8 years agoTypo
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:34:46 +0000 (22:34 -0400)] 
Typo

8 years agoFix potential leak on fr_state_discard
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:33:19 +0000 (22:33 -0400)] 
Fix potential leak on fr_state_discard

8 years agoCorrect return code
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:32:50 +0000 (22:32 -0400)] 
Correct return code

8 years agoBetter debugging
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:15:18 +0000 (22:15 -0400)] 
Better debugging

8 years agoRecord thread safetyness
Arran Cudbard-Bell [Fri, 13 Jul 2018 20:43:05 +0000 (16:43 -0400)] 
Record thread safetyness

8 years agoRename fr_log.h to log.h
Arran Cudbard-Bell [Fri, 13 Jul 2018 12:50:13 +0000 (08:50 -0400)] 
Rename fr_log.h to log.h

Because it's now in a separate directory

8 years agoQuiet compilation warnings
Arran Cudbard-Bell [Fri, 13 Jul 2018 12:49:35 +0000 (08:49 -0400)] 
Quiet compilation warnings

8 years agoDoxygen
Arran Cudbard-Bell [Fri, 13 Jul 2018 02:13:32 +0000 (22:13 -0400)] 
Doxygen

8 years agoAccidentally replaced
Arran Cudbard-Bell [Fri, 13 Jul 2018 02:11:46 +0000 (22:11 -0400)] 
Accidentally replaced

8 years agoRename main header files
Arran Cudbard-Bell [Fri, 13 Jul 2018 00:20:41 +0000 (20:20 -0400)] 
Rename main header files

8 years agoDon't need to install these anymore
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:49:13 +0000 (18:49 -0400)] 
Don't need to install these anymore

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:12:06 +0000 (18:12 -0400)] 
Doxygen

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:11:17 +0000 (18:11 -0400)] 
Doxygen

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:10:54 +0000 (18:10 -0400)] 
Doxygen

8 years agoGet the char not the string
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:08:23 +0000 (18:08 -0400)] 
Get the char not the string

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:05:16 +0000 (18:05 -0400)] 
Doxygen

8 years agoTypo
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:04:29 +0000 (18:04 -0400)] 
Typo

8 years agoFix include of pool.h
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:03:18 +0000 (18:03 -0400)] 
Fix include of pool.h

8 years agoValidate all list items as they're added
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:58:46 +0000 (17:58 -0400)] 
Validate all list items as they're added

8 years agoUse thread-safety status of the tree
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:57:50 +0000 (17:57 -0400)] 
Use thread-safety status of the tree

8 years ago...and some more
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:51:58 +0000 (17:51 -0400)] 
...and some more

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:38:25 +0000 (17:38 -0400)] 
Doxygen

8 years agoFix missed reference to server.h
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:36:50 +0000 (17:36 -0400)] 
Fix missed reference to server.h

8 years agoFix references to bundled stdatomic.h
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:20:00 +0000 (17:20 -0400)] 
Fix references to bundled stdatomic.h

8 years agoRename util/util.h and server/server.h to base.h
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:18:05 +0000 (17:18 -0400)] 
Rename util/util.h and server/server.h to base.h

8 years agoMove all the headers into the correct libraries
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:15:34 +0000 (17:15 -0400)] 
Move all the headers into the correct libraries

8 years agoassign word_p...
Alan T. DeKok [Thu, 12 Jul 2018 20:10:16 +0000 (16:10 -0400)] 
assign word_p...

8 years agoskip quoted strings, too
Alan T. DeKok [Thu, 12 Jul 2018 20:09:06 +0000 (16:09 -0400)] 
skip quoted strings, too

8 years agowe don't need these files
Alan T. DeKok [Thu, 12 Jul 2018 20:08:36 +0000 (16:08 -0400)] 
we don't need these files

8 years agoMove src/unlang to src/lib/unlang
Arran Cudbard-Bell [Thu, 12 Jul 2018 19:55:59 +0000 (15:55 -0400)] 
Move src/unlang to src/lib/unlang

8 years agoMove main/ into src/lib/server/
Arran Cudbard-Bell [Thu, 12 Jul 2018 19:54:28 +0000 (15:54 -0400)] 
Move main/ into src/lib/server/

8 years agoFix buildsystem to point to bin not main
Arran Cudbard-Bell [Thu, 12 Jul 2018 19:47:32 +0000 (15:47 -0400)] 
Fix buildsystem to point to bin not main

8 years agoMove binaries into src/bin
Arran Cudbard-Bell [Thu, 12 Jul 2018 18:41:30 +0000 (14:41 -0400)] 
Move binaries into src/bin

8 years agoAdd talloc validation to dlists
Arran Cudbard-Bell [Thu, 12 Jul 2018 18:26:24 +0000 (14:26 -0400)] 
Add talloc validation to dlists