aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gssapi.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-11-28 06:48:42 +0000
committerGuy Harris <guy@alum.mit.edu>2002-11-28 06:48:42 +0000
commit35eefef60a411b3637fe85d91f0fb25b185aed79 (patch)
treeb8ad2a70a06e518a97b190fb8ac01c0dfb3ca568 /packet-gssapi.h
parent094345b492c3a436ccfd2231e424c82c5a615344 (diff)
Handle GSS_Wrap header information as well as context-level tokens. A
call to "gssapi_init_oid()" supplies both dissectors for context-level tokens and GSS_Wrap header information; the latter dissector should return the number of bytes of header information, so that if the header information and the message for the protocol that's using GSSAPI are treated as a single blob of data (as is the case with LDAP, but not with DCE RPC, for example), the dissector for the protocol using GSSAPI knows where to start dissecting. We associate a pointer to the entire data structure for the OID, not the handle for context-level token dissector for the OID, with conversations and frames. Make the dissector for NTLMSSP verifiers be the handler for GSS_Wrap stuff for NTLMSSP, and add support for GSS_Wrap stuff for Kerberos. Support SASL GSS-SPNEGO wrapping of LDAP messages. (XXX - this should really check for GSS-SPNEGO.) svn path=/trunk/; revision=6692
Diffstat (limited to 'packet-gssapi.h')
-rw-r--r--packet-gssapi.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-gssapi.h b/packet-gssapi.h
index 62f3433968..105261e778 100644
--- a/packet-gssapi.h
+++ b/packet-gssapi.h
@@ -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.h,v 1.7 2002/09/08 01:43:44 guy Exp $
+ * $Id: packet-gssapi.h,v 1.8 2002/11/28 06:48:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -32,13 +32,15 @@ typedef struct _gssapi_oid_value {
int proto;
int ett;
dissector_handle_t handle;
+ dissector_handle_t wrap_handle;
gchar *comment; /* For the comment */
} gssapi_oid_value;
/* Function prototypes */
void
-gssapi_init_oid(char *oid, int proto, int ett, dissector_handle_t handle, gchar *comment);
+gssapi_init_oid(char *oid, int proto, int ett, dissector_handle_t handle,
+ dissector_handle_t wrap_handle, gchar *comment);
gssapi_oid_value *
gssapi_lookup_oid(subid_t *oid, guint oid_len);