]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoObligatory log message pass
Arran Cudbard-Bell [Sun, 1 Oct 2017 10:13:02 +0000 (18:13 +0800)] 
Obligatory log message pass

8 years agoObligatory formatting pass
Arran Cudbard-Bell [Sun, 1 Oct 2017 09:45:29 +0000 (17:45 +0800)] 
Obligatory formatting pass

8 years agoAdd fr_asprintf
Arran Cudbard-Bell [Sun, 1 Oct 2017 09:23:34 +0000 (17:23 +0800)] 
Add fr_asprintf

8 years agoAllow RADIUS module calls in accounting/authorize
Arran Cudbard-Bell [Sun, 1 Oct 2017 09:08:08 +0000 (17:08 +0800)] 
Allow RADIUS module calls in accounting/authorize

8 years agoSpecify path to config item
Arran Cudbard-Bell [Sun, 1 Oct 2017 08:09:26 +0000 (16:09 +0800)] 
Specify path to config item

8 years agoDup the pool CONF_SECTION when connecting new nodes
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

8 years agoTypo
Arran Cudbard-Bell [Sun, 1 Oct 2017 05:51:55 +0000 (13:51 +0800)] 
Typo

8 years agoAllow for node ID and other elements in cluster slots output
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

8 years agoSwitch to using WITH_SASL to indicate SASL support
Arran Cudbard-Bell [Sat, 30 Sep 2017 14:06:30 +0000 (22:06 +0800)] 
Switch to using WITH_SASL to indicate SASL support

8 years agoPackage proto_detail_file and proto_detail_process
Arran Cudbard-Bell [Sat, 30 Sep 2017 10:17:27 +0000 (18:17 +0800)] 
Package proto_detail_file and proto_detail_process

8 years agoFix doxygen
Arran Cudbard-Bell [Sat, 30 Sep 2017 10:08:39 +0000 (18:08 +0800)] 
Fix doxygen

8 years agoAdd support for toggling filters on/off without removing the callbacks or ef
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

8 years agoStore the map used for function/filter mapping against the ef (less branchy)
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

8 years agoFormatting
Arran Cudbard-Bell [Fri, 29 Sep 2017 14:01:53 +0000 (22:01 +0800)] 
Formatting

8 years agodoxygen
Alan T. DeKok [Fri, 29 Sep 2017 14:46:33 +0000 (10:46 -0400)] 
doxygen

8 years agoRevert "add read_pause / read_continue"
Alan T. DeKok [Fri, 29 Sep 2017 13:59:44 +0000 (09:59 -0400)] 
Revert "add read_pause / read_continue"

This reverts commit 702f9a8b7c7546bdd9d3f49ce700050ff860fade.

8 years agoRevert "use new read_pause / read_continue routines"
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.

8 years agoRevert "continue reading only if we've processed all outstanding packets"
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.

8 years agoPass filter to fr_event_fd_delete and other places
Arran Cudbard-Bell [Fri, 29 Sep 2017 13:52:10 +0000 (21:52 +0800)] 
Pass filter to fr_event_fd_delete and other places

8 years agoset filter to find
Alan T. DeKok [Fri, 29 Sep 2017 12:08:28 +0000 (08:08 -0400)] 
set filter to find

8 years agoProvide/embed RADIUSD_VERSION_RELEASE
Arran Cudbard-Bell [Fri, 29 Sep 2017 11:13:56 +0000 (19:13 +0800)] 
Provide/embed RADIUSD_VERSION_RELEASE

8 years agoset src/dst ip/port if available
Alan T. DeKok [Thu, 28 Sep 2017 22:23:06 +0000 (18:23 -0400)] 
set src/dst ip/port if available

8 years agonotes on future work
Alan T. DeKok [Wed, 27 Sep 2017 21:09:50 +0000 (17:09 -0400)] 
notes on future work

8 years agoconst
Alan T. DeKok [Wed, 27 Sep 2017 21:09:35 +0000 (17:09 -0400)] 
const

8 years agodebug messages aren't errors
Alan T. DeKok [Wed, 27 Sep 2017 20:39:05 +0000 (16:39 -0400)] 
debug messages aren't errors

8 years agoremove unused assignments
Alan T. DeKok [Wed, 27 Sep 2017 20:14:06 +0000 (16:14 -0400)] 
remove unused assignments

8 years agofix code setting Done
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

8 years agosize_t casts for off_t
Alan T. DeKok [Wed, 27 Sep 2017 19:39:12 +0000 (15:39 -0400)] 
size_t casts for off_t

8 years agocontinue reading only if we've processed all outstanding packets
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

8 years agouse new read_pause / read_continue routines
Alan T. DeKok [Wed, 27 Sep 2017 19:13:53 +0000 (15:13 -0400)] 
use new read_pause / read_continue routines

8 years agoadd read_pause / read_continue
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

8 years agoallow write() to return 0, which means "close the socket"
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

8 years agoadd "priority" to detail listener config
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

8 years agoround up ring buffer size to the nearest power of 2
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

