moonshot.git
13 years agodocument default_realm appdefault
Luke Howard [Thu, 17 Mar 2011 23:33:38 +0000 (10:33 +1100)]
document default_realm appdefault

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Thu, 17 Mar 2011 23:13:40 +0000 (10:13 +1100)]
Merge branch 'master' into tlv-mic

13 years agotry to get cyrus sasl building again, weird builbot git error
Luke Howard [Thu, 17 Mar 2011 23:13:15 +0000 (10:13 +1100)]
try to get cyrus sasl building again, weird builbot git error

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Thu, 17 Mar 2011 23:05:07 +0000 (10:05 +1100)]
Merge branch 'master' into tlv-mic

13 years agoFor now, configure default realm using eap_gss appdefault
Luke Howard [Thu, 17 Mar 2011 22:56:32 +0000 (09:56 +1100)]
For now, configure default realm using eap_gss appdefault

13 years agoFor now, configure default realm using eap_gss appdefault
Luke Howard [Thu, 17 Mar 2011 22:56:32 +0000 (09:56 +1100)]
For now, configure default realm using eap_gss appdefault

13 years agosimplify importAnonymousName
Luke Howard [Thu, 17 Mar 2011 16:09:06 +0000 (03:09 +1100)]
simplify importAnonymousName

13 years agofor now, allow default GSS EAP realm to be set
Luke Howard [Thu, 17 Mar 2011 15:50:45 +0000 (02:50 +1100)]
for now, allow default GSS EAP realm to be set
with GSSEAP_DEFAULT_REALM environment variable

13 years agofor now, allow default GSS EAP realm to be set
Luke Howard [Thu, 17 Mar 2011 15:50:45 +0000 (02:50 +1100)]
for now, allow default GSS EAP realm to be set
with GSSEAP_DEFAULT_REALM environment variable

13 years agorevert previous cyrus-sasl commit
Luke Howard [Thu, 17 Mar 2011 15:41:03 +0000 (02:41 +1100)]
revert previous cyrus-sasl commit

13 years agorevert previous cyrus-sasl change
Luke Howard [Thu, 17 Mar 2011 15:40:50 +0000 (02:40 +1100)]
revert previous cyrus-sasl change

13 years agocyrus: add server FQDN as realm if we don't have one
Luke Howard [Thu, 17 Mar 2011 15:32:26 +0000 (02:32 +1100)]
cyrus: add server FQDN as realm if we don't have one

13 years agoupdate cyrus for realm fix
Luke Howard [Thu, 17 Mar 2011 15:31:28 +0000 (02:31 +1100)]
update cyrus for realm fix

13 years agorequire a realm in EAP names; don't add default Kerberos realm
Luke Howard [Thu, 17 Mar 2011 14:40:21 +0000 (01:40 +1100)]
require a realm in EAP names; don't add default Kerberos realm

13 years agorequire a realm in EAP names; don't add default Kerberos realm
Luke Howard [Thu, 17 Mar 2011 14:40:21 +0000 (01:40 +1100)]
require a realm in EAP names; don't add default Kerberos realm

13 years agostub implementation of gss_userok SPI
Luke Howard [Thu, 17 Mar 2011 14:20:04 +0000 (01:20 +1100)]
stub implementation of gss_userok SPI

The MIT mechglue will fallback to comparing names in the absence
of a mechanism implementation of gss_userok. To avoid this and
force the mechglue to use attribute-based authorization, always
return access denied in gss_userok.

13 years agostub implementation of gss_userok SPI
Luke Howard [Thu, 17 Mar 2011 14:20:04 +0000 (01:20 +1100)]
stub implementation of gss_userok SPI

The MIT mechglue will fallback to comparing names in the absence
of a mechanism implementation of gss_userok. To avoid this and
force the mechglue to use attribute-based authorization, always
return access denied in gss_userok.

13 years agoimplement gss_inquire_mechs_for_name properly, although mechglue does
Luke Howard [Thu, 17 Mar 2011 10:34:22 +0000 (21:34 +1100)]
implement gss_inquire_mechs_for_name properly, although mechglue does
not appear to use it

13 years agoimplement gss_inquire_mechs_for_name properly, although mechglue does
Luke Howard [Thu, 17 Mar 2011 10:34:22 +0000 (21:34 +1100)]
implement gss_inquire_mechs_for_name properly, although mechglue does
not appear to use it

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Thu, 17 Mar 2011 01:41:22 +0000 (12:41 +1100)]
Merge branch 'master' into tlv-mic

