aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-sidsnooping.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-18From beroset:Anders Broman1-12/+12
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48399
2013-02-07Use proto_registrar_get_id_byname() instead of proto_registrar_get_byname();Bill Meier1-40/+14
The code is slightly cleaner and the use of proto_registrar_get_id_byname() enables an additional checkhf test to reduce false positives. Also: comment out 2 unused hf_... vars in packet-smb-sidsnooping.c (found by checkhf) svn path=/trunk/; revision=47541
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2010-01-22Fix some gcc -Wshadow warningsBill Meier1-5/+5
svn path=/trunk/; revision=31623
2009-12-30From babi via bug 4352:Stig Bjørlykke1-0/+2
* wslua doesnt null-terminate a char array properly after one strncpy call * packet-smb-sidsnooping (disabled now but someone might enable it again) has a potential overflow crash (i think?) svn path=/trunk/; revision=31392
2009-10-25From Jakub Zawadzki:Anders Broman1-2/+1
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 svn path=/trunk/; revision=30691
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=29499
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris1-2/+8
a protocol tree; the column values. This includes stats-tree listeners. Have the routines to build the packet list, and to retap packets, honor those requirements. This means that cf_retap_packets() no longer needs an argument to specify whether to construct the column values or not, so get rid of that argument. This also means that there's no need for a tap to have a fake filter to ensure that the protocol tree will be built, so don't set up a fake "frame" filter. While we're at it, clean up some cases where "no filter" was represented as a null string rather than a null pointer. Have a routine to return an indication of the number of tap listeners with filters; use that rather than the global num_tap_filters. Clean up some indentation and some gboolean vs. gint items. svn path=/trunk/; revision=28645
2009-03-29More size_t casts.Anders Broman1-1/+1
svn path=/trunk/; revision=27887
2008-06-27Fix some checkAPIs warnings.Gerald Combs1-8/+4
svn path=/trunk/; revision=25617
2008-03-01Rewrote to use g_strlcpy and g_strlcat.Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=24525
2007-08-28rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_nameRonnie Sahlberg1-1/+1
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-07-09disabling sid snooping in the codeRonnie Sahlberg1-5/+13
this module was never really finished and was therefore semi-useless. disabled now since the change to samr broke it and the real fix to unbreak it would be a substantial rewrite of it (and adding a nice gui so one can see which sids are mapped...) disabled it but did not remove it since i do think the module is useful IF it is completed with a lot more operations. svn path=/trunk/; revision=22271
2007-01-18Add separate union entries to fvalue.value for signed and unsignedMartin Mathieson1-3/+3
32-bit numbers. Separate signed and unsigned accessors have been added and used where appropriate. Definitely not for 0.99.5. svn path=/trunk/; revision=20472
2006-05-31Tethereal/tethereal -> TShark/tshark.Gerald Combs1-2/+2
svn path=/trunk/; revision=18268
2006-05-28Ethereal->WiresharkAnders Broman1-2/+2
svn path=/trunk/; revision=18234
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-01-16done:Jörg Mayer1-2/+1
packet-ntp.c: Rather confused and incorrect use of g_snprintf return value packet-pim.c: whitespace change packet-icmpv6.c: g_snprintf takes trailing \0 into account, fix off by 1 error packet-clnp.c: Fix incorrect use of g_snprintf return value packet-isakmp.c: g_snprintf takes trailing \0 into account packet-tr.c: Fix incorrect use of g_snprintf return value packet-radius.c: Fix incorrect use of g_snprintf return value packet-radius.h: constify a string variable packet-ldap.c: The return value isn't needed, so don't use it incorrectly packet-tcp.c: Fix incorrect use of g_snprintf return value packet-windows-common.c: Remove unneeded DISSECTOR_ASSERT packet-smb-sidsnooping.c: g_snprintf takes trailing \0 into account packet-pvfs2.c: g_snprintf takes trailing \0 into account packet-ptp.c: Remove #include snprintf packet-ppp.c: Fix incorrect use of g_snprintf return value packet-ospf.c: Fix incorrect use of g_snprintf return value packet-mip6.c: snprintf -> g_snprintf packet-bootp.c: Remove a commented out bad use of g_snprintf packet-ber.c: snprintf -> g_snprintf, g_snprintf takes trailing \0 into account 2do: 52 packet-ieee80211.c: 2DO 2 packet-nfs.c: 2DO - too many side effects 33 packet-bgp.c: 2DO 18 packet-dns.c: 2DO 14 packet-dcm.c: 2DO 13 packet-x11.c: 2DO 11 packet-kerberos.c: 2DO 10 packet-diameter.c: 2DO 9 packet-snmp.c: 2DO 9 packet-pgm.c: 2DO 7 packet-nbns.c: 2DO 6 packet-fcswils.c: 2DO 5 packet-wccp.c: 2DO 5 packet-cops.c: 2DO 4 packet-wtp.c: 2DO svn path=/trunk/; revision=17038
2005-09-17Move some headers for stuff defined by a dissector into epan/dissectorsGuy Harris1-1/+1
- and rename smb.h to packet-smb.h, as it's packet-smb.c's header file. svn path=/trunk/; revision=15845
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-08-27sprintf removalRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=15554
2005-08-13some more gmemchunk -> se_alloc() updatesRonnie Sahlberg1-23/+3
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-01-01Make the signatures of functions passed to "register_tap_listener()"Guy Harris1-13/+12
match what "register_tap_listener()" expects (rather than squelching warnings about the differences by casting function pointers to "void *"). Make static some functions not used outside the module in which they're defined. svn path=/trunk/; revision=12913
2005-01-01As we've made the tap_specific_data field of a tap_packet_t structure aGuy Harris1-3/+3
const pointer (so that we don't get complaints when we make the tap-specific data argument to "tap_queue_packet()" a const pointer, allowing dissectors to hand const data to a tap without a complaint), we should make the tap per-packet function take a const pointer as an argument as well. Do so. In some taps, use _U_, or actually use the argument, rather than sticking in dummy "X = X" assignments to fake use of parameters. (This means that the tap functions in question no longer have the notion that they act on a particular static structure wired in.) svn path=/trunk/; revision=12910
2004-12-25a lot of warnings removed, most of them about pointer to int casts without ↵Ulf Lamping1-7/+7
using the appropriate GLib macros svn path=/trunk/; revision=12832
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12128
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+457
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