]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years ago…and another
Arran Cudbard-Bell [Thu, 22 Jun 2017 12:52:18 +0000 (08:52 -0400)] 
…and another

9 years agoAdd ‘type’ pair to EAP method files
Arran Cudbard-Bell [Thu, 22 Jun 2017 12:52:12 +0000 (08:52 -0400)] 
Add ‘type’ pair to EAP method files

9 years agoProvide API for setting filename, and lineno for CONF_ITEMs
Arran Cudbard-Bell [Thu, 22 Jun 2017 03:56:20 +0000 (23:56 -0400)] 
Provide API for setting filename, and lineno for CONF_ITEMs

9 years agoCONF section used
Arran Cudbard-Bell [Thu, 22 Jun 2017 01:06:08 +0000 (21:06 -0400)] 
CONF section used

9 years agoFinish new style tacacs server
Arran Cudbard-Bell [Thu, 22 Jun 2017 00:54:15 +0000 (20:54 -0400)] 
Finish new style tacacs server

9 years agoSwitch rlm_eap to using the config parser to load submodules
Arran Cudbard-Bell [Thu, 22 Jun 2017 00:42:10 +0000 (20:42 -0400)] 
Switch rlm_eap to using the config parser to load submodules

9 years agoFix crash when module instantiation fails
Arran Cudbard-Bell [Thu, 22 Jun 2017 00:41:34 +0000 (20:41 -0400)] 
Fix crash when module instantiation fails

9 years agoDoxygen formatting
Arran Cudbard-Bell [Wed, 21 Jun 2017 23:10:43 +0000 (19:10 -0400)] 
Doxygen formatting

9 years agoUse standard module instantiate signature in rlm_eap
Arran Cudbard-Bell [Wed, 21 Jun 2017 23:09:57 +0000 (19:09 -0400)] 
Use standard module instantiate signature in rlm_eap

9 years agoInstance first for instantiate and bootstrap functions
Arran Cudbard-Bell [Wed, 21 Jun 2017 23:33:03 +0000 (19:33 -0400)] 
Instance first for instantiate and bootstrap functions

9 years agoFix error message
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:39:59 +0000 (18:39 -0400)] 
Fix error message

9 years agoUse the correct name variable
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:39:09 +0000 (18:39 -0400)] 
Use the correct name variable

9 years agoPass the correct instance into dl_instance_symbol
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:37:53 +0000 (18:37 -0400)] 
Pass the correct instance into dl_instance_symbol

9 years agoFix public structure names in proto_radius_*.c
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:35:12 +0000 (18:35 -0400)] 
Fix public structure names in proto_radius_*.c

9 years agoRemove redundant debugging from dl.c
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:34:01 +0000 (18:34 -0400)] 
Remove redundant debugging from dl.c

9 years agoPass the return code of cf_subsection_parse back up
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:33:48 +0000 (18:33 -0400)] 
Pass the return code of cf_subsection_parse back up

So we error out if the callbacks return < 0... Oops.

9 years agoSet the dl pointer to NULL, so the tree is recreated if more modules are loaded after...
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:24:52 +0000 (18:24 -0400)] 
Set the dl pointer to NULL, so the tree is recreated if more modules are loaded after they've all been freed

9 years agoUse double quotes in dl.c
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:24:26 +0000 (18:24 -0400)] 
Use double quotes in dl.c

9 years agoAutomatic search/replace that's unlikely to break anything
Arran Cudbard-Bell [Wed, 21 Jun 2017 22:01:36 +0000 (18:01 -0400)] 
Automatic search/replace that's unlikely to break anything

