]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoMerge pull request #2071 from jimdigriz/v4.0.x-rhspec
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

8 years agoenforce max request lifetime on the child request
Alan T. DeKok [Fri, 15 Sep 2017 17:32:55 +0000 (13:32 -0400)] 
enforce max request lifetime on the child request

8 years agocorrect number ranges in comments
Alan T. DeKok [Fri, 15 Sep 2017 17:31:50 +0000 (13:31 -0400)] 
correct number ranges in comments

8 years agoupdate rhspec 2071/head
Alexander Clouter [Fri, 15 Sep 2017 14:11:57 +0000 (15:11 +0100)] 
update rhspec

8 years agocentos6 docker build fix
Alexander Clouter [Fri, 15 Sep 2017 14:11:35 +0000 (15:11 +0100)] 
centos6 docker build fix

8 years agoshrink unlang_group_t slightly
Alan T. DeKok [Fri, 15 Sep 2017 13:32:50 +0000 (09:32 -0400)] 
shrink unlang_group_t slightly

with anonymous struct anonymous union

8 years agopeople try to use client certificates, and it generally doesn't work
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

8 years agoAdd iterator for iterating by DA
Arran Cudbard-Bell [Fri, 15 Sep 2017 08:22:41 +0000 (15:22 +0700)] 
Add iterator for iterating by DA

8 years agoRemove the VP from the cursor before freeing
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.

8 years agoSwap out more calls to use the new cursor api
Arran Cudbard-Bell [Fri, 15 Sep 2017 06:05:04 +0000 (13:05 +0700)] 
Swap out more calls to use the new cursor api

8 years agoUse correct signed integer field in rlm_lua
Arran Cudbard-Bell [Fri, 15 Sep 2017 01:36:27 +0000 (08:36 +0700)] 
Use correct signed integer field in rlm_lua

8 years agoReplace more vp_cursor_t calls with fr_cursor_t calls
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

8 years agono unused variable for you
Alan T. DeKok [Thu, 14 Sep 2017 23:55:11 +0000 (19:55 -0400)] 
no unused variable for you

8 years agohack together "call"
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

8 years agodon't print out TLS tunnel stuff... it's not relevant
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?

8 years agouse correct process ptr
Alan T. DeKok [Thu, 14 Sep 2017 23:09:18 +0000 (19:09 -0400)] 
use correct process ptr

8 years agodetach the child before freeing it
Alan T. DeKok [Thu, 14 Sep 2017 17:49:05 +0000 (13:49 -0400)] 
detach the child before freeing it

8 years ago"call" can only be used in a "subrequest" section.
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

8 years agoverify that server.PACKET-Type exists
Alan T. DeKok [Thu, 14 Sep 2017 17:22:51 +0000 (13:22 -0400)] 
verify that server.PACKET-Type exists

8 years agomoved "cache process ptr" to mod_bootstrap
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

8 years agoadd UNLANG_TYPE_CALL to the parser
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

8 years agoit's compile_subrequest(), not compile_create()
Alan T. DeKok [Thu, 14 Sep 2017 15:55:07 +0000 (11:55 -0400)] 
it's compile_subrequest(), not compile_create()

8 years agoCache process function by packet name
Alan T. DeKok [Thu, 14 Sep 2017 15:53:44 +0000 (11:53 -0400)] 
Cache process function by packet name

8 years agodon't log Cleartext-Password
Alan T. DeKok [Thu, 14 Sep 2017 14:48:46 +0000 (10:48 -0400)] 
don't log Cleartext-Password

8 years agodocument subrequest and detach
Alan T. DeKok [Thu, 14 Sep 2017 14:48:01 +0000 (10:48 -0400)] 
document subrequest and detach

8 years agoHappily not needed
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.

8 years agoSprinkle more verify calls
Arran Cudbard-Bell [Thu, 14 Sep 2017 14:33:16 +0000 (21:33 +0700)] 
Sprinkle more verify calls

8 years agoFormatting
Arran Cudbard-Bell [Thu, 14 Sep 2017 14:31:18 +0000 (21:31 +0700)] 
Formatting

8 years agoSwitch to the new cursor API for tmpl_cursors
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...

8 years agoTypo in cursor_replace
Arran Cudbard-Bell [Thu, 14 Sep 2017 12:22:40 +0000 (19:22 +0700)] 
Typo in cursor_replace

8 years agoPick up brewed ssl for eapol_test
Arran Cudbard-Bell [Thu, 14 Sep 2017 08:49:08 +0000 (15:49 +0700)] 
Pick up brewed ssl for eapol_test

8 years agoMerge pull request #2065 from pwdng/v4.0.x
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

8 years agoFix RPM spec file 2065/head
Philippe Wooding [Thu, 14 Sep 2017 11:06:01 +0000 (13:06 +0200)] 
Fix RPM spec file

8 years agohack for NUM_ALL
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...

8 years agomore test_fail
Alan T. DeKok [Wed, 13 Sep 2017 19:25:25 +0000 (15:25 -0400)] 
more test_fail

