aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-mapi.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-24From Jean-Baptiste Marchand: add more MAPI procedure names.Guy Harris1-9/+17
svn path=/trunk/; revision=8769
2003-08-04Guy suggested that the dcerpc opnum value_string code could be simplifiedTim Potter1-9/+1
somewhat. Now the dynamic initialisation of the value_string is contained in the value_string_from_subdissectors() function instead of being distributed amongst the dcerpc dissectors. svn path=/trunk/; revision=8123
2003-06-26Dynamically create DCERPC opnum value_strings from the subdissectorTim Potter1-2/+15
list rather than duplicating this information in the dissector. Some of the opnum strings were starting to get out of date as developers forgot to update the information in both places. svn path=/trunk/; revision=7936
2003-06-05In the policy handle hashing, handle more than one policy handle havingGuy Harris1-6/+6
the same value, as an open might return handle XXX, handle XXX might then be closed, and a subsequent handle might return handle XXX, and we want to keep the two handles distinct to avoid, for example, displaying handles closed before they're opened. In policy handle open replies, store the handle name only if the operation succeeded. We can now do that without parsing the packet twice. Have "dissect_nt_policy_hnd()" optionally return, through a pointer, the protocol tree item for the handle, so that its caller can decorate the item with the name of the handle - that's done on opens, where we do that only if the operation succeeds. svn path=/trunk/; revision=7787
2003-05-10A quantity dissected as 6 unknown bytes in a logon reply actuallyGuy Harris1-2/+12
appears to be a 4-byte aligned quantity, with the other 2 bytes presumably seen by whoever added the code to dissect those 6 bytes being, most likely, padding to align the 4-byte quantity. svn path=/trunk/; revision=7660
2003-02-10Use new format of dissect_ndr_cvstring() function.Tim Potter1-4/+4
svn path=/trunk/; revision=7110
2003-02-07Rename "dissect_ndr_char_string()" and "dissect_ndr_wchar_string()" toGuy Harris1-4/+4
"dissect_ndr_char_cvstring()" and "dissect_ndr_wchar_cvstring()", to indicate that they're for conformant varying strings. Rename "dissect_ndr_character_array()" to "dissect_ndr_cvstring()", to indicate that it's for conformant varying strings. svn path=/trunk/; revision=7096
2003-02-07Fix a typo in the multiple-include protection in "packet-dcerpc-nt.h".Guy Harris1-19/+16
Rename "dissect_ndr_element_array()" to "dissect_ndr_character_array()", move it out of "packet-dcerpc-nt.c" to "packet-dcerpc.c", and have it use the standard DCE RPC array max count/offset/count fields rather than their own private versions of those fields. Give it an option to create a subtree, and an argument to specify the field to use for the actual data buffer, and export it. Move the routines for handling arrays of "char" and "wchar" as strings out of "packet-dcerpc-nt.c" to "packet-dcerpc.c". Add a routine to handle an array of "char" as an opaque blob of bytes. Use "dissect_ndr_character_array()" to dissect character strings in MAPI (the strings in question are ASCII, not Unicode), and use the routine to handle an array of "char" as an opaque blob of bytes to dissect encrypted data (again, it's bytes, not 16-bit quantities). Show them as encrypted data, not unknown data. Use "dissect_ndr_character_array()" to dissect a form name in "dissect_form_name()" in the SPOOLSS dissector. svn path=/trunk/; revision=7091
2003-02-03Convert to new DCERPC string handling functions. There are still someTim Potter1-6/+6
cosmetic bugs to work out though. svn path=/trunk/; revision=7069
2003-01-28Panic if a preference starts with the name of the module to which itGuy Harris1-2/+2
belongs, as that's redundant. Fix a bunch of cases where that was done, and map the old name to the new name. Instead of marking "mtp3.mtp3_standard" as obsolete, map it to "mtp3.standard". svn path=/trunk/; revision=7030
2003-01-28Convert dissector to callback based version of dissect_ndr_pointer().Tim Potter1-6/+6
Strings that used to call with levels != -1 should call the callback helper which will append the string to the pointer item. svn path=/trunk/; revision=7017
2002-11-28Arguments to hash routines are gconstpointer's; assign them to constGuy Harris1-6/+6
pointers. The first argument to "sscanf()" is a "const char *"; don't cast const pointers to "char *" when passing them to "sscanf()". Assign the result of "tvb_get_ptr()" to const pointers, not non-const pointers. Make the "pdata" argument to various DCE routines a const pointer. svn path=/trunk/; revision=6688
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-28/+28
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-06-24Change each DCERPC dissector to pass in a hf value on initialisationTim Potter1-2/+2
for a value_string that corresponds to that dissectors opnums. Pass in -1 if no such table is available. svn path=/trunk/; revision=5749
2002-06-15Fixed bug in MAPIRonnie Sahlberg1-2/+5
If we had unreassebled DCERPC PDUs but had decryption of MAPI enabled we would try to read too much data from the tvbuff and ethereal would later dump core. svn path=/trunk/; revision=5673
2002-06-04Get rid of the "data_src" member of the "frame_data" structure; put itGuy Harris1-2/+2
in the "packet_info" structure instead, as we don't need a pointer for every single frame in the capture file, just for each frame for which we currently have an open "epan_dissect_t". svn path=/trunk/; revision=5614
2002-05-31Removed some trailing commas from various DCERPC dissectors.Tim Potter1-5/+4
svn path=/trunk/; revision=5604
2002-05-27Changed toplevel REF pointer dissection to create a subtree. Not creating a ↵Ronnie Sahlberg1-6/+6
subtree was a design mistake which caused ugliness in the unicode string str dissector and in other places. Dissectors will temporarily have less pretty output for topleve ref pointers until their output is retuned. svn path=/trunk/; revision=5573
2002-05-25Fix for bug when displaying selected item in hexpanel. 2 bytes too many wereRonnie Sahlberg1-2/+2
highlited. svn path=/trunk/; revision=5562
2002-05-25Throw in a cast to squelch a compiler complaint ("unsigned short" +Guy Harris1-2/+2
"int" constant becomes "int", and comparing that with "unsigned int" gives a "signed vs. unsigned comparison" warning, even though the "int" constant in question is positive). svn path=/trunk/; revision=5559
2002-05-25Some additional decoding of the decrypted MAPI PDU in opcode:2.Ronnie Sahlberg1-3/+66
Length byte and some sort of trailer identified. svn path=/trunk/; revision=5558
2002-05-25MAPI new option. New option to decrypt the MAPI opnum 2 payload.Ronnie Sahlberg1-12/+162
svn path=/trunk/; revision=5557
2002-05-23MAPI Logoff function fully decoded.Ronnie Sahlberg1-3/+27
Ha, if the other functions are as easy to figure out i will be a happy boy. svn path=/trunk/; revision=5533
2002-05-23Additions to the MAPI dissector. Function 02 for MAPI.Ronnie Sahlberg1-2/+146
The function request/call are dissected but the main body of the function in/out parameters consists of a unidimensional conformant and varying array of bytes which content is encrypted/obfuscated. Whoever can tell me how to decrypt/unobfuscate these bytes will get a case of VB next time in Sydney. svn path=/trunk/; revision=5532
2002-05-23Added stub for MS Exchange MAPI protocol.Ronnie Sahlberg1-0/+73
If anyone has a better name they are welcome to change it. Perhaps we can now remove the packet-mapi.c dissector. svn path=/trunk/; revision=5530