13 years agoclarify use of enctype-less OID
Luke Howard [Thu, 17 Mar 2011 01:39:30 +0000 (12:39 +1100)]
clarify use of enctype-less OID

13 years agoclarify use of enctype-less OID
Luke Howard [Thu, 17 Mar 2011 01:39:30 +0000 (12:39 +1100)]
clarify use of enctype-less OID

13 years agocleanup gssEapCanonicalizeOid, remove testing assert
Luke Howard [Wed, 16 Mar 2011 14:29:59 +0000 (01:29 +1100)]
cleanup gssEapCanonicalizeOid, remove testing assert

13 years agocleanup gssEapCanonicalizeOid, remove testing assert
Luke Howard [Wed, 16 Mar 2011 14:29:59 +0000 (01:29 +1100)]
cleanup gssEapCanonicalizeOid, remove testing assert

13 years agoupdate cyrus sasl
Luke Howard [Wed, 16 Mar 2011 07:33:19 +0000 (18:33 +1100)]
update cyrus sasl

13 years agoupdate cyrus sasl
Luke Howard [Wed, 16 Mar 2011 07:33:00 +0000 (18:33 +1100)]
update cyrus sasl

13 years agoupdate cyrus-sasl
Luke Howard [Wed, 16 Mar 2011 07:15:01 +0000 (18:15 +1100)]
update cyrus-sasl

13 years agoupdate cyrus-sasl
Luke Howard [Wed, 16 Mar 2011 07:14:46 +0000 (18:14 +1100)]
update cyrus-sasl

13 years agodon't enable GSSEAP_CREDS hack unless using default identity
Luke Howard [Wed, 16 Mar 2011 07:13:16 +0000 (18:13 +1100)]
don't enable GSSEAP_CREDS hack unless using default identity

13 years agodon't enable GSSEAP_CREDS hack unless using default identity
Luke Howard [Wed, 16 Mar 2011 07:13:16 +0000 (18:13 +1100)]
don't enable GSSEAP_CREDS hack unless using default identity

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Wed, 16 Mar 2011 06:16:04 +0000 (17:16 +1100)]
Merge branch 'master' into tlv-mic

Conflicts:
mech_eap/util.h
mech_eap/util_context.c

13 years agoupdate to current cyrus-sasl changes
Luke Howard [Wed, 16 Mar 2011 04:46:46 +0000 (15:46 +1100)]
update to current cyrus-sasl changes

13 years agocall gssEapCanonicalizeOid, gssEapInternalizeOid is no longer public
Luke Howard [Wed, 16 Mar 2011 04:39:12 +0000 (15:39 +1100)]
call gssEapCanonicalizeOid, gssEapInternalizeOid is no longer public

13 years agorefactor OID interning code
Luke Howard [Wed, 16 Mar 2011 04:14:52 +0000 (15:14 +1100)]
refactor OID interning code

13 years agoFix for OpenSSH interoperability
Luke Howard [Tue, 15 Mar 2011 08:48:40 +0000 (19:48 +1100)]
Fix for OpenSSH interoperability

OpenSSH requires the exported name token to include the actual OID
of the selected mechanism. We were using an OID that identified a
family of GSS EAP mechanisms. We now use the concrete OID where
possible.

13 years agoRevert "Fix for OpenSSH interoperability"
Luke Howard [Wed, 16 Mar 2011 04:19:09 +0000 (15:19 +1100)]
Revert "Fix for OpenSSH interoperability"

This reverts commit 3dcac77927965ec56eb76d865b44a8b2bee4594b.

13 years agoFix for OpenSSH interoperability
Luke Howard [Wed, 16 Mar 2011 04:18:32 +0000 (15:18 +1100)]
Fix for OpenSSH interoperability

OpenSSH requires the exported name token to include the actual OID
of the selected mechanism. We were using an OID that identified a
family of GSS EAP mechanisms. We now use the concrete OID where
possible.

Conflicts:

mech_eap/util_name.c

13 years agorefactor OID interning code
Luke Howard [Wed, 16 Mar 2011 04:14:52 +0000 (15:14 +1100)]
refactor OID interning code

13 years agoAdd -Werror to CFLAGS
Luke Howard [Tue, 15 Mar 2011 14:06:57 +0000 (01:06 +1100)]
Add -Werror to CFLAGS

