aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-mapi.c
Commit message (Collapse)AuthorAgeFilesLines
* A quantity dissected as 6 unknown bytes in a logon reply actuallyGuy Harris2003-05-101-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
* Use new format of dissect_ndr_cvstring() function.Tim Potter2003-02-101-4/+4
| | | | svn path=/trunk/; revision=7110
* Rename "dissect_ndr_char_string()" and "dissect_ndr_wchar_string()" toGuy Harris2003-02-071-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
* Fix a typo in the multiple-include protection in "packet-dcerpc-nt.h".Guy Harris2003-02-071-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
* Convert to new DCERPC string handling functions. There are still someTim Potter2003-02-031-6/+6
| | | | | | cosmetic bugs to work out though. svn path=/trunk/; revision=7069
* Panic if a preference starts with the name of the module to which itGuy Harris2003-01-281-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
* Convert dissector to callback based version of dissect_ndr_pointer().Tim Potter2003-01-281-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
* Arguments to hash routines are gconstpointer's; assign them to constGuy Harris2002-11-281-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
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-28/+28
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Change each DCERPC dissector to pass in a hf value on initialisationTim Potter2002-06-241-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
* Fixed bug in MAPIRonnie Sahlberg2002-06-151-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
* Get rid of the "data_src" member of the "frame_data" structure; put itGuy Harris2002-06-041-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
* Removed some trailing commas from various DCERPC dissectors.Tim Potter2002-05-311-5/+4
| | | | svn path=/trunk/; revision=5604
* Changed toplevel REF pointer dissection to create a subtree. Not creating a ↵Ronnie Sahlberg2002-05-271-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
* Fix for bug when displaying selected item in hexpanel. 2 bytes too many wereRonnie Sahlberg2002-05-251-2/+2
| | | | | | highlited. svn path=/trunk/; revision=5562
* Throw in a cast to squelch a compiler complaint ("unsigned short" +Guy Harris2002-05-251-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
* Some additional decoding of the decrypted MAPI PDU in opcode:2.Ronnie Sahlberg2002-05-251-3/+66
| | | | | | Length byte and some sort of trailer identified. svn path=/trunk/; revision=5558
* MAPI new option. New option to decrypt the MAPI opnum 2 payload.Ronnie Sahlberg2002-05-251-12/+162
| | | | svn path=/trunk/; revision=5557
* MAPI Logoff function fully decoded.Ronnie Sahlberg2002-05-231-3/+27
| | | | | | | Ha, if the other functions are as easy to figure out i will be a happy boy. svn path=/trunk/; revision=5533
* Additions to the MAPI dissector. Function 02 for MAPI.Ronnie Sahlberg2002-05-231-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
* Added stub for MS Exchange MAPI protocol.Ronnie Sahlberg2002-05-231-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