]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Thu, 18 Apr 2019 14:57:15 +0000 (10:57 -0400)]
make it "const", and non-null
Alan T. DeKok [Thu, 18 Apr 2019 14:47:26 +0000 (10:47 -0400)]
run sections for Acct-Status-Type
so that we can do different things in different circumstances
Alan T. DeKok [Thu, 18 Apr 2019 13:54:31 +0000 (09:54 -0400)]
doxygen
Arran Cudbard-Bell [Thu, 18 Apr 2019 13:27:23 +0000 (09:27 -0400)]
Remove irrelevant comments
Alan T. DeKok [Thu, 18 Apr 2019 13:20:41 +0000 (09:20 -0400)]
make unlang_compile_subsectio() take a CONF_SECTION
instead of name1/name2.
Alan T. DeKok [Thu, 18 Apr 2019 13:19:56 +0000 (09:19 -0400)]
pass the process_app_cs config to the process function
Alan T. DeKok [Thu, 18 Apr 2019 13:14:08 +0000 (09:14 -0400)]
dict is vqp <sigh>
Alan T. DeKok [Thu, 18 Apr 2019 12:53:30 +0000 (08:53 -0400)]
re-run autoconf
Alan T. DeKok [Thu, 18 Apr 2019 12:47:53 +0000 (08:47 -0400)]
typos. Closes #2614
Alan DeKok [Thu, 18 Apr 2019 12:55:06 +0000 (08:55 -0400)]
Merge pull request #2618 from jpereira/v4/doc-spaces
two spaces after '#'. No spaces at the end of a line.
Arran Cudbard-Bell [Thu, 18 Apr 2019 12:17:40 +0000 (08:17 -0400)]
Add support for pushing modules onto the stack
Arran Cudbard-Bell [Thu, 18 Apr 2019 12:09:44 +0000 (08:09 -0400)]
Typo
Arran Cudbard-Bell [Thu, 18 Apr 2019 12:09:44 +0000 (08:09 -0400)]
Last of the fixes to cleanup frame state correctly (hopefully)
Alan T. DeKok [Thu, 18 Apr 2019 11:10:23 +0000 (07:10 -0400)]
compile via MOD_AUTHENTICATE as it should be
Arran Cudbard-Bell [Thu, 18 Apr 2019 03:46:28 +0000 (23:46 -0400)]
Initialise subcs
Arran Cudbard-Bell [Thu, 18 Apr 2019 03:43:18 +0000 (23:43 -0400)]
Unused
Arran Cudbard-Bell [Thu, 18 Apr 2019 03:38:43 +0000 (23:38 -0400)]
Temporary hack to get EAP-TLS virtual server sections working again
Matthew Newton [Thu, 18 Apr 2019 01:31:45 +0000 (02:31 +0100)]
only test dependencies if it's a target that needs them
Jorge Pereira [Thu, 18 Apr 2019 01:10:40 +0000 (22:10 -0300)]
two spaces after '#'. No spaces at the end of a line.
via:
perl -p -i -e 's/^# ([^ \t])/# $1/;s/^([ \t]+)# ([^ \t])/$1# $2/;s/[ \t]+$//' raddb/site-available/*
Alan T. DeKok [Thu, 18 Apr 2019 00:58:07 +0000 (20:58 -0400)]
don't compile sections manually
we rely on the rest of the infrastructure to do that
Alan T. DeKok [Thu, 18 Apr 2019 00:57:54 +0000 (20:57 -0400)]
No, we don't need this.
Alan T. DeKok [Thu, 18 Apr 2019 00:40:46 +0000 (20:40 -0400)]
use new API for compiling processing sections
Alan T. DeKok [Wed, 17 Apr 2019 15:24:18 +0000 (11:24 -0400)]
use new API to compile subsections
Alan T. DeKok [Wed, 17 Apr 2019 15:20:37 +0000 (11:20 -0400)]
use new API to compile subsections of a virtual server
Alan T. DeKok [Wed, 17 Apr 2019 15:13:40 +0000 (11:13 -0400)]
use new API to compile processing sections in proto_radius
Alan T. DeKok [Wed, 17 Apr 2019 15:11:43 +0000 (11:11 -0400)]
added function to compile sections of a virtual server
so it's now table driven, instead of code all over the place
Matthew Newton [Thu, 18 Apr 2019 00:28:05 +0000 (01:28 +0100)]
Merge pull request #2617 from jpereira/v4/doc10
Some updates
Matthew Newton [Thu, 18 Apr 2019 00:26:20 +0000 (01:26 +0100)]
Merge pull request #2616 from jpereira/v4/doc-check
doc: Check the dependencies
Jorge Pereira [Thu, 18 Apr 2019 00:13:16 +0000 (21:13 -0300)]
Update trigger.conf
Jorge Pereira [Thu, 18 Apr 2019 00:13:16 +0000 (21:13 -0300)]
Update clients.conf
Jorge Pereira [Thu, 18 Apr 2019 00:10:05 +0000 (21:10 -0300)]
Update templates.conf
Jorge Pereira [Thu, 18 Apr 2019 00:01:45 +0000 (21:01 -0300)]
Update experimental.conf
Jorge Pereira [Thu, 18 Apr 2019 00:01:45 +0000 (21:01 -0300)]
Update clients.conf
Jorge Pereira [Wed, 17 Apr 2019 23:48:31 +0000 (20:48 -0300)]
Update raddb/debug.conf
Jorge Pereira [Wed, 17 Apr 2019 23:48:09 +0000 (20:48 -0300)]
Update raddb/dictionary
Jorge Pereira [Wed, 17 Apr 2019 23:34:10 +0000 (20:34 -0300)]
doc: Minor fixes
Jorge Pereira [Thu, 18 Apr 2019 00:19:10 +0000 (21:19 -0300)]
doc: Check the dependencies
Jorge Pereira [Wed, 17 Apr 2019 23:15:16 +0000 (20:15 -0300)]
doc: Fix the 'clean' target
Jorge Pereira [Wed, 17 Apr 2019 23:47:07 +0000 (20:47 -0300)]
doc: Clean up
Arran Cudbard-Bell [Wed, 17 Apr 2019 22:14:52 +0000 (18:14 -0400)]
Set max retransmission duration to indefinite too
Arran Cudbard-Bell [Wed, 17 Apr 2019 22:10:04 +0000 (18:10 -0400)]
Set default for detail file to retransmit indefinitely
Arran Cudbard-Bell [Wed, 17 Apr 2019 22:09:48 +0000 (18:09 -0400)]
Run the fail section is we fail...
Arran Cudbard-Bell [Wed, 17 Apr 2019 20:12:18 +0000 (16:12 -0400)]
Remove configure
Arran Cudbard-Bell [Wed, 17 Apr 2019 20:09:47 +0000 (16:09 -0400)]
Initialise RADIUS library
Arran Cudbard-Bell [Wed, 17 Apr 2019 19:54:22 +0000 (15:54 -0400)]
Fix xlat debug function
Arran Cudbard-Bell [Wed, 17 Apr 2019 19:28:26 +0000 (15:28 -0400)]
Don't need eap-pwd configure checks either
Arran Cudbard-Bell [Wed, 17 Apr 2019 19:03:40 +0000 (15:03 -0400)]
Don't need eap-fast configure script anymore
Our minimum OpenSSL version is now 1.0.2
Arran Cudbard-Bell [Wed, 17 Apr 2019 04:01:24 +0000 (00:01 -0400)]
Clean up unlang interpreter src more...
Jorge Pereira [Wed, 17 Apr 2019 16:10:02 +0000 (13:10 -0300)]
Result of ./autogen.sh #2500
Jorge Pereira [Wed, 17 Apr 2019 16:08:51 +0000 (13:08 -0300)]
rlm_perl: Fix m4 path #2500
Jorge Pereira [Wed, 17 Apr 2019 16:08:31 +0000 (13:08 -0300)]
Fix typo in configure.ac #2500
Alan T. DeKok [Wed, 17 Apr 2019 13:01:38 +0000 (09:01 -0400)]
insert struct, not pointer to struct
Alan T. DeKok [Wed, 17 Apr 2019 12:36:33 +0000 (08:36 -0400)]
use correct parent
Alan T. DeKok [Wed, 17 Apr 2019 12:23:12 +0000 (08:23 -0400)]
move app_io_process bootstrap / instantiate
to virtual_server.c Which is really where it belongs
Alan T. DeKok [Wed, 17 Apr 2019 12:22:15 +0000 (08:22 -0400)]
cast to (void const*) so that the caller doesn't have to
Alan T. DeKok [Wed, 17 Apr 2019 12:10:41 +0000 (08:10 -0400)]
save process && instance
so that we can better do virtual server calls
Alan T. DeKok [Tue, 16 Apr 2019 14:34:26 +0000 (10:34 -0400)]
regenerate
Alan T. DeKok [Tue, 16 Apr 2019 14:33:33 +0000 (10:33 -0400)]
try to set kqueue include path
Alan T. DeKok [Tue, 16 Apr 2019 14:30:52 +0000 (10:30 -0400)]
remove duplicate check
Alan T. DeKok [Tue, 16 Apr 2019 13:01:13 +0000 (09:01 -0400)]
make directory, too
Arran Cudbard-Bell [Mon, 15 Apr 2019 18:34:52 +0000 (14:34 -0400)]
Suppress type-limits warnings
Alan T. DeKok [Sun, 14 Apr 2019 16:31:47 +0000 (12:31 -0400)]
register the master sockets
so we can tell when there are conflicts
Alan T. DeKok [Sun, 14 Apr 2019 16:30:39 +0000 (12:30 -0400)]
add API to look up / add listeners
so that we can track the master sockets.
Note that we're looking for conflicts, so the typical comparison
checks don't work here.
Alan T. DeKok [Sun, 14 Apr 2019 15:57:40 +0000 (11:57 -0400)]
always set scope ID, even for IPv4 sockets
because we can find to an interface in IPv4, too
Alan T. DeKok [Sun, 14 Apr 2019 13:41:56 +0000 (09:41 -0400)]
add machine-readable socket name functions
and use them in DHCPv4, RADIUS, and VQP. So that we can
detect duplicate socket openings.
Alan T. DeKok [Sun, 14 Apr 2019 12:18:23 +0000 (08:18 -0400)]
fix error message
Alan T. DeKok [Sun, 14 Apr 2019 12:15:21 +0000 (08:15 -0400)]
Revert "'listen' sections can only be in a virtual server"
This reverts commit
7eaadf3e64c1c19f1912ec310bf3ba0aaa11ddae .
the structure of the config parser `server` -> `listen` already
prevents this
Alan T. DeKok [Sun, 14 Apr 2019 10:44:00 +0000 (06:44 -0400)]
'listen' sections can only be in a virtual server
Arran Cudbard-Bell [Fri, 12 Apr 2019 16:19:42 +0000 (18:19 +0200)]
Remove libressl version checks
If someone wants to contribute checks which use actual LibreSSL version numbers, so we're not stuck supporting the initial API version of LibreSSL at the point it was forked from OpenSSL, then they're welcome to do so, otherwise we will not continue to support these lazy, short sighted hacks.
Arran Cudbard-Bell [Fri, 12 Apr 2019 13:25:02 +0000 (15:25 +0200)]
Add ubsan support
Arran Cudbard-Bell [Fri, 12 Apr 2019 13:24:54 +0000 (15:24 +0200)]
Build sigtran configure
Arran Cudbard-Bell [Fri, 12 Apr 2019 13:24:43 +0000 (15:24 +0200)]
Fix lua tests on macOS
Arran Cudbard-Bell [Fri, 12 Apr 2019 01:36:09 +0000 (03:36 +0200)]
Fixup error messages in EAP-PWD
Arran Cudbard-Bell [Fri, 12 Apr 2019 01:35:48 +0000 (03:35 +0200)]
Fixup copyright notices in EAP-PWD
Arran Cudbard-Bell [Fri, 12 Apr 2019 01:28:27 +0000 (03:28 +0200)]
Cleanups in EAP-PWD
Mathy Vanhoef [Sat, 30 Mar 2019 17:54:47 +0000 (17:54 +0000)]
EAP-pwd: validate received scalar and element
When processing an EAP-pwd Commit frame, the peer's scalar and elliptic curve
point were not validated. This allowed an adversary to bypass authentication,
and impersonate any user.
Fix this vulnerability by assuring the received scalar lies within the valid
range, and by checking that the received element is not the point at infinity
and lies on the elliptic curve being used.
Alan T. DeKok [Mon, 8 Apr 2019 20:31:42 +0000 (16:31 -0400)]
look in root for virtual server
as virtual servers haven't been bootstrapped yet, so we can't
call virtual_server_find()
Alan DeKok [Mon, 8 Apr 2019 17:18:21 +0000 (13:18 -0400)]
Merge pull request #2605 from nchaigne/master-201904-man-unlang
Update man for randstr
Alan T. DeKok [Mon, 8 Apr 2019 17:17:26 +0000 (13:17 -0400)]
doxygen
nchaigne [Mon, 8 Apr 2019 16:28:24 +0000 (18:28 +0200)]
Update man for randstr
h/H have been replaced with b (binary data).
Also fixed a few typos.
Alan T. DeKok [Mon, 8 Apr 2019 16:17:39 +0000 (12:17 -0400)]
rename "aux.c", as Windows still thinks it's 1982
Alan T. DeKok [Mon, 8 Apr 2019 13:07:51 +0000 (09:07 -0400)]
handle cases when TLV exactly fits parent option. Helps with #2601
Alan T. DeKok [Mon, 8 Apr 2019 12:29:48 +0000 (08:29 -0400)]
handle options with no data. Helps with #2601
and add test cases
Alan T. DeKok [Mon, 8 Apr 2019 12:21:26 +0000 (08:21 -0400)]
set the correct size of the data returned
Arran Cudbard-Bell [Sun, 7 Apr 2019 21:44:47 +0000 (17:44 -0400)]
Rework subrequest code to allow subrequests that persist and run through multiple sections
Arran Cudbard-Bell [Sun, 7 Apr 2019 17:06:02 +0000 (13:06 -0400)]
Not actually a bool...
Arran Cudbard-Bell [Sun, 7 Apr 2019 17:04:36 +0000 (13:04 -0400)]
Expand interface for doing things with virtual servers
Jorge Pereira [Thu, 4 Apr 2019 16:42:27 +0000 (13:42 -0300)]
rlm_sigtran: Mute error message
mohammed059 [Sun, 7 Apr 2019 11:21:06 +0000 (14:21 +0300)]
Add " to Line 143
Arran Cudbard-Bell [Sun, 7 Apr 2019 02:21:32 +0000 (22:21 -0400)]
Add interface spawning subrequests from modules
Arran Cudbard-Bell [Sun, 7 Apr 2019 02:07:58 +0000 (22:07 -0400)]
Formatting
Arran Cudbard-Bell [Sat, 6 Apr 2019 23:29:07 +0000 (19:29 -0400)]
Cleanup frame state when processing siblings
Arran Cudbard-Bell [Sat, 6 Apr 2019 16:25:26 +0000 (12:25 -0400)]
More documentation
Arran Cudbard-Bell [Sat, 6 Apr 2019 15:48:42 +0000 (11:48 -0400)]
Doxygen
Alan T. DeKok [Sat, 6 Apr 2019 12:57:36 +0000 (08:57 -0400)]
print out where the output differs
which helps with long output
Alan T. DeKok [Sat, 6 Apr 2019 12:54:08 +0000 (08:54 -0400)]
fix TLV encoding
by adding the current TLV header, which was missing in the
previous commit.
Also clean up the code and use extend_option() where the data
is more than 255 bytes.
We try to avoid splitting data across multiple options. The result
is that the encoder may output multiple options of the same number,
BUT where the lengths are smaller than 255. This means that any
decoder can just decode the data in-place most of the time.
We split data across multiple options ONLY when the encoded data
is more than 255 bytes. And even then, we try to start that
encoding on a new option.
Arran Cudbard-Bell [Sat, 6 Apr 2019 00:27:39 +0000 (20:27 -0400)]
Check for errors when registering aux functions
Arran Cudbard-Bell [Sat, 6 Apr 2019 00:24:46 +0000 (20:24 -0400)]
Move module event handling and declarations out of the various places they were scattered, and into module.h, module_priv.h, and module.c in the unlang library
Arran Cudbard-Bell [Fri, 5 Apr 2019 23:30:45 +0000 (19:30 -0400)]
Finish breaking keywords out into separate source files
Arran Cudbard-Bell [Fri, 5 Apr 2019 22:02:12 +0000 (18:02 -0400)]
Typo