13 years agoAdd -Werror to CFLAGS
Luke Howard [Tue, 15 Mar 2011 14:06:57 +0000 (01:06 +1100)]
Add -Werror to CFLAGS

13 years agosend GSS mutual auth flag from initiator to acceptor
Luke Howard [Tue, 15 Mar 2011 13:00:47 +0000 (00:00 +1100)]
send GSS mutual auth flag from initiator to acceptor

13 years agorefactor previous commit
Luke Howard [Tue, 15 Mar 2011 09:14:55 +0000 (20:14 +1100)]
refactor previous commit

13 years agoreturn mechanism used, if any, in gss_inquire_name
Luke Howard [Tue, 15 Mar 2011 09:12:25 +0000 (20:12 +1100)]
return mechanism used, if any, in gss_inquire_name

13 years agoadd a testing path for setting initiator credentials meeting/moonshot2
Luke Howard [Tue, 15 Mar 2011 07:56:27 +0000 (18:56 +1100)]
add a testing path for setting initiator credentials
requires GSSEAP_DEBUG to be defined, set environment variable
GSSEAP_CREDS to password

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Tue, 15 Mar 2011 08:57:31 +0000 (19:57 +1100)]
Merge branch 'master' into tlv-mic

Conflicts:
mech_eap/util_name.c

13 years agocorrect buffer length check when importing name
Luke Howard [Tue, 15 Mar 2011 08:55:08 +0000 (19:55 +1100)]
correct buffer length check when importing name

13 years agoFix for OpenSSH interoperability
Luke Howard [Tue, 15 Mar 2011 08:48:40 +0000 (19:48 +1100)]
Fix for OpenSSH interoperability

OpenSSH requires the exported name token to include the actual OID
of the selected mechanism. We were using an OID that identified a
family of GSS EAP mechanisms. We now use the concrete OID where
possible.

13 years agopass glue context to defrostAttrContext
Luke Howard [Tue, 15 Mar 2011 08:25:49 +0000 (19:25 +1100)]
pass glue context to defrostAttrContext

13 years agoadd a testing path for setting initiator credentials
Luke Howard [Tue, 15 Mar 2011 07:56:27 +0000 (18:56 +1100)]
add a testing path for setting initiator credentials
requires GSSEAP_DEBUG to be defined, set environment variable
GSSEAP_CREDS to password

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Tue, 15 Mar 2011 06:18:03 +0000 (17:18 +1100)]
Merge branch 'master' into tlv-mic

13 years agoDefine AC_GNU_SOURCE to avoid Linux compile warnings
Luke Howard [Tue, 15 Mar 2011 06:17:49 +0000 (17:17 +1100)]
Define AC_GNU_SOURCE to avoid Linux compile warnings

13 years agoplug leak in previous commit
Luke Howard [Tue, 15 Mar 2011 06:14:49 +0000 (17:14 +1100)]
plug leak in previous commit

13 years agoplug leak in previous commit
Luke Howard [Tue, 15 Mar 2011 06:14:49 +0000 (17:14 +1100)]
plug leak in previous commit

13 years agoEnsure credentials are initialized before calling initBegin()
Luke Howard [Tue, 15 Mar 2011 06:12:14 +0000 (17:12 +1100)]
Ensure credentials are initialized before calling initBegin()

13 years agoEnsure credentials are initialized before calling initBegin()
Luke Howard [Tue, 15 Mar 2011 06:12:14 +0000 (17:12 +1100)]
Ensure credentials are initialized before calling initBegin()

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Tue, 15 Mar 2011 03:05:07 +0000 (14:05 +1100)]
Merge branch 'master' into tlv-mic

13 years agoinclude stdarg.h for vasprintf
Luke Howard [Tue, 15 Mar 2011 03:04:21 +0000 (14:04 +1100)]
include stdarg.h for vasprintf

13 years agofix unused parameter warning when building without reauth
Luke Howard [Tue, 15 Mar 2011 03:00:54 +0000 (14:00 +1100)]
fix unused parameter warning when building without reauth

13 years agofix unused parameter warning when building without reauth
Luke Howard [Tue, 15 Mar 2011 03:00:54 +0000 (14:00 +1100)]
fix unused parameter warning when building without reauth

13 years agoupdate libeap unused parameter warnings
Luke Howard [Tue, 15 Mar 2011 02:40:18 +0000 (13:40 +1100)]
update libeap unused parameter warnings

