]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Thu, 1 Feb 2018 01:33:21 +0000 (18:33 -0700)]
Peform adds after deletes because libkqueue/epoll are not smart enough to allow an add and a delete in the same operation even if they're for different filters
Arran Cudbard-Bell [Wed, 31 Jan 2018 23:40:45 +0000 (16:40 -0700)]
Check for both UMTS rcodes
Arran Cudbard-Bell [Wed, 31 Jan 2018 23:15:33 +0000 (16:15 -0700)]
Make that global log
Arran Cudbard-Bell [Wed, 31 Jan 2018 23:11:56 +0000 (16:11 -0700)]
Mark up duplicate requests as warnings
Arran Cudbard-Bell [Wed, 31 Jan 2018 22:36:12 +0000 (15:36 -0700)]
Remember the request that previously thawed the state
Alan T. DeKok [Wed, 31 Jan 2018 22:32:50 +0000 (17:32 -0500)]
doxygen
Alan T. DeKok [Wed, 31 Jan 2018 22:31:30 +0000 (17:31 -0500)]
const issues
Alan T. DeKok [Wed, 31 Jan 2018 21:56:47 +0000 (16:56 -0500)]
be more forgiving here, too
Alan T. DeKok [Wed, 31 Jan 2018 21:52:20 +0000 (16:52 -0500)]
be more forgiving...
Alan T. DeKok [Wed, 31 Jan 2018 21:45:59 +0000 (16:45 -0500)]
more talloc_get_type_abort
Alan T. DeKok [Wed, 31 Jan 2018 21:45:46 +0000 (16:45 -0500)]
convert assert to run-time check
so that it doesn't stomp on memory
Arran Cudbard-Bell [Wed, 31 Jan 2018 20:40:09 +0000 (13:40 -0700)]
when walking up the stack signalling all the things, update their view of the current stack frame
Alan T. DeKok [Wed, 31 Jan 2018 19:55:29 +0000 (14:55 -0500)]
send duplicate replies on duplicate requests
Alan T. DeKok [Wed, 31 Jan 2018 19:50:51 +0000 (14:50 -0500)]
set duplicate timestamp
Alan T. DeKok [Wed, 31 Jan 2018 19:15:38 +0000 (14:15 -0500)]
one more clean up tracking table entry...
Alan T. DeKok [Wed, 31 Jan 2018 18:56:15 +0000 (13:56 -0500)]
cleanups
Arran Cudbard-Bell [Wed, 31 Jan 2018 18:14:54 +0000 (11:14 -0700)]
Only parse the username portion of the identity string in fr_sim_id_type
Arran Cudbard-Bell [Wed, 31 Jan 2018 17:55:08 +0000 (10:55 -0700)]
Fix zero length format string warnings
Arran Cudbard-Bell [Wed, 31 Jan 2018 17:47:47 +0000 (10:47 -0700)]
Make tls-verify-cert work with async calls
Arran Cudbard-Bell [Wed, 31 Jan 2018 17:47:24 +0000 (10:47 -0700)]
Use const free when freeing reply in fr_radius_tracking_entry_reply
Arran Cudbard-Bell [Wed, 31 Jan 2018 17:47:03 +0000 (10:47 -0700)]
Fixup some eap submodule return codes
Arran Cudbard-Bell [Wed, 31 Jan 2018 16:22:55 +0000 (09:22 -0700)]
If entry->reply is already set, free it
Alan T. DeKok [Wed, 31 Jan 2018 16:26:56 +0000 (11:26 -0500)]
track FD filter type
and delete sockets before calling module detach or freeing the
event list, to ensure proper ordering.
Alan T. DeKok [Wed, 31 Jan 2018 16:25:26 +0000 (11:25 -0500)]
assert if FD is closed before it's removed from the event list
and continue deleting things even if something goes wrong.
We can't recover, so we might as well keep going.
Alan T. DeKok [Wed, 31 Jan 2018 15:49:22 +0000 (10:49 -0500)]
parse the limit section, and retransmit.
These aren't *technically* part of the detail "file" reader,
they're part of the worker. But they *are* copied to the worker.
And they are in the default config. So we should parse and use them here.
Alan T. DeKok [Wed, 31 Jan 2018 15:48:55 +0000 (10:48 -0500)]
be more accepting of boundary values
Alan T. DeKok [Wed, 31 Jan 2018 15:40:26 +0000 (10:40 -0500)]
lower the limits on num_messages
which should drastically decrease the memory usage of the detail
file reader
Arran Cudbard-Bell [Wed, 31 Jan 2018 14:13:31 +0000 (07:13 -0700)]
Don't leak memory on zero length expansion
Arran Cudbard-Bell [Wed, 31 Jan 2018 05:41:03 +0000 (22:41 -0700)]
Add basic, outer eap result functions
Arran Cudbard-Bell [Wed, 31 Jan 2018 05:40:22 +0000 (22:40 -0700)]
Remove unused function eap_basic_compose
Arran Cudbard-Bell [Wed, 31 Jan 2018 05:38:14 +0000 (22:38 -0700)]
Formatting
Alan T. DeKok [Wed, 31 Jan 2018 11:36:56 +0000 (06:36 -0500)]
one more assert...
Alan T. DeKok [Wed, 31 Jan 2018 11:36:51 +0000 (06:36 -0500)]
typo
Alan T. DeKok [Tue, 30 Jan 2018 20:07:15 +0000 (15:07 -0500)]
detached children can run forever... mostly
Alan T. DeKok [Tue, 30 Jan 2018 20:04:10 +0000 (15:04 -0500)]
remove unused struct entry
Arran Cudbard-Bell [Wed, 31 Jan 2018 02:27:58 +0000 (19:27 -0700)]
The behaviour of -C and -X should be identical in terms of what's allowed
Arran Cudbard-Bell [Wed, 31 Jan 2018 02:16:59 +0000 (19:16 -0700)]
Pass in structure names, because sizeof(sizeof(rest_xlat_thread_inst_t)) is not what we want
Arran Cudbard-Bell [Wed, 31 Jan 2018 01:20:33 +0000 (18:20 -0700)]
Initialise state tree earlier?
We seem to start processing requests before it's started
Arran Cudbard-Bell [Wed, 31 Jan 2018 01:14:25 +0000 (18:14 -0700)]
Set xlat instance data correctly instead of synthesizing it
Arran Cudbard-Bell [Wed, 31 Jan 2018 00:34:56 +0000 (17:34 -0700)]
Raise state tree exhaustion as an issue in the logs, and don't respond if we can't alloc state entries
Arran Cudbard-Bell [Wed, 31 Jan 2018 00:07:41 +0000 (17:07 -0700)]
Fix build issues
Arran Cudbard-Bell [Tue, 30 Jan 2018 23:55:38 +0000 (16:55 -0700)]
Fix const issues
Arran Cudbard-Bell [Tue, 30 Jan 2018 23:54:39 +0000 (16:54 -0700)]
doxygen
Arran Cudbard-Bell [Tue, 30 Jan 2018 23:46:30 +0000 (16:46 -0700)]
Indent debug
Arran Cudbard-Bell [Tue, 30 Jan 2018 23:46:24 +0000 (16:46 -0700)]
async xlat functions with no arguments can yield too!
Arran Cudbard-Bell [Tue, 30 Jan 2018 21:52:10 +0000 (14:52 -0700)]
Add xlat for rlm_delay
...it delays things.
Arran Cudbard-Bell [Tue, 30 Jan 2018 23:43:03 +0000 (16:43 -0700)]
Add xlat specific infrastructure for timeouts
Arran Cudbard-Bell [Tue, 30 Jan 2018 23:41:21 +0000 (16:41 -0700)]
Pass right arguments to xlat async function
Needs the xlat instance, not the wrapper struct
Arran Cudbard-Bell [Tue, 30 Jan 2018 23:40:48 +0000 (16:40 -0700)]
Add more sanity checks and pass correct values to instantiate functions
Arran Cudbard-Bell [Tue, 30 Jan 2018 21:51:49 +0000 (14:51 -0700)]
Typo
Arran Cudbard-Bell [Tue, 30 Jan 2018 20:29:12 +0000 (13:29 -0700)]
Store the current result in the stack structure so we can get at it
Arran Cudbard-Bell [Tue, 30 Jan 2018 20:28:35 +0000 (13:28 -0700)]
Add function to check for compiled unlang data
Arran Cudbard-Bell [Tue, 30 Jan 2018 20:28:01 +0000 (13:28 -0700)]
s/expanded/expansion/
Arran Cudbard-Bell [Tue, 30 Jan 2018 20:25:47 +0000 (13:25 -0700)]
unlang_push_section should take a top_frame argument
Arran Cudbard-Bell [Tue, 30 Jan 2018 20:08:26 +0000 (13:08 -0700)]
Be better about restoring previous module name, modules can be called inside modules
Arran Cudbard-Bell [Tue, 30 Jan 2018 20:05:35 +0000 (13:05 -0700)]
Set type of talloc chunk when memduping it
Alan T. DeKok [Tue, 30 Jan 2018 19:50:54 +0000 (14:50 -0500)]
detach MUST have a parent request
Alan T. DeKok [Tue, 30 Jan 2018 19:50:45 +0000 (14:50 -0500)]
more assertions and cleanups
Alan T. DeKok [Tue, 30 Jan 2018 17:29:22 +0000 (12:29 -0500)]
more debug3 macros
Alan T. DeKok [Tue, 30 Jan 2018 17:20:20 +0000 (12:20 -0500)]
add more verification of requests
Alan T. DeKok [Tue, 30 Jan 2018 17:18:38 +0000 (12:18 -0500)]
sanity check request->async, too
Alan T. DeKok [Tue, 30 Jan 2018 16:33:12 +0000 (11:33 -0500)]
Revert "disable exec wait and ignore child signals"
This reverts commit
5432dc9359752cea74ed29b249696474e0ddb4b7 .
Now that exec.c tracks 'nowait' children, after the previous
commit.
Alan T. DeKok [Tue, 30 Jan 2018 16:32:24 +0000 (11:32 -0500)]
track "nowait" children we've exec'd.
So that they can be cleaned up appropriately.
Alan T. DeKok [Tue, 30 Jan 2018 15:56:34 +0000 (10:56 -0500)]
show the line number where the tests failed
Alan T. DeKok [Tue, 30 Jan 2018 15:43:30 +0000 (10:43 -0500)]
disable exec wait and ignore child signals
until such time as "wait" is integrated into the event loop.
Alan T. DeKok [Tue, 30 Jan 2018 15:29:36 +0000 (10:29 -0500)]
whitespace
Alan T. DeKok [Tue, 30 Jan 2018 14:29:59 +0000 (09:29 -0500)]
doxygen
Alan T. DeKok [Tue, 30 Jan 2018 14:28:57 +0000 (09:28 -0500)]
remove unused variable
Alan T. DeKok [Tue, 30 Jan 2018 14:08:53 +0000 (09:08 -0500)]
instruction may be NULL?
Arran Cudbard-Bell [Tue, 30 Jan 2018 02:37:08 +0000 (19:37 -0700)]
Install signal handler to destroy EAP sessions
Arran Cudbard-Bell [Tue, 30 Jan 2018 02:04:09 +0000 (19:04 -0700)]
Explicitly free rctx
Else we'd leak memory into the REQUEST *
Arran Cudbard-Bell [Tue, 30 Jan 2018 01:34:56 +0000 (18:34 -0700)]
Don't need this anymore
Arran Cudbard-Bell [Tue, 30 Jan 2018 00:35:19 +0000 (17:35 -0700)]
Try and emulate Linux symbol binding behaviour
Arran Cudbard-Bell [Tue, 30 Jan 2018 00:34:48 +0000 (17:34 -0700)]
Don't bake module.c into unit_test_module
It's provided by libfreeradius-server, and building with it here gives us a chimaera effect, where half the symbols resolve in the local version, and half resolve to libfreeradius-server.dylib
Arran Cudbard-Bell [Tue, 30 Jan 2018 00:23:12 +0000 (17:23 -0700)]
Sanity check for unlang_signal
Arran Cudbard-Bell [Tue, 30 Jan 2018 00:23:00 +0000 (17:23 -0700)]
Resume frame should repeat too
Arran Cudbard-Bell [Tue, 30 Jan 2018 00:22:49 +0000 (17:22 -0700)]
Pass a repeat function for going back up the stack
Arran Cudbard-Bell [Tue, 30 Jan 2018 00:19:20 +0000 (17:19 -0700)]
Case where q is NULL
Arran Cudbard-Bell [Mon, 29 Jan 2018 22:31:38 +0000 (15:31 -0700)]
Switch to two level namespace in macOS to fix OpenSSL/BoringSSL conflicts
Arran Cudbard-Bell [Mon, 29 Jan 2018 22:29:50 +0000 (15:29 -0700)]
Set/unset module names when calling signal and resume functions
Not just cosmetic fixes, we hit asserts if the RINDENTs() and REXDENTS() are done with an inconsistent request->module pointer.
This is because there's a separate indentation counter for when the request is being processed by a module, and for when the request is running outside of a module.
Arran Cudbard-Bell [Mon, 29 Jan 2018 22:28:08 +0000 (15:28 -0700)]
Formatting
Arran Cudbard-Bell [Mon, 29 Jan 2018 05:41:57 +0000 (22:41 -0700)]
Fix low level debug output in xlat_register
Arran Cudbard-Bell [Mon, 29 Jan 2018 05:20:45 +0000 (22:20 -0700)]
Fix ocsp.cnf
So we can generate fake certs again...
Arran Cudbard-Bell [Mon, 29 Jan 2018 04:49:14 +0000 (21:49 -0700)]
Start work on making rlm_eap async
Matthew Newton [Mon, 29 Jan 2018 20:37:33 +0000 (20:37 +0000)]
resolve symbols now, and use dlerror
Alan T. DeKok [Mon, 29 Jan 2018 19:53:08 +0000 (14:53 -0500)]
typo
Alan T. DeKok [Mon, 29 Jan 2018 19:04:31 +0000 (14:04 -0500)]
doxygen
Alan T. DeKok [Mon, 29 Jan 2018 19:01:35 +0000 (14:01 -0500)]
"documentation" is "useful"
Alan T. DeKok [Mon, 29 Jan 2018 18:58:54 +0000 (13:58 -0500)]
hacks for LD_PRELOAD, where we just load it ourselves...
Alan T. DeKok [Mon, 29 Jan 2018 18:49:06 +0000 (13:49 -0500)]
we don't use checkrad in v4
or, at least, in the same way as it was used in v3
Alan T. DeKok [Mon, 29 Jan 2018 18:44:55 +0000 (13:44 -0500)]
parse ENV subsection before loading modules or threads
so that we don't have to set LD_PRELOAD on the command line
for stupid libraries
Alan T. DeKok [Mon, 29 Jan 2018 15:21:12 +0000 (10:21 -0500)]
check for address->client
Arran Cudbard-Bell [Mon, 29 Jan 2018 03:01:36 +0000 (20:01 -0700)]
Allow unlang OPs to push generic functions onto the stack
This allows functions deeper in the C call stack to set up resumption points.
This makes submodules and even internal module functions far easier to integrate, as they don't have to communicate with callers further up the C stack, to get them to push the resumption functions they need.
Arran Cudbard-Bell [Mon, 29 Jan 2018 02:59:55 +0000 (19:59 -0700)]
Move more of the module specific code out of unlang_op.c
There's still a bunch of module specific event handler functions which either need to be made generic or moved into module_unlang.c
Arran Cudbard-Bell [Sun, 28 Jan 2018 23:29:30 +0000 (16:29 -0700)]
Always initialise quote
Arran Cudbard-Bell [Sun, 28 Jan 2018 23:06:14 +0000 (16:06 -0700)]
Fix handling of NULL RHS in update sections
Arran Cudbard-Bell [Sun, 28 Jan 2018 22:53:24 +0000 (15:53 -0700)]
Reset alternate on an additional code path
Arran Cudbard-Bell [Sun, 28 Jan 2018 22:36:30 +0000 (15:36 -0700)]
...an xlat can yield multiple times
Arran Cudbard-Bell [Sun, 28 Jan 2018 22:27:26 +0000 (15:27 -0700)]
Improve xlat evaluation debugging
It should be about equivalent to the synchronous debug output, with the added bonus feature of printing the function fmt string and the expanded arguments.
Arran Cudbard-Bell [Sun, 28 Jan 2018 22:24:45 +0000 (15:24 -0700)]
Add function for copying value_box lists and for checking list taint