]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agoadd other enum
Alan T. DeKok [Fri, 9 Dec 2016 21:46:06 +0000 (16:46 -0500)] 
add other enum

9 years agominor cleanups
Alan T. DeKok [Fri, 9 Dec 2016 21:33:39 +0000 (16:33 -0500)] 
minor cleanups

9 years agoadded control plane test
Alan T. DeKok [Fri, 9 Dec 2016 21:24:31 +0000 (16:24 -0500)] 
added control plane test

9 years agousage updates
Alan T. DeKok [Fri, 9 Dec 2016 21:02:53 +0000 (16:02 -0500)] 
usage updates

9 years agoseparate num_events from rcode
Alan T. DeKok [Fri, 9 Dec 2016 20:14:24 +0000 (15:14 -0500)] 
separate num_events from rcode

9 years agouse better kevent flags
Alan T. DeKok [Fri, 9 Dec 2016 19:55:10 +0000 (14:55 -0500)] 
use better kevent flags

9 years agofix debugging message
Alan T. DeKok [Fri, 9 Dec 2016 19:54:03 +0000 (14:54 -0500)] 
fix debugging message

9 years agore-arrange
Alan T. DeKok [Fri, 9 Dec 2016 19:52:58 +0000 (14:52 -0500)] 
re-arrange

9 years agocalculate buffer start properly...
Alan T. DeKok [Fri, 9 Dec 2016 18:53:20 +0000 (13:53 -0500)] 
calculate buffer start properly...

9 years agoclarify variable names
Alan T. DeKok [Fri, 9 Dec 2016 18:53:06 +0000 (13:53 -0500)] 
clarify variable names

9 years agoadded ring_buffer_debug()
Alan T. DeKok [Fri, 9 Dec 2016 18:41:20 +0000 (13:41 -0500)] 
added ring_buffer_debug()

9 years agocheck size against amount used, not against data end
Alan T. DeKok [Fri, 9 Dec 2016 18:40:59 +0000 (13:40 -0500)] 
check size against amount used, not against data end

9 years agoaccount for write_offset < data_start
Alan T. DeKok [Fri, 9 Dec 2016 18:32:19 +0000 (13:32 -0500)] 
account for write_offset < data_start

9 years agomore assertions
Alan T. DeKok [Fri, 9 Dec 2016 18:32:12 +0000 (13:32 -0500)] 
more assertions

9 years agoshut up stupid compiler
Alan T. DeKok [Fri, 9 Dec 2016 16:02:20 +0000 (11:02 -0500)] 
shut up stupid compiler

9 years agomake DONE_WORKER and WORKER_SLEEPING use the same logic
Alan T. DeKok [Fri, 9 Dec 2016 15:27:45 +0000 (10:27 -0500)] 
make DONE_WORKER and WORKER_SLEEPING use the same logic

9 years agoremove unnecessary variable
Alan T. DeKok [Thu, 8 Dec 2016 23:58:33 +0000 (18:58 -0500)] 
remove unnecessary variable

9 years agosuppress re-signals if we've already signaled
Alan T. DeKok [Thu, 8 Dec 2016 23:40:20 +0000 (18:40 -0500)] 
suppress re-signals if we've already signaled

9 years agoqualify doxygen paths
Alan T. DeKok [Thu, 8 Dec 2016 23:25:28 +0000 (18:25 -0500)] 
qualify doxygen paths

9 years agoadded resignal count
Alan T. DeKok [Thu, 8 Dec 2016 22:19:30 +0000 (17:19 -0500)] 
added resignal count

9 years agoadd DONE_WORKER signal, for when num_outstanding==0
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

9 years agono need to signal we're sleeping
Alan T. DeKok [Thu, 8 Dec 2016 22:16:24 +0000 (17:16 -0500)] 
no need to signal we're sleeping

9 years agosignal worker sleeping
Alan T. DeKok [Thu, 8 Dec 2016 14:53:26 +0000 (09:53 -0500)] 
signal worker sleeping

9 years agodrain the reply queue always
Alan T. DeKok [Thu, 8 Dec 2016 14:43:24 +0000 (09:43 -0500)] 
drain the reply queue always

stubbed out, but may help...

9 years agoaccount for replies in master num_outstanding
Alan T. DeKok [Thu, 8 Dec 2016 14:41:01 +0000 (09:41 -0500)] 
account for replies in master num_outstanding

9 years agoassert that we only receive one channel open signal
Alan T. DeKok [Thu, 8 Dec 2016 14:06:10 +0000 (09:06 -0500)] 
assert that we only receive one channel open signal

9 years agomove EV_ADD etc. to macro
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

9 years agodon't allow re-open of an open channel
Alan T. DeKok [Thu, 8 Dec 2016 14:03:59 +0000 (09:03 -0500)] 
don't allow re-open of an open channel

9 years agodoxygen
Alan T. DeKok [Thu, 8 Dec 2016 14:00:31 +0000 (09:00 -0500)] 
doxygen

