]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Sun, 1 Oct 2017 10:13:02 +0000 (18:13 +0800)]
Obligatory log message pass
Arran Cudbard-Bell [Sun, 1 Oct 2017 09:45:29 +0000 (17:45 +0800)]
Obligatory formatting pass
Arran Cudbard-Bell [Sun, 1 Oct 2017 09:23:34 +0000 (17:23 +0800)]
Add fr_asprintf
Arran Cudbard-Bell [Sun, 1 Oct 2017 09:08:08 +0000 (17:08 +0800)]
Allow RADIUS module calls in accounting/authorize
Arran Cudbard-Bell [Sun, 1 Oct 2017 08:09:26 +0000 (16:09 +0800)]
Specify path to config item
Arran Cudbard-Bell [Sun, 1 Oct 2017 07:40:44 +0000 (15:40 +0800)]
Dup the pool CONF_SECTION when connecting new nodes
CONF_SECTIONs can now only be parsed once so we get pools with no settings otherwise
Arran Cudbard-Bell [Sun, 1 Oct 2017 05:51:55 +0000 (13:51 +0800)]
Typo
Arran Cudbard-Bell [Sun, 1 Oct 2017 05:31:07 +0000 (13:31 +0800)]
Allow for node ID and other elements in cluster slots output
Arran Cudbard-Bell [Sat, 30 Sep 2017 14:06:30 +0000 (22:06 +0800)]
Switch to using WITH_SASL to indicate SASL support
Arran Cudbard-Bell [Sat, 30 Sep 2017 10:17:27 +0000 (18:17 +0800)]
Package proto_detail_file and proto_detail_process
Arran Cudbard-Bell [Sat, 30 Sep 2017 10:08:39 +0000 (18:08 +0800)]
Fix doxygen
Arran Cudbard-Bell [Sat, 30 Sep 2017 10:00:54 +0000 (18:00 +0800)]
Add support for toggling filters on/off without removing the callbacks or ef
Arran Cudbard-Bell [Sat, 30 Sep 2017 10:00:26 +0000 (18:00 +0800)]
Store the map used for function/filter mapping against the ef (less branchy)
Fix formatting in some places
Expose the union containing all the functions
Have fr_event_build_evset write out the active functions
Arran Cudbard-Bell [Fri, 29 Sep 2017 14:01:53 +0000 (22:01 +0800)]
Formatting
Alan T. DeKok [Fri, 29 Sep 2017 14:46:33 +0000 (10:46 -0400)]
doxygen
Alan T. DeKok [Fri, 29 Sep 2017 13:59:44 +0000 (09:59 -0400)]
Revert "add read_pause / read_continue"
This reverts commit
702f9a8b7c7546bdd9d3f49ce700050ff860fade .
Alan T. DeKok [Fri, 29 Sep 2017 13:58:17 +0000 (09:58 -0400)]
Revert "use new read_pause / read_continue routines"
This reverts commit
de5dd884c41db425896b83bb04c8bf9af48d812b .
Alan T. DeKok [Fri, 29 Sep 2017 13:57:50 +0000 (09:57 -0400)]
Revert "continue reading only if we've processed all outstanding packets"
This reverts commit
8856d7a291cd5e83711fd1d30cca07225627fd2c .
Arran Cudbard-Bell [Fri, 29 Sep 2017 13:52:10 +0000 (21:52 +0800)]
Pass filter to fr_event_fd_delete and other places
Alan T. DeKok [Fri, 29 Sep 2017 12:08:28 +0000 (08:08 -0400)]
set filter to find
Arran Cudbard-Bell [Fri, 29 Sep 2017 11:13:56 +0000 (19:13 +0800)]
Provide/embed RADIUSD_VERSION_RELEASE
Alan T. DeKok [Thu, 28 Sep 2017 22:23:06 +0000 (18:23 -0400)]
set src/dst ip/port if available
Alan T. DeKok [Wed, 27 Sep 2017 21:09:50 +0000 (17:09 -0400)]
notes on future work
Alan T. DeKok [Wed, 27 Sep 2017 21:09:35 +0000 (17:09 -0400)]
const
Alan T. DeKok [Wed, 27 Sep 2017 20:39:05 +0000 (16:39 -0400)]
debug messages aren't errors
Alan T. DeKok [Wed, 27 Sep 2017 20:14:06 +0000 (16:14 -0400)]
remove unused assignments
Alan T. DeKok [Wed, 27 Sep 2017 20:00:06 +0000 (16:00 -0400)]
fix code setting Done
by looking for \0 instead of \n, and allocating the tracking
entry only if we're processing this entry
Alan T. DeKok [Wed, 27 Sep 2017 19:39:12 +0000 (15:39 -0400)]
size_t casts for off_t
Alan T. DeKok [Wed, 27 Sep 2017 19:35:45 +0000 (15:35 -0400)]
continue reading only if we've processed all outstanding packets
to prevent overloading the system
Alan T. DeKok [Wed, 27 Sep 2017 19:13:53 +0000 (15:13 -0400)]
use new read_pause / read_continue routines
Alan T. DeKok [Wed, 27 Sep 2017 19:13:10 +0000 (15:13 -0400)]
add read_pause / read_continue
which allows the caller to pause reading from a socket,
and then continue reading from it.
With some magic that if there's no read AND write, the socket
is ignored
Alan T. DeKok [Wed, 27 Sep 2017 18:37:28 +0000 (14:37 -0400)]
allow write() to return 0, which means "close the socket"
There may be a better way, but this works for now
Alan T. DeKok [Wed, 27 Sep 2017 18:30:46 +0000 (14:30 -0400)]
add "priority" to detail listener config
and move it out of detail_file config
Alan T. DeKok [Wed, 27 Sep 2017 18:26:14 +0000 (14:26 -0400)]
round up ring buffer size to the nearest power of 2
Alan T. DeKok [Wed, 27 Sep 2017 16:25:07 +0000 (12:25 -0400)]
parse header && decode VPs
Alan T. DeKok [Wed, 27 Sep 2017 15:35:26 +0000 (11:35 -0400)]
use reply size here, too
Alan T. DeKok [Wed, 27 Sep 2017 15:29:08 +0000 (11:29 -0400)]
mash LF to NUL, so that we can parse lines individually
Alan T. DeKok [Wed, 27 Sep 2017 14:54:41 +0000 (10:54 -0400)]
entries must have a leading tab, and contain " = "
i.e. do basic sanity checks on the data, before sending it over
to the worker.
Alan T. DeKok [Wed, 27 Sep 2017 14:51:45 +0000 (10:51 -0400)]
cache the last search position for "end of record"
Alan T. DeKok [Tue, 26 Sep 2017 21:12:42 +0000 (17:12 -0400)]
update docs
Alan T. DeKok [Tue, 26 Sep 2017 21:07:46 +0000 (17:07 -0400)]
typo
Alan T. DeKok [Tue, 26 Sep 2017 20:57:09 +0000 (16:57 -0400)]
remove "seek to just before end of file" hack
Alan T. DeKok [Tue, 26 Sep 2017 20:49:52 +0000 (16:49 -0400)]
finalize logic for alloc / reserve
Alan T. DeKok [Tue, 26 Sep 2017 20:49:40 +0000 (16:49 -0400)]
correct logic in alloc_reserve function
Alan T. DeKok [Tue, 26 Sep 2017 20:25:41 +0000 (16:25 -0400)]
second message has no data, but has reserved space
and revert
cf9ea999cb
Alan T. DeKok [Tue, 26 Sep 2017 19:57:20 +0000 (15:57 -0400)]
clean up logic and note "todo"
Alan T. DeKok [Tue, 26 Sep 2017 19:51:42 +0000 (15:51 -0400)]
better logic around reading multiple packets
Alan T. DeKok [Tue, 26 Sep 2017 19:21:14 +0000 (15:21 -0400)]
more printing
Alan T. DeKok [Tue, 26 Sep 2017 19:15:57 +0000 (15:15 -0400)]
add default_reply_size
for things like the detail file reader, which don't really
send replies
Alan T. DeKok [Tue, 26 Sep 2017 19:11:29 +0000 (15:11 -0400)]
alloc only if there's no data already in the buffer
Otherwise, reserve data
Alan T. DeKok [Tue, 26 Sep 2017 19:00:28 +0000 (15:00 -0400)]
cache CS and use it for error printing
Alan T. DeKok [Tue, 26 Sep 2017 19:00:14 +0000 (15:00 -0400)]
a bit better messages
Alan T. DeKok [Tue, 26 Sep 2017 18:43:51 +0000 (14:43 -0400)]
typo
Alan T. DeKok [Tue, 26 Sep 2017 18:43:45 +0000 (14:43 -0400)]
can only have one "type"
Alan T. DeKok [Tue, 26 Sep 2017 16:08:35 +0000 (12:08 -0400)]
allow priorities to be configurable
Alan T. DeKok [Tue, 26 Sep 2017 11:55:36 +0000 (07:55 -0400)]
note 'group'
Alan T. DeKok [Mon, 25 Sep 2017 20:38:58 +0000 (16:38 -0400)]
more cleanups for reading from files
Alan T. DeKok [Mon, 25 Sep 2017 20:15:28 +0000 (16:15 -0400)]
start of detail file reader again
Alan T. DeKok [Mon, 25 Sep 2017 20:10:17 +0000 (16:10 -0400)]
there's no reason for 'instance' to be const in the reader
Alan T. DeKok [Mon, 25 Sep 2017 18:38:16 +0000 (14:38 -0400)]
detail files require a 'transport'
and they don't have methods which can be called by other
virtual servers. At least not yet.
Alan T. DeKok [Mon, 25 Sep 2017 17:47:48 +0000 (13:47 -0400)]
add "process" callback
which just runs 'recv' and 'send' sections, with no
second name
Arran Cudbard-Bell [Wed, 27 Sep 2017 14:53:03 +0000 (22:53 +0800)]
Specify arch where subpackage requires main package
freeradius-config shouldn't obsolete old versions of FreeRADIUS
Arran Cudbard-Bell [Tue, 26 Sep 2017 11:05:44 +0000 (19:05 +0800)]
The accounting module is called radius_acct not radius_coa
Arran Cudbard-Bell [Tue, 26 Sep 2017 10:49:53 +0000 (18:49 +0800)]
Use cached enum value so we don't SEGV if type is "auth", "acct" etc..
Arran Cudbard-Bell [Tue, 26 Sep 2017 10:49:29 +0000 (18:49 +0800)]
Typo
Arran Cudbard-Bell [Tue, 26 Sep 2017 10:02:31 +0000 (18:02 +0800)]
Require ldap_install_tls be exported from libldap
Arran Cudbard-Bell [Tue, 26 Sep 2017 10:02:13 +0000 (18:02 +0800)]
Fix builds without LDAP_SASL_INTERACTIVE_BIND
Arran Cudbard-Bell [Tue, 26 Sep 2017 06:42:00 +0000 (14:42 +0800)]
Ignore symlinked ethernet headers for now
Arran Cudbard-Bell [Tue, 26 Sep 2017 06:41:16 +0000 (14:41 +0800)]
Regenerate config scripts
Arran Cudbard-Bell [Tue, 26 Sep 2017 06:27:37 +0000 (14:27 +0800)]
Partially revert "use '=' instead of '==' for portability"
In C '=' is assignment...
Arran Cudbard-Bell [Tue, 26 Sep 2017 06:29:47 +0000 (14:29 +0800)]
Partially revert "use '=' instead of '==' for portability"
Don't change operator in awk expression
Alan T. DeKok [Mon, 25 Sep 2017 16:54:50 +0000 (12:54 -0400)]
need this, too
Alan T. DeKok [Mon, 25 Sep 2017 16:54:25 +0000 (12:54 -0400)]
doxygen
Alan T. DeKok [Mon, 25 Sep 2017 16:01:34 +0000 (12:01 -0400)]
use filter from table, not hard-coded EVFILT_READ
Alan T. DeKok [Mon, 25 Sep 2017 15:50:49 +0000 (11:50 -0400)]
re-arrange code
Alan T. DeKok [Mon, 25 Sep 2017 15:35:11 +0000 (11:35 -0400)]
rename for consistency
Alan T. DeKok [Mon, 25 Sep 2017 15:31:02 +0000 (11:31 -0400)]
set & cache allowed packet code
Alan T. DeKok [Mon, 25 Sep 2017 15:13:33 +0000 (11:13 -0400)]
move client src_ipaddr mangling to proto_radius
so that the process functions are entirely protocol agnostic
almost... they still print src/dst IP information for debugging
Alan T. DeKok [Mon, 25 Sep 2017 15:10:39 +0000 (11:10 -0400)]
start of new detail file listener
Alan T. DeKok [Mon, 25 Sep 2017 15:10:20 +0000 (11:10 -0400)]
moved old files out of the way
Alan T. DeKok [Mon, 25 Sep 2017 15:01:55 +0000 (11:01 -0400)]
minor cleanups and typos
Alan T. DeKok [Mon, 25 Sep 2017 14:39:45 +0000 (10:39 -0400)]
move detail.h to proto_detail
No one else needs it, or should use it.
Alan T. DeKok [Mon, 25 Sep 2017 14:38:17 +0000 (10:38 -0400)]
always write to the detail file
even if we read it from the detail file.
This change is necessary to encapsulate the new proto_detail code.
We can later add an attribute which passes the filename to
rlm_detail, so it can suppress infinite loops
Alan T. DeKok [Sun, 24 Sep 2017 20:15:52 +0000 (16:15 -0400)]
now that the code is smarter, we need less documentation
Alan T. DeKok [Sun, 24 Sep 2017 20:15:37 +0000 (16:15 -0400)]
use '=' instead of '==' for portability
Alan T. DeKok [Sun, 24 Sep 2017 20:14:00 +0000 (16:14 -0400)]
remove deprecated disable_tls* configuration
Alan T. DeKok [Sun, 24 Sep 2017 18:35:19 +0000 (14:35 -0400)]
use '=' instead of '==' for portability
Arran Cudbard-Bell [Sun, 24 Sep 2017 15:09:39 +0000 (23:09 +0800)]
More ifdefs
Arran Cudbard-Bell [Sun, 24 Sep 2017 14:56:24 +0000 (22:56 +0800)]
NOTE_REVOKE and NOTE_FUNLOCK not implemented by libkqueue
Arran Cudbard-Bell [Sun, 24 Sep 2017 14:25:41 +0000 (22:25 +0800)]
Support all vnode note types
Extends the event API to allow callbacks to be registered for all vnode NOTE_* events.
Alan T. DeKok [Sun, 24 Sep 2017 13:09:00 +0000 (09:09 -0400)]
manually disable TLSv1.2
Alan T. DeKok [Sun, 24 Sep 2017 13:00:28 +0000 (09:00 -0400)]
in v4 the 'type = fast' enables the module
not the config subsection. So we can always uncomment the
modules
Alan T. DeKok [Sun, 24 Sep 2017 13:00:00 +0000 (09:00 -0400)]
allow FAST to over-ride cipher_list
Alan T. DeKok [Sun, 24 Sep 2017 12:33:39 +0000 (08:33 -0400)]
root unknown from parent, not from dict root
Alan T. DeKok [Sat, 23 Sep 2017 17:03:07 +0000 (13:03 -0400)]
don't leak vp
Alan T. DeKok [Sat, 23 Sep 2017 13:20:57 +0000 (09:20 -0400)]
EAP-FAST-Crypto-Binding is 'octets'
until such time as eap_fast_decode_pair() decodes STRUCT types
Alan T. DeKok [Sat, 23 Sep 2017 13:18:19 +0000 (09:18 -0400)]
it helps to add the VPs to the cursor
Alan T. DeKok [Sat, 23 Sep 2017 13:01:40 +0000 (09:01 -0400)]
use decoded len, not len from all of the packet
Alan T. DeKok [Sat, 23 Sep 2017 12:46:47 +0000 (08:46 -0400)]
suppress bad error for EAP-FAST
instead of printing a message saying to ignore it
Alan T. DeKok [Sat, 23 Sep 2017 12:25:38 +0000 (08:25 -0400)]
tls_max_version cannot be less than 1.0