]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Fri, 9 Dec 2016 21:46:06 +0000 (16:46 -0500)]
add other enum
Alan T. DeKok [Fri, 9 Dec 2016 21:33:39 +0000 (16:33 -0500)]
minor cleanups
Alan T. DeKok [Fri, 9 Dec 2016 21:24:31 +0000 (16:24 -0500)]
added control plane test
Alan T. DeKok [Fri, 9 Dec 2016 21:02:53 +0000 (16:02 -0500)]
usage updates
Alan T. DeKok [Fri, 9 Dec 2016 20:14:24 +0000 (15:14 -0500)]
separate num_events from rcode
Alan T. DeKok [Fri, 9 Dec 2016 19:55:10 +0000 (14:55 -0500)]
use better kevent flags
Alan T. DeKok [Fri, 9 Dec 2016 19:54:03 +0000 (14:54 -0500)]
fix debugging message
Alan T. DeKok [Fri, 9 Dec 2016 19:52:58 +0000 (14:52 -0500)]
re-arrange
Alan T. DeKok [Fri, 9 Dec 2016 18:53:20 +0000 (13:53 -0500)]
calculate buffer start properly...
Alan T. DeKok [Fri, 9 Dec 2016 18:53:06 +0000 (13:53 -0500)]
clarify variable names
Alan T. DeKok [Fri, 9 Dec 2016 18:41:20 +0000 (13:41 -0500)]
added ring_buffer_debug()
Alan T. DeKok [Fri, 9 Dec 2016 18:40:59 +0000 (13:40 -0500)]
check size against amount used, not against data end
Alan T. DeKok [Fri, 9 Dec 2016 18:32:19 +0000 (13:32 -0500)]
account for write_offset < data_start
Alan T. DeKok [Fri, 9 Dec 2016 18:32:12 +0000 (13:32 -0500)]
more assertions
Alan T. DeKok [Fri, 9 Dec 2016 16:02:20 +0000 (11:02 -0500)]
shut up stupid compiler
Alan T. DeKok [Fri, 9 Dec 2016 15:27:45 +0000 (10:27 -0500)]
make DONE_WORKER and WORKER_SLEEPING use the same logic
Alan T. DeKok [Thu, 8 Dec 2016 23:58:33 +0000 (18:58 -0500)]
remove unnecessary variable
Alan T. DeKok [Thu, 8 Dec 2016 23:40:20 +0000 (18:40 -0500)]
suppress re-signals if we've already signaled
Alan T. DeKok [Thu, 8 Dec 2016 23:25:28 +0000 (18:25 -0500)]
qualify doxygen paths
Alan T. DeKok [Thu, 8 Dec 2016 22:19:30 +0000 (17:19 -0500)]
added resignal count
Alan T. DeKok [Thu, 8 Dec 2016 22:16:37 +0000 (17:16 -0500)]
add DONE_WORKER signal, for when num_outstanding==0
And on reception, if the ACK != out sequence, re-send a signal
to the worker which tells it that data is ready
Alan T. DeKok [Thu, 8 Dec 2016 22:16:24 +0000 (17:16 -0500)]
no need to signal we're sleeping
Alan T. DeKok [Thu, 8 Dec 2016 14:53:26 +0000 (09:53 -0500)]
signal worker sleeping
Alan T. DeKok [Thu, 8 Dec 2016 14:43:24 +0000 (09:43 -0500)]
drain the reply queue always
stubbed out, but may help...
Alan T. DeKok [Thu, 8 Dec 2016 14:41:01 +0000 (09:41 -0500)]
account for replies in master num_outstanding
Alan T. DeKok [Thu, 8 Dec 2016 14:06:10 +0000 (09:06 -0500)]
assert that we only receive one channel open signal
Alan T. DeKok [Thu, 8 Dec 2016 14:05:47 +0000 (09:05 -0500)]
move EV_ADD etc. to macro
and add EV_CLEAR. Which (magically) now seems to work
Alan T. DeKok [Thu, 8 Dec 2016 14:03:59 +0000 (09:03 -0500)]
don't allow re-open of an open channel
Alan T. DeKok [Thu, 8 Dec 2016 14:00:31 +0000 (09:00 -0500)]
doxygen
Alan T. DeKok [Wed, 7 Dec 2016 22:39:59 +0000 (17:39 -0500)]
clarify messages
Alan T. DeKok [Wed, 7 Dec 2016 22:32:12 +0000 (17:32 -0500)]
print out when we get kevent with no data
Alan T. DeKok [Wed, 7 Dec 2016 22:30:13 +0000 (17:30 -0500)]
clean up debug messages
Alan T. DeKok [Wed, 7 Dec 2016 22:26:58 +0000 (17:26 -0500)]
track number of times service_kevent() was called
Alan T. DeKok [Wed, 7 Dec 2016 22:25:22 +0000 (17:25 -0500)]
fix debug message
Alan T. DeKok [Wed, 7 Dec 2016 21:33:10 +0000 (16:33 -0500)]
limit -o to something reasonable
Alan T. DeKok [Wed, 7 Dec 2016 21:18:41 +0000 (16:18 -0500)]
added FFNOP here
Alan T. DeKok [Wed, 7 Dec 2016 21:17:51 +0000 (16:17 -0500)]
FFNOP instead of FFCOPY
Alan T. DeKok [Wed, 7 Dec 2016 21:15:34 +0000 (16:15 -0500)]
add atomic queue to fr_channel_create()
in preparation for using atomic queues to send data.
Alan T. DeKok [Wed, 7 Dec 2016 20:34:16 +0000 (15:34 -0500)]
added const
Alan T. DeKok [Wed, 7 Dec 2016 20:18:29 +0000 (15:18 -0500)]
add control plane API functions.
Like channels, but much simpler, and used by channels.
because kevent() doesn't allow for sending multiple sets of data
in one "ident". And, we don't want to have 1000 "ident"s registered.
Alan T. DeKok [Wed, 7 Dec 2016 20:11:35 +0000 (15:11 -0500)]
clean up header file inclusions
Alan T. DeKok [Wed, 7 Dec 2016 20:09:12 +0000 (15:09 -0500)]
include sys/types, as we need it
Alan T. DeKok [Wed, 7 Dec 2016 19:56:32 +0000 (14:56 -0500)]
split channel close into two functions
Alan T. DeKok [Wed, 7 Dec 2016 19:52:43 +0000 (14:52 -0500)]
Added atomic queues to fr_channel_create()
Alan T. DeKok [Wed, 7 Dec 2016 19:48:41 +0000 (14:48 -0500)]
abstract signals into a local API
In preparation for the channel work.
Arran Cudbard-Bell [Wed, 7 Dec 2016 18:04:42 +0000 (13:04 -0500)]
Rename xlat public functions s/radius_xlat/xlat_eval/
Arran Cudbard-Bell [Wed, 7 Dec 2016 17:48:56 +0000 (12:48 -0500)]
Split xlat.c into xlat_eval.c, xlat_func.c and xlat_tokenize.c
Alan T. DeKok [Wed, 7 Dec 2016 16:38:14 +0000 (11:38 -0500)]
remove unused macro
Alan T. DeKok [Wed, 7 Dec 2016 15:37:17 +0000 (10:37 -0500)]
v4 API
Alan T. DeKok [Wed, 7 Dec 2016 14:56:01 +0000 (09:56 -0500)]
continue to "next" in xlat alternate. Fixes #1866
Alan T. DeKok [Wed, 7 Dec 2016 00:22:12 +0000 (19:22 -0500)]
indentation helps
Alan T. DeKok [Tue, 6 Dec 2016 22:24:17 +0000 (17:24 -0500)]
minor re-arrangement
Alan T. DeKok [Tue, 6 Dec 2016 20:55:02 +0000 (15:55 -0500)]
re-use the ring buffer code for messages
Instead of more custom code
Alan T. DeKok [Tue, 6 Dec 2016 16:32:19 +0000 (11:32 -0500)]
check the other ends ACKs of our packets
not our ACKs of the other ends packets
Alan T. DeKok [Mon, 5 Dec 2016 20:12:45 +0000 (15:12 -0500)]
EV_ADD doesn't need user_data
Arran Cudbard-Bell [Tue, 6 Dec 2016 21:14:28 +0000 (16:14 -0500)]
Merge pull request #1867 from herwinw/debian_lua
Fixed compilation problems with rlm_lua
Herwin Weststrate [Tue, 6 Dec 2016 19:52:42 +0000 (20:52 +0100)]
Fixed compilation problems with rlm_lua
When building the debian package, no configuration is tried for rlm_lua,
because it isn't listed in the stable modules. But because the folder
contains a file called all.mk, the build process still tries to build it
and fails. Quick and dirty solution: move all.mk to all.mk.in.
Arran Cudbard-Bell [Tue, 6 Dec 2016 12:10:49 +0000 (07:10 -0500)]
Ifdef out free function
Arran Cudbard-Bell [Mon, 5 Dec 2016 21:46:25 +0000 (16:46 -0500)]
don't allocate a stack unless we have pcre_jit_exec
Arran Cudbard-Bell [Mon, 5 Dec 2016 21:28:06 +0000 (16:28 -0500)]
Only use pcre_jit_exec if we have a sufficiently new version of libpcre
Arran Cudbard-Bell [Mon, 5 Dec 2016 20:24:01 +0000 (15:24 -0500)]
Use pcre_jit_exec for a further ~10% speed improvement on JIT'd regexes
Alan T. DeKok [Mon, 5 Dec 2016 17:26:09 +0000 (12:26 -0500)]
make it run-time code
Alan T. DeKok [Mon, 5 Dec 2016 16:36:21 +0000 (11:36 -0500)]
use macro for atomic queue size
Alan T. DeKok [Mon, 5 Dec 2016 16:12:37 +0000 (11:12 -0500)]
debug-only check
Alan T. DeKok [Mon, 5 Dec 2016 16:04:47 +0000 (11:04 -0500)]
use switch statement
Alan T. DeKok [Mon, 5 Dec 2016 16:00:49 +0000 (11:00 -0500)]
magically we don't need EV_RECEIPT
Alan T. DeKok [Mon, 5 Dec 2016 12:37:10 +0000 (07:37 -0500)]
fix typo
Arran Cudbard-Bell [Mon, 5 Dec 2016 13:41:06 +0000 (08:41 -0500)]
Fix typo (Only skip saving state if there's no request->state && no data)
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:36:18 +0000 (22:36 -0500)]
Load client {} for LDAP tests
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:34:46 +0000 (22:34 -0500)]
Doxygen
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:28:39 +0000 (22:28 -0500)]
Remove more UNUSED markers
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:25:10 +0000 (22:25 -0500)]
Getclient was removed
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:20:07 +0000 (22:20 -0500)]
src is used
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:03:09 +0000 (22:03 -0500)]
Try specifying explicit mysql versions
Arran Cudbard-Bell [Mon, 5 Dec 2016 00:57:21 +0000 (19:57 -0500)]
Move client xlats to rlm_client and add map client {}
This allows multivalued properties to be retrieved from clients...
Arran Cudbard-Bell [Mon, 5 Dec 2016 00:56:46 +0000 (19:56 -0500)]
Make the src argument in maps optional
Arran Cudbard-Bell [Mon, 5 Dec 2016 00:53:33 +0000 (19:53 -0500)]
Remove requirement of Filter-Id from default module test attrs file
Arran Cudbard-Bell [Sun, 4 Dec 2016 17:25:37 +0000 (12:25 -0500)]
Allow clients to be read in from the main configuration file in unit_test_module
Arran Cudbard-Bell [Sun, 4 Dec 2016 01:06:09 +0000 (20:06 -0500)]
Change map_processors to take a vp_tmpl_t as the src
This allows them to get native types for the src value
Alan T. DeKok [Sun, 4 Dec 2016 16:13:25 +0000 (11:13 -0500)]
debug how many signals the channel sent
Alan T. DeKok [Sun, 4 Dec 2016 16:13:00 +0000 (11:13 -0500)]
added channel_debug
and fixed send_reply() logic to send fewer packets.
Alan T. DeKok [Sun, 4 Dec 2016 15:22:19 +0000 (10:22 -0500)]
added option to read "packet" data memory
Alan T. DeKok [Sun, 4 Dec 2016 14:57:20 +0000 (09:57 -0500)]
rename variables
Alan T. DeKok [Sun, 4 Dec 2016 14:50:53 +0000 (09:50 -0500)]
make kevent functions private
Alan T. DeKok [Sun, 4 Dec 2016 00:28:31 +0000 (19:28 -0500)]
remove unused variable
Alan T. DeKok [Sat, 3 Dec 2016 19:07:05 +0000 (14:07 -0500)]
this works better
NOTE: passing a NULL changelist to kevent means it won't work!
Alan T. DeKok [Sat, 3 Dec 2016 19:04:00 +0000 (14:04 -0500)]
this seems to work better
Alan T. DeKok [Sat, 3 Dec 2016 17:58:01 +0000 (12:58 -0500)]
use correct field
Alan T. DeKok [Sat, 3 Dec 2016 17:03:58 +0000 (12:03 -0500)]
missed
Alan T. DeKok [Sat, 3 Dec 2016 16:58:44 +0000 (11:58 -0500)]
channel test code
Alan T. DeKok [Sat, 3 Dec 2016 16:58:23 +0000 (11:58 -0500)]
add more KQ functions.
Alan T. DeKok [Fri, 2 Dec 2016 21:10:51 +0000 (16:10 -0500)]
allow ack for channel close
Alan T. DeKok [Fri, 2 Dec 2016 16:54:07 +0000 (11:54 -0500)]
remove deprecated config items
Alan T. DeKok [Wed, 30 Nov 2016 20:10:36 +0000 (15:10 -0500)]
don't use deprecated function.
Arran Cudbard-Bell [Sat, 3 Dec 2016 01:50:55 +0000 (20:50 -0500)]
Rename unlang.c and modcall.c to unlang_interpret.c and unlang_compile.c
Arran Cudbard-Bell [Thu, 1 Dec 2016 14:51:28 +0000 (09:51 -0500)]
More clang scan warnings
Arran Cudbard-Bell [Thu, 1 Dec 2016 02:58:28 +0000 (21:58 -0500)]
constify pool_inst
Arran Cudbard-Bell [Thu, 1 Dec 2016 02:42:26 +0000 (21:42 -0500)]
Cache pool_inst so if binding/reconnecting fails we still have access to it
Arran Cudbard-Bell [Thu, 1 Dec 2016 02:07:39 +0000 (21:07 -0500)]
Switch cf_data_* to using C data types qualified by names
Arran Cudbard-Bell [Wed, 30 Nov 2016 21:02:53 +0000 (16:02 -0500)]
s/config_server/server_str/