]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agouse new listener
Alan T. DeKok [Tue, 27 Jun 2017 18:50:33 +0000 (14:50 -0400)] 
use new listener

9 years agoensure result is set for empty sections, too
Alan T. DeKok [Tue, 27 Jun 2017 18:49:06 +0000 (14:49 -0400)] 
ensure result is set for empty sections, too

9 years agoHACK: don't save / restore state for internal proxying
Alan T. DeKok [Tue, 27 Jun 2017 18:39:05 +0000 (14:39 -0400)] 
HACK: don't save / restore state for internal proxying

9 years agomore debugging
Alan T. DeKok [Tue, 27 Jun 2017 18:09:42 +0000 (14:09 -0400)] 
more debugging

9 years agomove async call to after validate User-Name
Alan T. DeKok [Tue, 27 Jun 2017 18:01:56 +0000 (14:01 -0400)] 
move async call to after validate User-Name

9 years agoglue rad_virtual_server into async state machine
Alan T. DeKok [Tue, 27 Jun 2017 17:53:25 +0000 (13:53 -0400)] 
glue rad_virtual_server into async state machine

9 years agolength in bytes, not chbind packets
Alan T. DeKok [Tue, 27 Jun 2017 17:46:16 +0000 (13:46 -0400)] 
length in bytes, not chbind packets

9 years agodocumentation fixes
Alan T. DeKok [Tue, 27 Jun 2017 16:00:16 +0000 (12:00 -0400)] 
documentation fixes

9 years agoset to Access-Accept only if it's not already set to something else
Alan T. DeKok [Tue, 27 Jun 2017 15:59:24 +0000 (11:59 -0400)] 
set to Access-Accept only if it's not already set to something else

9 years agoRemove unused code
Arran Cudbard-Bell [Tue, 27 Jun 2017 12:57:33 +0000 (08:57 -0400)] 
Remove unused code

9 years agoinitialize variables damnit
Alan T. DeKok [Tue, 27 Jun 2017 15:49:54 +0000 (11:49 -0400)] 
initialize variables damnit

9 years agoadd assertion to crash instead of looping infinitely
Alan T. DeKok [Tue, 27 Jun 2017 15:24:34 +0000 (11:24 -0400)] 
add assertion to crash instead of looping infinitely

9 years agosupport yield in rlm_eap_mschapv2
Alan T. DeKok [Tue, 27 Jun 2017 14:33:11 +0000 (10:33 -0400)] 
support yield in rlm_eap_mschapv2

9 years agopush finalize routines to a separate function
Alan T. DeKok [Tue, 27 Jun 2017 14:29:02 +0000 (10:29 -0400)] 
push finalize routines to a separate function

9 years agocomments
Alan T. DeKok [Tue, 27 Jun 2017 14:04:21 +0000 (10:04 -0400)] 
comments

9 years agogo to next at the end of the loop, not the start
Alan T. DeKok [Tue, 27 Jun 2017 14:03:09 +0000 (10:03 -0400)] 
go to next at the end of the loop, not the start

because foreach / load-balance set their own "next" manually

9 years agomore debugging
Alan T. DeKok [Tue, 27 Jun 2017 14:02:15 +0000 (10:02 -0400)] 
more debugging

9 years agoprint out more information on failure
Alan T. DeKok [Tue, 27 Jun 2017 13:59:08 +0000 (09:59 -0400)] 
print out more information on failure

9 years agoprint out next, and use names for arguments to unlang_push
Alan T. DeKok [Tue, 27 Jun 2017 13:44:33 +0000 (09:44 -0400)] 
print out next, and use names for arguments to unlang_push

9 years agoCall old/new servers sections in eap methods
Arran Cudbard-Bell [Mon, 26 Jun 2017 22:10:47 +0000 (18:10 -0400)] 
Call old/new servers sections in eap methods

9 years agoMinor fixes in EAP-GTC
Arran Cudbard-Bell [Mon, 26 Jun 2017 21:18:13 +0000 (17:18 -0400)] 
Minor fixes in EAP-GTC

