]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agoFix typo for huntgroups bug as described in http://freeradius.1045715.n5.nabble.com... 2013/head
Philippe Wooding [Thu, 29 Jun 2017 13:32:16 +0000 (15:32 +0200)] 
Fix typo for huntgroups bug as described in http://freeradius.1045715.n5.nabble.com/Problem-with-huntgroups-upgrading-from-2-2-9-to-3-0-x-td5744845.html

9 years agoTry pulling in libkqueue from a ppa
Arran Cudbard-Bell [Thu, 29 Jun 2017 13:15:49 +0000 (09:15 -0400)] 
Try pulling in libkqueue from a ppa

9 years agodefault to using 2048 bit keys
Alan T. DeKok [Thu, 29 Jun 2017 11:52:57 +0000 (07:52 -0400)] 
default to using 2048 bit keys

9 years agoAdd OpenBSD
Alan T. DeKok [Thu, 29 Jun 2017 11:53:38 +0000 (07:53 -0400)] 
Add OpenBSD

9 years agoDLT_LINUX_SLL isn't defined everywhere
Alan T. DeKok [Thu, 29 Jun 2017 11:54:39 +0000 (07:54 -0400)] 
DLT_LINUX_SLL isn't defined everywhere

9 years agoThis doesn't need bash. SH is more portable
Alan T. DeKok [Thu, 29 Jun 2017 11:56:04 +0000 (07:56 -0400)] 
This doesn't need bash. SH is more portable

9 years agoAdd Protocol-Error as a supported packet type
Alan T. DeKok [Wed, 28 Jun 2017 20:26:02 +0000 (16:26 -0400)] 
Add Protocol-Error as a supported packet type

9 years agoalmost have encode/decode working
Alan T. DeKok [Wed, 28 Jun 2017 20:03:29 +0000 (16:03 -0400)] 
almost have encode/decode working

9 years agostart of read/write
Alan T. DeKok [Wed, 28 Jun 2017 19:48:33 +0000 (15:48 -0400)] 
start of read/write

with fr_ip_srcdst_t stored at the start of the packet...

9 years agodon't crash...
Alan T. DeKok [Wed, 28 Jun 2017 19:48:26 +0000 (15:48 -0400)] 
don't crash...

9 years agomove "check packet" to fr_vqp_ok()
Alan T. DeKok [Wed, 28 Jun 2017 19:42:57 +0000 (15:42 -0400)] 
move "check packet" to fr_vqp_ok()

9 years agoadded fr_ip_srcdst_t for tracking src/dst ip/port
Alan T. DeKok [Wed, 28 Jun 2017 19:42:14 +0000 (15:42 -0400)] 
added fr_ip_srcdst_t for tracking src/dst ip/port

9 years agomove VMPS to new-style listeners.
Alan T. DeKok [Wed, 28 Jun 2017 18:24:17 +0000 (14:24 -0400)] 
move VMPS to new-style listeners.

it doesn't yet read / write / encode / decode packets.

But the basics are now there

9 years agoadded do-not-respond
Alan T. DeKok [Wed, 28 Jun 2017 18:09:14 +0000 (14:09 -0400)] 
added do-not-respond

9 years agoMissed cast
Arran Cudbard-Bell [Thu, 29 Jun 2017 03:23:38 +0000 (23:23 -0400)] 
Missed cast

9 years agoTurn on KQUEUE_DEBUG and M_PERTURB
Arran Cudbard-Bell [Thu, 29 Jun 2017 03:22:09 +0000 (23:22 -0400)] 
Turn on KQUEUE_DEBUG and M_PERTURB

9 years agoBetter error
Arran Cudbard-Bell [Thu, 29 Jun 2017 03:15:25 +0000 (23:15 -0400)] 
Better error

9 years agoFix GNU strerro_r usage
Arran Cudbard-Bell [Thu, 29 Jun 2017 03:12:12 +0000 (23:12 -0400)] 
Fix GNU strerro_r usage

9 years agoReturn buffer so we get the macro name
Arran Cudbard-Bell [Thu, 29 Jun 2017 02:51:51 +0000 (22:51 -0400)] 
Return buffer so we get the macro name

9 years agoIt’s not the travis image…
Arran Cudbard-Bell [Thu, 29 Jun 2017 02:49:40 +0000 (22:49 -0400)] 
It’s not the travis image…

9 years agoEnsure we’re getting a valid errno
Arran Cudbard-Bell [Thu, 29 Jun 2017 02:47:08 +0000 (22:47 -0400)] 
Ensure we’re getting a valid errno

9 years agoPrint error if we can’t add the socket to the scheduler
Arran Cudbard-Bell [Thu, 29 Jun 2017 02:29:13 +0000 (22:29 -0400)] 
Print error if we can’t add the socket to the scheduler

9 years agoPrint app name
Arran Cudbard-Bell [Thu, 29 Jun 2017 02:24:48 +0000 (22:24 -0400)] 
Print app name

9 years agoBetter error message
Arran Cudbard-Bell [Thu, 29 Jun 2017 01:55:53 +0000 (21:55 -0400)] 
Better error message

9 years agoDoxygen
Arran Cudbard-Bell [Thu, 29 Jun 2017 01:37:01 +0000 (21:37 -0400)] 
Doxygen