8 years agoparse header && decode VPs
Alan T. DeKok [Wed, 27 Sep 2017 16:25:07 +0000 (12:25 -0400)] 
parse header && decode VPs

8 years agouse reply size here, too
Alan T. DeKok [Wed, 27 Sep 2017 15:35:26 +0000 (11:35 -0400)] 
use reply size here, too

8 years agomash LF to NUL, so that we can parse lines individually
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

8 years agoentries must have a leading tab, and contain " = "
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.

8 years agocache the last search position for "end of record"
Alan T. DeKok [Wed, 27 Sep 2017 14:51:45 +0000 (10:51 -0400)] 
cache the last search position for "end of record"

8 years agoupdate docs
Alan T. DeKok [Tue, 26 Sep 2017 21:12:42 +0000 (17:12 -0400)] 
update docs

8 years agotypo
Alan T. DeKok [Tue, 26 Sep 2017 21:07:46 +0000 (17:07 -0400)] 
typo

8 years agoremove "seek to just before end of file" hack
Alan T. DeKok [Tue, 26 Sep 2017 20:57:09 +0000 (16:57 -0400)] 
remove "seek to just before end of file" hack

8 years agofinalize logic for alloc / reserve
Alan T. DeKok [Tue, 26 Sep 2017 20:49:52 +0000 (16:49 -0400)] 
finalize logic for alloc / reserve

8 years agocorrect logic in alloc_reserve function
Alan T. DeKok [Tue, 26 Sep 2017 20:49:40 +0000 (16:49 -0400)] 
correct logic in alloc_reserve function

8 years agosecond message has no data, but has reserved space
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

8 years agoclean up logic and note "todo"
Alan T. DeKok [Tue, 26 Sep 2017 19:57:20 +0000 (15:57 -0400)] 
clean up logic and note "todo"

8 years agobetter logic around reading multiple packets
Alan T. DeKok [Tue, 26 Sep 2017 19:51:42 +0000 (15:51 -0400)] 
better logic around reading multiple packets

8 years agomore printing
Alan T. DeKok [Tue, 26 Sep 2017 19:21:14 +0000 (15:21 -0400)] 
more printing

8 years agoadd default_reply_size
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

8 years agoalloc only if there's no data already in the buffer
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

8 years agocache CS and use it for error printing
Alan T. DeKok [Tue, 26 Sep 2017 19:00:28 +0000 (15:00 -0400)] 
cache CS and use it for error printing

8 years agoa bit better messages
Alan T. DeKok [Tue, 26 Sep 2017 19:00:14 +0000 (15:00 -0400)] 
a bit better messages

8 years agotypo
Alan T. DeKok [Tue, 26 Sep 2017 18:43:51 +0000 (14:43 -0400)] 
typo

8 years agocan only have one "type"
Alan T. DeKok [Tue, 26 Sep 2017 18:43:45 +0000 (14:43 -0400)] 
can only have one "type"

8 years agoallow priorities to be configurable
Alan T. DeKok [Tue, 26 Sep 2017 16:08:35 +0000 (12:08 -0400)] 
allow priorities to be configurable

8 years agonote 'group'
Alan T. DeKok [Tue, 26 Sep 2017 11:55:36 +0000 (07:55 -0400)] 
note 'group'

8 years agomore cleanups for reading from files
Alan T. DeKok [Mon, 25 Sep 2017 20:38:58 +0000 (16:38 -0400)] 
more cleanups for reading from files

8 years agostart of detail file reader again
Alan T. DeKok [Mon, 25 Sep 2017 20:15:28 +0000 (16:15 -0400)] 
start of detail file reader again

8 years agothere's no reason for 'instance' to be const in the reader
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

8 years agodetail files require a 'transport'
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.

8 years agoadd "process" callback
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

8 years agoSpecify arch where subpackage requires main package
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

8 years agoThe accounting module is called radius_acct not radius_coa
Arran Cudbard-Bell [Tue, 26 Sep 2017 11:05:44 +0000 (19:05 +0800)] 
The accounting module is called radius_acct not radius_coa

8 years agoUse cached enum value so we don't SEGV if type is "auth", "acct" etc..
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..

8 years agoTypo
Arran Cudbard-Bell [Tue, 26 Sep 2017 10:49:29 +0000 (18:49 +0800)] 
Typo

8 years agoRequire ldap_install_tls be exported from libldap
Arran Cudbard-Bell [Tue, 26 Sep 2017 10:02:31 +0000 (18:02 +0800)] 
Require ldap_install_tls be exported from libldap

8 years agoFix builds without LDAP_SASL_INTERACTIVE_BIND
Arran Cudbard-Bell [Tue, 26 Sep 2017 10:02:13 +0000 (18:02 +0800)] 
Fix builds without LDAP_SASL_INTERACTIVE_BIND

8 years agoIgnore symlinked ethernet headers for now
Arran Cudbard-Bell [Tue, 26 Sep 2017 06:42:00 +0000 (14:42 +0800)] 
Ignore symlinked ethernet headers for now