9 years agoclarify messages
Alan T. DeKok [Wed, 7 Dec 2016 22:39:59 +0000 (17:39 -0500)] 
clarify messages

9 years agoprint out when we get kevent with no data
Alan T. DeKok [Wed, 7 Dec 2016 22:32:12 +0000 (17:32 -0500)] 
print out when we get kevent with no data

9 years agoclean up debug messages
Alan T. DeKok [Wed, 7 Dec 2016 22:30:13 +0000 (17:30 -0500)] 
clean up debug messages

9 years agotrack number of times service_kevent() was called
Alan T. DeKok [Wed, 7 Dec 2016 22:26:58 +0000 (17:26 -0500)] 
track number of times service_kevent() was called

9 years agofix debug message
Alan T. DeKok [Wed, 7 Dec 2016 22:25:22 +0000 (17:25 -0500)] 
fix debug message

9 years agolimit -o to something reasonable
Alan T. DeKok [Wed, 7 Dec 2016 21:33:10 +0000 (16:33 -0500)] 
limit -o to something reasonable

9 years agoadded FFNOP here
Alan T. DeKok [Wed, 7 Dec 2016 21:18:41 +0000 (16:18 -0500)] 
added FFNOP here

9 years agoFFNOP instead of FFCOPY
Alan T. DeKok [Wed, 7 Dec 2016 21:17:51 +0000 (16:17 -0500)] 
FFNOP instead of FFCOPY

9 years agoadd atomic queue to fr_channel_create()
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.

9 years agoadded const
Alan T. DeKok [Wed, 7 Dec 2016 20:34:16 +0000 (15:34 -0500)] 
added const

9 years agoadd control plane API functions.
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.

9 years agoclean up header file inclusions
Alan T. DeKok [Wed, 7 Dec 2016 20:11:35 +0000 (15:11 -0500)] 
clean up header file inclusions

9 years agoinclude sys/types, as we need it
Alan T. DeKok [Wed, 7 Dec 2016 20:09:12 +0000 (15:09 -0500)] 
include sys/types, as we need it

9 years agosplit channel close into two functions
Alan T. DeKok [Wed, 7 Dec 2016 19:56:32 +0000 (14:56 -0500)] 
split channel close into two functions

9 years agoAdded atomic queues to fr_channel_create()
Alan T. DeKok [Wed, 7 Dec 2016 19:52:43 +0000 (14:52 -0500)] 
Added atomic queues to fr_channel_create()

9 years agoabstract signals into a local API
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.

9 years agoRename xlat public functions s/radius_xlat/xlat_eval/
Arran Cudbard-Bell [Wed, 7 Dec 2016 18:04:42 +0000 (13:04 -0500)] 
Rename xlat public functions s/radius_xlat/xlat_eval/

9 years agoSplit xlat.c into xlat_eval.c, xlat_func.c and xlat_tokenize.c
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

9 years agoremove unused macro
Alan T. DeKok [Wed, 7 Dec 2016 16:38:14 +0000 (11:38 -0500)] 
remove unused macro

9 years agov4 API
Alan T. DeKok [Wed, 7 Dec 2016 15:37:17 +0000 (10:37 -0500)] 
v4 API

9 years agocontinue to "next" in xlat alternate. Fixes #1866
Alan T. DeKok [Wed, 7 Dec 2016 14:56:01 +0000 (09:56 -0500)] 
continue to "next" in xlat alternate.  Fixes #1866

9 years agoindentation helps
Alan T. DeKok [Wed, 7 Dec 2016 00:22:12 +0000 (19:22 -0500)] 
indentation helps

9 years agominor re-arrangement
Alan T. DeKok [Tue, 6 Dec 2016 22:24:17 +0000 (17:24 -0500)] 
minor re-arrangement

9 years agore-use the ring buffer code for messages
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

9 years agocheck the other ends ACKs of our packets
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

9 years agoEV_ADD doesn't need user_data
Alan T. DeKok [Mon, 5 Dec 2016 20:12:45 +0000 (15:12 -0500)] 
EV_ADD doesn't need user_data

9 years agoMerge pull request #1867 from herwinw/debian_lua
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

9 years agoFixed compilation problems with rlm_lua 1867/head
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.

9 years agoIfdef out free function
Arran Cudbard-Bell [Tue, 6 Dec 2016 12:10:49 +0000 (07:10 -0500)] 
Ifdef out free function

9 years agodon't allocate a stack unless we have pcre_jit_exec
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

9 years agoOnly use pcre_jit_exec if we have a sufficiently new version of libpcre
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

9 years agoUse pcre_jit_exec for a further ~10% speed improvement on JIT'd regexes
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

9 years agomake it run-time code
Alan T. DeKok [Mon, 5 Dec 2016 17:26:09 +0000 (12:26 -0500)] 
make it run-time code

9 years agouse macro for atomic queue size
Alan T. DeKok [Mon, 5 Dec 2016 16:36:21 +0000 (11:36 -0500)] 
use macro for atomic queue size

