Ethereal-dev: [Ethereal-dev] smb-browse

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ronnie Sahlberg" <rsahlber@xxxxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 22:05:40 +1000
Hi list

Attached is a small diff which
a, tvbuffifies packet-smb-browse.c
b, adds searchable hf fields for every parameter

It compiles but have never been tested on any packets.
I would not be surprised if it would dump core when it sees any browse
packets.
You have been warned.

Unless someone beats me to it, I will create some captures tomorrow with
browse packets and test and debug the
dissector.

I tried to keep the functionality as close as possible to the original
dissector, but there is one exception:
I assume that every instance of a string for a ServerName is always exactly
16 characters (which might not
be 0 terminated). This is different from the original. I dont know by heart
which is correct, but
I have a distant recollection that computernames in smb protocols are always
16 characters.


best regards
    ronnie sahlberg

Attachment: smb_browse.diff
Description: Binary data