8 years agoRegenerate config scripts
Arran Cudbard-Bell [Tue, 26 Sep 2017 06:41:16 +0000 (14:41 +0800)] 
Regenerate config scripts

8 years agoPartially revert "use '=' instead of '==' for portability"
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...

8 years agoPartially revert "use '=' instead of '==' for portability"
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

8 years agoneed this, too
Alan T. DeKok [Mon, 25 Sep 2017 16:54:50 +0000 (12:54 -0400)] 
need this, too

8 years agodoxygen
Alan T. DeKok [Mon, 25 Sep 2017 16:54:25 +0000 (12:54 -0400)] 
doxygen

8 years agouse filter from table, not hard-coded EVFILT_READ
Alan T. DeKok [Mon, 25 Sep 2017 16:01:34 +0000 (12:01 -0400)] 
use filter from table, not hard-coded EVFILT_READ

8 years agore-arrange code
Alan T. DeKok [Mon, 25 Sep 2017 15:50:49 +0000 (11:50 -0400)] 
re-arrange code

8 years agorename for consistency
Alan T. DeKok [Mon, 25 Sep 2017 15:35:11 +0000 (11:35 -0400)] 
rename for consistency

8 years agoset & cache allowed packet code
Alan T. DeKok [Mon, 25 Sep 2017 15:31:02 +0000 (11:31 -0400)] 
set & cache allowed packet code

8 years agomove client src_ipaddr mangling to proto_radius
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

8 years agostart of new detail file listener
Alan T. DeKok [Mon, 25 Sep 2017 15:10:39 +0000 (11:10 -0400)] 
start of new detail file listener

8 years agomoved old files out of the way
Alan T. DeKok [Mon, 25 Sep 2017 15:10:20 +0000 (11:10 -0400)] 
moved old files out of the way

8 years agominor cleanups and typos
Alan T. DeKok [Mon, 25 Sep 2017 15:01:55 +0000 (11:01 -0400)] 
minor cleanups and typos

8 years agomove detail.h to proto_detail
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.

8 years agoalways write to the detail file
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

8 years agonow that the code is smarter, we need less documentation
Alan T. DeKok [Sun, 24 Sep 2017 20:15:52 +0000 (16:15 -0400)] 
now that the code is smarter, we need less documentation

8 years agouse '=' instead of '==' for portability
Alan T. DeKok [Sun, 24 Sep 2017 20:15:37 +0000 (16:15 -0400)] 
use '=' instead of '==' for portability

8 years agoremove deprecated disable_tls* configuration
Alan T. DeKok [Sun, 24 Sep 2017 20:14:00 +0000 (16:14 -0400)] 
remove deprecated disable_tls* configuration

8 years agouse '=' instead of '==' for portability
Alan T. DeKok [Sun, 24 Sep 2017 18:35:19 +0000 (14:35 -0400)] 
use '=' instead of '==' for portability

8 years agoMore ifdefs
Arran Cudbard-Bell [Sun, 24 Sep 2017 15:09:39 +0000 (23:09 +0800)] 
More ifdefs

8 years agoNOTE_REVOKE and NOTE_FUNLOCK not implemented by libkqueue
Arran Cudbard-Bell [Sun, 24 Sep 2017 14:56:24 +0000 (22:56 +0800)] 
NOTE_REVOKE and NOTE_FUNLOCK not implemented by libkqueue

8 years agoSupport all vnode note types
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.

8 years agomanually disable TLSv1.2
Alan T. DeKok [Sun, 24 Sep 2017 13:09:00 +0000 (09:09 -0400)] 
manually disable TLSv1.2

8 years agoin v4 the 'type = fast' enables the module
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

8 years agoallow FAST to over-ride cipher_list
Alan T. DeKok [Sun, 24 Sep 2017 13:00:00 +0000 (09:00 -0400)] 
allow FAST to over-ride cipher_list

8 years agoroot unknown from parent, not from dict root
Alan T. DeKok [Sun, 24 Sep 2017 12:33:39 +0000 (08:33 -0400)] 
root unknown from parent, not from dict root

8 years agodon't leak vp
Alan T. DeKok [Sat, 23 Sep 2017 17:03:07 +0000 (13:03 -0400)] 
don't leak vp

8 years agoEAP-FAST-Crypto-Binding is 'octets'
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

8 years agoit helps to add the VPs to the cursor
Alan T. DeKok [Sat, 23 Sep 2017 13:18:19 +0000 (09:18 -0400)] 
it helps to add the VPs to the cursor

8 years agouse decoded len, not len from all of the packet
Alan T. DeKok [Sat, 23 Sep 2017 13:01:40 +0000 (09:01 -0400)] 
use decoded len, not len from all of the packet

8 years agosuppress bad error for EAP-FAST
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

8 years agotls_max_version cannot be less than 1.0
Alan T. DeKok [Sat, 23 Sep 2017 12:25:38 +0000 (08:25 -0400)] 
tls_max_version cannot be less than 1.0