8 years agouse "success" instead of manual thing
Alan T. DeKok [Wed, 13 Sep 2017 18:52:45 +0000 (14:52 -0400)] 
use "success" instead of manual thing

8 years agomove to using test_fail macro
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...

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

8 years agoadded %{interpreter:...} xlat
Alan T. DeKok [Wed, 13 Sep 2017 18:31:02 +0000 (14:31 -0400)] 
added %{interpreter:...} xlat

for introspection of the interpreter state

8 years agoNo...
Arran Cudbard-Bell [Wed, 13 Sep 2017 18:32:20 +0000 (01:32 +0700)] 
No...

This reverts commit 740bf8e68d8508f8ec32096e15918212934b3508.

8 years agoSee if stages work any better now
Arran Cudbard-Bell [Wed, 13 Sep 2017 18:15:43 +0000 (01:15 +0700)] 
See if stages work any better now

8 years agoclean up compile_action_pair
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

8 years ago'actions' must be the LAST thing in a group
Alan T. DeKok [Wed, 13 Sep 2017 17:47:01 +0000 (13:47 -0400)] 
'actions' must be the LAST thing in a group

8 years ago'actions' may be in a "group"
Alan T. DeKok [Wed, 13 Sep 2017 17:46:44 +0000 (13:46 -0400)] 
'actions' may be in a "group"

8 years agodisallow action over-rides in random places
Alan T. DeKok [Wed, 13 Sep 2017 16:59:55 +0000 (12:59 -0400)] 
disallow action over-rides in random places

8 years agodon't install rlm_test or rlm_example
Alan T. DeKok [Wed, 13 Sep 2017 16:38:00 +0000 (12:38 -0400)] 
don't install rlm_test or rlm_example

8 years agouse "success" policy, instead of manual updates
Alan T. DeKok [Wed, 13 Sep 2017 15:57:14 +0000 (11:57 -0400)] 
use "success" policy, instead of manual updates

8 years agoadd parallel test
Alan T. DeKok [Wed, 13 Sep 2017 15:57:07 +0000 (11:57 -0400)] 
add parallel test

8 years agothe string shouldn't be 'foo', it should be the same as tmp-string-1
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

8 years agodon't core dump when printing lists
Alan T. DeKok [Wed, 13 Sep 2017 15:34:20 +0000 (11:34 -0400)] 
don't core dump when printing lists

8 years agoset request->name
Alan T. DeKok [Wed, 13 Sep 2017 15:22:50 +0000 (11:22 -0400)] 
set request->name

8 years agoremove (async), as all virtual servers are now async
Alan T. DeKok [Wed, 13 Sep 2017 15:20:53 +0000 (11:20 -0400)] 
remove (async), as all virtual servers are now async

8 years agoadd "success" policy
Alan T. DeKok [Wed, 13 Sep 2017 14:10:32 +0000 (10:10 -0400)] 
add "success" policy

8 years agorename "create" to "subrequest"
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

8 years agoUgh clang defines __GNUC__ too
Arran Cudbard-Bell [Wed, 13 Sep 2017 07:52:05 +0000 (14:52 +0700)] 
Ugh clang defines __GNUC__ too

8 years agoFix no-unknown-warning-option check
Arran Cudbard-Bell [Wed, 13 Sep 2017 07:41:24 +0000 (14:41 +0700)] 
Fix no-unknown-warning-option check

# Conflicts:
# configure

8 years agoMerge pull request #2062 from herwinw/docker-debian8
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

8 years agoFixed docker build for debian8 2062/head
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

8 years agoIgnore unknown pragmas, don't warn about them
Arran Cudbard-Bell [Wed, 13 Sep 2017 04:36:01 +0000 (11:36 +0700)] 
Ignore unknown pragmas, don't warn about them

8 years agomore docs
Alan T. DeKok [Tue, 12 Sep 2017 18:13:03 +0000 (14:13 -0400)] 
more docs

8 years agonotes on upgrading
Alan T. DeKok [Tue, 12 Sep 2017 18:06:10 +0000 (14:06 -0400)] 
notes on upgrading

8 years agodocumentation on the "listen" sections
Alan T. DeKok [Tue, 12 Sep 2017 17:54:49 +0000 (13:54 -0400)] 
documentation on the "listen" sections

8 years agodpkg to install debs, not apt-get
Alan T. DeKok [Tue, 12 Sep 2017 16:15:25 +0000 (12:15 -0400)] 
dpkg to install debs, not apt-get

8 years agoreset WORKDIR
Alan T. DeKok [Tue, 12 Sep 2017 16:13:31 +0000 (12:13 -0400)] 
reset WORKDIR

8 years agoHmm... this is needed
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

8 years agoit's libnl-dev on Ubuntu14
Alan T. DeKok [Tue, 12 Sep 2017 15:44:57 +0000 (11:44 -0400)] 
it's libnl-dev on Ubuntu14

8 years agoBuild newer libkqueue
Arran Cudbard-Bell [Tue, 12 Sep 2017 15:43:35 +0000 (22:43 +0700)] 
Build newer libkqueue