13 years agoupdate libeap unused parameter warnings
Luke Howard [Tue, 15 Mar 2011 02:40:18 +0000 (13:40 +1100)]
update libeap unused parameter warnings

13 years agoremove an extraneous GSSEAP_UNUSED
Luke Howard [Tue, 15 Mar 2011 02:19:34 +0000 (13:19 +1100)]
remove an extraneous GSSEAP_UNUSED

13 years agoMerge branch 'master' into tlv-mic
Luke Howard [Tue, 15 Mar 2011 02:11:51 +0000 (13:11 +1100)]
Merge branch 'master' into tlv-mic

Conflicts:
mech_eap/accept_sec_context.c
mech_eap/init_sec_context.c
mech_eap/util_context.c

13 years agoDon't specify -g -O in Makefile.am, configure does it for us
Luke Howard [Tue, 15 Mar 2011 02:05:32 +0000 (13:05 +1100)]
Don't specify -g -O in Makefile.am, configure does it for us

13 years agoMerge branch 'tlv'
Luke Howard [Tue, 15 Mar 2011 02:00:26 +0000 (13:00 +1100)]
Merge branch 'tlv'

13 years agocleanup unused parameter warnings
Luke Howard [Tue, 15 Mar 2011 01:57:57 +0000 (12:57 +1100)]
cleanup unused parameter warnings

13 years agoMerge branch 'master' into tlv
Luke Howard [Tue, 15 Mar 2011 01:19:11 +0000 (12:19 +1100)]
Merge branch 'master' into tlv

Conflicts:
mech_eap/README
mech_eap/accept_sec_context.c

13 years agoenable --enable-tls because we probably want it and libradsec fails without it.
Sam Hartman [Tue, 15 Mar 2011 01:05:41 +0000 (21:05 -0400)]
enable --enable-tls because we probably want it and libradsec fails without it.

13 years agoFollow API changes in libradsec.
Linus Nordberg [Wed, 9 Mar 2011 23:39:50 +0000 (00:39 +0100)]
Follow API changes in libradsec.

13 years agoremove -fno-strict-aliasing and -Wunused-parameter
Luke Howard [Tue, 15 Mar 2011 01:14:04 +0000 (12:14 +1100)]
remove -fno-strict-aliasing and -Wunused-parameter

13 years agoput some state machine plumbing in acceptor to allow us to use iakerb
Luke Howard [Tue, 15 Mar 2011 00:57:12 +0000 (11:57 +1100)]
put some state machine plumbing in acceptor to allow us to use iakerb

13 years agoadd some documentation
Luke Howard [Tue, 15 Mar 2011 00:27:36 +0000 (11:27 +1100)]
add some documentation

13 years agomore cleanups
Luke Howard [Mon, 14 Mar 2011 19:39:41 +0000 (06:39 +1100)]
more cleanups

13 years agocleanup previous commit
Luke Howard [Mon, 14 Mar 2011 19:37:00 +0000 (06:37 +1100)]
cleanup previous commit

13 years agominor refactoring
Luke Howard [Mon, 14 Mar 2011 19:35:15 +0000 (06:35 +1100)]
minor refactoring

13 years agocleanup
Luke Howard [Mon, 14 Mar 2011 14:06:35 +0000 (01:06 +1100)]
cleanup

13 years agos/ITOK_TYPE_xxx_EXTS/ITOK_TYPE_SUPPORTED_xxx_EXTS
Luke Howard [Mon, 14 Mar 2011 13:49:54 +0000 (00:49 +1100)]
s/ITOK_TYPE_xxx_EXTS/ITOK_TYPE_SUPPORTED_xxx_EXTS

13 years agouse Kerberos GSS chan bindings to handle initiator MIC in reauth case
Luke Howard [Mon, 14 Mar 2011 13:47:19 +0000 (00:47 +1100)]
use Kerberos GSS chan bindings to handle initiator MIC in reauth case

13 years agoAdd some extension feature negotiation
Luke Howard [Mon, 14 Mar 2011 11:03:19 +0000 (22:03 +1100)]
Add some extension feature negotiation

13 years agoRevert "Don't set GSS_C_MUTUAL_FLAG because we don't yet support mutual auth"
Luke Howard [Mon, 14 Mar 2011 09:40:46 +0000 (20:40 +1100)]
Revert "Don't set GSS_C_MUTUAL_FLAG because we don't yet support mutual auth"

