]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Tue, 17 Jul 2018 20:04:20 +0000 (16:04 -0400)]
Stupid static analysis?
Arran Cudbard-Bell [Tue, 17 Jul 2018 19:55:35 +0000 (15:55 -0400)]
Server library needs to be linked to systemd too
Arran Cudbard-Bell [Tue, 17 Jul 2018 03:03:00 +0000 (23:03 -0400)]
Switch request data to dlist
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.
Arran Cudbard-Bell [Sun, 15 Jul 2018 16:28:48 +0000 (12:28 -0400)]
Minor fixes
Arran Cudbard-Bell [Sun, 15 Jul 2018 14:46:17 +0000 (10:46 -0400)]
Tweak dlists to make removing items easier in iterator loops
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
Arran Cudbard-Bell [Sun, 15 Jul 2018 13:49:39 +0000 (09:49 -0400)]
We don't actually reparent the chunk
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
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:49:34 +0000 (22:49 -0400)]
Allow oversubscription of the state->tree for ongoing requests
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
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:35:45 +0000 (22:35 -0400)]
start simplifying request data functions
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:34:46 +0000 (22:34 -0400)]
Typo
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:33:19 +0000 (22:33 -0400)]
Fix potential leak on fr_state_discard
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:32:50 +0000 (22:32 -0400)]
Correct return code
Arran Cudbard-Bell [Sun, 15 Jul 2018 02:15:18 +0000 (22:15 -0400)]
Better debugging
Arran Cudbard-Bell [Fri, 13 Jul 2018 20:43:05 +0000 (16:43 -0400)]
Record thread safetyness
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
Arran Cudbard-Bell [Fri, 13 Jul 2018 12:49:35 +0000 (08:49 -0400)]
Quiet compilation warnings
Arran Cudbard-Bell [Fri, 13 Jul 2018 02:13:32 +0000 (22:13 -0400)]
Doxygen
Arran Cudbard-Bell [Fri, 13 Jul 2018 02:11:46 +0000 (22:11 -0400)]
Accidentally replaced
Arran Cudbard-Bell [Fri, 13 Jul 2018 00:20:41 +0000 (20:20 -0400)]
Rename main header files
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:49:13 +0000 (18:49 -0400)]
Don't need to install these anymore
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:12:06 +0000 (18:12 -0400)]
Doxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:11:17 +0000 (18:11 -0400)]
Doxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:10:54 +0000 (18:10 -0400)]
Doxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:08:23 +0000 (18:08 -0400)]
Get the char not the string
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:05:16 +0000 (18:05 -0400)]
Doxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:04:29 +0000 (18:04 -0400)]
Typo
Arran Cudbard-Bell [Thu, 12 Jul 2018 22:03:18 +0000 (18:03 -0400)]
Fix include of pool.h
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:58:46 +0000 (17:58 -0400)]
Validate all list items as they're added
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:57:50 +0000 (17:57 -0400)]
Use thread-safety status of the tree
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:51:58 +0000 (17:51 -0400)]
...and some more
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:38:25 +0000 (17:38 -0400)]
Doxygen
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:36:50 +0000 (17:36 -0400)]
Fix missed reference to server.h
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:20:00 +0000 (17:20 -0400)]
Fix references to bundled stdatomic.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
Arran Cudbard-Bell [Thu, 12 Jul 2018 21:15:34 +0000 (17:15 -0400)]
Move all the headers into the correct libraries
Alan T. DeKok [Thu, 12 Jul 2018 20:10:16 +0000 (16:10 -0400)]
assign word_p...
Alan T. DeKok [Thu, 12 Jul 2018 20:09:06 +0000 (16:09 -0400)]
skip quoted strings, too
Alan T. DeKok [Thu, 12 Jul 2018 20:08:36 +0000 (16:08 -0400)]
we don't need these files
Arran Cudbard-Bell [Thu, 12 Jul 2018 19:55:59 +0000 (15:55 -0400)]
Move src/unlang to src/lib/unlang
Arran Cudbard-Bell [Thu, 12 Jul 2018 19:54:28 +0000 (15:54 -0400)]
Move main/ into src/lib/server/
Arran Cudbard-Bell [Thu, 12 Jul 2018 19:47:32 +0000 (15:47 -0400)]
Fix buildsystem to point to bin not main
Arran Cudbard-Bell [Thu, 12 Jul 2018 18:41:30 +0000 (14:41 -0400)]
Move binaries into src/bin
Arran Cudbard-Bell [Thu, 12 Jul 2018 18:26:24 +0000 (14:26 -0400)]
Add talloc validation to dlists
Arran Cudbard-Bell [Thu, 12 Jul 2018 17:09:45 +0000 (13:09 -0400)]
Rename field back to list
Alan T. DeKok [Thu, 12 Jul 2018 18:20:05 +0000 (14:20 -0400)]
doxygen
Alan T. DeKok [Thu, 12 Jul 2018 18:05:28 +0000 (14:05 -0400)]
remove unused assignment
Alan T. DeKok [Thu, 12 Jul 2018 17:41:50 +0000 (13:41 -0400)]
bind '?' to inline help
Alan T. DeKok [Thu, 12 Jul 2018 17:28:35 +0000 (13:28 -0400)]
keep a copy of the entire input buffer
Alan T. DeKok [Thu, 12 Jul 2018 17:28:14 +0000 (13:28 -0400)]
back up current_str when we exit a context
Alan T. DeKok [Tue, 10 Jul 2018 20:39:44 +0000 (16:39 -0400)]
prefer local readline to OSX libedit
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
Alan T. DeKok [Thu, 12 Jul 2018 16:03:24 +0000 (12:03 -0400)]
doxygen
Alan T. DeKok [Thu, 12 Jul 2018 16:02:49 +0000 (12:02 -0400)]
doxygen
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.
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:49:51 +0000 (18:49 -0400)]
Add verification pointer for dlists
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:29:21 +0000 (18:29 -0400)]
Fix dlist entry mangling
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:25:01 +0000 (18:25 -0400)]
More debugging
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:11:29 +0000 (18:11 -0400)]
Allow the entry to be checked
Arran Cudbard-Bell [Wed, 11 Jul 2018 22:03:13 +0000 (18:03 -0400)]
Rename dlist pointer to list
Arran Cudbard-Bell [Wed, 11 Jul 2018 21:56:10 +0000 (17:56 -0400)]
Switch state tracking to use the standard dlist implementation
Arran Cudbard-Bell [Wed, 11 Jul 2018 21:55:44 +0000 (17:55 -0400)]
Move dlist into its own header
Arran Cudbard-Bell [Wed, 11 Jul 2018 20:39:19 +0000 (16:39 -0400)]
Tweak debugging
Arran Cudbard-Bell [Wed, 11 Jul 2018 20:28:12 +0000 (16:28 -0400)]
Assert if the entry is still in the cleanup list
Alan T. DeKok [Wed, 11 Jul 2018 20:26:41 +0000 (16:26 -0400)]
add preliminary support for partial commands
Arran Cudbard-Bell [Wed, 11 Jul 2018 20:23:49 +0000 (16:23 -0400)]
Don't return early if we have entries to free
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
Arran Cudbard-Bell [Wed, 11 Jul 2018 19:58:08 +0000 (15:58 -0400)]
Unused
Arran Cudbard-Bell [Wed, 11 Jul 2018 19:46:55 +0000 (15:46 -0400)]
Don't set *priority at the start
Alan T. DeKok [Wed, 11 Jul 2018 19:42:37 +0000 (15:42 -0400)]
fix count definition
Alan T. DeKok [Wed, 11 Jul 2018 19:38:36 +0000 (15:38 -0400)]
expand optional and alternation
Alan T. DeKok [Wed, 11 Jul 2018 15:20:36 +0000 (11:20 -0400)]
move expand_syntax to it's own function
Arran Cudbard-Bell [Wed, 11 Jul 2018 19:15:21 +0000 (15:15 -0400)]
Spelling
Arran Cudbard-Bell [Wed, 11 Jul 2018 17:22:52 +0000 (13:22 -0400)]
Missed count definition
Arran Cudbard-Bell [Wed, 11 Jul 2018 17:21:13 +0000 (13:21 -0400)]
Check memory and next/prev pointers are still valid
Arran Cudbard-Bell [Wed, 11 Jul 2018 17:20:33 +0000 (13:20 -0400)]
Verb order
Alan T. DeKok [Wed, 11 Jul 2018 15:10:17 +0000 (11:10 -0400)]
use argv->next for syntax
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
Alan T. DeKok [Wed, 11 Jul 2018 14:26:44 +0000 (10:26 -0400)]
move strdup to command.c
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.
Alan T. DeKok [Wed, 11 Jul 2018 13:43:18 +0000 (09:43 -0400)]
pass config to radmin, so it can set readline name
Alan T. DeKok [Wed, 11 Jul 2018 13:07:08 +0000 (09:07 -0400)]
work on OSX, too
Arran Cudbard-Bell [Wed, 11 Jul 2018 01:45:24 +0000 (21:45 -0400)]
Needs to be signed
Arran Cudbard-Bell [Wed, 11 Jul 2018 01:39:16 +0000 (21:39 -0400)]
Fix travis
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:29:05 +0000 (19:29 -0400)]
Fix certificate attribute extraction
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:22:54 +0000 (19:22 -0400)]
..and another one
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:08:54 +0000 (19:08 -0400)]
Cleanup code structure
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:04:32 +0000 (19:04 -0400)]
typo
Arran Cudbard-Bell [Tue, 10 Jul 2018 23:03:42 +0000 (19:03 -0400)]
Missing args
Arran Cudbard-Bell [Tue, 10 Jul 2018 21:39:37 +0000 (17:39 -0400)]
Print more info about failing permissions checks
Arran Cudbard-Bell [Tue, 10 Jul 2018 21:22:48 +0000 (17:22 -0400)]
Don't have UID anymore
Arran Cudbard-Bell [Tue, 10 Jul 2018 21:18:20 +0000 (17:18 -0400)]
Stupid OpenSSL grr
Alan T. DeKok [Tue, 10 Jul 2018 20:56:45 +0000 (16:56 -0400)]
only print command hierarchy if we're debugging
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.
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
Alan T. DeKok [Tue, 10 Jul 2018 17:34:52 +0000 (13:34 -0400)]
ascii-doc it a bit more
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
Arran Cudbard-Bell [Tue, 10 Jul 2018 20:50:58 +0000 (16:50 -0400)]
Print certificate attributes as they're added