aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-common.h
AgeCommit message (Collapse)AuthorFilesLines
2003-05-21Change the interface to dissect_nt_sid so that we can provide a hf field to useRonnie Sahlberg1-2/+2
to describe the sid instead of the default smb.sid one svn path=/trunk/; revision=7708
2003-05-15More work on dissecting generic and standard mappings for NT access masks.Tim Potter1-2/+24
svn path=/trunk/; revision=7668
2003-05-09Move the ntlmv2 response dissection out of packet-ntlmssp.c and in toTim Potter1-1/+17
packet-smb-common.c so it can be used elsewhere. Dissect a ntlmv2 response in a session setup SMB if detected. svn path=/trunk/; revision=7655
2003-04-28Move the specific rights dissection function and name into a structureTim Potter1-5/+10
instead of passing them around as separate parameters. This is a prelude to adding generic and standard mapping to the access mask dissection. svn path=/trunk/; revision=7591
2003-04-03When dissecting specific rights, pass a name string down so theTim Potter1-3/+5
proto item says "foo specific rights" instead of just "specific rights". svn path=/trunk/; revision=7401
2003-04-03Add an extra argument to get_unicode_string() to optionallyTim Potter1-2/+2
pass back string data. Start adding some COL_INFO tidbits for NETLOGON PDC query and PDC query response. svn path=/trunk/; revision=7399
2003-04-03Add an extra argument to get_ms_string() so we can optionally passTim Potter1-2/+2
back the value of the string to the caller. svn path=/trunk/; revision=7398
2003-02-07Move dissect_nt_access_mask() from packet-dcerpc-nt.c to packet-smb.cTim Potter1-2/+12
Give dissect_nt_sec_desc() and dissect_nt_access_mask() a specific rights function parameter for dissecting specific access rights. Fix callers in packet-smb.c to use the new interface. svn path=/trunk/; revision=7086
2003-01-31Modify dissect_nt_sid() function to return a string version of the SID.Tim Potter1-2/+3
Fix all callers to use the new function form. svn path=/trunk/; revision=7054
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-10From Devin Heitmueller: dissect NTLMSSP authentication messages, and handleGuy Harris1-1/+5
the flags field in NTLMSSP messages as a 32-bit field. Make "get_unicode_or_ascii_string()" take a "Unicode or not" flag rather than a "packet_info *" as an argument, make it not static, and move it to "packet-smb-common.c", so that it can be used by the SMB dissector and the NTLMSSP dissector. Also get rid of some _U_'s that are applied to arguments that are, in fact, used. svn path=/trunk/; revision=5976
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-9/+1
equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
2002-05-24Move the value_string table for the share type values toGuy Harris1-1/+3
"packet-smb-common.c", and use it in "packet-dcerpc-srvsvc". svn path=/trunk/; revision=5545
2002-04-30From Joerg Mayer: get rid of unused "pinfo" argument toGuy Harris1-2/+2
"dissect_nt_sec_desc()". Also, get rid of code to handle lengths of -1 in "dissect_nt_sec_desc()" - we never pass it a length of -1, as security descriptors aren't sent over the wire with NDR syntax. svn path=/trunk/; revision=5317
2002-04-30Get rid of some unused arguments, and mark some others as unused.Guy Harris1-6/+5
Remove the declaration of "dissect_nt_sid()" from "packet-dcerpc-samr.c"; get it by including "packet-smb-common.h", instead. svn path=/trunk/; revision=5313
2002-02-21Export dissect_nt_sec_desc() so it can be used by other dissectors.Tim Potter1-1/+4
A NT security descriptor can be either revision 1 or 2 and seem to be the same format on the wire. svn path=/trunk/; revision=4768
2002-01-28Add support for dissecting NT FILETIME time stamp values.Guy Harris1-2/+2
Get rid of a level of hierarchy in some SMB field names. svn path=/trunk/; revision=4613
2002-01-25In the "Announce change to UAS or SAM" NETLOGON message, dissect theGuy Harris1-2/+4
"Large Serial Number" as a 64-bit little-endian integer, and dissect the "NT Date/Time" as a FILETIME by calling "dissect_smb_64bit_time()". Export "dissect_smb_64bit_time()" so that we can do so. svn path=/trunk/; revision=4609
2002-01-25From Tim Potter: NT SID dissection.Guy Harris1-1/+3
Don't label the SID in an ACE as an "NT SID SID", label it as an "NT ACE SID". svn path=/trunk/; revision=4607
2002-01-21Include files from the "epan" directory and subdirectories thereof withGuy Harris1-3/+3
"epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4586
2001-07-08Tvbuffified SMB NETLOGON dissector, from Ronnie Sahlberg.Guy Harris1-35/+6
Fixed up some longstanding bugs (predating the tvbuffification) discovered during regression testing of the tvbuffification. svn path=/trunk/; revision=3661
2000-08-11Miscellaneous code cleaningLaurent Deniel1-1/+6
- add <stdarg.h> or <varargs.h> in snprintf.h and remove those inclusions in the other #ifdef NEED_SNPRINTF_H codes - remove the check of multiple inclusions in source (.c) code (there is a bit loss of _cpp_ performance, but I prefer the gain of code reading and maintenance; and nowadays, disk caches and VM are correctly optimized ;-). - protect all (well almost) header files against multiple inclusions - add header (i.e. GPL license) in some include files - reorganize a bit the way header files are included: First: #include <system_include_files> #include <external_package_include_files (e.g. gtk, glib etc.)> Then #include "ethereal_include_files" with the correct HAVE_XXX or NEED_XXX protections. - add some HAVE_XXX checks before including some system header files - add the same HAVE_XXX in wiretap as in ethereal Please forgive me, if I break something (I've only compiled and regression tested on Linux). svn path=/trunk/; revision=2254
2000-05-11Add tvbuff class.Gilbert Ramirez1-3/+3
Add exceptions routines. Convert proto_tree_add_*() routines to require tvbuff_t* argument. Convert all dissectors to pass NULL argument ("NullTVB" macro == NULL) as the tvbuff_t* argument to proto_tree_add_*() routines. dissect_packet() creates a tvbuff_t, wraps the next dissect call in a TRY block, will print "Short Frame" on the proto_tree if a BoundsError exception is caught. The FDDI dissector is converted to use tvbuff's. svn path=/trunk/; revision=1939
2000-02-14Jeff Foster's SMB Mailslot and Netlogin dissectors; he splitGuy Harris1-0/+85
"packet-smb.c" up into several files. svn path=/trunk/; revision=1629