This reverts commit 7c61880a39e0c3363aa7ec21760df6ba47466202.

13 years agoDon't set GSS_C_MUTUAL_FLAG because we don't yet support mutual auth
Luke Howard [Mon, 14 Mar 2011 09:39:43 +0000 (20:39 +1100)]
Don't set GSS_C_MUTUAL_FLAG because we don't yet support mutual auth

13 years agoremove redundant state machine attribute
Luke Howard [Mon, 14 Mar 2011 08:32:19 +0000 (19:32 +1100)]
remove redundant state machine attribute

13 years agoremove trailing whitespace
Luke Howard [Mon, 14 Mar 2011 08:20:43 +0000 (19:20 +1100)]
remove trailing whitespace

13 years agodo MIC round trip for fast reauth case
Luke Howard [Mon, 14 Mar 2011 07:31:58 +0000 (18:31 +1100)]
do MIC round trip for fast reauth case

13 years agoadd acceptor MIC
Luke Howard [Mon, 14 Mar 2011 06:17:49 +0000 (17:17 +1100)]
add acceptor MIC

13 years agocompute initiator MIC
Luke Howard [Mon, 14 Mar 2011 06:14:55 +0000 (17:14 +1100)]
compute initiator MIC

13 years agoadd get/verify conversation MIC APIs
Luke Howard [Mon, 14 Mar 2011 06:02:21 +0000 (17:02 +1100)]
add get/verify conversation MIC APIs

13 years agoimport/export conversation
Luke Howard [Mon, 14 Mar 2011 05:39:59 +0000 (16:39 +1100)]
import/export conversation

13 years agorecord EAP conversation in context
Luke Howard [Mon, 14 Mar 2011 05:27:39 +0000 (16:27 +1100)]
record EAP conversation in context

13 years agoadd MIC symbols
Luke Howard [Sun, 13 Mar 2011 22:56:39 +0000 (09:56 +1100)]
add MIC symbols

13 years agodon't leak RADIUS response packet
Luke Howard [Sun, 13 Mar 2011 22:46:16 +0000 (09:46 +1100)]
don't leak RADIUS response packet

13 years agoremove trailing space
Luke Howard [Sat, 12 Mar 2011 07:58:34 +0000 (18:58 +1100)]
remove trailing space

13 years agoremove trailing space
Luke Howard [Sat, 12 Mar 2011 07:58:34 +0000 (18:58 +1100)]
remove trailing space

13 years agoHEADS UP: move dictionary file to $prefix/etc/raddb/dictionary
Luke Howard [Sat, 12 Mar 2011 03:50:46 +0000 (14:50 +1100)]
HEADS UP: move dictionary file to $prefix/etc/raddb/dictionary
instead of $prefix/share/freeradius/dictionary on advice from
Alan DeKok

13 years agodon't free RADIUS context before packet
Luke Howard [Sat, 12 Mar 2011 07:46:13 +0000 (18:46 +1100)]
don't free RADIUS context before packet

13 years agodon't free RADIUS context before packet
Luke Howard [Sat, 12 Mar 2011 07:46:13 +0000 (18:46 +1100)]
don't free RADIUS context before packet

13 years agoDon't promote bindings unwrap failure to GSS_S_BAD_BINDINGS
Luke Howard [Sat, 12 Mar 2011 04:59:44 +0000 (15:59 +1100)]
Don't promote bindings unwrap failure to GSS_S_BAD_BINDINGS

13 years agoMerge branch 'master' into tlv
Luke Howard [Sat, 12 Mar 2011 04:19:25 +0000 (15:19 +1100)]
Merge branch 'master' into tlv

13 years agocleanup commit 87b8bd5ef53b7813f138949b6cd2a1712f14eef5
Luke Howard [Sat, 12 Mar 2011 04:18:50 +0000 (15:18 +1100)]
cleanup commit 87b8bd5ef53b7813f138949b6cd2a1712f14eef5

13 years agoHEADS UP: move dictionary file to $prefix/etc/raddb/dictionary
Luke Howard [Sat, 12 Mar 2011 03:50:46 +0000 (14:50 +1100)]
HEADS UP: move dictionary file to $prefix/etc/raddb/dictionary
instead of $prefix/share/freeradius/dictionary on advice from
Alan DeKok