9 years agoSearch and replace in documentation s/authorize {/recv Access-Request {/ etc...
Arran Cudbard-Bell [Wed, 21 Jun 2017 21:59:41 +0000 (17:59 -0400)] 
Search and replace in documentation s/authorize {/recv Access-Request {/ etc...

9 years agoDoxygen
Arran Cudbard-Bell [Wed, 21 Jun 2017 21:04:46 +0000 (17:04 -0400)] 
Doxygen

9 years agoRetrieve the real client in mod_encode and mod_decode
Arran Cudbard-Bell [Wed, 21 Jun 2017 20:47:50 +0000 (16:47 -0400)] 
Retrieve the real client in mod_encode and mod_decode

9 years agoAdd semi-private interface to proto_radius_udp to allow proto_radius to get src/dst...
Arran Cudbard-Bell [Wed, 21 Jun 2017 20:18:10 +0000 (16:18 -0400)] 
Add semi-private interface to proto_radius_udp to allow proto_radius to get src/dst/address and client

We'll build something similar for each module

9 years agoAdd interface to lookup symbols via a dl_instance_t
Arran Cudbard-Bell [Wed, 21 Jun 2017 20:14:58 +0000 (16:14 -0400)] 
Add interface to lookup symbols via a dl_instance_t

9 years agoCleanup doxygen in track.h/track.c
Arran Cudbard-Bell [Wed, 21 Jun 2017 20:14:31 +0000 (16:14 -0400)] 
Cleanup doxygen in track.h/track.c

9 years agodoxygen
Alan T. DeKok [Wed, 21 Jun 2017 14:15:55 +0000 (10:15 -0400)] 
doxygen

9 years agoextend cleanup_delay when receiving a duplicate packet
Alan T. DeKok [Wed, 21 Jun 2017 13:52:00 +0000 (09:52 -0400)] 
extend cleanup_delay when receiving a duplicate packet

9 years agoFixup the debian service too
Arran Cudbard-Bell [Wed, 21 Jun 2017 13:51:00 +0000 (09:51 -0400)] 
Fixup the debian service too

9 years agoProvide HOSTNAME in the default unit files
Arran Cudbard-Bell [Wed, 21 Jun 2017 13:46:14 +0000 (09:46 -0400)] 
Provide HOSTNAME in the default unit files

9 years agoadd cleanup_delay timers
Alan T. DeKok [Wed, 21 Jun 2017 13:44:57 +0000 (09:44 -0400)] 
add cleanup_delay timers

Still have to add debug printing tho...

9 years agono need to pass request timestamp to track reply.
Alan T. DeKok [Wed, 21 Jun 2017 13:31:34 +0000 (09:31 -0400)] 
no need to pass request timestamp to track reply.

9 years agoadd request_time to write() function
Alan T. DeKok [Wed, 21 Jun 2017 13:27:22 +0000 (09:27 -0400)] 
add request_time to write() function

and start on cleanup_delay implementation for UDP mod_write

9 years agoAdd event_list_set for proto_radius_udp
Alan T. DeKok [Wed, 21 Jun 2017 13:14:04 +0000 (09:14 -0400)] 
Add event_list_set for proto_radius_udp

9 years agoadd cleanup_delay to listener
Alan T. DeKok [Wed, 21 Jun 2017 13:12:35 +0000 (09:12 -0400)] 
add cleanup_delay to listener

9 years agopass instance to event_list_set
Alan T. DeKok [Wed, 21 Jun 2017 12:30:49 +0000 (08:30 -0400)] 
pass instance to event_list_set

9 years agoAdd callback to set event list in app_io
Arran Cudbard-Bell [Tue, 20 Jun 2017 20:55:09 +0000 (16:55 -0400)] 
Add callback to set event list in app_io

9 years agoVerb last
Arran Cudbard-Bell [Tue, 20 Jun 2017 20:53:11 +0000 (16:53 -0400)] 
Verb last

9 years agoNo fr_prefix needed
Arran Cudbard-Bell [Tue, 20 Jun 2017 18:12:20 +0000 (14:12 -0400)] 
No fr_prefix needed

allows us to use the default dl_instance talloc types

9 years agoPass in allowed packet codes from proto_radius to proto_radius_udp
Arran Cudbard-Bell [Tue, 20 Jun 2017 18:05:32 +0000 (14:05 -0400)] 
Pass in allowed packet codes from proto_radius to proto_radius_udp

9 years agoallow 0 as heap offset
Alan T. DeKok [Tue, 20 Jun 2017 17:51:55 +0000 (13:51 -0400)] 
allow 0 as heap offset

use negative numbers for "no heap_id in the entry"

9 years agomore debug for scheduler
Alan T. DeKok [Tue, 20 Jun 2017 17:29:50 +0000 (13:29 -0400)] 
more debug for scheduler

9 years agouse CF_IDENT_ANY for finding the thread pool
Alan T. DeKok [Tue, 20 Jun 2017 17:29:23 +0000 (13:29 -0400)] 
use CF_IDENT_ANY for finding the thread pool

9 years agosingle-threaded mode for scheduler
Alan T. DeKok [Tue, 20 Jun 2017 17:20:09 +0000 (13:20 -0400)] 
single-threaded mode for scheduler

9 years agoadd event_list_t to scheduler
Alan T. DeKok [Tue, 20 Jun 2017 17:05:56 +0000 (13:05 -0400)] 
add event_list_t to scheduler

in preparation for single-threaded mode

9 years agomove scstart scheduler to after event init
Alan T. DeKok [Tue, 20 Jun 2017 17:01:15 +0000 (13:01 -0400)] 
move scstart scheduler to after event init

9 years agoTypo
Arran Cudbard-Bell [Tue, 20 Jun 2017 17:29:23 +0000 (13:29 -0400)] 
Typo

9 years agoAdd docker centos7 script
Arran Cudbard-Bell [Tue, 20 Jun 2017 16:51:25 +0000 (12:51 -0400)] 
Add docker centos7 script

9 years agofix travis
Alan T. DeKok [Tue, 20 Jun 2017 14:36:39 +0000 (10:36 -0400)] 
fix travis

9 years agomock up fr_app_t
Alan T. DeKok [Tue, 20 Jun 2017 14:25:35 +0000 (10:25 -0400)] 
mock up fr_app_t

9 years agofr_log_t can be const
Alan T. DeKok [Tue, 20 Jun 2017 14:07:47 +0000 (10:07 -0400)] 
fr_log_t can be const

9 years agopass event list to fr_worker_create()
Alan T. DeKok [Tue, 20 Jun 2017 13:19:33 +0000 (09:19 -0400)] 
pass event list to fr_worker_create()

In preparation for single-threaded mode

9 years agoremove pre-event on destroy, too
Alan T. DeKok [Tue, 20 Jun 2017 13:15:06 +0000 (09:15 -0400)] 
remove pre-event on destroy, too

9 years agopass event list to fr_network_create()
Alan T. DeKok [Mon, 19 Jun 2017 20:45:25 +0000 (16:45 -0400)] 
pass event list to fr_network_create()

In preparation for single-threaded mode

9 years agodon't print "waking up" in network thread
Alan T. DeKok [Mon, 19 Jun 2017 20:27:23 +0000 (16:27 -0400)] 
don't print "waking up" in network thread

9 years agomode status check out of fr_event_list_alloc
Alan T. DeKok [Mon, 19 Jun 2017 20:25:39 +0000 (16:25 -0400)] 
mode status check out of fr_event_list_alloc

9 years agoadd support for multiple status callbacks
Alan T. DeKok [Mon, 19 Jun 2017 20:22:36 +0000 (16:22 -0400)] 
add support for multiple status callbacks

9 years agomove error message to caller, as it sometimes may be suppressed
Alan T. DeKok [Mon, 19 Jun 2017 19:50:09 +0000 (15:50 -0400)] 
move error message to caller, as it sometimes may be suppressed

9 years agore-add "name", it's used by the config.
Alan T. DeKok [Mon, 19 Jun 2017 19:47:31 +0000 (15:47 -0400)] 
re-add "name", it's used by the config.

and rename bootstrap to switch_users for clarity

9 years agomove all security to security config
Alan T. DeKok [Mon, 19 Jun 2017 19:44:04 +0000 (15:44 -0400)] 
move all security to security config

And always add boostrap config, even if we don't switch users

9 years agosilently ignore duplicates
Alan T. DeKok [Mon, 19 Jun 2017 19:32:52 +0000 (15:32 -0400)] 
silently ignore duplicates

9 years agoremove duplicate CONF_PARSER
Alan T. DeKok [Mon, 19 Jun 2017 19:24:19 +0000 (15:24 -0400)] 
remove duplicate CONF_PARSER

9 years agoPass instance data to transport/process parse functions via a different route
Arran Cudbard-Bell [Mon, 19 Jun 2017 18:57:45 +0000 (14:57 -0400)] 
Pass instance data to transport/process parse functions via a different route

9 years agoremove server_kevent function.
Alan T. DeKok [Mon, 19 Jun 2017 18:48:57 +0000 (14:48 -0400)] 
remove server_kevent function.

The new API with unique ident ensures that we are called only
for the correct kevent

9 years agodoxygen
Alan T. DeKok [Mon, 19 Jun 2017 18:44:27 +0000 (14:44 -0400)] 
doxygen

9 years agothe ident is the pointer we need
Alan T. DeKok [Mon, 19 Jun 2017 18:21:01 +0000 (14:21 -0400)] 
the ident is the pointer we need

9 years agoFix scan issues
Arran Cudbard-Bell [Mon, 19 Jun 2017 18:20:15 +0000 (14:20 -0400)] 
Fix scan issues

9 years agotypos
Alan T. DeKok [Mon, 19 Jun 2017 18:19:57 +0000 (14:19 -0400)] 
typos

9 years agoexport EVFILT_USER ident to caller, and pass it to control API
Alan T. DeKok [Mon, 19 Jun 2017 18:16:07 +0000 (14:16 -0400)] 
export EVFILT_USER ident to caller, and pass it to control API

9 years agoadd kevent on creation, remove it on deletion
Alan T. DeKok [Mon, 19 Jun 2017 18:03:42 +0000 (14:03 -0400)] 
add kevent on creation, remove it on deletion

9 years agoprovide for passing ident into control-plane API
Alan T. DeKok [Mon, 19 Jun 2017 17:49:57 +0000 (13:49 -0400)] 
provide for passing ident into control-plane API

So that we can have multiple control planes on the same kq

9 years agoinsert event callbacks last
Alan T. DeKok [Mon, 19 Jun 2017 17:16:31 +0000 (13:16 -0400)] 
insert event callbacks last

9 years agoremove duplicate code
Alan T. DeKok [Mon, 19 Jun 2017 17:16:06 +0000 (13:16 -0400)] 
remove duplicate code

9 years agoMove more boilerplate code into the dl API
Arran Cudbard-Bell [Mon, 19 Jun 2017 18:14:16 +0000 (14:14 -0400)] 
Move more boilerplate code into the dl API

the main function now creates structures containing the parent instance, the instance, and the module handle.

9 years agofix typo
Alan T. DeKok [Mon, 19 Jun 2017 17:14:22 +0000 (13:14 -0400)] 
fix typo

9 years agoclarify references to EVFILT_USER
Alan T. DeKok [Mon, 19 Jun 2017 17:13:03 +0000 (13:13 -0400)] 
clarify references to EVFILT_USER

9 years agoremove old unnecessary comment
Alan T. DeKok [Mon, 19 Jun 2017 17:10:28 +0000 (13:10 -0400)] 
remove old unnecessary comment

9 years agoensure events are processed in insert order
Alan T. DeKok [Mon, 19 Jun 2017 16:55:25 +0000 (12:55 -0400)] 
ensure events are processed in insert order

9 years agomove fr_worker() to using event post-process callback
Alan T. DeKok [Mon, 19 Jun 2017 16:54:20 +0000 (12:54 -0400)] 
move fr_worker() to using event post-process callback

9 years agoremove the post callback, too
Alan T. DeKok [Mon, 19 Jun 2017 16:53:53 +0000 (12:53 -0400)] 
remove the post callback, too

9 years agoupdate the event as the last thing we do
Alan T. DeKok [Mon, 19 Jun 2017 16:49:00 +0000 (12:49 -0400)] 
update the event as the last thing we do

9 years agoadd missing macro
Alan T. DeKok [Mon, 19 Jun 2017 16:44:28 +0000 (12:44 -0400)] 
add missing macro

9 years agomove fr_network() to using event post-process callback
Alan T. DeKok [Mon, 19 Jun 2017 15:58:57 +0000 (11:58 -0400)] 
move fr_network() to using event post-process callback

9 years agoadd post-processing callbacks to the event list
Alan T. DeKok [Mon, 19 Jun 2017 15:52:17 +0000 (11:52 -0400)] 
add post-processing callbacks to the event list

9 years agocheck for failure
Alan T. DeKok [Mon, 19 Jun 2017 15:51:38 +0000 (11:51 -0400)] 
check for failure

9 years agomove scheduler to using linked lists instead of heaps
Alan T. DeKok [Mon, 19 Jun 2017 15:06:31 +0000 (11:06 -0400)] 
move scheduler to using linked lists instead of heaps

9 years agotypo
Alan T. DeKok [Mon, 19 Jun 2017 15:01:22 +0000 (11:01 -0400)] 
typo

9 years agodoxygen
Alan T. DeKok [Mon, 19 Jun 2017 14:41:49 +0000 (10:41 -0400)] 
doxygen

9 years agofix declaration too
Alan T. DeKok [Mon, 19 Jun 2017 14:41:06 +0000 (10:41 -0400)] 
fix declaration too

9 years agoWhitespace and doxygen
Arran Cudbard-Bell [Mon, 19 Jun 2017 13:37:06 +0000 (09:37 -0400)] 
Whitespace and doxygen

9 years agoRemove whitespace
Arran Cudbard-Bell [Mon, 19 Jun 2017 13:33:09 +0000 (09:33 -0400)] 
Remove whitespace

9 years agodistinguish reply timestamp from request timestamp
Alan T. DeKok [Mon, 19 Jun 2017 13:30:53 +0000 (09:30 -0400)] 
distinguish reply timestamp from request timestamp

9 years agomove talloc ctx init to main thread
Alan T. DeKok [Mon, 19 Jun 2017 13:25:27 +0000 (09:25 -0400)] 
move talloc ctx init to main thread

9 years agoadded worker_verify() to double-check all of the worker structures
Alan T. DeKok [Mon, 19 Jun 2017 12:53:28 +0000 (08:53 -0400)] 
added worker_verify() to double-check all of the worker structures

9 years agoassign more realistic request->number
Alan T. DeKok [Sun, 18 Jun 2017 19:02:05 +0000 (15:02 -0400)] 
assign more realistic request->number

9 years agoallow for flags passed to worker.
Alan T. DeKok [Sun, 18 Jun 2017 18:58:37 +0000 (14:58 -0400)] 
allow for flags passed to worker.

ideally for debug...

9 years agoFirst pass over proto_radius_* modules converting them to the new IO framework
Arran Cudbard-Bell [Mon, 19 Jun 2017 04:23:39 +0000 (00:23 -0400)] 
First pass over proto_radius_* modules converting them to the new IO framework

9 years agoRemove uneeded includes in proto_radius_status.c
Arran Cudbard-Bell [Mon, 19 Jun 2017 03:58:38 +0000 (23:58 -0400)] 
Remove uneeded includes in proto_radius_status.c

9 years agoFix value.h to work as a standalone header file
Arran Cudbard-Bell [Mon, 19 Jun 2017 03:56:55 +0000 (23:56 -0400)] 
Fix value.h to work as a standalone header file

9 years agoFix dict.h to work as a standalone header file
Arran Cudbard-Bell [Mon, 19 Jun 2017 03:56:30 +0000 (23:56 -0400)] 
Fix dict.h to work as a standalone header file

9 years agoWork around issues in libkqueue
Arran Cudbard-Bell [Sun, 18 Jun 2017 23:33:26 +0000 (19:33 -0400)] 
Work around issues in libkqueue