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

13 years agofallback to paircreate() if dictionary lookup fails
Luke Howard [Thu, 10 Mar 2011 06:34:04 +0000 (17:34 +1100)]
fallback to paircreate() if dictionary lookup fails

13 years agoremove stuff about RADIUS attribute release, it's wrong
Luke Howard [Thu, 10 Mar 2011 06:23:59 +0000 (17:23 +1100)]
remove stuff about RADIUS attribute release, it's wrong

13 years agouse directional GSS token types
Luke Howard [Thu, 10 Mar 2011 05:01:02 +0000 (16:01 +1100)]
use directional GSS token types

13 years agomore notes in README
Luke Howard [Thu, 10 Mar 2011 02:07:46 +0000 (13:07 +1100)]
more notes in README

13 years agofuture-proof: allow multiple round trip Kerberos exchanges at acceptor
Luke Howard [Thu, 10 Mar 2011 01:36:36 +0000 (12:36 +1100)]
future-proof: allow multiple round trip Kerberos exchanges at acceptor

13 years agoremove SM_FLAG_RESTART
Luke Howard [Wed, 9 Mar 2011 15:46:02 +0000 (02:46 +1100)]
remove SM_FLAG_RESTART

13 years agoremove SM_FLAG_STOP_EVAL, unused
Luke Howard [Wed, 9 Mar 2011 14:32:25 +0000 (01:32 +1100)]
remove SM_FLAG_STOP_EVAL, unused

13 years agoformatting cleanup
Luke Howard [Wed, 9 Mar 2011 14:30:37 +0000 (01:30 +1100)]
formatting cleanup

13 years agoadd an extra assert
Luke Howard [Wed, 9 Mar 2011 14:30:09 +0000 (01:30 +1100)]
add an extra assert

13 years agoif reauth token marked critical, don't allow EAP fallback
Luke Howard [Wed, 9 Mar 2011 14:27:48 +0000 (01:27 +1100)]
if reauth token marked critical, don't allow EAP fallback

13 years agoupdate README
Luke Howard [Wed, 9 Mar 2011 14:24:32 +0000 (01:24 +1100)]
update README

13 years agoadd some more assertion checks
Luke Howard [Wed, 9 Mar 2011 14:22:09 +0000 (01:22 +1100)]
add some more assertion checks

13 years agodelegate output token criticality to handler
Luke Howard [Wed, 9 Mar 2011 14:12:25 +0000 (01:12 +1100)]
delegate output token criticality to handler

13 years agoif client fails reauth, allow it to retry EAP
Luke Howard [Wed, 9 Mar 2011 13:53:53 +0000 (00:53 +1100)]
if client fails reauth, allow it to retry EAP

13 years agodon't leak Kerberos context if reauth not supported
Luke Howard [Wed, 9 Mar 2011 13:53:44 +0000 (00:53 +1100)]
don't leak Kerberos context if reauth not supported

13 years agocleanup formatting
Luke Howard [Wed, 9 Mar 2011 13:52:28 +0000 (00:52 +1100)]
cleanup formatting

13 years agoremove __attribute__((__unused__)) for now until we have a portable solution
Luke Howard [Wed, 9 Mar 2011 13:43:25 +0000 (00:43 +1100)]
remove __attribute__((__unused__)) for now until we have a portable solution

13 years agoAlways request mutual on reauth to even out number of round trips
Luke Howard [Wed, 9 Mar 2011 13:39:47 +0000 (00:39 +1100)]
Always request mutual on reauth to even out number of round trips

13 years agoimplement preliminary acceptor name exchange
Luke Howard [Wed, 9 Mar 2011 05:34:55 +0000 (16:34 +1100)]
implement preliminary acceptor name exchange

13 years agoAllow for graceful restart if acceptor ignores reauth token
Luke Howard [Wed, 9 Mar 2011 04:31:48 +0000 (15:31 +1100)]
Allow for graceful restart if acceptor ignores reauth token

13 years agouse macros for state accessors
Luke Howard [Wed, 9 Mar 2011 02:46:49 +0000 (13:46 +1100)]
use macros for state accessors

13 years agoadd some comments
Luke Howard [Wed, 9 Mar 2011 00:53:19 +0000 (11:53 +1100)]
add some comments

13 years agoadd some explanations to tlv code
Luke Howard [Tue, 8 Mar 2011 13:52:15 +0000 (00:52 +1100)]
add some explanations to tlv code

13 years agocleanup
Luke Howard [Tue, 8 Mar 2011 13:32:43 +0000 (00:32 +1100)]
cleanup

13 years agoforce load of global dictionary in RADIUS attr provider initialisation
Luke Howard [Tue, 8 Mar 2011 13:29:40 +0000 (00:29 +1100)]
force load of global dictionary in RADIUS attr provider initialisation