9 years agoMove attribute value definition into virtual_servers.c
Arran Cudbard-Bell [Mon, 26 Jun 2017 21:14:36 +0000 (17:14 -0400)] 
Move attribute value definition into virtual_servers.c

9 years agoremove "if_taken"
Alan T. DeKok [Mon, 26 Jun 2017 20:59:17 +0000 (16:59 -0400)] 
remove "if_taken"

which removes unlang_else and unlang_elsif(), and lets them
re-use unlang_group and unlang_if instead.

9 years agoremove do_next_sibling
Alan T. DeKok [Mon, 26 Jun 2017 20:45:05 +0000 (16:45 -0400)] 
remove do_next_sibling

9 years agomore stack fixes
Alan T. DeKok [Mon, 26 Jun 2017 20:38:53 +0000 (16:38 -0400)] 
more stack fixes

9 years agomore DUMP_STACK
Alan T. DeKok [Mon, 26 Jun 2017 20:01:14 +0000 (16:01 -0400)] 
more DUMP_STACK

9 years agouse dictionary definition, not what we have here
Alan T. DeKok [Mon, 26 Jun 2017 17:25:22 +0000 (13:25 -0400)] 
use dictionary definition, not what we have here

for case-insensitive issues

9 years agoDocument result and priority
Arran Cudbard-Bell [Mon, 26 Jun 2017 20:12:11 +0000 (16:12 -0400)] 
Document result and priority

9 years agoremove debugging "was_if"
Alan T. DeKok [Mon, 26 Jun 2017 17:09:26 +0000 (13:09 -0400)] 
remove debugging "was_if"

9 years agonow that we set top frame (duh) rely on it.
Alan T. DeKok [Mon, 26 Jun 2017 16:40:11 +0000 (12:40 -0400)] 
now that we set top frame (duh) rely on it.

9 years agomove assertions
Alan T. DeKok [Mon, 26 Jun 2017 16:39:16 +0000 (12:39 -0400)] 
move assertions

9 years agouse RLM_MODULE_UNKNOWN for unset codes
Alan T. DeKok [Mon, 26 Jun 2017 16:35:35 +0000 (12:35 -0400)] 
use RLM_MODULE_UNKNOWN for unset codes

this separates the default return code from the one currently
being processed.