9 years agodebug-only check
Alan T. DeKok [Mon, 5 Dec 2016 16:12:37 +0000 (11:12 -0500)] 
debug-only check

9 years agouse switch statement
Alan T. DeKok [Mon, 5 Dec 2016 16:04:47 +0000 (11:04 -0500)] 
use switch statement

9 years agomagically we don't need EV_RECEIPT
Alan T. DeKok [Mon, 5 Dec 2016 16:00:49 +0000 (11:00 -0500)] 
magically we don't need EV_RECEIPT

9 years agofix typo
Alan T. DeKok [Mon, 5 Dec 2016 12:37:10 +0000 (07:37 -0500)] 
fix typo

9 years agoFix typo (Only skip saving state if there's no request->state && no data)
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)

9 years agoLoad client {} for LDAP tests
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:36:18 +0000 (22:36 -0500)] 
Load client {} for LDAP tests

9 years agoDoxygen
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:34:46 +0000 (22:34 -0500)] 
Doxygen

9 years agoRemove more UNUSED markers
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:28:39 +0000 (22:28 -0500)] 
Remove more UNUSED markers

9 years agoGetclient was removed
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:25:10 +0000 (22:25 -0500)] 
Getclient was removed

9 years agosrc is used
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:20:07 +0000 (22:20 -0500)] 
src is used

9 years agoTry specifying explicit mysql versions
Arran Cudbard-Bell [Mon, 5 Dec 2016 03:03:09 +0000 (22:03 -0500)] 
Try specifying explicit mysql versions

9 years agoMove client xlats to rlm_client and add map client {}
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...

9 years agoMake the src argument in maps optional
Arran Cudbard-Bell [Mon, 5 Dec 2016 00:56:46 +0000 (19:56 -0500)] 
Make the src argument in maps optional

9 years agoRemove requirement of Filter-Id from default module test attrs file
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

9 years agoAllow clients to be read in from the main configuration file in unit_test_module
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

9 years agoChange map_processors to take a vp_tmpl_t as the src
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

9 years agodebug how many signals the channel sent
Alan T. DeKok [Sun, 4 Dec 2016 16:13:25 +0000 (11:13 -0500)] 
debug how many signals the channel sent

9 years agoadded channel_debug
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.

9 years agoadded option to read "packet" data memory
Alan T. DeKok [Sun, 4 Dec 2016 15:22:19 +0000 (10:22 -0500)] 
added option to read "packet" data memory

9 years agorename variables
Alan T. DeKok [Sun, 4 Dec 2016 14:57:20 +0000 (09:57 -0500)] 
rename variables

9 years agomake kevent functions private
Alan T. DeKok [Sun, 4 Dec 2016 14:50:53 +0000 (09:50 -0500)] 
make kevent functions private

9 years agoremove unused variable
Alan T. DeKok [Sun, 4 Dec 2016 00:28:31 +0000 (19:28 -0500)] 
remove unused variable

9 years agothis works better
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!

9 years agothis seems to work better
Alan T. DeKok [Sat, 3 Dec 2016 19:04:00 +0000 (14:04 -0500)] 
this seems to work better

9 years agouse correct field
Alan T. DeKok [Sat, 3 Dec 2016 17:58:01 +0000 (12:58 -0500)] 
use correct field

9 years agomissed
Alan T. DeKok [Sat, 3 Dec 2016 17:03:58 +0000 (12:03 -0500)] 
missed

9 years agochannel test code
Alan T. DeKok [Sat, 3 Dec 2016 16:58:44 +0000 (11:58 -0500)] 
channel test code

9 years agoadd more KQ functions.
Alan T. DeKok [Sat, 3 Dec 2016 16:58:23 +0000 (11:58 -0500)] 
add more KQ functions.

9 years agoallow ack for channel close
Alan T. DeKok [Fri, 2 Dec 2016 21:10:51 +0000 (16:10 -0500)] 
allow ack for channel close

9 years agoremove deprecated config items
Alan T. DeKok [Fri, 2 Dec 2016 16:54:07 +0000 (11:54 -0500)] 
remove deprecated config items

9 years agodon't use deprecated function.
Alan T. DeKok [Wed, 30 Nov 2016 20:10:36 +0000 (15:10 -0500)] 
don't use deprecated function.

9 years agoRename unlang.c and modcall.c to unlang_interpret.c and unlang_compile.c
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

9 years agoMore clang scan warnings
Arran Cudbard-Bell [Thu, 1 Dec 2016 14:51:28 +0000 (09:51 -0500)] 
More clang scan warnings

9 years agoconstify pool_inst
Arran Cudbard-Bell [Thu, 1 Dec 2016 02:58:28 +0000 (21:58 -0500)] 
constify pool_inst

9 years agoCache pool_inst so if binding/reconnecting fails we still have access to it
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

9 years agoSwitch cf_data_* to using C data types qualified by names
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

9 years agos/config_server/server_str/
Arran Cudbard-Bell [Wed, 30 Nov 2016 21:02:53 +0000 (16:02 -0500)] 
s/config_server/server_str/