aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gssapi.h
AgeCommit message (Collapse)AuthorFilesLines
2002-11-28Handle GSS_Wrap header information as well as context-level tokens. Aguy1-2/+4
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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6692 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-08Add a "gssapi_lookup_oid()" that takes a binary OID (pointer and length)guy1-5/+4
as an argument, and looks up that OID in the GSSAPI OID hash table. Always use that routine to look up OIDs, so that we never use the result of "format_oid()" as the key (as that doesn't necessarily work). Make "gssapi_oids" static, as one should only look up GSSAPI authentication mechanism OIDs with "gssapi_lookup_oid()". In the SPNEGO dissector, free up the OID strings when we're done with them, and don't advance the offset past the OID until after we put the OID into the protocol tree. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6228 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-04Add some level of OID naming etc ...sharpe1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6180 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-31Make "gssapi_init_oid()" take a dissector handle rather than aguy1-3/+3
registered dissector name; that means you don't have to register a dissector by name to associate it with a GSS-API security mechanism OID. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6163 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-29Guided by Guy and an examination of RFC2078 and RFC2478, I have added somesharpe1-1/+2
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
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-27OK, fix up the problems of the previous commit ...sharpe1-1/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6105 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-21A dissector for GSS-API (rfc2078). This is used by Windows 2000/XP whentpot1-0/+34
the extended security bit is set. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6047 f5534014-38df-0310-8fa8-9805f1628bb7