Age | Commit message (Collapse) | Author | Files | Lines |
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9735 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
take a "protocol_t *" as an argument, so they don't have to look up the
"protocol_t" - this will probably speed them up considerably, and
they're called on almost every dissector handoff.
Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
necessary (dissectors called through handles, including those called
through dissector tables, or called as heuristic dissectors, aren't even
called if their protocol isn't enabled).
Change some direct dissector calls to go through handles.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8979 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
to the dissector that handles the particular authentication flavour. This
gets rid of a couple of ugly switch statements and allows other authentication
modules to be written easily.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8026 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6719 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6668 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
per-conversation data.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6570 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
handle to use to dissect GSS-API inner context tokens has to be stored
as per-frame data, not just as conversation data.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6569 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
only in bind, bind_ack, alter_context, alter_context_response, and auth3
PDUs; they're a verifier of some sort in other PDUs. The verifier
appears to start with an OID for the real authentication mechanism if
the authentication type is SPNEGO.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6563 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6356 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6226 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
in the gssapi_oids hash table; the keys are just text representations of
the numbers in the OID, but "format_oid()" can add a formatted
description of the OID to the end of the string it returns, which means
it won't match.
Use -1 rather than "tvb_length_remaining(tvb, 0)" as the length to say
"this item goes to the end of the tvbuff.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6225 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6188 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6180 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
|
|
and not try to parse unrelated info in the TVB.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6162 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
don't abort dissection of the entire packet if we get a
ReportedBoundsError while dissecting an authentication blob - the
authentication blob might be in the middle of a packet, and if it's too
short, that doesn't mean that the stuff *after* it shouldn't be
dissected.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6160 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
negTokenTarg, there is just more work to do on this.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6127 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6126 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Since we only need the dissector handle, I cheated :-)
This should not cause problems (famous last words)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6125 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
|
|
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
|
|
Still more to come. SHould have the negTokenInit done soon, then onto the
negTokenTarg ...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6109 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6105 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
"format_oid()" after we're done with it.
"format_oid()" doesn't necessarily generate a string containing only the
numerical OID value, so we can't use that string to search for an OID in
the OID hash table. Generate the string used in that lookup ourselves,
instead.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6089 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Next to turn SPNEGO into SPNEGO and not SNEGO ... and display the contents
properly as NTLMSSP.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6083 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
1) match the protocol's filter name (which isn't used, as we
never put entries into the protocol tree for the protocol
itself)
and
2) make it more obvious what you type.
(This matches what the NTLMSSP dissector does for its security blobs.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6076 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
the extended security bit is set.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6047 f5534014-38df-0310-8fa8-9805f1628bb7
|