]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
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/
Alan T. DeKok [Wed, 30 Nov 2016 13:55:01 +0000 (08:55 -0500)]
doxygen
Alan T. DeKok [Wed, 30 Nov 2016 13:30:38 +0000 (08:30 -0500)]
switch with no match and no default
Arran Cudbard-Bell [Tue, 29 Nov 2016 22:16:43 +0000 (17:16 -0500)]
session_tracking is in pool_inst
Arran Cudbard-Bell [Tue, 29 Nov 2016 22:04:48 +0000 (17:04 -0500)]
Split configurations in rlm_ldap into instance and pool specific
Arran Cudbard-Bell [Tue, 29 Nov 2016 16:12:41 +0000 (11:12 -0500)]
Use conn instance
Arran Cudbard-Bell [Tue, 29 Nov 2016 12:29:15 +0000 (07:29 -0500)]
Cast to int
Arran Cudbard-Bell [Tue, 29 Nov 2016 11:14:13 +0000 (06:14 -0500)]
Output seconds until we retry
Arran Cudbard-Bell [Tue, 29 Nov 2016 10:52:55 +0000 (05:52 -0500)]
If there's no acquire method, don't check for non-null handle
Alan T. DeKok [Mon, 28 Nov 2016 21:54:30 +0000 (16:54 -0500)]
added receiver code
Basic infrastructure for now. More later.
Alan T. DeKok [Mon, 28 Nov 2016 20:57:22 +0000 (15:57 -0500)]
doxygen
Alan T. DeKok [Mon, 28 Nov 2016 20:39:11 +0000 (15:39 -0500)]
'read' and 'write' are NOT variable names
They are functions which are defined in Posix.
Alan T. DeKok [Mon, 28 Nov 2016 20:32:48 +0000 (15:32 -0500)]
Added transports to the create method.
We may add dynamic transports later. For now, they are statically
allocated when the application starts.
Arran Cudbard-Bell [Mon, 28 Nov 2016 20:28:03 +0000 (15:28 -0500)]
Work around bug in macOS Sierra's kevent, where it won't let us add/delete filters for the same fd in the same call
Arran Cudbard-Bell [Mon, 28 Nov 2016 20:01:44 +0000 (15:01 -0500)]
Fix comment
Arran Cudbard-Bell [Mon, 28 Nov 2016 20:01:35 +0000 (15:01 -0500)]
s/instance/inst
Arran Cudbard-Bell [Mon, 28 Nov 2016 20:01:25 +0000 (15:01 -0500)]
Emit a FR_PROTO_HEX_DUMP message about trailing junk
Alan T. DeKok [Mon, 28 Nov 2016 19:53:41 +0000 (14:53 -0500)]
remove unused variable
Alan T. DeKok [Mon, 28 Nov 2016 18:07:11 +0000 (13:07 -0500)]
use separate signals for receiver / worker
Alan T. DeKok [Mon, 28 Nov 2016 18:00:25 +0000 (13:00 -0500)]
track channel active / closing
Alan T. DeKok [Mon, 28 Nov 2016 16:38:42 +0000 (11:38 -0500)]
make event.h a little more stand-alone
Alan T. DeKok [Mon, 28 Nov 2016 16:07:45 +0000 (11:07 -0500)]
priority is for both requests and replies
Alan T. DeKok [Mon, 28 Nov 2016 15:50:54 +0000 (10:50 -0500)]
expose "get worker kq" function
Alan T. DeKok [Mon, 28 Nov 2016 15:19:22 +0000 (10:19 -0500)]
don't print warnings. just ignore it
Alan T. DeKok [Mon, 28 Nov 2016 14:29:14 +0000 (09:29 -0500)]
Garbage after the packet is a warning, not an error
Alan T. DeKok [Sun, 27 Nov 2016 14:11:30 +0000 (09:11 -0500)]
add assertion
Arran Cudbard-Bell [Mon, 28 Nov 2016 14:22:53 +0000 (09:22 -0500)]
Fix copy/paste error in fr_pair_cmp_by_parent_num_tag
Arran Cudbard-Bell [Mon, 28 Nov 2016 01:26:55 +0000 (20:26 -0500)]
...and change some CURLM_OK to CURLE_OK
Arran Cudbard-Bell [Sun, 27 Nov 2016 22:39:36 +0000 (17:39 -0500)]
Use correct enum value
Arran Cudbard-Bell [Sun, 27 Nov 2016 22:02:35 +0000 (17:02 -0500)]
Ifdef out all the xlat code
Arran Cudbard-Bell [Sun, 27 Nov 2016 21:48:21 +0000 (16:48 -0500)]
Remove UNUSED markup from used variables in rlm_rest
Arran Cudbard-Bell [Sun, 27 Nov 2016 21:48:01 +0000 (16:48 -0500)]
Fix missing variable
Arran Cudbard-Bell [Sun, 27 Nov 2016 21:47:48 +0000 (16:47 -0500)]
fr_event_fd_insert should return an int like every other function in that api
Arran Cudbard-Bell [Sun, 27 Nov 2016 21:17:25 +0000 (16:17 -0500)]
Travis fixes
Arran Cudbard-Bell [Sun, 27 Nov 2016 21:04:27 +0000 (16:04 -0500)]
Make rlm_rest async... at the cost of breaking its xlats
...and not having it work for normal requests anymore.
Todo:
- Move xlat interpretation to the unlang stack
- Rework the connection pool API into a dual layer pool system (global and thread local).
Arran Cudbard-Bell [Sun, 27 Nov 2016 21:01:25 +0000 (16:01 -0500)]
Fix thread local destructors
_Thread_local void *foo;
set_pthread_destructor(&foo);
Doesn't work. Pointers to _Thread_local storage seem to become invalidated when threads exit.
Instead we need to store the value of the local storage... Which involves moving some macros around, but isn't a huge issue.
Arran Cudbard-Bell [Sun, 27 Nov 2016 18:06:59 +0000 (13:06 -0500)]
Prevent I/O handlers from deleting the events which called them
until after they've completed...
Arran Cudbard-Bell [Sun, 27 Nov 2016 16:22:23 +0000 (11:22 -0500)]
Fix error handling and filter overwriting in event.c
Arran Cudbard-Bell [Sun, 27 Nov 2016 16:02:40 +0000 (11:02 -0500)]
Formatting
Arran Cudbard-Bell [Sun, 27 Nov 2016 16:01:10 +0000 (11:01 -0500)]
Formatting
Arran Cudbard-Bell [Sun, 27 Nov 2016 15:28:08 +0000 (10:28 -0500)]
Merge pull request #1862 from herwinw/pool_radlog_nullpointer
Use workaround for error logging in connection.c (2)
Herwin Weststrate [Sun, 27 Nov 2016 14:46:46 +0000 (15:46 +0100)]
Use workaround for error logging in connection.c (2)
The previous workaround was not enough.
Arran Cudbard-Bell [Sun, 27 Nov 2016 14:26:09 +0000 (09:26 -0500)]
Merge pull request #1861 from herwinw/sd_watchdog_event
Fix build issues with sd_watchdog_event
Herwin Weststrate [Sun, 27 Nov 2016 14:17:24 +0000 (15:17 +0100)]
Use workaround for error logging in connection.c
We have defined a LOG_PREFIX_ARGS that will cause a null pointer
dereference in this specific scenario.
Herwin Weststrate [Sun, 27 Nov 2016 13:57:26 +0000 (14:57 +0100)]
Fix build issues with sd_watchdog_event
Probably not the best fix around, but at least it fixes the build
process
Arran Cudbard-Bell [Sun, 27 Nov 2016 03:48:30 +0000 (22:48 -0500)]
Fix busylooping thread_handler
Arran Cudbard-Bell [Sun, 27 Nov 2016 01:30:39 +0000 (20:30 -0500)]
Quiet clang scan
Arran Cudbard-Bell [Sun, 27 Nov 2016 00:13:56 +0000 (19:13 -0500)]
Doxygen
Arran Cudbard-Bell [Sun, 27 Nov 2016 00:12:01 +0000 (19:12 -0500)]
Call module_thread_instance_find with the module_instance not the instance data
Arran Cudbard-Bell [Sun, 27 Nov 2016 00:11:13 +0000 (19:11 -0500)]
Set thread instance data name correctly
Arran Cudbard-Bell [Sun, 27 Nov 2016 00:10:53 +0000 (19:10 -0500)]
Add more error messages to fr_connect_pool_init
Arran Cudbard-Bell [Sat, 26 Nov 2016 22:20:01 +0000 (17:20 -0500)]
Add thread argument to unlang continuation functions
Arran Cudbard-Bell [Sat, 26 Nov 2016 22:19:41 +0000 (17:19 -0500)]
Formatting
Arran Cudbard-Bell [Sat, 26 Nov 2016 20:25:58 +0000 (15:25 -0500)]
Constify cs in fr_connection_pool_init
Even though it isn't... ugh
Arran Cudbard-Bell [Sat, 26 Nov 2016 20:25:21 +0000 (15:25 -0500)]
Constify cf_reference_item
Arran Cudbard-Bell [Sat, 26 Nov 2016 20:24:51 +0000 (15:24 -0500)]
Constify trigger arguments
Arran Cudbard-Bell [Sat, 26 Nov 2016 20:26:41 +0000 (15:26 -0500)]
Pass const'd config section into thread_instantiate functions