13 years agocleanup
Luke Howard [Tue, 8 Mar 2011 13:17:24 +0000 (00:17 +1100)]
cleanup

13 years agocheck for non-NULL before calling pairbasicfree()
Luke Howard [Tue, 8 Mar 2011 13:17:14 +0000 (00:17 +1100)]
check for non-NULL before calling pairbasicfree()

13 years agoadd test vendor info acceptor
Luke Howard [Tue, 8 Mar 2011 13:13:12 +0000 (00:13 +1100)]
add test vendor info acceptor

13 years agodon't fail hard if reauth cred generation fails
Luke Howard [Tue, 8 Mar 2011 13:04:28 +0000 (00:04 +1100)]
don't fail hard if reauth cred generation fails

13 years agofix some error token nits
Luke Howard [Tue, 8 Mar 2011 12:53:13 +0000 (23:53 +1100)]
fix some error token nits

13 years agomore TLV cleanups
Luke Howard [Tue, 8 Mar 2011 12:36:11 +0000 (23:36 +1100)]
more TLV cleanups

13 years agofor state transitions through gssEapSmTransition
Luke Howard [Tue, 8 Mar 2011 07:11:46 +0000 (18:11 +1100)]
for state transitions through gssEapSmTransition

13 years agomore cleanup on TLV
Luke Howard [Tue, 8 Mar 2011 07:05:32 +0000 (18:05 +1100)]
more cleanup on TLV

13 years agocleanup TLV code
Luke Howard [Tue, 8 Mar 2011 07:02:55 +0000 (18:02 +1100)]
cleanup TLV code

13 years agocleanup, refactor TLV code
Luke Howard [Tue, 8 Mar 2011 06:41:24 +0000 (17:41 +1100)]
cleanup, refactor TLV code

13 years agoget GSS-EAP working again with TLV
Luke Howard [Tue, 8 Mar 2011 06:24:09 +0000 (17:24 +1100)]
get GSS-EAP working again with TLV

13 years agomake state transition explicit rather than side-effect of GSS status code
Luke Howard [Tue, 8 Mar 2011 02:50:46 +0000 (13:50 +1100)]
make state transition explicit rather than side-effect of GSS status code

13 years agoinitial TLV refactor
Luke Howard [Tue, 8 Mar 2011 02:32:56 +0000 (13:32 +1100)]
initial TLV refactor

13 years agoActually build eap and mech_eap
Sam Hartman [Tue, 8 Mar 2011 12:29:48 +0000 (07:29 -0500)]
Actually build eap and mech_eap

13 years agoInclude --with-xmltooling
Sam Hartman [Tue, 8 Mar 2011 12:28:06 +0000 (07:28 -0500)]
Include --with-xmltooling

13 years agoTry building with eap from source tree
Sam Hartman [Tue, 8 Mar 2011 02:35:46 +0000 (21:35 -0500)]
Try building with eap from source tree

13 years agomark *_err.c as built sources
Sam Hartman [Tue, 8 Mar 2011 02:08:46 +0000 (21:08 -0500)]
mark *_err.c as built sources

13 years agoLook for mech_eap dependencies in
Sam Hartman [Tue, 8 Mar 2011 01:46:45 +0000 (20:46 -0500)]
Look for mech_eap dependencies in

13 years agoMove libradsec forward to be consistent with mech_eap
Sam Hartman [Tue, 8 Mar 2011 01:45:55 +0000 (20:45 -0500)]
Move libradsec forward to be consistent with mech_eap

13 years agoinclude /usr/lib/freeradius in LDFLAGS
Sam Hartman [Tue, 8 Mar 2011 01:37:36 +0000 (20:37 -0500)]
include /usr/lib/freeradius in LDFLAGS

Debian installs freeradius development libs in /usr/lib/freeradius.
Try looking there somewhat hackishly.

13 years agoalways sent User-Name and GSS-* attributes
Luke Howard [Fri, 4 Mar 2011 11:38:24 +0000 (22:38 +1100)]
always sent User-Name and GSS-* attributes

13 years agoupdate for latest radsec
Luke Howard [Fri, 4 Mar 2011 11:38:04 +0000 (22:38 +1100)]
update for latest radsec

13 years agoCleanup readme
Luke Howard [Thu, 3 Mar 2011 01:25:22 +0000 (12:25 +1100)]
Cleanup readme

13 years agoSent @REALM in EAP identity response
Luke Howard [Wed, 2 Mar 2011 05:46:08 +0000 (16:46 +1100)]
Sent @REALM in EAP identity response

13 years agoSome additional README notes
Luke Howard [Wed, 2 Mar 2011 02:43:16 +0000 (13:43 +1100)]
Some additional README notes

13 years agoUse anonymous name if we have not initiator identity
Luke Howard [Wed, 2 Mar 2011 02:42:34 +0000 (13:42 +1100)]
Use anonymous name if we have not initiator identity

