]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Mon, 24 Feb 2020 03:26:23 +0000 (22:26 -0500)]
Do significantly less work on replicate
Arran Cudbard-Bell [Mon, 24 Feb 2020 02:41:57 +0000 (21:41 -0500)]
Move things not to do with encoding out of encode
Arran Cudbard-Bell [Mon, 24 Feb 2020 02:11:27 +0000 (21:11 -0500)]
Fewer magic numbers
Arran Cudbard-Bell [Mon, 24 Feb 2020 00:06:24 +0000 (19:06 -0500)]
Always use per-packet send buffers
Sacrifice memory for ability to call sendmmsg and friends
Arran Cudbard-Bell [Sun, 23 Feb 2020 23:13:15 +0000 (18:13 -0500)]
Use saner names for radius tracking tree and structures
Arran Cudbard-Bell [Sun, 23 Feb 2020 22:54:52 +0000 (17:54 -0500)]
s/request_io_ctx/rctx/
Arran Cudbard-Bell [Sun, 23 Feb 2020 22:47:53 +0000 (17:47 -0500)]
Less ambiguous name
Arran Cudbard-Bell [Sun, 23 Feb 2020 22:42:29 +0000 (17:42 -0500)]
Switch to single letter for result struct
Arran Cudbard-Bell [Sun, 23 Feb 2020 22:20:45 +0000 (17:20 -0500)]
Have the submodule allocate the rctx
Arran Cudbard-Bell [Sun, 23 Feb 2020 22:20:14 +0000 (17:20 -0500)]
Pass "cancel" signal through to submodule
Remove duplicate check for synchronous behaviour
Arran Cudbard-Bell [Sun, 23 Feb 2020 22:18:29 +0000 (17:18 -0500)]
Use the standard signal function signature instead of creating a new one with a slightly different argument order
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:25:38 +0000 (16:25 -0500)]
Really need a common API for this...
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:24:24 +0000 (16:24 -0500)]
Don't do extra work when the module API does it for us...
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:22:45 +0000 (16:22 -0500)]
rlm_radius doesn't need to cache el, it has no timers or I/O events
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:20:52 +0000 (16:20 -0500)]
Unused
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:19:55 +0000 (16:19 -0500)]
Arrange in order of use
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:19:44 +0000 (16:19 -0500)]
Trunk writes out errors directly...
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:12:55 +0000 (16:12 -0500)]
Simplify field names
Reorder struct definitions in order of use (first last)
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:02:04 +0000 (16:02 -0500)]
Assume the submodule emmits an error
Arran Cudbard-Bell [Sun, 23 Feb 2020 21:01:18 +0000 (16:01 -0500)]
Use standard module method fields
Arran Cudbard-Bell [Sun, 23 Feb 2020 20:51:43 +0000 (15:51 -0500)]
Fix function order in rlm_radius
Fix struct names in rlm_radius
Arran Cudbard-Bell [Sun, 23 Feb 2020 20:14:15 +0000 (15:14 -0500)]
Qualify struct names
Alan T. DeKok [Sun, 23 Feb 2020 13:00:00 +0000 (14:00 +0100)]
remove "case_sensitive". The code was removed a while ago
Matthew Newton [Fri, 21 Feb 2020 21:09:16 +0000 (21:09 +0000)]
a couple more
Matthew Newton [Fri, 21 Feb 2020 20:06:17 +0000 (20:06 +0000)]
keep clang happy
Matthew Newton [Wed, 29 Jan 2020 16:44:03 +0000 (16:44 +0000)]
rlm_json: additional jsonquote tests
Matthew Newton [Wed, 29 Jan 2020 16:43:33 +0000 (16:43 +0000)]
rlm_json: convert jsonquote xlat to async
Matthew Newton [Mon, 27 Jan 2020 17:22:37 +0000 (17:22 +0000)]
rlm_json: update raddb and add json_encode documentation
Matthew Newton [Tue, 28 Jan 2020 01:12:54 +0000 (01:12 +0000)]
rlm_json: json_encode xlat module tests
Matthew Newton [Thu, 16 Jan 2020 17:34:37 +0000 (17:34 +0000)]
rlm_json: add json_encode xlat; converts attributes to JSON document
Matthew Newton [Mon, 17 Feb 2020 00:03:29 +0000 (00:03 +0000)]
lib/json: CONF_PARSER definition for json_format
Matthew Newton [Sun, 16 Feb 2020 23:56:47 +0000 (23:56 +0000)]
lib/json: verify json format struct
Matthew Newton [Mon, 17 Feb 2020 00:16:52 +0000 (00:16 +0000)]
lib/json: ability to generate several different JSON formats
Matthew Newton [Tue, 21 Jan 2020 21:10:34 +0000 (21:10 +0000)]
add fr_bskip_whitespace macro
Arran Cudbard-Bell [Fri, 21 Feb 2020 12:43:19 +0000 (13:43 +0100)]
Remove thread pointer from udp_connection_t
Arran Cudbard-Bell [Fri, 21 Feb 2020 10:11:55 +0000 (11:11 +0100)]
Use passed in tconn
Arran Cudbard-Bell [Fri, 21 Feb 2020 09:50:02 +0000 (10:50 +0100)]
Add state check function for connections
Arran Cudbard-Bell [Fri, 21 Feb 2020 09:40:25 +0000 (10:40 +0100)]
Don't allow fr_trunk_connection_requests_requeue to run on draining or draining_to_free
Arran Cudbard-Bell [Fri, 21 Feb 2020 09:32:06 +0000 (10:32 +0100)]
Don't assume anything about the tconn state
Kicks the can down the road for callers on trunk_connection_requests_requeue, but oh well
Arran Cudbard-Bell [Thu, 20 Feb 2020 10:38:44 +0000 (11:38 +0100)]
Use correct enum value
Arran Cudbard-Bell [Thu, 20 Feb 2020 08:16:00 +0000 (09:16 +0100)]
Add asserts around connection state
Jorge Pereira [Thu, 20 Feb 2020 07:47:41 +0000 (04:47 -0300)]
s/trunk/pool - Should use the same config option for both pools and trunks (#3297)
Arran Cudbard-Bell [Wed, 19 Feb 2020 16:58:52 +0000 (17:58 +0100)]
s/trunk/pool - Should use the same config option for both pools and trunks
Arran Cudbard-Bell [Wed, 19 Feb 2020 16:51:14 +0000 (17:51 +0100)]
Singularise
Arran Cudbard-Bell [Wed, 19 Feb 2020 16:46:46 +0000 (17:46 +0100)]
Deal with req_cleanup_delay == 0
Arran Cudbard-Bell [Wed, 19 Feb 2020 16:35:46 +0000 (17:35 +0100)]
Allow fr_dlist_entry_in_list to work with "uninitialised" (but zeroed) list headers
Arran Cudbard-Bell [Wed, 19 Feb 2020 14:03:38 +0000 (15:03 +0100)]
Cleanup event code slightly
Arran Cudbard-Bell [Wed, 19 Feb 2020 14:03:22 +0000 (15:03 +0100)]
Check if timer is in pending list
Arran Cudbard-Bell [Wed, 19 Feb 2020 13:42:05 +0000 (14:42 +0100)]
Enable corruption/type checking for event.c dlsts
Matthew Newton [Tue, 18 Feb 2020 17:23:23 +0000 (17:23 +0000)]
update cursor comments
Arran Cudbard-Bell [Sun, 16 Feb 2020 19:01:37 +0000 (13:01 -0600)]
Remove extraneous call to check_for_zombie, have check_for_zombie take tconn instead of h
Arran Cudbard-Bell [Sun, 16 Feb 2020 18:02:14 +0000 (12:02 -0600)]
s/udp_rcode_t/udp_result_t/ otherwise we have rcode->rcode everywhere which looks really dumb
Arran Cudbard-Bell [Sun, 16 Feb 2020 17:58:50 +0000 (11:58 -0600)]
Fix some magic numbers
Alan T. DeKok [Sun, 16 Feb 2020 22:30:16 +0000 (17:30 -0500)]
revert until we find out why its failing
this change appears to yield loops in pair lists?
Alan T. DeKok [Sun, 16 Feb 2020 18:57:24 +0000 (13:57 -0500)]
one last check for is_root
Alan T. DeKok [Sun, 16 Feb 2020 16:10:15 +0000 (11:10 -0500)]
check for is_root here, too
Alan T. DeKok [Sun, 16 Feb 2020 14:24:34 +0000 (09:24 -0500)]
use da->dict, to avoid talloc_parent
Arran Cudbard-Bell [Sat, 15 Feb 2020 18:58:03 +0000 (12:58 -0600)]
Slightly more meaningful goto
Do all state signalling at the same call level
Arran Cudbard-Bell [Sat, 15 Feb 2020 18:57:15 +0000 (12:57 -0600)]
Allow bound requests to survive requeue
Alan T. DeKok [Sat, 15 Feb 2020 16:56:17 +0000 (11:56 -0500)]
remove unnecessary code
Alan T. DeKok [Fri, 14 Feb 2020 21:25:33 +0000 (16:25 -0500)]
just use dlists...
Alan T. DeKok [Fri, 14 Feb 2020 21:18:26 +0000 (16:18 -0500)]
be more accepting of corner cases
Alan T. DeKok [Fri, 14 Feb 2020 21:05:45 +0000 (16:05 -0500)]
remove from ev_to_add on free, if necessary
Arran Cudbard-Bell [Fri, 14 Feb 2020 18:59:57 +0000 (12:59 -0600)]
Shuffle function order
Arran Cudbard-Bell [Fri, 14 Feb 2020 18:58:25 +0000 (12:58 -0600)]
Add public function to allow enqueuing on specific connections
Allow requests to be requeued on an "inactive" connection.
Arran Cudbard-Bell [Fri, 14 Feb 2020 18:04:21 +0000 (12:04 -0600)]
Make type name agree with enum values
Arran Cudbard-Bell [Fri, 14 Feb 2020 18:00:37 +0000 (12:00 -0600)]
Enums before structs
Jorge Pereira [Tue, 11 Feb 2020 02:30:30 +0000 (23:30 -0300)]
Update the auto-generated .adoc files
Alan T. DeKok [Thu, 13 Feb 2020 15:25:30 +0000 (10:25 -0500)]
errors can be at end of string
Alan T. DeKok [Thu, 13 Feb 2020 15:04:14 +0000 (10:04 -0500)]
remove redunant declaration
Alan T. DeKok [Thu, 13 Feb 2020 14:29:39 +0000 (09:29 -0500)]
set the FD to be readable when we're doing status checks
Alan T. DeKok [Thu, 13 Feb 2020 14:28:53 +0000 (09:28 -0500)]
status server checks should be sent more often
Alan T. DeKok [Wed, 12 Feb 2020 21:27:58 +0000 (16:27 -0500)]
we don't need to wrong times
we don't need 9 digits of accuracy for max_request_time messages
we don't need to show how "cleanup - now" time. That's the time
we over-ran max_request_time. The user doesn't know what that
means.
Alan T. DeKok [Wed, 12 Feb 2020 21:26:25 +0000 (16:26 -0500)]
don't free rctx, it will die when the request dies
Alan T. DeKok [Wed, 12 Feb 2020 20:50:23 +0000 (15:50 -0500)]
more cleanups and corner cases
Alan T. DeKok [Wed, 12 Feb 2020 20:05:37 +0000 (15:05 -0500)]
fix checks for zombie period
there are many possible failure conditions, so we have to check
for them all, and handle them all.
Alan T. DeKok [Wed, 12 Feb 2020 19:56:04 +0000 (14:56 -0500)]
don't add multiples of the same attributes
Jorge Pereira [Wed, 12 Feb 2020 20:11:14 +0000 (17:11 -0300)]
Ignore leaks in getaddrinfo() at /usr/lib/system/libsystem_info.dylib (#3292)
The leak is happening only on OSX >= Catalina + Clang8.
Arran Cudbard-Bell [Wed, 12 Feb 2020 15:12:50 +0000 (09:12 -0600)]
Don't need accessor anymore
Alan T. DeKok [Tue, 11 Feb 2020 21:19:40 +0000 (16:19 -0500)]
make enums public, so callers can use them
Alan T. DeKok [Sat, 8 Feb 2020 14:07:41 +0000 (09:07 -0500)]
fewer calls to fr_time()
Alan T. DeKok [Sat, 8 Feb 2020 14:06:40 +0000 (09:06 -0500)]
cache "last updated" time
Jorge Pereira [Tue, 11 Feb 2020 01:09:12 +0000 (22:09 -0300)]
Backport dictionary changes from v3.0.x (#3276)
Hua Zhong [Thu, 6 Feb 2020 03:21:36 +0000 (19:21 -0800)]
Add Arista VSA 6-9
Jorge Pereira [Fri, 7 Feb 2020 19:21:29 +0000 (16:21 -0300)]
Update dictionary.wimax attributes (#3283)
It was based on the image "[0105] FIG. 9" in https://patents.google.com/patent/WO2009155120A2/en
Backport from v3.0.x #3282
Alan T. DeKok [Fri, 7 Feb 2020 17:31:57 +0000 (12:31 -0500)]
document revive_interval
Alan T. DeKok [Fri, 7 Feb 2020 17:27:21 +0000 (12:27 -0500)]
add revive_interval
Alan T. DeKok [Fri, 7 Feb 2020 16:06:33 +0000 (11:06 -0500)]
one last one
Jorge Pereira [Thu, 6 Feb 2020 23:50:36 +0000 (20:50 -0300)]
Fix WiMAX-MSK attribute
Alan T. DeKok [Fri, 7 Feb 2020 15:35:26 +0000 (10:35 -0500)]
sometimes the scanner is smart, too!
Alan T. DeKok [Fri, 7 Feb 2020 15:15:07 +0000 (10:15 -0500)]
cleanups and try to shut up scanner
Alan T. DeKok [Fri, 7 Feb 2020 14:54:22 +0000 (09:54 -0500)]
make status checks work
Alan T. DeKok [Thu, 6 Feb 2020 20:12:48 +0000 (15:12 -0500)]
abstract ID clearing for simplicity
Alan T. DeKok [Thu, 6 Feb 2020 14:44:03 +0000 (09:44 -0500)]
be better about zombies
Alan T. DeKok [Thu, 6 Feb 2020 14:19:04 +0000 (09:19 -0500)]
use treq->rctx
Alan T. DeKok [Thu, 6 Feb 2020 14:14:36 +0000 (09:14 -0500)]
crash less often at exit
Alan T. DeKok [Thu, 6 Feb 2020 14:06:00 +0000 (09:06 -0500)]
check for min before check for no requests
Alan T. DeKok [Thu, 6 Feb 2020 13:35:42 +0000 (08:35 -0500)]
cleanups so it doesn't crash.
move "rcode" to udp_rctx_t
point to rctx from preq, otherwise it's impossible to update
rcode
Alan T. DeKok [Wed, 5 Feb 2020 14:49:37 +0000 (09:49 -0500)]
just use STRINGIFY, and revert previous changes
Alan T. DeKok [Wed, 5 Feb 2020 14:08:15 +0000 (09:08 -0500)]
more checks for zombie connections