8 years agoset namespace
Alan T. DeKok [Tue, 12 Sep 2017 15:39:26 +0000 (11:39 -0400)] 
set namespace

8 years agoignore internal servers, and print out more helpful messages
Alan T. DeKok [Tue, 12 Sep 2017 15:09:09 +0000 (11:09 -0400)] 
ignore internal servers, and print out more helpful messages

8 years agoprint out which virtual server we're compiling
Alan T. DeKok [Tue, 12 Sep 2017 14:38:04 +0000 (10:38 -0400)] 
print out which virtual server we're compiling

8 years agowarn about unused "send" and "recv" sections.
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

8 years agodisallow old-style virtual servers
Alan T. DeKok [Tue, 12 Sep 2017 14:08:58 +0000 (10:08 -0400)] 
disallow old-style virtual servers

8 years agodisallow create inside of create
Alan T. DeKok [Tue, 12 Sep 2017 13:50:43 +0000 (09:50 -0400)] 
disallow create inside of create

8 years agouse [..] for connection numbers
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

8 years agoset request name
Alan T. DeKok [Tue, 12 Sep 2017 13:37:12 +0000 (09:37 -0400)] 
set request name

8 years agoalways use internal "run one section" for child requests
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

8 years agobetter debug output for create / detach
Alan T. DeKok [Tue, 12 Sep 2017 13:20:25 +0000 (09:20 -0400)] 
better debug output for create / detach

8 years agoadd request->name as name of the request
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

8 years agobetter example of parsing multiple values in json
Arran Cudbard-Bell [Tue, 12 Sep 2017 02:49:17 +0000 (09:49 +0700)] 
better example of parsing multiple values in json

8 years agodon't call time functions
Alan T. DeKok [Mon, 11 Sep 2017 22:15:10 +0000 (18:15 -0400)] 
don't call time functions

8 years agoadd generic "run unlang" function
Alan T. DeKok [Mon, 11 Sep 2017 22:05:18 +0000 (18:05 -0400)] 
add generic "run unlang" function

and finalize the "detach" functionality

8 years agofix limits on allowed values
Alan T. DeKok [Mon, 11 Sep 2017 21:47:30 +0000 (17:47 -0400)] 
fix limits on allowed values

8 years agouse correct names
Alan T. DeKok [Mon, 11 Sep 2017 21:42:49 +0000 (17:42 -0400)] 
use correct names

8 years agono longer list "exec" in "send reply" sections
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

8 years agodetached request has it's own logging struct
Alan T. DeKok [Mon, 11 Sep 2017 21:37:16 +0000 (17:37 -0400)] 
detached request has it's own logging struct

8 years agodetached requests are always runnable
Alan T. DeKok [Mon, 11 Sep 2017 21:31:46 +0000 (17:31 -0400)] 
detached requests are always runnable

8 years agoinitialize fields
Alan T. DeKok [Mon, 11 Sep 2017 21:29:53 +0000 (17:29 -0400)] 
initialize fields

8 years agotypo
Alan T. DeKok [Mon, 11 Sep 2017 21:27:38 +0000 (17:27 -0400)] 
typo

8 years agoadd "detach" keyword
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"

8 years agoset child backlog when detaching
Alan T. DeKok [Mon, 11 Sep 2017 19:35:00 +0000 (15:35 -0400)] 
set child backlog when detaching

8 years agoallow for detachable children in "create" sections
Alan T. DeKok [Mon, 11 Sep 2017 19:27:09 +0000 (15:27 -0400)] 
allow for detachable children in "create" sections

8 years agoprovide for detached / detachable fake requests
Alan T. DeKok [Mon, 11 Sep 2017 19:18:08 +0000 (15:18 -0400)] 
provide for detached / detachable fake requests

8 years agoadd "detached" status to async && worker
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

8 years agoadd rule to re-create module configure scripts
Alan T. DeKok [Mon, 11 Sep 2017 18:13:18 +0000 (14:13 -0400)] 
add rule to re-create module configure scripts

8 years agoRemove ASAN_SYMBOLIZER_PATH
Arran Cudbard-Bell [Sun, 10 Sep 2017 15:35:14 +0000 (22:35 +0700)] 
Remove ASAN_SYMBOLIZER_PATH

8 years agoInstall dependencies for eapol_test, so the EAP tests run...
Arran Cudbard-Bell [Sun, 10 Sep 2017 15:24:08 +0000 (22:24 +0700)] 
Install dependencies for eapol_test, so the EAP tests run...

8 years agoMake lldb available in the docker file
Arran Cudbard-Bell [Sun, 10 Sep 2017 13:00:26 +0000 (20:00 +0700)] 
Make lldb available in the docker file

8 years agoMight be no matching sections
Arran Cudbard-Bell [Sun, 10 Sep 2017 13:00:06 +0000 (20:00 +0700)] 
Might be no matching sections

8 years agoInstall a working version of clang too, and checkout the right respository
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

8 years agoPrint the failed command
Arran Cudbard-Bell [Sun, 10 Sep 2017 09:53:35 +0000 (16:53 +0700)] 
Print the failed command