i.e. we push the default code onto the stack, with an empty
instruction and the top_frame flag set.  We then push the real
instruction, along with UNKNOWN rcode.  That way, if the unlang
is all if / elsif (which doesn't change priorities), we can
keep going, and not stop on the default return code.

Once the section has been processed, it will merge in the
top return code.

9 years agoprint ... for unknown codes
Alan T. DeKok [Mon, 26 Jun 2017 16:35:05 +0000 (12:35 -0400)] 
print ... for unknown codes

so that the debug output for the next commit isn't confusing

9 years agoremove unused variable
Alan T. DeKok [Mon, 26 Jun 2017 15:36:20 +0000 (11:36 -0400)] 
remove unused variable

9 years agoremove assertion for now
Alan T. DeKok [Mon, 26 Jun 2017 15:03:22 +0000 (11:03 -0400)] 
remove assertion for now

9 years agoadd preliminary compile_fork
Alan T. DeKok [Mon, 26 Jun 2017 14:53:42 +0000 (10:53 -0400)] 
add preliminary compile_fork

9 years agoAdd debug level 5 *sigh*
Arran Cudbard-Bell [Mon, 26 Jun 2017 15:47:43 +0000 (11:47 -0400)] 
Add debug level 5 *sigh*

9 years agoCall the right section/provide the right section
Arran Cudbard-Bell [Mon, 26 Jun 2017 14:52:39 +0000 (10:52 -0400)] 
Call the right section/provide the right section

9 years agoFixup EAP test configuration
Arran Cudbard-Bell [Mon, 26 Jun 2017 14:48:01 +0000 (10:48 -0400)] 
Fixup EAP test configuration

9 years agotypo
Alan T. DeKok [Mon, 26 Jun 2017 14:45:06 +0000 (10:45 -0400)] 
typo

9 years agouse unlang_compule_subsection
Alan T. DeKok [Mon, 26 Jun 2017 14:42:45 +0000 (10:42 -0400)] 
use unlang_compule_subsection

9 years agoadd unlang_compile_subsection
Alan T. DeKok [Mon, 26 Jun 2017 14:39:31 +0000 (10:39 -0400)] 
add unlang_compile_subsection

needed by various proto_radius_foo processors

9 years agoImproved debugging
Arran Cudbard-Bell [Mon, 26 Jun 2017 14:39:57 +0000 (10:39 -0400)] 
Improved debugging

9 years agofix assert
Alan T. DeKok [Mon, 26 Jun 2017 14:27:33 +0000 (10:27 -0400)] 
fix assert

9 years agocheck for io_submodule, not app_io
Alan T. DeKok [Mon, 26 Jun 2017 14:27:09 +0000 (10:27 -0400)] 
check for io_submodule, not app_io

9 years agoremove unused variable
Alan T. DeKok [Mon, 26 Jun 2017 14:24:09 +0000 (10:24 -0400)] 
remove unused variable

9 years agorename "process pap" etc. to "authenticate pap" etc.
Alan T. DeKok [Sun, 25 Jun 2017 13:26:57 +0000 (09:26 -0400)] 
rename "process pap" etc. to "authenticate pap" etc.

Confusing for v3 to v4 transition, but much clearer for the new
v4 style of naming.

And update the example virtual servers with the new names

9 years agowe now pop in unlang_run... no need to do it here
Alan T. DeKok [Sun, 25 Jun 2017 13:01:54 +0000 (09:01 -0400)] 
we now pop in unlang_run... no need to do it here

9 years agoUse the actual default virtual server
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:50:55 +0000 (17:50 -0400)] 
Use the actual default virtual server

9 years ago...and here too
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:36:20 +0000 (17:36 -0400)] 
...and here too

9 years agoSame here
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:35:21 +0000 (17:35 -0400)] 
Same here

9 years agoComment out timeout set in db2
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:34:30 +0000 (17:34 -0400)] 
Comment out timeout set in db2

9 years agoRemove request->server
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:28:33 +0000 (17:28 -0400)] 
Remove request->server

9 years agoAdd TALLOC_CTX to cf_section_alloc
Arran Cudbard-Bell [Fri, 23 Jun 2017 14:08:54 +0000 (10:08 -0400)] 
Add TALLOC_CTX to cf_section_alloc

9 years agoclose sockets when we close the app_io
Alan T. DeKok [Fri, 23 Jun 2017 19:30:09 +0000 (15:30 -0400)] 
close sockets when we close the app_io

9 years agoallow for no transport
Alan T. DeKok [Fri, 23 Jun 2017 19:22:57 +0000 (15:22 -0400)] 
allow for no transport

which means that one virtual server can call another

9 years agoimplement basic fork
Alan T. DeKok [Fri, 23 Jun 2017 18:48:38 +0000 (14:48 -0400)] 
implement basic fork

for now, it doesn't support yield.  And it doesn't support
changing packet types

9 years agoassert that indentation is correct
Alan T. DeKok [Fri, 23 Jun 2017 16:50:53 +0000 (12:50 -0400)] 
assert that indentation is correct

9 years agore-set request->module if we're doing subsections...
Alan T. DeKok [Fri, 23 Jun 2017 16:50:39 +0000 (12:50 -0400)] 
re-set request->module if we're doing subsections...

9 years agonote when we set debug indent to zero, too
Alan T. DeKok [Fri, 23 Jun 2017 16:45:09 +0000 (12:45 -0400)] 
note when we set debug indent to zero, too

9 years agoremove final frame from the stack, and dump stack in more places
Alan T. DeKok [Fri, 23 Jun 2017 16:15:29 +0000 (12:15 -0400)] 
remove final frame from the stack, and dump stack in more places