9 years agoFix unused macros and extern
Arran Cudbard-Bell [Thu, 29 Jun 2017 01:35:50 +0000 (21:35 -0400)] 
Fix unused macros and extern

9 years agoFix fr_box_ether
Arran Cudbard-Bell [Thu, 29 Jun 2017 01:27:59 +0000 (21:27 -0400)] 
Fix fr_box_ether

9 years agoDHCPv4 Fixups
Arran Cudbard-Bell [Thu, 29 Jun 2017 00:33:20 +0000 (20:33 -0400)] 
DHCPv4 Fixups

9 years agoNo longer a VALUE_PAIR
Arran Cudbard-Bell [Thu, 29 Jun 2017 00:31:53 +0000 (20:31 -0400)] 
No longer a VALUE_PAIR

9 years agofr_ipaddr_is_inaddr_any should be const
Arran Cudbard-Bell [Wed, 28 Jun 2017 18:07:08 +0000 (14:07 -0400)] 
fr_ipaddr_is_inaddr_any should be const

9 years agoSplit out more DHCP functions
Arran Cudbard-Bell [Wed, 28 Jun 2017 17:16:10 +0000 (13:16 -0400)] 
Split out more DHCP functions

9 years agoMore dhcp/dhcpv4
Arran Cudbard-Bell [Wed, 28 Jun 2017 16:23:54 +0000 (12:23 -0400)] 
More dhcp/dhcpv4

9 years agoDoxygen
Arran Cudbard-Bell [Wed, 28 Jun 2017 16:21:50 +0000 (12:21 -0400)] 
Doxygen

9 years agoMove headers around and rename dhcp to dhcpv4
Arran Cudbard-Bell [Wed, 28 Jun 2017 16:20:52 +0000 (12:20 -0400)] 
Move headers around and rename dhcp to dhcpv4

9 years agoAdd pam as a default module as it's refered in inner-tunnel
Arran Cudbard-Bell [Wed, 28 Jun 2017 16:04:52 +0000 (12:04 -0400)] 
Add pam as a default module as it's refered in inner-tunnel

9 years agoNo status-server in inner-tunnel
Arran Cudbard-Bell [Wed, 28 Jun 2017 16:03:43 +0000 (12:03 -0400)] 
No status-server in inner-tunnel

9 years agoPull DHCP encoder/decoder out into a protocol library
Arran Cudbard-Bell [Wed, 28 Jun 2017 15:52:13 +0000 (11:52 -0400)] 
Pull DHCP encoder/decoder out into a protocol library

9 years agoSIM needs OpenSSL, too
Alan T. DeKok [Tue, 27 Jun 2017 22:53:22 +0000 (18:53 -0400)] 
SIM needs OpenSSL, too

9 years agotry to use old-style travis
Alan T. DeKok [Tue, 27 Jun 2017 22:23:02 +0000 (18:23 -0400)] 
try to use old-style travis

maybe that won't hang?

9 years agoAKA needs SSL, too
Alan T. DeKok [Tue, 27 Jun 2017 21:52:12 +0000 (17:52 -0400)] 
AKA needs SSL, too

9 years agoignore TLS methods if we're not built with them.
Alan T. DeKok [Tue, 27 Jun 2017 21:40:34 +0000 (17:40 -0400)] 
ignore TLS methods if we're not built with them.

Also known as "when converting a loop to an in-line function,
'continue' should be replaced with 'return', and not 'break'"

9 years agoassertion for variable used only in assertion
Alan T. DeKok [Tue, 27 Jun 2017 21:39:13 +0000 (17:39 -0400)] 
assertion for variable used only in assertion

9 years agoset child packet code from argument to fork{}
Alan T. DeKok [Tue, 27 Jun 2017 21:37:08 +0000 (17:37 -0400)] 
set child packet code from argument to fork{}

9 years agoallow for fork{} to have packet names
Alan T. DeKok [Tue, 27 Jun 2017 21:32:42 +0000 (17:32 -0400)] 
allow for fork{} to have packet names

9 years agoremove unused variable
Alan T. DeKok [Tue, 27 Jun 2017 21:10:38 +0000 (17:10 -0400)] 
remove unused variable

9 years agorc is unused
Alan T. DeKok [Tue, 27 Jun 2017 20:52:45 +0000 (16:52 -0400)] 
rc is unused

9 years agoremove unused assignment
Alan T. DeKok [Tue, 27 Jun 2017 20:51:58 +0000 (16:51 -0400)] 
remove unused assignment

9 years ago*presult is used
Alan T. DeKok [Tue, 27 Jun 2017 20:34:52 +0000 (16:34 -0400)] 
*presult is used

9 years agodon't do proxying until we add that back in...
Alan T. DeKok [Tue, 27 Jun 2017 19:22:22 +0000 (15:22 -0400)] 
don't do proxying until we add that back in...

9 years agoconvert to new listeners and sections
Alan T. DeKok [Tue, 27 Jun 2017 19:19:52 +0000 (15:19 -0400)] 
convert to new listeners and sections

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

9 years agoadd send{} sections
Alan T. DeKok [Tue, 27 Jun 2017 19:12:40 +0000 (15:12 -0400)] 
add send{} sections

9 years agocheck for parent...
Alan T. DeKok [Tue, 27 Jun 2017 18:52:11 +0000 (14:52 -0400)] 
check for parent...

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