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

8 years agoRename field back to list
Arran Cudbard-Bell [Thu, 12 Jul 2018 17:09:45 +0000 (13:09 -0400)] 
Rename field back to list

8 years agodoxygen
Alan T. DeKok [Thu, 12 Jul 2018 18:20:05 +0000 (14:20 -0400)] 
doxygen

8 years agoremove unused assignment
Alan T. DeKok [Thu, 12 Jul 2018 18:05:28 +0000 (14:05 -0400)] 
remove unused assignment

8 years agobind '?' to inline help
Alan T. DeKok [Thu, 12 Jul 2018 17:41:50 +0000 (13:41 -0400)] 
bind '?' to inline help

8 years agokeep a copy of the entire input buffer
Alan T. DeKok [Thu, 12 Jul 2018 17:28:35 +0000 (13:28 -0400)] 
keep a copy of the entire input buffer

8 years agoback up current_str when we exit a context
Alan T. DeKok [Thu, 12 Jul 2018 17:28:14 +0000 (13:28 -0400)] 
back up current_str when we exit a context

8 years agoprefer local readline to OSX libedit
Alan T. DeKok [Tue, 10 Jul 2018 20:39:44 +0000 (16:39 -0400)] 
prefer local readline to OSX libedit

8 years agocheck for brew version of readline
Alan T. DeKok [Tue, 10 Jul 2018 20:29:35 +0000 (16:29 -0400)] 
check for brew version of readline

because the local OSX libedit doesn't really do what we want

8 years agodoxygen
Alan T. DeKok [Thu, 12 Jul 2018 16:03:24 +0000 (12:03 -0400)] 
doxygen

8 years agodoxygen
Alan T. DeKok [Thu, 12 Jul 2018 16:02:49 +0000 (12:02 -0400)] 
doxygen

8 years agofix up dlist functions.
Alan T. DeKok [Thu, 12 Jul 2018 15:32:27 +0000 (11:32 -0400)] 
fix up dlist functions.

Add a separate `fr_dlist_head_t`, which contains an offset
of the encapsulating structure.

And then fix up the various functions to take a head / ptr
instead of "entry".  That way the caller doesn't have to play
dumb games with `fr_dlist_t *entry = ...` and various casts.

8 years agoAdd verification pointer for dlists
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:49:51 +0000 (18:49 -0400)] 
Add verification pointer for dlists

8 years agoFix dlist entry mangling
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:29:21 +0000 (18:29 -0400)] 
Fix dlist entry mangling

8 years agoMore debugging
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:25:01 +0000 (18:25 -0400)] 
More debugging

8 years agoAllow the entry to be checked
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:11:29 +0000 (18:11 -0400)] 
Allow the entry to be checked

8 years agoRename dlist pointer to list
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:03:13 +0000 (18:03 -0400)] 
Rename dlist pointer to list

8 years agoSwitch state tracking to use the standard dlist implementation
Arran Cudbard-Bell [Wed, 11 Jul 2018 21:56:10 +0000 (17:56 -0400)] 
Switch state tracking to use the standard dlist implementation

8 years agoMove dlist into its own header
Arran Cudbard-Bell [Wed, 11 Jul 2018 21:55:44 +0000 (17:55 -0400)] 
Move dlist into its own header

8 years agoTweak debugging
Arran Cudbard-Bell [Wed, 11 Jul 2018 20:39:19 +0000 (16:39 -0400)] 
Tweak debugging

8 years agoAssert if the entry is still in the cleanup list
Arran Cudbard-Bell [Wed, 11 Jul 2018 20:28:12 +0000 (16:28 -0400)] 
Assert if the entry is still in the cleanup list

8 years agoadd preliminary support for partial commands
Alan T. DeKok [Wed, 11 Jul 2018 20:26:41 +0000 (16:26 -0400)] 
add preliminary support for partial commands

8 years agoDon't return early if we have entries to free
Arran Cudbard-Bell [Wed, 11 Jul 2018 20:23:49 +0000 (16:23 -0400)] 
Don't return early if we have entries to free

8 years agoBad things happen when we mask all the signals
Arran Cudbard-Bell [Wed, 11 Jul 2018 20:13:54 +0000 (16:13 -0400)] 
Bad things happen when we mask all the signals

Threads stick around forever if their parent dies ungracefully

8 years agoUnused
Arran Cudbard-Bell [Wed, 11 Jul 2018 19:58:08 +0000 (15:58 -0400)] 
Unused

8 years agoDon't set *priority at the start
Arran Cudbard-Bell [Wed, 11 Jul 2018 19:46:55 +0000 (15:46 -0400)] 
Don't set *priority at the start

8 years agofix count definition
Alan T. DeKok [Wed, 11 Jul 2018 19:42:37 +0000 (15:42 -0400)] 
fix count definition

8 years agoexpand optional and alternation
Alan T. DeKok [Wed, 11 Jul 2018 19:38:36 +0000 (15:38 -0400)] 
expand optional and alternation

