]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Fri, 25 Nov 2016 13:34:01 +0000 (08:34 -0500)]
Temporarily ifdef out fr_worker_destroy
Arran Cudbard-Bell [Fri, 25 Nov 2016 13:23:18 +0000 (08:23 -0500)]
Cast ts.tv_nsec to time_t to avoid sign warnings
Arran Cudbard-Bell [Fri, 25 Nov 2016 12:09:27 +0000 (07:09 -0500)]
Set TLS variables directly
Alan T. DeKok [Fri, 25 Nov 2016 01:09:02 +0000 (20:09 -0500)]
doxygen
Arran Cudbard-Bell [Fri, 25 Nov 2016 00:27:39 +0000 (19:27 -0500)]
more travis fixes...
Alan T. DeKok [Thu, 24 Nov 2016 17:03:15 +0000 (12:03 -0500)]
expose more of the worker API
So that the caller can control how workers are run.
Alan T. DeKok [Wed, 23 Nov 2016 21:01:16 +0000 (16:01 -0500)]
it's one/two for comparison, not ctx/data
Alan T. DeKok [Wed, 23 Nov 2016 20:52:44 +0000 (15:52 -0500)]
more descriptive name
Alan T. DeKok [Wed, 23 Nov 2016 20:52:24 +0000 (15:52 -0500)]
add function to export the kqueue
Alan T. DeKok [Wed, 23 Nov 2016 20:36:01 +0000 (15:36 -0500)]
move cast into definition
Alan T. DeKok [Wed, 23 Nov 2016 18:41:51 +0000 (13:41 -0500)]
don't sent NAKs
If somethign goes wrong, we're async. Rely on the network thread
to clean things up.
Alan T. DeKok [Wed, 23 Nov 2016 18:29:36 +0000 (13:29 -0500)]
use new DLIST
Alan T. DeKok [Wed, 23 Nov 2016 18:10:54 +0000 (13:10 -0500)]
Macros to make life easier
Alan T. DeKok [Wed, 23 Nov 2016 17:54:24 +0000 (12:54 -0500)]
added check_timeout function, and more todo's
Arran Cudbard-Bell [Thu, 24 Nov 2016 22:35:23 +0000 (17:35 -0500)]
Start of async rlm_rest
Arran Cudbard-Bell [Thu, 24 Nov 2016 22:35:04 +0000 (17:35 -0500)]
Copyright on modules.c
Arran Cudbard-Bell [Thu, 24 Nov 2016 22:26:28 +0000 (17:26 -0500)]
Fix travis issues
Arran Cudbard-Bell [Thu, 24 Nov 2016 22:25:02 +0000 (17:25 -0500)]
Create proper struct names
Arran Cudbard-Bell [Thu, 24 Nov 2016 22:12:54 +0000 (17:12 -0500)]
trim back the numebr of arguments we pass to thread_instantiate and thread_detach
They can always bad added back later...
Arran Cudbard-Bell [Thu, 24 Nov 2016 21:56:12 +0000 (16:56 -0500)]
Use correct type for conf_data.type
Arran Cudbard-Bell [Thu, 24 Nov 2016 21:53:51 +0000 (16:53 -0500)]
Add per module/thread instantiation
Arran Cudbard-Bell [Thu, 24 Nov 2016 21:53:19 +0000 (16:53 -0500)]
Fix talloc thread ctx name
Arran Cudbard-Bell [Thu, 24 Nov 2016 20:54:43 +0000 (15:54 -0500)]
Add generic node free function for talloc node data
Arran Cudbard-Bell [Thu, 24 Nov 2016 20:54:25 +0000 (15:54 -0500)]
Document thread local macros
Arran Cudbard-Bell [Thu, 24 Nov 2016 20:54:05 +0000 (15:54 -0500)]
Rename interpreter to unlang
Arran Cudbard-Bell [Thu, 24 Nov 2016 17:58:45 +0000 (12:58 -0500)]
doxygen fixes
Arran Cudbard-Bell [Thu, 24 Nov 2016 17:57:58 +0000 (12:57 -0500)]
Check if method is NULL
Arran Cudbard-Bell [Thu, 24 Nov 2016 17:24:15 +0000 (12:24 -0500)]
Unused variable
Arran Cudbard-Bell [Thu, 24 Nov 2016 17:23:11 +0000 (12:23 -0500)]
Move virtual module instantiation into a separate section
Arran Cudbard-Bell [Thu, 24 Nov 2016 17:01:58 +0000 (12:01 -0500)]
Rip out server/module hup
They need to be re-added once v4 re-architecture is complete
Arran Cudbard-Bell [Thu, 24 Nov 2016 16:43:41 +0000 (11:43 -0500)]
Instantiate modules using the new CF_DATA walker
Arran Cudbard-Bell [Thu, 24 Nov 2016 16:43:08 +0000 (11:43 -0500)]
Add conffile log warning functions
Arran Cudbard-Bell [Wed, 23 Nov 2016 20:52:49 +0000 (15:52 -0500)]
Add cf_data_walk function to walk over CONF_DATA of a specific type
Arran Cudbard-Bell [Wed, 23 Nov 2016 16:05:00 +0000 (11:05 -0500)]
Document cf_data functions, and record type correctly.
Arran Cudbard-Bell [Tue, 22 Nov 2016 22:08:58 +0000 (17:08 -0500)]
Add type values for cf_data_*
Arran Cudbard-Bell [Tue, 22 Nov 2016 21:54:57 +0000 (16:54 -0500)]
Qualify cf_data names
Alan T. DeKok [Tue, 22 Nov 2016 18:21:21 +0000 (13:21 -0500)]
more travis fixes && todo
Alan T. DeKok [Tue, 22 Nov 2016 18:17:31 +0000 (13:17 -0500)]
Rename for Debian. Fixes #1856.
Manually done due to travis issues.
Alan T. DeKok [Tue, 22 Nov 2016 17:30:40 +0000 (12:30 -0500)]
create heaps
Alan T. DeKok [Tue, 22 Nov 2016 17:23:00 +0000 (12:23 -0500)]
added gpl header
Arran Cudbard-Bell [Tue, 22 Nov 2016 12:51:31 +0000 (07:51 -0500)]
reply_cnt is a size_t
Arran Cudbard-Bell [Mon, 21 Nov 2016 21:59:34 +0000 (16:59 -0500)]
...and more redis fixes.
Arran Cudbard-Bell [Tue, 22 Nov 2016 11:52:04 +0000 (06:52 -0500)]
Merge pull request #1854 from qnet-herwin/rlm_lua_copy_paste_error
Removed reference to json-c from rlm_lua configure
Herwin Weststrate [Tue, 22 Nov 2016 07:18:44 +0000 (08:18 +0100)]
Removed reference to json-c from rlm_lua configure
This was probably a copy-paste error
Alan T. DeKok [Mon, 21 Nov 2016 20:37:58 +0000 (15:37 -0500)]
Added sub transport, and worker implementations.
Still some work to do, but the basics should be there.
Alan T. DeKok [Mon, 21 Nov 2016 20:37:39 +0000 (15:37 -0500)]
add stub active / signal_close functions
Alan T. DeKok [Mon, 21 Nov 2016 20:05:36 +0000 (15:05 -0500)]
add EVFILT_USER callbacks
Alan T. DeKok [Mon, 21 Nov 2016 19:46:04 +0000 (14:46 -0500)]
event_status now can return 1 for "check events, but don't wait"
Arran Cudbard-Bell [Mon, 21 Nov 2016 21:43:31 +0000 (16:43 -0500)]
another minor rlm_redis_ippool_tool fix
Arran Cudbard-Bell [Mon, 21 Nov 2016 21:12:15 +0000 (16:12 -0500)]
Fix driver_get_stats
Refactoring in fr_redis_pipeline_result messed up the count of commands issued, because the counter is now decremented as responses are received.
Alan T. DeKok [Mon, 21 Nov 2016 18:17:41 +0000 (13:17 -0500)]
variable is static
Alan T. DeKok [Mon, 21 Nov 2016 16:44:40 +0000 (11:44 -0500)]
remove unnecessary "Need 0 more connections to reach..." INFO output
the <= means that when the value is 0 the server keeps spewing out "Need 0 more connections to reach..." messages into the log output. this ensures messages come out only when there is a need.
Manual merge of
6be96d36
Alan T. DeKok [Mon, 21 Nov 2016 13:53:58 +0000 (08:53 -0500)]
add heap_id, and it's transport, not protocol
Alan T. DeKok [Mon, 21 Nov 2016 12:24:55 +0000 (07:24 -0500)]
fix comment
Alan T. DeKok [Mon, 21 Nov 2016 12:24:26 +0000 (07:24 -0500)]
Stop checking the event list if we're asked to exit
Alan T. DeKok [Mon, 21 Nov 2016 12:24:03 +0000 (07:24 -0500)]
insert yielded request into tail of yielded list
Arran Cudbard-Bell [Mon, 21 Nov 2016 14:00:28 +0000 (09:00 -0500)]
Sort option 82 sub-sub-options correctly
Arran Cudbard-Bell [Mon, 21 Nov 2016 13:30:42 +0000 (08:30 -0500)]
Merge pull request #1852 from pwdng/dhcp_order_fix
Fix typos and option 82 handling in DHCP sort changes
Philippe Wooding [Mon, 21 Nov 2016 11:07:24 +0000 (12:07 +0100)]
Fix typos and option 82 handling in DHCP sort changes
Alan T. DeKok [Sun, 20 Nov 2016 15:31:49 +0000 (10:31 -0500)]
remove unused macro
Alan T. DeKok [Sun, 20 Nov 2016 03:35:35 +0000 (22:35 -0500)]
note TODOs
Alan T. DeKok [Sun, 20 Nov 2016 03:20:01 +0000 (22:20 -0500)]
added replies to RADIUS tracking table
Alan T. DeKok [Sun, 20 Nov 2016 02:49:39 +0000 (21:49 -0500)]
Simple RADIUS packet tracking API
Alan T. DeKok [Sun, 20 Nov 2016 02:09:44 +0000 (21:09 -0500)]
fix APi for fr_message_localize
Alan T. DeKok [Sun, 20 Nov 2016 01:52:45 +0000 (20:52 -0500)]
added fr_ring_buffer_start()
Which gets "pointer + size" to the data at the start of the
ring buffer.
Alan T. DeKok [Sun, 20 Nov 2016 01:43:38 +0000 (20:43 -0500)]
cleanups, and fr_message_done() doesn't need ms
Alan T. DeKok [Sun, 20 Nov 2016 01:34:05 +0000 (20:34 -0500)]
m_* -> mr_*
which is a better name
Alan T. DeKok [Sun, 20 Nov 2016 01:33:55 +0000 (20:33 -0500)]
document -t
Arran Cudbard-Bell [Sat, 19 Nov 2016 18:58:29 +0000 (13:58 -0500)]
Assignment to tmp not used
Alan T. DeKok [Sat, 19 Nov 2016 15:26:39 +0000 (10:26 -0500)]
Add fr_message_alloc_reserve()
For protocols like TCP, where we reserve a large chunk of memory,
and then read multiple packets into it. If we want to have a
unique messages for each unique packet, we need to be able to
allocate a message, while reserving the rest of the buffer.
Alan T. DeKok [Sat, 19 Nov 2016 15:03:23 +0000 (10:03 -0500)]
%zd -> %zu
Alan T. DeKok [Sat, 19 Nov 2016 15:00:24 +0000 (10:00 -0500)]
use src_type. src->type isn't (yet) used everywhere.
clang complains about this, and src_type is used everywhere else
in this function, so we should probably use it here
Alan T. DeKok [Sat, 19 Nov 2016 14:57:48 +0000 (09:57 -0500)]
remove unused variable
Alan T. DeKok [Sat, 19 Nov 2016 14:55:55 +0000 (09:55 -0500)]
Fix typo
Arran Cudbard-Bell [Sat, 19 Nov 2016 14:21:51 +0000 (09:21 -0500)]
Reduce scope of custom in fr_vasprintf
Alan T. DeKok [Sat, 19 Nov 2016 03:32:00 +0000 (22:32 -0500)]
travis warnings
Alan T. DeKok [Sat, 19 Nov 2016 02:08:30 +0000 (21:08 -0500)]
split out allocate message from allocate ring buffer
Alan T. DeKok [Sat, 19 Nov 2016 01:58:19 +0000 (20:58 -0500)]
fix comparison checks. Fixes #1851
Alan T. DeKok [Sat, 19 Nov 2016 01:55:36 +0000 (20:55 -0500)]
Fix initialization errors
Alan T. DeKok [Sat, 19 Nov 2016 00:35:13 +0000 (19:35 -0500)]
fix inner-tunnel policy
This policy replaces "use_tunneled_reply". It's better to use
if (0) { ...} to disable blocks of code, instead of commenting it out.
Also, update the local reply before copying it to the outer
session-state list. That makes a lot more sense.
Alan T. DeKok [Sat, 19 Nov 2016 00:20:28 +0000 (19:20 -0500)]
set reserved
Alan T. DeKok [Fri, 18 Nov 2016 23:41:58 +0000 (18:41 -0500)]
add fr_ring_buffer_reserve_split()
Which lets the caller fix a partial packet, and move it to
a new ring buffer.
Arran Cudbard-Bell [Fri, 18 Nov 2016 23:24:14 +0000 (18:24 -0500)]
Overload %p printk style
Arran Cudbard-Bell [Fri, 18 Nov 2016 22:57:05 +0000 (17:57 -0500)]
Add custom fprintf style function for talloc binary buffers and value boxes
Arran Cudbard-Bell [Fri, 18 Nov 2016 18:27:18 +0000 (13:27 -0500)]
Fix previous commit
Arran Cudbard-Bell [Fri, 18 Nov 2016 18:17:17 +0000 (13:17 -0500)]
Fix DHCP attribute ordering
Arran Cudbard-Bell [Thu, 17 Nov 2016 17:53:31 +0000 (12:53 -0500)]
Extra space between cache options and colon
Alan T. DeKok [Fri, 18 Nov 2016 17:01:29 +0000 (12:01 -0500)]
set reply code
Alan T. DeKok [Fri, 18 Nov 2016 16:18:59 +0000 (11:18 -0500)]
reject on no auth-type
Alan T. DeKok [Fri, 18 Nov 2016 14:35:28 +0000 (09:35 -0500)]
added "todo" note about UDP protocols
Alan T. DeKok [Fri, 18 Nov 2016 14:26:31 +0000 (09:26 -0500)]
Added "protocol" field to each message.
Arran Cudbard-Bell [Thu, 17 Nov 2016 17:49:00 +0000 (12:49 -0500)]
Don't copy the entire datum union
Arran Cudbard-Bell [Thu, 17 Nov 2016 17:48:29 +0000 (12:48 -0500)]
Formatting
Arran Cudbard-Bell [Thu, 17 Nov 2016 13:04:50 +0000 (08:04 -0500)]
re-order fields in value_box to match PW_TYPE
Arran Cudbard-Bell [Thu, 17 Nov 2016 01:45:45 +0000 (20:45 -0500)]
Add missing field sizes
Arran Cudbard-Bell [Thu, 17 Nov 2016 12:55:28 +0000 (07:55 -0500)]
Correct src offset in _tmpl_to_atype
Arran Cudbard-Bell [Thu, 17 Nov 2016 13:55:26 +0000 (08:55 -0500)]
Formatting
Arran Cudbard-Bell [Wed, 16 Nov 2016 22:05:49 +0000 (17:05 -0500)]
Formatting
Arran Cudbard-Bell [Wed, 16 Nov 2016 22:05:34 +0000 (17:05 -0500)]
Use the correct source fields in value_box_hton
Arran Cudbard-Bell [Wed, 16 Nov 2016 20:21:49 +0000 (15:21 -0500)]
Rename cond tokenization and cond evaluation functions
parser.c and evaluate.c really‽