]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan DeKok [Fri, 15 Sep 2017 19:31:19 +0000 (15:31 -0400)]
Merge pull request #2071 from jimdigriz/v4.0.x-rhspec
V4.0.x rhspec
Alan T. DeKok [Fri, 15 Sep 2017 17:32:55 +0000 (13:32 -0400)]
enforce max request lifetime on the child request
Alan T. DeKok [Fri, 15 Sep 2017 17:31:50 +0000 (13:31 -0400)]
correct number ranges in comments
Alexander Clouter [Fri, 15 Sep 2017 14:11:57 +0000 (15:11 +0100)]
update rhspec
Alexander Clouter [Fri, 15 Sep 2017 14:11:35 +0000 (15:11 +0100)]
centos6 docker build fix
Alan T. DeKok [Fri, 15 Sep 2017 13:32:50 +0000 (09:32 -0400)]
shrink unlang_group_t slightly
with anonymous struct anonymous union
Matthew Newton [Fri, 15 Sep 2017 13:01:12 +0000 (14:01 +0100)]
people try to use client certificates, and it generally doesn't work
Arran Cudbard-Bell [Fri, 15 Sep 2017 08:22:41 +0000 (15:22 +0700)]
Add iterator for iterating by DA
Arran Cudbard-Bell [Fri, 15 Sep 2017 07:25:41 +0000 (14:25 +0700)]
Remove the VP from the cursor before freeing
That way the cursor doesn't contain references to already freed memory.
Arran Cudbard-Bell [Fri, 15 Sep 2017 06:05:04 +0000 (13:05 +0700)]
Swap out more calls to use the new cursor api
Arran Cudbard-Bell [Fri, 15 Sep 2017 01:36:27 +0000 (08:36 +0700)]
Use correct signed integer field in rlm_lua
Arran Cudbard-Bell [Fri, 15 Sep 2017 01:34:28 +0000 (08:34 +0700)]
Replace more vp_cursor_t calls with fr_cursor_t calls
Alan T. DeKok [Thu, 14 Sep 2017 23:55:11 +0000 (19:55 -0400)]
no unused variable for you
Alan T. DeKok [Thu, 14 Sep 2017 23:29:58 +0000 (19:29 -0400)]
hack together "call"
it doesn't do yeild, and it overloads things it shouldn't overload
but it works. It can be cleaned up later
Alan T. DeKok [Thu, 14 Sep 2017 23:26:42 +0000 (19:26 -0400)]
don't print out TLS tunnel stuff... it's not relevant
We need to find a better way to do this. Perhaps print out
the parent / child virtual server?
Alan T. DeKok [Thu, 14 Sep 2017 23:09:18 +0000 (19:09 -0400)]
use correct process ptr
Alan T. DeKok [Thu, 14 Sep 2017 17:49:05 +0000 (13:49 -0400)]
detach the child before freeing it
Alan T. DeKok [Thu, 14 Sep 2017 17:47:00 +0000 (13:47 -0400)]
"call" can only be used in a "subrequest" section.
For now, until we get more code written
Alan T. DeKok [Thu, 14 Sep 2017 17:22:51 +0000 (13:22 -0400)]
verify that server.PACKET-Type exists
Alan T. DeKok [Thu, 14 Sep 2017 17:21:49 +0000 (13:21 -0400)]
moved "cache process ptr" to mod_bootstrap
so it's available for later checks
Alan T. DeKok [Thu, 14 Sep 2017 16:53:23 +0000 (12:53 -0400)]
add UNLANG_TYPE_CALL to the parser
and bare-bones interpreter
Alan T. DeKok [Thu, 14 Sep 2017 15:55:07 +0000 (11:55 -0400)]
it's compile_subrequest(), not compile_create()
Alan T. DeKok [Thu, 14 Sep 2017 15:53:44 +0000 (11:53 -0400)]
Cache process function by packet name
Alan T. DeKok [Thu, 14 Sep 2017 14:48:46 +0000 (10:48 -0400)]
don't log Cleartext-Password
Alan T. DeKok [Thu, 14 Sep 2017 14:48:01 +0000 (10:48 -0400)]
document subrequest and detach
Arran Cudbard-Bell [Thu, 14 Sep 2017 16:33:05 +0000 (23:33 +0700)]
Happily not needed
...as the new cursor API was designed somewhat more than the original, and doesn't require dumb hacks.
Arran Cudbard-Bell [Thu, 14 Sep 2017 14:33:16 +0000 (21:33 +0700)]
Sprinkle more verify calls
Arran Cudbard-Bell [Thu, 14 Sep 2017 14:31:18 +0000 (21:31 +0700)]
Formatting
Arran Cudbard-Bell [Thu, 14 Sep 2017 12:42:00 +0000 (19:42 +0700)]
Switch to the new cursor API for tmpl_cursors
This means we can remove tmpl_cursor_next, and pass around cursors which represents subsets of attribute lists (without copying VALUE_PAIRs), which is nice...
Arran Cudbard-Bell [Thu, 14 Sep 2017 12:22:40 +0000 (19:22 +0700)]
Typo in cursor_replace
Arran Cudbard-Bell [Thu, 14 Sep 2017 08:49:08 +0000 (15:49 +0700)]
Pick up brewed ssl for eapol_test
Arran Cudbard-Bell [Thu, 14 Sep 2017 11:26:59 +0000 (18:26 +0700)]
Merge pull request #2065 from pwdng/v4.0.x
Fix RPM spec file
Philippe Wooding [Thu, 14 Sep 2017 11:06:01 +0000 (13:06 +0200)]
Fix RPM spec file
Alan T. DeKok [Wed, 13 Sep 2017 19:46:13 +0000 (15:46 -0400)]
hack for NUM_ALL
Not sure why the xlat-list test *ever* passed...
Alan T. DeKok [Wed, 13 Sep 2017 19:25:25 +0000 (15:25 -0400)]
more test_fail
Alan T. DeKok [Wed, 13 Sep 2017 18:52:45 +0000 (14:52 -0400)]
use "success" instead of manual thing
Alan T. DeKok [Wed, 13 Sep 2017 18:49:54 +0000 (14:49 -0400)]
move to using test_fail macro
Multi-line perl replace is your friend...
Alan T. DeKok [Wed, 13 Sep 2017 18:33:58 +0000 (14:33 -0400)]
add test_fail
which shows the line number of the block which called the
test_fail policy
Alan T. DeKok [Wed, 13 Sep 2017 18:31:02 +0000 (14:31 -0400)]
added %{interpreter:...} xlat
for introspection of the interpreter state
Arran Cudbard-Bell [Wed, 13 Sep 2017 18:32:20 +0000 (01:32 +0700)]
Arran Cudbard-Bell [Wed, 13 Sep 2017 18:15:43 +0000 (01:15 +0700)]
See if stages work any better now
Alan T. DeKok [Wed, 13 Sep 2017 18:12:11 +0000 (14:12 -0400)]
clean up compile_action_pair
and require action over-rides to be an "actions" section
Alan T. DeKok [Wed, 13 Sep 2017 17:47:01 +0000 (13:47 -0400)]
'actions' must be the LAST thing in a group
Alan T. DeKok [Wed, 13 Sep 2017 17:46:44 +0000 (13:46 -0400)]
'actions' may be in a "group"
Alan T. DeKok [Wed, 13 Sep 2017 16:59:55 +0000 (12:59 -0400)]
disallow action over-rides in random places
Alan T. DeKok [Wed, 13 Sep 2017 16:38:00 +0000 (12:38 -0400)]
don't install rlm_test or rlm_example
Alan T. DeKok [Wed, 13 Sep 2017 15:57:14 +0000 (11:57 -0400)]
use "success" policy, instead of manual updates
Alan T. DeKok [Wed, 13 Sep 2017 15:57:07 +0000 (11:57 -0400)]
add parallel test
Alan T. DeKok [Wed, 13 Sep 2017 15:36:22 +0000 (11:36 -0400)]
the string shouldn't be 'foo', it should be the same as tmp-string-1
and rename the failure cases so they don't overlap with earlier
numbers
Alan T. DeKok [Wed, 13 Sep 2017 15:34:20 +0000 (11:34 -0400)]
don't core dump when printing lists
Alan T. DeKok [Wed, 13 Sep 2017 15:22:50 +0000 (11:22 -0400)]
set request->name
Alan T. DeKok [Wed, 13 Sep 2017 15:20:53 +0000 (11:20 -0400)]
remove (async), as all virtual servers are now async
Alan T. DeKok [Wed, 13 Sep 2017 14:10:32 +0000 (10:10 -0400)]
add "success" policy
Alan T. DeKok [Wed, 13 Sep 2017 13:40:39 +0000 (09:40 -0400)]
rename "create" to "subrequest"
and start off all subrequests with no packet code
Arran Cudbard-Bell [Wed, 13 Sep 2017 07:52:05 +0000 (14:52 +0700)]
Ugh clang defines __GNUC__ too
Arran Cudbard-Bell [Wed, 13 Sep 2017 07:41:24 +0000 (14:41 +0700)]
Fix no-unknown-warning-option check
# Conflicts:
# configure
Arran Cudbard-Bell [Wed, 13 Sep 2017 07:06:29 +0000 (14:06 +0700)]
Merge pull request #2062 from herwinw/docker-debian8
Fixed docker build for debian8
Herwin Weststrate [Wed, 13 Sep 2017 06:11:14 +0000 (08:11 +0200)]
Fixed docker build for debian8
A '-y' switch was required for the installation of libnl-dev
Arran Cudbard-Bell [Wed, 13 Sep 2017 04:36:01 +0000 (11:36 +0700)]
Ignore unknown pragmas, don't warn about them
Alan T. DeKok [Tue, 12 Sep 2017 18:13:03 +0000 (14:13 -0400)]
more docs
Alan T. DeKok [Tue, 12 Sep 2017 18:06:10 +0000 (14:06 -0400)]
notes on upgrading
Alan T. DeKok [Tue, 12 Sep 2017 17:54:49 +0000 (13:54 -0400)]
documentation on the "listen" sections
Alan T. DeKok [Tue, 12 Sep 2017 16:15:25 +0000 (12:15 -0400)]
dpkg to install debs, not apt-get
Alan T. DeKok [Tue, 12 Sep 2017 16:13:31 +0000 (12:13 -0400)]
reset WORKDIR
Alan T. DeKok [Tue, 12 Sep 2017 15:57:25 +0000 (11:57 -0400)]
Hmm... this is needed
but when the build runs, it can't find libnl. Oh well
Alan T. DeKok [Tue, 12 Sep 2017 15:44:57 +0000 (11:44 -0400)]
it's libnl-dev on Ubuntu14
Arran Cudbard-Bell [Tue, 12 Sep 2017 15:43:35 +0000 (22:43 +0700)]
Build newer libkqueue
Alan T. DeKok [Tue, 12 Sep 2017 15:39:26 +0000 (11:39 -0400)]
set namespace
Alan T. DeKok [Tue, 12 Sep 2017 15:09:09 +0000 (11:09 -0400)]
ignore internal servers, and print out more helpful messages
Alan T. DeKok [Tue, 12 Sep 2017 14:38:04 +0000 (10:38 -0400)]
print out which virtual server we're compiling
Alan T. DeKok [Tue, 12 Sep 2017 14:24:13 +0000 (10:24 -0400)]
warn about unused "send" and "recv" sections.
And if -C is used, it's a hard error
Alan T. DeKok [Tue, 12 Sep 2017 14:08:58 +0000 (10:08 -0400)]
disallow old-style virtual servers
Alan T. DeKok [Tue, 12 Sep 2017 13:50:43 +0000 (09:50 -0400)]
disallow create inside of create
Alan T. DeKok [Tue, 12 Sep 2017 13:37:31 +0000 (09:37 -0400)]
use [..] for connection numbers
so we don't confuse them with (...) request numbers
Alan T. DeKok [Tue, 12 Sep 2017 13:37:12 +0000 (09:37 -0400)]
set request name
Alan T. DeKok [Tue, 12 Sep 2017 13:24:37 +0000 (09:24 -0400)]
always use internal "run one section" for child requests
which avoids all of the issues of using protocol-specific
handlers. They're not... they're internal requests
Alan T. DeKok [Tue, 12 Sep 2017 13:20:25 +0000 (09:20 -0400)]
better debug output for create / detach
Alan T. DeKok [Tue, 12 Sep 2017 11:57:46 +0000 (07:57 -0400)]
add request->name as name of the request
for most requests, it's "%d". For child requests it's "parent.child"
for sequence, it's "%d,parent"
That's awkward, but the simplest for now
Arran Cudbard-Bell [Tue, 12 Sep 2017 02:49:17 +0000 (09:49 +0700)]
better example of parsing multiple values in json
Alan T. DeKok [Mon, 11 Sep 2017 22:15:10 +0000 (18:15 -0400)]
don't call time functions
Alan T. DeKok [Mon, 11 Sep 2017 22:05:18 +0000 (18:05 -0400)]
add generic "run unlang" function
and finalize the "detach" functionality
Alan T. DeKok [Mon, 11 Sep 2017 21:47:30 +0000 (17:47 -0400)]
fix limits on allowed values
Alan T. DeKok [Mon, 11 Sep 2017 21:42:49 +0000 (17:42 -0400)]
use correct names
Alan T. DeKok [Mon, 11 Sep 2017 21:38:38 +0000 (17:38 -0400)]
no longer list "exec" in "send reply" sections
Exec-Program-Wait no longer exists
Alan T. DeKok [Mon, 11 Sep 2017 21:37:16 +0000 (17:37 -0400)]
detached request has it's own logging struct
Alan T. DeKok [Mon, 11 Sep 2017 21:31:46 +0000 (17:31 -0400)]
detached requests are always runnable
Alan T. DeKok [Mon, 11 Sep 2017 21:29:53 +0000 (17:29 -0400)]
initialize fields
Alan T. DeKok [Mon, 11 Sep 2017 21:27:38 +0000 (17:27 -0400)]
typo
Alan T. DeKok [Mon, 11 Sep 2017 19:53:57 +0000 (15:53 -0400)]
add "detach" keyword
and functionality. Its parent has to be "create"
Alan T. DeKok [Mon, 11 Sep 2017 19:35:00 +0000 (15:35 -0400)]
set child backlog when detaching
Alan T. DeKok [Mon, 11 Sep 2017 19:27:09 +0000 (15:27 -0400)]
allow for detachable children in "create" sections
Alan T. DeKok [Mon, 11 Sep 2017 19:18:08 +0000 (15:18 -0400)]
provide for detached / detachable fake requests
Alan T. DeKok [Mon, 11 Sep 2017 18:50:10 +0000 (14:50 -0400)]
add "detached" status to async && worker
so that the worker can run detached fake requests, and not send
actual replies
Alan T. DeKok [Mon, 11 Sep 2017 18:13:18 +0000 (14:13 -0400)]
add rule to re-create module configure scripts
Arran Cudbard-Bell [Sun, 10 Sep 2017 15:35:14 +0000 (22:35 +0700)]
Remove ASAN_SYMBOLIZER_PATH
Arran Cudbard-Bell [Sun, 10 Sep 2017 15:24:08 +0000 (22:24 +0700)]
Install dependencies for eapol_test, so the EAP tests run...
Arran Cudbard-Bell [Sun, 10 Sep 2017 13:00:26 +0000 (20:00 +0700)]
Make lldb available in the docker file
Arran Cudbard-Bell [Sun, 10 Sep 2017 13:00:06 +0000 (20:00 +0700)]
Might be no matching sections
Arran Cudbard-Bell [Sun, 10 Sep 2017 10:31:40 +0000 (17:31 +0700)]
Install a working version of clang too, and checkout the right respository
Arran Cudbard-Bell [Sun, 10 Sep 2017 09:53:35 +0000 (16:53 +0700)]
Print the failed command