13 years agoUse libeap API for constructing EAP identity request packet
Luke Howard [Tue, 1 Mar 2011 23:59:39 +0000 (10:59 +1100)]
Use libeap API for constructing EAP identity request packet

13 years agoForward EAP identity response as RADIUS user name
Luke Howard [Tue, 1 Mar 2011 23:53:18 +0000 (10:53 +1100)]
Forward EAP identity response as RADIUS user name

13 years agoAdd dictionary file with UKERNA attributes
Luke Howard [Tue, 1 Mar 2011 23:31:54 +0000 (10:31 +1100)]
Add dictionary file with UKERNA attributes

13 years agoDon't leak packet if request object creation fails
Luke Howard [Mon, 28 Feb 2011 23:16:24 +0000 (10:16 +1100)]
Don't leak packet if request object creation fails

13 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Luke Howard [Mon, 28 Feb 2011 23:16:07 +0000 (10:16 +1100)]
Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot

Conflicts:
mech_eap/accept_sec_context.c

13 years agoFix a couple of crashers in case of invalid radsec configuration
Luke Howard [Mon, 28 Feb 2011 22:54:45 +0000 (09:54 +1100)]
Fix a couple of crashers in case of invalid radsec configuration

13 years agoUpdate for libradsec changes
Luke Howard [Mon, 28 Feb 2011 22:48:15 +0000 (09:48 +1100)]
Update for libradsec changes

13 years agodisplay_status: fix logic error
Sam Hartman [Mon, 28 Feb 2011 22:04:12 +0000 (17:04 -0500)]
display_status: fix logic error

transposition of next and p

13 years agoaccept_sec_context: only destroy request if it is populated
Sam Hartman [Mon, 28 Feb 2011 21:37:24 +0000 (16:37 -0500)]
accept_sec_context: only destroy request if it is populated

13 years agoFix com_err build targets
Sam Hartman [Mon, 28 Feb 2011 16:22:44 +0000 (11:22 -0500)]
Fix com_err build targets

Make didn't have rules for building gsseap_err.c or radsec_err.c.

13 years agoDon't build freeradius; do build libradsec
Sam Hartman [Mon, 28 Feb 2011 16:01:01 +0000 (11:01 -0500)]
Don't build freeradius; do build libradsec

13 years agoDon't depend on log4shib
Sam Hartman [Sat, 26 Feb 2011 21:24:27 +0000 (16:24 -0500)]
Don't depend on log4shib

Shibboleth can be built with log4shib or log4cpp. We don't need to
make an explicit dependency; shared library search will do that for
us on most common platforms and I believe all we care about.

13 years agoUpdate copyrights for 2011
Luke Howard [Sat, 22 Jan 2011 00:18:18 +0000 (11:18 +1100)]
Update copyrights for 2011

13 years agoNote that /etc/gss/mech is not implementation-specific
Luke Howard [Sat, 22 Jan 2011 00:10:12 +0000 (11:10 +1100)]
Note that /etc/gss/mech is not implementation-specific

13 years agoupdate for libradsec API change
Luke Howard [Fri, 21 Jan 2011 23:41:46 +0000 (10:41 +1100)]
update for libradsec API change

rs_packet_create_acc_request is now rs_packet_create_auth_request

13 years agofix typo, update
Luke Howard [Sun, 9 Jan 2011 08:58:12 +0000 (19:58 +1100)]
fix typo, update

13 years agoRemove some Heimdal compatibility macros, now have patches for Heimdal
Luke Howard [Mon, 3 Jan 2011 11:55:01 +0000 (22:55 +1100)]
Remove some Heimdal compatibility macros, now have patches for Heimdal

13 years agoremove gss_any_t definition, will patch this into Heimdal
Luke Howard [Mon, 3 Jan 2011 06:16:44 +0000 (17:16 +1100)]
remove gss_any_t definition, will patch this into Heimdal

13 years agoremove @TARGET_LIBS@, they don't exist
Luke Howard [Mon, 3 Jan 2011 01:11:01 +0000 (12:11 +1100)]
remove @TARGET_LIBS@, they don't exist

13 years agoreorder shibresolver/shibsp link
Luke Howard [Mon, 3 Jan 2011 00:55:44 +0000 (11:55 +1100)]
reorder shibresolver/shibsp link

13 years agoCleanup
Luke Howard [Sun, 2 Jan 2011 09:43:10 +0000 (20:43 +1100)]
Cleanup

13 years agocorrectly construct KRB-CRED for Heimdal reauth
Luke Howard [Sun, 2 Jan 2011 09:20:07 +0000 (20:20 +1100)]
correctly construct KRB-CRED for Heimdal reauth

13 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Luke Howard [Sun, 2 Jan 2011 08:57:19 +0000 (19:57 +1100)]
Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Reauth fixes

