Commit Graph

22 Commits

Author SHA1 Message Date
Ronnie Sahlberg d399fc0a1f fixup SMB2 header and decode async commands correctly
svn path=/trunk/; revision=24321
2008-02-14 02:36:43 +00:00
Jörg Mayer 21adfc3029 Trivial warning fixes:
opcua: warning: function declaration isn't a prototype
rest: comma at end of enumerator

svn path=/trunk/; revision=21885
2007-05-22 13:17:24 +00:00
Ronnie Sahlberg 827df92fb1 add dissection of the end_of_chain bit in the header flags
svn path=/trunk/; revision=21794
2007-05-15 20:33:44 +00:00
Ronnie Sahlberg 9498ad3a2d from metze
patch to find and enhancement of extra_info handling


svn path=/trunk/; revision=21793
2007-05-15 20:13:30 +00:00
Ronnie Sahlberg 0eae1cc0bd add dissection of smb1 ioctl data by tying it into the dissectors for
ioctl data that already exists for smb2


svn path=/trunk/; revision=21713
2007-05-07 09:07:29 +00:00
Ronnie Sahlberg 34afdc5fc3 change the smb2 ioctl function to take a pointer to a uint32 (ioctl
function code) instead of a structure

extend the nt trans structure to contain a ioctl function code for smb1


svn path=/trunk/; revision=21712
2007-05-07 08:11:59 +00:00
Ronnie Sahlberg bda722d3bf remove the ioctl function and table from the smb dissector and just use
the one in smb2 instead since the smb2 one is more developed.


svn path=/trunk/; revision=21711
2007-05-07 07:41:35 +00:00
Gerald Combs f7e38bd5e6 Change ETH_VAR_IMPORT to WS_VAR_IMPORT. Try to fix a duplicate variable
definition in the Catapult DCT2000 code.

svn path=/trunk/; revision=18524
2006-06-20 18:30:54 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Ronnie Sahlberg fb2cf0df34 from metze
dissect smb2 break responses   used by a server to break an oplock


these unsolicited responses are sent with a commandseqnum of -1   so mark these in the header as unsolicited as well



svn path=/trunk/; revision=17820
2006-04-05 21:38:41 +00:00
Ronnie Sahlberg 3cb23ec4f8 smb2 signing
add dissection of the "Signature present" bit
and the 16 byte signature field in the header


svn path=/trunk/; revision=17206
2006-02-07 21:30:21 +00:00
Ronnie Sahlberg dd2f806e15 handmerged patch from metze it conflicted with recent P bit patch i checked in
svn path=/trunk/; revision=17202
2006-02-07 12:01:34 +00:00
Ronnie Sahlberg 5036c5cc54 add dissection of the P (PID Valid) bit in the header
If the P bit is NOT set, then flag the PID field as "(not valid)"
Sicne the TID might be undefined/0 in the response to a "pending" read
we cant use that solely to determine if a read was for a named/pipe (==dcerpc)
Assume that only NamedPipe reads can be STATUS_PENDING and thus have the P bit set and assume it IS dcerpc if the P bit is set.




svn path=/trunk/; revision=17197
2006-02-07 09:28:02 +00:00
Ronnie Sahlberg cec07db2da from metze
update to tid and uid tracking


svn path=/trunk/; revision=16893
2005-12-24 10:10:04 +00:00
Ronnie Sahlberg adb796abc6 tap the ntlmssp protocol and extract the account/domain names when users authenticate.
If known   put the account name, domain name, host name and which frame the suer authenticated in in an expansion below UID in the SMB2 header




svn path=/trunk/; revision=16723
2005-12-07 13:14:09 +00:00
Ronnie Sahlberg 7e5f31b6a0 updates for FILE_OBJECTID_BUFFER and have smb call this (no more unknown bytes in smb for objectid)
svn path=/trunk/; revision=16682
2005-12-05 21:22:06 +00:00
Ronnie Sahlberg ced869a426 move the ioctl function code to the si structure so we can switch on this later in the ioctl_data dissector
svn path=/trunk/; revision=16634
2005-12-01 09:42:39 +00:00
Ronnie Sahlberg 728323e533 add initial decode of dcerpc over smb2
it does not yet multiplex between different files   but it is better than nothing


svn path=/trunk/; revision=16484
2005-11-12 08:48:02 +00:00
Ronnie Sahlberg bc6cb5d6ad in order to handle dcerpc over smb2 later and to make the heuristics stronger for determining what might and what might not be a pipe
add   TID tracking.   for all TreeConnect requests/resposnes seen,   store the name->tid mapping and other metadata.


as a freebee    the disswection of the tid in the ehader is aware of this table so when a tid value is dissected in the header and we known the name for this tid   then put it in an expansion below the tid.




svn path=/trunk/; revision=16483
2005-11-12 07:45:01 +00:00
Ronnie Sahlberg 9ca683a249 start separating things out into structures
we can regenerate from the header
we need to remember between request/response
we need on a per conersation bases

to reduce the amount of data we store in the per req/resp  pair  since there will be many of them and we want that struct as small as possible.




svn path=/trunk/; revision=16482
2005-11-12 04:23:52 +00:00
Jörg Mayer 66df615702 Propset svn:...
svn path=/trunk/; revision=16478
2005-11-12 00:25:27 +00:00
Ronnie Sahlberg 078ef72ee4 break out some structures into packet-smb2.h so we can start tapping in later
we will do service-response-time   statistics before other inferior products have even noticed a new protocol is in town.




svn path=/trunk/; revision=16463
2005-11-11 03:50:53 +00:00