aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-nt.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-08From Chris Maynard <christopher.maynard@gtech.com> / Bug 1798: packet-d*.c ↵Richard van der Hoff1-20/+20
display filter fields incorrectly named. svn path=/trunk/; revision=23090
2007-08-28rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_nameRonnie Sahlberg1-18/+56
rename dcerpc_smb_fetch_pol to dcerpc_fetch_polhnd_data and also make it take an additional parameter to return the "type" of the policy handle, if such a type was stored. extend the pol_value structure used to track policy handles to also store a type to represent what created the policy handle types could be USER/ALIAS/CONNECT/... etc handles returned from the SAMR interface add a new helper function dcerpc_store_polhnd_type() track policy handles between request/responses for dcerpc update the samr.cnf file to make the samr dissectors for SetSecurity/QuerySecurity dissect the specific bits for the security descriptor correctly based on whether the policy handle refers to a CONNECT/DOMAIN/USER/ALIAS or GROUP svn path=/trunk/; revision=22703
2007-05-07when creating a policy handle, use the string stored in dcv if Ronnie Sahlberg1-4/+9
available as the name of the handle This means we can show policy handles like OpenKey(/a/b/c/d) instead of OpenKey(<...>) svn path=/trunk/; revision=21719
2007-03-11Fix bug 552:Jeff Morriss1-20/+20
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=552 by enforcing that header fields have names of length > 0. This should fix the display of those fields and also make them filterable (which was the subject of the bug). Abbreviations are (still) optional: if they are empty then the field is not filterable. Update README.developer with this information. Add header field names in several dissectors where they were missing. In packet-arp.c give "packet-storm-detected" a name (as above) but also set it as _GENERATED. Also remove trailing white space from all the files checked in. svn path=/trunk/; revision=21018
2007-02-21add a field in pinfo where dcerpc/pidl can store the name of the current ↵Ronnie Sahlberg1-1/+20
dcerpc procedure use this field in the policy handle helper to indicate not only which frames the handle was opened/close in but also the name of the function that opened it. eventually, when other pidl support infrastructure is developed it would be nice if this could be expanded to also contain the name of the object/handle opened. svn path=/trunk/; revision=20895
2007-02-20add a PIDL specific helper for managing dissection of policy handles.Ronnie Sahlberg1-0/+28
let this helper take a parameter to describe how the policy handle should be managed (is this an open, close ?) to improve policy handle tracking. (centralizing to a single function of code makes other changes easier) create defines to indicate OPEN/CLOSE and use them as a start/test in the winreg conformance file. svn path=/trunk/; revision=20872
2006-09-16strings we pass up to the caller through private_data are now of ep scopeRonnie Sahlberg1-3/+2
this closes a few memory leaks svn path=/trunk/; revision=19242
2006-08-16FT_STRING -> FT_GUIDUlf Lamping1-1/+1
svn path=/trunk/; revision=18931
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-4/+4
svn path=/trunk/; revision=18196
2006-03-19Turn the handle types into an enum, so that they're more likely to beGuy Harris1-3/+9
displayed by name in debuggers and so that switch statements can check whether all types are handled. Add a check for an unknown handle type, to squelch compiler warnings (and to catch missing handle type code at run-time, if new handle types are added). svn path=/trunk/; revision=17671
2006-03-07fix a potential assignment of a wild pointerRonnie Sahlberg1-1/+1
fixes coverity cid 128 svn path=/trunk/; revision=17511
2005-11-22Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=16561
2005-11-12 a guid is only 16 bytes so dont highlight 20 bytes in the hexpaneRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=16481
2005-11-11in smb2 the file handles are not normal context handles they are just a ↵Ronnie Sahlberg1-7/+59
guid make them a guid in smb2 dissector and make tim pottesr excellent conmtext handle tracking also able to do the same thing for GUIDs ( a context handle is just a 32 biut attribute field followed by a uuid anyway) svn path=/trunk/; revision=16477
2005-10-17In packet-dcerpc-nt.c, make sure we call init_pol_hash() each time we loadGerald Combs1-75/+75
a capture file. This should fix bug #536. Make sure we initialize our hash tables in packet-dcerpc-nt.c and several other files. Fix up whitespace while we're at it. svn path=/trunk/; revision=16255
2005-08-13some more gmemchunk -> se_alloc() updatesRonnie Sahlberg1-32/+5
there are only 5 gmemchunks left but they have different litetime for their allocations than the 100+ ones that have been removed. The remaining 5 should be converted some other way. svn path=/trunk/; revision=15328
2005-08-10convert some tvb_fake_unicode() to tvb_get_ephemeral_faked_unicode()Ronnie Sahlberg1-4/+2
svn path=/trunk/; revision=15272
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-1/+1
documentation in README.developer svn path=/trunk/; revision=15270
2005-08-02Fix more "no previous declaration" warningsJörg Mayer1-1/+1
svn path=/trunk/; revision=15169
2005-07-28ememify some more calls to tvb_get_string()Ronnie Sahlberg1-3/+1
this fixes an obvious memleak in ms-mms svn path=/trunk/; revision=15132
2005-07-26char -> const char warning fixesJörg Mayer1-2/+2
svn path=/trunk/; revision=15079
2005-06-26Get rid of the private "my_match_strval()" routine in many dissectors;Guy Harris1-1/+1
add a "match_strval_idx()" routine that does the same thing, and have "match_strval()" call it. Make those routines, and "val_to_str()", return a "const" pointer. Update dissectors as necessary to squelch compiler warnings produced by that. Use "val_to_str()" rather than using "match_strval()" and then, if the result is null, substituting a specific string. Clean up some other "match_strval()"/"val_to_str()" usages. Add a null pointer check in the NDPS dissector's "attribute_value()" routine, as it's not clear that "global_attribute_name" won't be null at that point. Make some global variables in the AFS4INT dissector local. Make some routines not used outside the module they're in static. Make some tables "static const". Clean up white space. Fix Gerald's address in some files. svn path=/trunk/; revision=14786
2005-02-16preparations for autogenerated ms dcerpc interfacesRonnie Sahlberg1-1/+54
make it possible to prettify SIDs and control how and where their string representation should be shown in the summary line and the tree similar to how counted_strings prettification can be controlled svn path=/trunk/; revision=13413
2005-02-16mark the frame opened/closed fields for policy handles as GENERATED fieldsRonnie Sahlberg1-5/+10
svn path=/trunk/; revision=13412
2005-02-01Move "dissect_nt_GUID()" into "packet-dcerpc-nt.c", as it's used by theGuy Harris1-0/+17
LSA dissector as well, and declare it in "packet-dcerpc-nt.h". svn path=/trunk/; revision=13223
2005-01-30add a new dissect_ndr_counted_ascii_string() that mimics ↵Ronnie Sahlberg1-0/+59
dissect_ndr_counted_string() but handles an ASCII string instead of a Unicode one. svn path=/trunk/; revision=13204
2005-01-30Byte arrays are byte arrays, not strings.Guy Harris1-1/+49
svn path=/trunk/; revision=13203
2005-01-30change dissect_ndr_counted_byte_array to be more consistent with ↵Ronnie Sahlberg1-2/+2
dissect_ndr_counted_string svn path=/trunk/; revision=13202
2004-08-03Move a bunch of stuff that's more Windows-related than SMB-related toGuy Harris1-4/+3
"packet-windows-common.[ch]". svn path=/trunk/; revision=11592
2004-08-02Don't drag in a huge pile of headers in "packet-smb-common.h"; rely onGuy Harris1-0/+2
the files including it to include what they need. svn path=/trunk/; revision=11588
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1509
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410