9 years agoadded "dump stack" on debug >= 5
Alan T. DeKok [Fri, 23 Jun 2017 15:06:10 +0000 (11:06 -0400)] 
added "dump stack" on debug >= 5

9 years agocheck server and server_cs
Alan T. DeKok [Fri, 23 Jun 2017 13:42:26 +0000 (09:42 -0400)] 
check server and server_cs

9 years agocheck that the request is OK after decode
Alan T. DeKok [Fri, 23 Jun 2017 13:42:17 +0000 (09:42 -0400)] 
check that the request is OK after decode

9 years agoset server_cs from listener
Alan T. DeKok [Fri, 23 Jun 2017 13:41:36 +0000 (09:41 -0400)] 
set server_cs from listener

9 years agomore server -> server_cs
Alan T. DeKok [Fri, 23 Jun 2017 10:41:41 +0000 (06:41 -0400)] 
more server -> server_cs

9 years agoFixup eap test conf, and decapitalise the default auth section in EAP-GTC
Arran Cudbard-Bell [Thu, 22 Jun 2017 21:19:55 +0000 (17:19 -0400)] 
Fixup eap test conf, and decapitalise the default auth section in EAP-GTC

9 years agoUse server_cs in more places
Arran Cudbard-Bell [Thu, 22 Jun 2017 21:19:29 +0000 (17:19 -0400)] 
Use server_cs in more places

9 years agoUse request->server_cs instead of request->server for hashing
Arran Cudbard-Bell [Thu, 22 Jun 2017 21:18:38 +0000 (17:18 -0400)] 
Use request->server_cs instead of request->server for hashing

request->server isn't being set somewhere, and is annoying and should die.

9 years agonot "do not respond" packets
Alan T. DeKok [Thu, 22 Jun 2017 20:31:22 +0000 (16:31 -0400)] 
not "do not respond" packets

todo - also deal with NAK from the worker

9 years agodon't call decode / encode
Alan T. DeKok [Thu, 22 Jun 2017 20:16:32 +0000 (16:16 -0400)] 
don't call decode / encode

9 years agosplit into bootstrap / instantiate. And compile "process" sections
Alan T. DeKok [Thu, 22 Jun 2017 20:05:33 +0000 (16:05 -0400)] 
split into bootstrap / instantiate.  And compile "process" sections

9 years agouse CF_IDENT_ANY, and give it the right name...
Alan T. DeKok [Thu, 22 Jun 2017 20:01:57 +0000 (16:01 -0400)] 
use CF_IDENT_ANY, and give it the right name...

9 years agoallocate message based on encoded size
Alan T. DeKok [Thu, 22 Jun 2017 19:58:40 +0000 (15:58 -0400)] 
allocate message based on encoded size

9 years agoremove unnecessary code
Alan T. DeKok [Thu, 22 Jun 2017 19:55:05 +0000 (15:55 -0400)] 
remove unnecessary code

9 years agotypo
Alan T. DeKok [Thu, 22 Jun 2017 19:55:01 +0000 (15:55 -0400)] 
typo

9 years agoproto_radius_auth doesn't send packets
Alan T. DeKok [Thu, 22 Jun 2017 19:49:12 +0000 (15:49 -0400)] 
proto_radius_auth doesn't send packets

9 years agoHave proto_radius_udp fill in more of the old request structures
Arran Cudbard-Bell [Thu, 22 Jun 2017 19:43:17 +0000 (15:43 -0400)] 
Have proto_radius_udp fill in more of the old request structures

9 years agoAllow encode/decode functions to be in the context of the app or the app_io
Arran Cudbard-Bell [Thu, 22 Jun 2017 19:33:25 +0000 (15:33 -0400)] 
Allow encode/decode functions to be in the context of the app or the app_io

9 years agoUpdate EAP test server to use new listeners
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:50:18 +0000 (11:50 -0400)] 
Update EAP test server to use new listeners

