diff options
author | sharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-08-29 05:26:45 +0000 |
---|---|---|
committer | sharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-08-29 05:26:45 +0000 |
commit | d23394e48bf59b9019b679916c759acfb5ac55af (patch) | |
tree | e6d36933acac0b23c78bb385e74b93a25ff4e68f /packet-gssapi.c | |
parent | dd588d3a18a57e8942ae18e0b2b99bad1f96df8d (diff) |
Guided by Guy and an examination of RFC2078 and RFC2478, I have added some
comments about what we need to do to get SPNEGO properly implemented.
More work to do.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6121 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-gssapi.c')
-rw-r--r-- | packet-gssapi.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/packet-gssapi.c b/packet-gssapi.c index dd2c07bbf4..bddf4baa4e 100644 --- a/packet-gssapi.c +++ b/packet-gssapi.c @@ -2,7 +2,7 @@ * Dissector for GSS-API tokens as described in rfc2078, section 3.1 * Copyright 2002, Tim Potter <tpot@samba.org> * - * $Id: packet-gssapi.c,v 1.7 2002/08/28 21:00:14 jmayer Exp $ + * $Id: packet-gssapi.c,v 1.8 2002/08/29 05:26:45 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -140,6 +140,13 @@ dissect_gssapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) goto done; } + /* FIXME! + * If we do not recognise an Application class, then + * then we are probably dealing with an inner context + * token, and we should retrieve the dissector from + * the conversation that exists or we created from pinfo + */ + if (!(cls == ASN1_APL && con == ASN1_CON && tag == 0)) { proto_tree_add_text( subtree, tvb, offset, 0, @@ -160,6 +167,12 @@ dissect_gssapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) goto done; } + /* FIXME! + * Here we should create a conversation if needed and + * save the OID and dissector handle in it for the + * GSSAPI protocol. + */ + oid_string = format_oid(oid, oid_len); proto_tree_add_text(subtree, tvb, offset, nbytes, "OID: %s", |