]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 27 Jun 2017 18:50:33 +0000 (14:50 -0400)]
use new listener
Alan T. DeKok [Tue, 27 Jun 2017 18:49:06 +0000 (14:49 -0400)]
ensure result is set for empty sections, too
Alan T. DeKok [Tue, 27 Jun 2017 18:39:05 +0000 (14:39 -0400)]
HACK: don't save / restore state for internal proxying
Alan T. DeKok [Tue, 27 Jun 2017 18:09:42 +0000 (14:09 -0400)]
more debugging
Alan T. DeKok [Tue, 27 Jun 2017 18:01:56 +0000 (14:01 -0400)]
move async call to after validate User-Name
Alan T. DeKok [Tue, 27 Jun 2017 17:53:25 +0000 (13:53 -0400)]
glue rad_virtual_server into async state machine
Alan T. DeKok [Tue, 27 Jun 2017 17:46:16 +0000 (13:46 -0400)]
length in bytes, not chbind packets
Alan T. DeKok [Tue, 27 Jun 2017 16:00:16 +0000 (12:00 -0400)]
documentation fixes
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
Arran Cudbard-Bell [Tue, 27 Jun 2017 12:57:33 +0000 (08:57 -0400)]
Remove unused code
Alan T. DeKok [Tue, 27 Jun 2017 15:49:54 +0000 (11:49 -0400)]
initialize variables damnit
Alan T. DeKok [Tue, 27 Jun 2017 15:24:34 +0000 (11:24 -0400)]
add assertion to crash instead of looping infinitely
Alan T. DeKok [Tue, 27 Jun 2017 14:33:11 +0000 (10:33 -0400)]
support yield in rlm_eap_mschapv2
Alan T. DeKok [Tue, 27 Jun 2017 14:29:02 +0000 (10:29 -0400)]
push finalize routines to a separate function
Alan T. DeKok [Tue, 27 Jun 2017 14:04:21 +0000 (10:04 -0400)]
comments
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
Alan T. DeKok [Tue, 27 Jun 2017 14:02:15 +0000 (10:02 -0400)]
more debugging
Alan T. DeKok [Tue, 27 Jun 2017 13:59:08 +0000 (09:59 -0400)]
print out more information on failure
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
Arran Cudbard-Bell [Mon, 26 Jun 2017 22:10:47 +0000 (18:10 -0400)]
Call old/new servers sections in eap methods
Arran Cudbard-Bell [Mon, 26 Jun 2017 21:18:13 +0000 (17:18 -0400)]
Minor fixes in EAP-GTC
Arran Cudbard-Bell [Mon, 26 Jun 2017 21:14:36 +0000 (17:14 -0400)]
Move attribute value definition into virtual_servers.c
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.
Alan T. DeKok [Mon, 26 Jun 2017 20:45:05 +0000 (16:45 -0400)]
remove do_next_sibling
Alan T. DeKok [Mon, 26 Jun 2017 20:38:53 +0000 (16:38 -0400)]
more stack fixes
Alan T. DeKok [Mon, 26 Jun 2017 20:01:14 +0000 (16:01 -0400)]
more DUMP_STACK
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
Arran Cudbard-Bell [Mon, 26 Jun 2017 20:12:11 +0000 (16:12 -0400)]
Document result and priority
Alan T. DeKok [Mon, 26 Jun 2017 17:09:26 +0000 (13:09 -0400)]
remove debugging "was_if"
Alan T. DeKok [Mon, 26 Jun 2017 16:40:11 +0000 (12:40 -0400)]
now that we set top frame (duh) rely on it.
Alan T. DeKok [Mon, 26 Jun 2017 16:39:16 +0000 (12:39 -0400)]
move assertions
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.
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
Alan T. DeKok [Mon, 26 Jun 2017 15:36:20 +0000 (11:36 -0400)]
remove unused variable
Alan T. DeKok [Mon, 26 Jun 2017 15:03:22 +0000 (11:03 -0400)]
remove assertion for now
Alan T. DeKok [Mon, 26 Jun 2017 14:53:42 +0000 (10:53 -0400)]
add preliminary compile_fork
Arran Cudbard-Bell [Mon, 26 Jun 2017 15:47:43 +0000 (11:47 -0400)]
Add debug level 5 *sigh*
Arran Cudbard-Bell [Mon, 26 Jun 2017 14:52:39 +0000 (10:52 -0400)]
Call the right section/provide the right section
Arran Cudbard-Bell [Mon, 26 Jun 2017 14:48:01 +0000 (10:48 -0400)]
Fixup EAP test configuration
Alan T. DeKok [Mon, 26 Jun 2017 14:45:06 +0000 (10:45 -0400)]
typo
Alan T. DeKok [Mon, 26 Jun 2017 14:42:45 +0000 (10:42 -0400)]
use unlang_compule_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
Arran Cudbard-Bell [Mon, 26 Jun 2017 14:39:57 +0000 (10:39 -0400)]
Improved debugging
Alan T. DeKok [Mon, 26 Jun 2017 14:27:33 +0000 (10:27 -0400)]
fix assert
Alan T. DeKok [Mon, 26 Jun 2017 14:27:09 +0000 (10:27 -0400)]
check for io_submodule, not app_io
Alan T. DeKok [Mon, 26 Jun 2017 14:24:09 +0000 (10:24 -0400)]
remove unused variable
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
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
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:50:55 +0000 (17:50 -0400)]
Use the actual default virtual server
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:36:20 +0000 (17:36 -0400)]
...and here too
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:35:21 +0000 (17:35 -0400)]
Same here
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:34:30 +0000 (17:34 -0400)]
Comment out timeout set in db2
Arran Cudbard-Bell [Fri, 23 Jun 2017 21:28:33 +0000 (17:28 -0400)]
Remove request->server
Arran Cudbard-Bell [Fri, 23 Jun 2017 14:08:54 +0000 (10:08 -0400)]
Add TALLOC_CTX to cf_section_alloc
Alan T. DeKok [Fri, 23 Jun 2017 19:30:09 +0000 (15:30 -0400)]
close sockets when we close the app_io
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
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
Alan T. DeKok [Fri, 23 Jun 2017 16:50:53 +0000 (12:50 -0400)]
assert that indentation is correct
Alan T. DeKok [Fri, 23 Jun 2017 16:50:39 +0000 (12:50 -0400)]
re-set request->module if we're doing subsections...
Alan T. DeKok [Fri, 23 Jun 2017 16:45:09 +0000 (12:45 -0400)]
note when we set debug indent to zero, too
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
Alan T. DeKok [Fri, 23 Jun 2017 15:06:10 +0000 (11:06 -0400)]
added "dump stack" on debug >= 5
Alan T. DeKok [Fri, 23 Jun 2017 13:42:26 +0000 (09:42 -0400)]
check server and server_cs
Alan T. DeKok [Fri, 23 Jun 2017 13:42:17 +0000 (09:42 -0400)]
check that the request is OK after decode
Alan T. DeKok [Fri, 23 Jun 2017 13:41:36 +0000 (09:41 -0400)]
set server_cs from listener
Alan T. DeKok [Fri, 23 Jun 2017 10:41:41 +0000 (06:41 -0400)]
more server -> server_cs
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
Arran Cudbard-Bell [Thu, 22 Jun 2017 21:19:29 +0000 (17:19 -0400)]
Use server_cs in more places
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.
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
Alan T. DeKok [Thu, 22 Jun 2017 20:16:32 +0000 (16:16 -0400)]
don't call decode / encode
Alan T. DeKok [Thu, 22 Jun 2017 20:05:33 +0000 (16:05 -0400)]
split into bootstrap / instantiate. And compile "process" sections
Alan T. DeKok [Thu, 22 Jun 2017 20:01:57 +0000 (16:01 -0400)]
use CF_IDENT_ANY, and give it the right name...
Alan T. DeKok [Thu, 22 Jun 2017 19:58:40 +0000 (15:58 -0400)]
allocate message based on encoded size
Alan T. DeKok [Thu, 22 Jun 2017 19:55:05 +0000 (15:55 -0400)]
remove unnecessary code
Alan T. DeKok [Thu, 22 Jun 2017 19:55:01 +0000 (15:55 -0400)]
typo
Alan T. DeKok [Thu, 22 Jun 2017 19:49:12 +0000 (15:49 -0400)]
proto_radius_auth doesn't send packets
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
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
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:50:18 +0000 (11:50 -0400)]
Update EAP test server to use new listeners
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:49:40 +0000 (11:49 -0400)]
Populate request->server
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:49:31 +0000 (11:49 -0400)]
Formatting
Arran Cudbard-Bell [Thu, 22 Jun 2017 15:49:15 +0000 (11:49 -0400)]
Allow the server to run with only new listeners
Alan T. DeKok [Thu, 22 Jun 2017 19:14:29 +0000 (15:14 -0400)]
break, not continue
Alan T. DeKok [Thu, 22 Jun 2017 18:37:01 +0000 (14:37 -0400)]
pass time diff to events, not absolute time
Alan T. DeKok [Thu, 22 Jun 2017 17:36:45 +0000 (13:36 -0400)]
print errors for fr_event_corral() etc.
Alan T. DeKok [Thu, 22 Jun 2017 17:30:21 +0000 (13:30 -0400)]
set all of ipv4/ipv6 addr
Alan T. DeKok [Thu, 22 Jun 2017 15:56:13 +0000 (11:56 -0400)]
fix some comments and todo's
Alan T. DeKok [Thu, 22 Jun 2017 15:50:10 +0000 (11:50 -0400)]
track original_recv_time properly
Alan T. DeKok [Thu, 22 Jun 2017 15:02:14 +0000 (11:02 -0400)]
suppress newer packets. It's OK to be older
Alan T. DeKok [Thu, 22 Jun 2017 14:57:06 +0000 (10:57 -0400)]
ve bounds match the ones from message_set_create()
Arran Cudbard-Bell [Thu, 22 Jun 2017 14:50:59 +0000 (10:50 -0400)]
Remove duplicate include
Arran Cudbard-Bell [Thu, 22 Jun 2017 14:50:46 +0000 (10:50 -0400)]
Mark pairs as parsed
Alan T. DeKok [Thu, 22 Jun 2017 14:51:05 +0000 (10:51 -0400)]
suppress complaints about duplicate "prefix"
which come from mainconfig.c
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...
Alan T. DeKok [Thu, 22 Jun 2017 14:42:03 +0000 (10:42 -0400)]
set ALL debug flags when using -X
Alan T. DeKok [Thu, 22 Jun 2017 14:30:52 +0000 (10:30 -0400)]
make message size and num messages configurable
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
Alan T. DeKok [Thu, 22 Jun 2017 14:05:41 +0000 (10:05 -0400)]
set request->el and request->backlog for new listeners
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>