9 years agoPopulate request->server
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:49:40 +0000 (11:49 -0400)] 
Populate request->server

9 years agoFormatting
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:49:31 +0000 (11:49 -0400)] 
Formatting

9 years agoAllow the server to run with only new listeners
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:49:15 +0000 (11:49 -0400)] 
Allow the server to run with only new listeners

9 years agobreak, not continue
Alan T. DeKok [Thu, 22 Jun 2017 19:14:29 +0000 (15:14 -0400)] 
break, not continue

9 years agopass time diff to events, not absolute time
Alan T. DeKok [Thu, 22 Jun 2017 18:37:01 +0000 (14:37 -0400)] 
pass time diff to events, not absolute time

9 years agoprint errors for fr_event_corral() etc.
Alan T. DeKok [Thu, 22 Jun 2017 17:36:45 +0000 (13:36 -0400)] 
print errors for fr_event_corral() etc.

9 years agoset all of ipv4/ipv6 addr
Alan T. DeKok [Thu, 22 Jun 2017 17:30:21 +0000 (13:30 -0400)] 
set all of ipv4/ipv6 addr

9 years agofix some comments and todo's
Alan T. DeKok [Thu, 22 Jun 2017 15:56:13 +0000 (11:56 -0400)] 
fix some comments and todo's

9 years agotrack original_recv_time properly
Alan T. DeKok [Thu, 22 Jun 2017 15:50:10 +0000 (11:50 -0400)] 
track original_recv_time properly

9 years agosuppress newer packets. It's OK to be older
Alan T. DeKok [Thu, 22 Jun 2017 15:02:14 +0000 (11:02 -0400)] 
suppress newer packets.  It's OK to be older

9 years agove bounds match the ones from message_set_create()
Alan T. DeKok [Thu, 22 Jun 2017 14:57:06 +0000 (10:57 -0400)] 
ve bounds match the ones from message_set_create()

9 years agoRemove duplicate include
Arran Cudbard-Bell [Thu, 22 Jun 2017 14:50:59 +0000 (10:50 -0400)] 
Remove duplicate include

9 years agoMark pairs as parsed
Arran Cudbard-Bell [Thu, 22 Jun 2017 14:50:46 +0000 (10:50 -0400)] 
Mark pairs as parsed

9 years agosuppress complaints about duplicate "prefix"
Alan T. DeKok [Thu, 22 Jun 2017 14:51:05 +0000 (10:51 -0400)] 
suppress complaints about duplicate "prefix"

which come from mainconfig.c

9 years agoprint out debug for callbacks, too.
Alan T. DeKok [Thu, 22 Jun 2017 14:45:04 +0000 (10:45 -0400)] 
print out debug for callbacks, too.

Print it BEFORE parsing, instead of after (which is what
everything else does)

The other printing will print the *parsed* data as a data type,
instead of the value input from the config files.  This can
arguably be changed later...

9 years agoset ALL debug flags when using -X
Alan T. DeKok [Thu, 22 Jun 2017 14:42:03 +0000 (10:42 -0400)] 
set ALL debug flags when using -X

9 years agomake message size and num messages configurable
Alan T. DeKok [Thu, 22 Jun 2017 14:30:52 +0000 (10:30 -0400)] 
make message size and num messages configurable

9 years agohoist default_message_size to allow it to be changed dynamically
Alan T. DeKok [Thu, 22 Jun 2017 14:17:51 +0000 (10:17 -0400)] 
hoist default_message_size to allow it to be changed dynamically

9 years agoset request->el and request->backlog for new listeners
Alan T. DeKok [Thu, 22 Jun 2017 14:05:41 +0000 (10:05 -0400)] 
set request->el and request->backlog for new listeners

9 years agoProperly free GENERAL_NAMES structure; fix memory leak
Guido Vranken [Wed, 21 Jun 2017 22:28:38 +0000 (00:28 +0200)] 
Properly free GENERAL_NAMES structure; fix memory leak

Signed-off-by: Guido Vranken <guidovranken@gmail.com>