aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gssapi.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2002-08-29 05:26:45 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2002-08-29 05:26:45 +0000
commit0934975cc1599d7177259ddc552934352cae0404 (patch)
treee6d36933acac0b23c78bb385e74b93a25ff4e68f /packet-gssapi.c
parent16630b5038959975f04c6f06cded27f317378e42 (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. svn path=/trunk/; revision=6121
Diffstat (limited to 'packet-gssapi.c')
-rw-r--r--packet-gssapi.c15
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",