8 years agomove expand_syntax to it's own function
Alan T. DeKok [Wed, 11 Jul 2018 15:20:36 +0000 (11:20 -0400)] 
move expand_syntax to it's own function

8 years agoSpelling
Arran Cudbard-Bell [Wed, 11 Jul 2018 19:15:21 +0000 (15:15 -0400)] 
Spelling

8 years agoMissed count definition
Arran Cudbard-Bell [Wed, 11 Jul 2018 17:22:52 +0000 (13:22 -0400)] 
Missed count definition

8 years agoCheck memory and next/prev pointers are still valid
Arran Cudbard-Bell [Wed, 11 Jul 2018 17:21:13 +0000 (13:21 -0400)] 
Check memory and next/prev pointers are still valid

8 years agoVerb order
Arran Cudbard-Bell [Wed, 11 Jul 2018 17:20:33 +0000 (13:20 -0400)] 
Verb order

8 years agouse argv->next for syntax
Alan T. DeKok [Wed, 11 Jul 2018 15:10:17 +0000 (11:10 -0400)] 
use argv->next for syntax

8 years agoexpand alternation and optional syntax, too
Alan T. DeKok [Wed, 11 Jul 2018 15:04:09 +0000 (11:04 -0400)] 
expand alternation and optional syntax, too

For now, only if they're at the end of the input.
we still have to write the "match alternation / optional" types

8 years agomove strdup to command.c
Alan T. DeKok [Wed, 11 Jul 2018 14:26:44 +0000 (10:26 -0400)] 
move strdup to command.c

8 years agoadd tab expansion for commands
Alan T. DeKok [Wed, 11 Jul 2018 14:12:36 +0000 (10:12 -0400)] 
add tab expansion for commands

right now, only for fixed strings, and not for syntax in commands.
But it's a nice step forward.

8 years agopass config to radmin, so it can set readline name
Alan T. DeKok [Wed, 11 Jul 2018 13:43:18 +0000 (09:43 -0400)] 
pass config to radmin, so it can set readline name

8 years agowork on OSX, too
Alan T. DeKok [Wed, 11 Jul 2018 13:07:08 +0000 (09:07 -0400)] 
work on OSX, too

8 years agoNeeds to be signed
Arran Cudbard-Bell [Wed, 11 Jul 2018 01:45:24 +0000 (21:45 -0400)] 
Needs to be signed

8 years agoFix travis
Arran Cudbard-Bell [Wed, 11 Jul 2018 01:39:16 +0000 (21:39 -0400)] 
Fix travis

8 years agoFix certificate attribute extraction
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:29:05 +0000 (19:29 -0400)] 
Fix certificate attribute extraction

8 years ago..and another one
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:22:54 +0000 (19:22 -0400)] 
..and another one

8 years agoCleanup code structure
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:08:54 +0000 (19:08 -0400)] 
Cleanup code structure

8 years agotypo
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:04:32 +0000 (19:04 -0400)] 
typo

8 years agoMissing args
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:03:42 +0000 (19:03 -0400)] 
Missing args

8 years agoPrint more info about failing permissions checks
Arran Cudbard-Bell [Tue, 10 Jul 2018 21:39:37 +0000 (17:39 -0400)] 
Print more info about failing permissions checks

8 years agoDon't have UID anymore
Arran Cudbard-Bell [Tue, 10 Jul 2018 21:22:48 +0000 (17:22 -0400)] 
Don't have UID anymore

8 years agoStupid OpenSSL grr
Arran Cudbard-Bell [Tue, 10 Jul 2018 21:18:20 +0000 (17:18 -0400)] 
Stupid OpenSSL grr

8 years agoonly print command hierarchy if we're debugging
Alan T. DeKok [Tue, 10 Jul 2018 20:56:45 +0000 (16:56 -0400)] 
only print command hierarchy if we're debugging

8 years agomove "want_more" out of conduit type, and to explicit parameter
Alan T. DeKok [Tue, 10 Jul 2018 17:39:52 +0000 (13:39 -0400)] 
move "want_more" out of conduit type, and to explicit parameter

so that we don't conflate the data and signalling paths.

8 years agomove conduit header to uint16 origin, uint16 conduit
Alan T. DeKok [Tue, 10 Jul 2018 17:35:18 +0000 (13:35 -0400)] 
move conduit header to uint16 origin, uint16 conduit

so that we can distinguish different sources / destinations
of data

8 years agoascii-doc it a bit more
Alan T. DeKok [Tue, 10 Jul 2018 17:34:52 +0000 (13:34 -0400)] 
ascii-doc it a bit more

8 years agoset output to be line buffered
Alan T. DeKok [Tue, 10 Jul 2018 16:30:55 +0000 (12:30 -0400)] 
set output to be line buffered

so that it gets sent over as quickly as possible

8 years agoPrint certificate attributes as they're added
Arran Cudbard-Bell [Tue, 10 Jul 2018 20:50:58 +0000 (16:50 -0400)] 
Print certificate attributes as they're added