Conflicts:
shibboleth/opensaml2
shibboleth/sp

13 years agoGet default credentials for acceptor context too
Luke Howard [Sun, 2 Jan 2011 07:45:54 +0000 (18:45 +1100)]
Get default credentials for acceptor context too

13 years agoAllow zero length but non-NULL tokens on init_sec_context
Luke Howard [Sun, 2 Jan 2011 07:33:38 +0000 (18:33 +1100)]
Allow zero length but non-NULL tokens on init_sec_context

13 years agoAdd GSSEAP_MISSING_PASSWORD minor status code
Luke Howard [Sun, 2 Jan 2011 04:25:55 +0000 (15:25 +1100)]
Add GSSEAP_MISSING_PASSWORD minor status code

13 years agoupdate for current EAP draft
Luke Howard [Sat, 1 Jan 2011 12:39:37 +0000 (23:39 +1100)]
update for current EAP draft

13 years agoupdate Lucid code for Heimdal
Luke Howard [Sat, 1 Jan 2011 12:38:10 +0000 (23:38 +1100)]
update Lucid code for Heimdal

13 years agoMore Heimdal portability cleanups
Luke Howard [Sat, 1 Jan 2011 12:18:18 +0000 (23:18 +1100)]
More Heimdal portability cleanups

13 years agoHeimdal portability cleanups
Luke Howard [Sat, 1 Jan 2011 12:16:20 +0000 (23:16 +1100)]
Heimdal portability cleanups

13 years agoupdate notes
Luke Howard [Sat, 1 Jan 2011 11:11:30 +0000 (22:11 +1100)]
update notes

13 years agoMIT build fixes
Luke Howard [Sat, 1 Jan 2011 11:07:43 +0000 (22:07 +1100)]
MIT build fixes

13 years agoMore Heimdal reauth portability
Luke Howard [Sat, 1 Jan 2011 11:05:34 +0000 (22:05 +1100)]
More Heimdal reauth portability

13 years agoFix some warnings
Luke Howard [Sat, 1 Jan 2011 10:04:41 +0000 (21:04 +1100)]
Fix some warnings

13 years agoPartial build of reauth code against Heimdal
Luke Howard [Sat, 1 Jan 2011 10:01:20 +0000 (21:01 +1100)]
Partial build of reauth code against Heimdal

13 years agoHeimdal portability fixes (except for reauth)
Luke Howard [Fri, 31 Dec 2010 08:45:03 +0000 (19:45 +1100)]
Heimdal portability fixes (except for reauth)

13 years agomod_auth_kerb ->mod_gssapi
Sam Hartman [Thu, 16 Dec 2010 18:42:00 +0000 (13:42 -0500)]
mod_auth_kerb ->mod_gssapi

13 years agoEnsure checksum type is keyed
Luke Howard [Sat, 4 Dec 2010 01:52:16 +0000 (12:52 +1100)]
Ensure checksum type is keyed

13 years agobuilder: fix typo
Sam Hartman [Wed, 24 Nov 2010 20:58:36 +0000 (15:58 -0500)]
builder: fix typo

13 years agobuilder: add freeradius configure options
Sam Hartman [Wed, 24 Nov 2010 19:47:30 +0000 (14:47 -0500)]
builder: add freeradius configure options

13 years agoBuilder: set umask
Sam Hartman [Wed, 24 Nov 2010 18:48:40 +0000 (13:48 -0500)]
Builder: set umask

So that make install produces installations that can be read by non-root, set the umask correctly.

13 years agoWhen processing error tokens at the initiator, verify minor status
Luke Howard [Sun, 21 Nov 2010 14:19:30 +0000 (01:19 +1100)]
When processing error tokens at the initiator, verify minor status
code is valid wire error with new IS_WIRE_ERROR macro

13 years agoFix typo
Sam Hartman [Tue, 16 Nov 2010 19:02:14 +0000 (14:02 -0500)]
Fix typo

13 years agoInclude -- for schroot configure
Sam Hartman [Tue, 16 Nov 2010 18:03:12 +0000 (13:03 -0500)]
Include -- for schroot configure

13 years agoRun build in schroot too
Sam Hartman [Tue, 16 Nov 2010 17:58:50 +0000 (12:58 -0500)]
Run build in schroot too

13 years agoActually make install as root
Sam Hartman [Tue, 16 Nov 2010 16:59:11 +0000 (11:59 -0500)]
Actually make install as root

13 years agoCorrect logic for schroot creation
Sam Hartman [Tue, 16 Nov 2010 16:54:06 +0000 (11:54 -0500)]
Correct logic for schroot creation

13 years agofix configure call
Sam Hartman [Tue, 16 Nov 2010 16:47:56 +0000 (11:47 -0500)]
fix configure call