diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-09-28 22:43:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-09-28 22:43:57 +0000 |
commit | 44e672ab42e83bf7f1d1926f5e2461e91ec138d2 (patch) | |
tree | 11d3008e5fb57bae3b1ed856e05791447cfffecc /packet-netbios.h | |
parent | 434a3ded4cdd018188b3d307d9f056d525d2e22b (diff) |
From Todd Sabin: dissect the auth info in connection oriented dcerpc
packets.
Make a "dissect_netbios_payload()" routine, called from the
NetBIOS-over-802.2 (NBF), NetBIOS-over-IPX, and NetBIOS-over-TCP
dissectors. Take Todd Sabin's changes to add a heuristic dissector list
to the NBSS dissector, and apply them to "dissect_netbios_payload()"
instead. Make the SMB dissector heuristic, returning FALSE if it
doesn't see 0xFF S M B at the beginning of the packet, and have
"dissect_netbios_payload()" first try the heuristic dissector list, then
try the SMB dissector if no other heuristic dissector claims the packet,
then just dissect the payload as data.
From Todd Sabin: have the DCE/RPC dissector register as a heuristic
dissector for NetBIOS.
svn path=/trunk/; revision=3969
Diffstat (limited to 'packet-netbios.h')
-rw-r--r-- | packet-netbios.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-netbios.h b/packet-netbios.h index cfa903e0b5..a617f488ae 100644 --- a/packet-netbios.h +++ b/packet-netbios.h @@ -5,12 +5,11 @@ * * derived from the packet-nbns.c * - * $Id: packet-netbios.h,v 1.9 2001/01/15 04:39:28 guy Exp $ + * $Id: packet-netbios.h,v 1.10 2001/09/28 22:43:56 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs <gerald@zing.org> + * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs - * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -41,5 +40,7 @@ extern int get_netbios_name(tvbuff_t *tvb, int offset, extern char *netbios_name_type_descr(int name_type); extern void netbios_add_name( char* label, tvbuff_t *tvb, int offset, proto_tree *tree); +extern void dissect_netbios_payload(tvbuff_t *tvb, int offset, + packet_info *pinfo, proto_tree *tree, int max_data); #endif |