Commit graph

7501 commits

Author SHA1 Message Date
Guy Harris
6f8439dc1b You can't put an FT_FRAMENUM into the tree with a length of -1, so, for
a retransmitted SPX frame, just put the number of the original frame in
as an item not referring to any data (offset and length of 0), and, if
there is any remaining data, put it into the tree as a separate item.

svn path=/trunk/; revision=7440
2003-04-12 05:36:10 +00:00
Guy Harris
30859b1802 From Jeff Morriss: rather than re-initializing the Info column with each
PDU, just append the message type acronym to the column, so you can see
the message types for all the messages in the frame.

svn path=/trunk/; revision=7439
2003-04-11 20:19:45 +00:00
Guy Harris
1bba417d59 From Jeff Morriss: add support for the Chinese ITU variant of SS7.
svn path=/trunk/; revision=7438
2003-04-10 18:52:15 +00:00
Guy Harris
237fd12777 From Anders Broman: decode ISUP element User service info as Q.931
Bearer capability.

svn path=/trunk/; revision=7437
2003-04-10 18:40:38 +00:00
Ronnie Sahlberg
1294318b4d The NT Security Descriptor revision field is only one byte, not two.
Make the dissector decode the first two bytes of the security descriptor as
one byte for the revision and the second byte as nothing/should be zero.

svn path=/trunk/; revision=7436
2003-04-10 08:41:58 +00:00
Tim Potter
8d78af7453 Some COL_INFO goodies for SpoolssWritePrinter.
svn path=/trunk/; revision=7435
2003-04-10 05:38:43 +00:00
Guy Harris
dab0d3a7e9 From David Frascone: use a string constant rather than a global variable
for the full name of the Diameter protocol.

svn path=/trunk/; revision=7434
2003-04-10 01:30:34 +00:00
Guy Harris
5311e02789 Make the individual flag bits in the Connection Control field of the SPX
header be filterable fields.

Don't hand retransmitted SPX frames to subdissectors - just show the
payload as a retransmission of the original frame.

Instead of handing a retransmission indicator to SPX subdissectors, hand
them a structure containing the datastream type (under the assumption
that it's data for the protocol running atop SPX, and that the dissector
for that protocol might use it) and the state of the end-of-message bit
(under the assumption that it's data for the protocol running atop SPX).

svn path=/trunk/; revision=7433
2003-04-09 22:33:19 +00:00
Guy Harris
0cb78e6508 Instead of using passing the SPX hash value to subdissectors, attach to
frames that are retransmissions a data structure containing the frame
number of the original frame, and pass that to subdissectors (or, if not
present, pass NULL).

That means we can free the hash values when we're done with the first
pass through the packets.

svn path=/trunk/; revision=7432
2003-04-09 20:45:04 +00:00
Gerald Combs
2abb403b4e Update for NSIS 2.0
svn path=/trunk/; revision=7431
2003-04-09 18:58:37 +00:00
Guy Harris
4727ca154d Squelch a compiler warning - the problem "should not happen", as a
WriteAndX request should have a full complement of word parameters, but,
just in cast it doesn't....

(Should we somehow arrange to throw an exception if there aren't enough
word or byte parameters in SMBs, i.e. impose a minimum in some cases?)

svn path=/trunk/; revision=7430
2003-04-09 18:35:27 +00:00
Guy Harris
d53c3b80c4 From Tom Uijldert: properly decode the packet sequence number in WTP
Negative Ack packets.

svn path=/trunk/; revision=7429
2003-04-09 18:15:53 +00:00
Ronnie Sahlberg
d1b5e90a50 Update to WriteAndX request decoding so it can handle the pipe bits properly.
If both mode bits  MessageStart and WriteRaw are set, then the first two bytes of the byte-field is the total length of the data written to the pipe.

svn path=/trunk/; revision=7428
2003-04-09 09:35:57 +00:00
Ronnie Sahlberg
90a6dc4ea0 Added new field reassembled_in to the fragment data structure.
This field gets set to the frame number when this pdu was first completely reassembled.

This is useful since it will allow us to do reassembly properly in say packet-ip.c
instead of printing the full pdu for every fragment and thus making NFSoverUDP  rpc-rtt statistics less than useful.

A dissector using fragment_add() can tehn choose to only dissect the reassembled PDU only for the frame where it was first reassembled.

svn path=/trunk/; revision=7427
2003-04-09 09:04:08 +00:00
Guy Harris
9be967086f Fix some spelling/punctuation/capitalization/etc. errors.
svn path=/trunk/; revision=7426
2003-04-09 08:51:18 +00:00
Guy Harris
9442f5bc7d Don't create a protocol tree or do anything to the columns before
calling "tcp_dissect_pdus()", so that if we don't have the final segment
of a multi-segment packet, we don't change the columns or put in an
empty protocol tree item for NDPS.

Rename "ndps.desegment_ndps" to "ndps.desegment_tcp" - the "ndps." is
sufficient to indicate that it's for desegmenting NDPS, but we now have
a flag for desegmenting NDPS-over-SPX, so we should indicate that the
other flag is for desegmenting NDPS-over-TCP.

svn path=/trunk/; revision=7425
2003-04-09 08:43:53 +00:00
Guy Harris
de205c4a3a Clean up the handling of the completion code.
svn path=/trunk/; revision=7424
2003-04-09 08:36:54 +00:00
Guy Harris
d3daad1bec Add "proto_tree_add_none_format()" to the set of functions exported to
plugins.

svn path=/trunk/; revision=7423
2003-04-08 17:20:05 +00:00
Jörg Mayer
a7cd846b47 make-manuf:
Sometimes printed a \n too much
manuf.tmpl:
	Remove most manual Mappings to Cisco because that's what gets used
	anyway (all except Racal and Newpoint)
manuf:
	Update to represent changes in make-manuf, manuf.tmpl and IEEE

svn path=/trunk/; revision=7422
2003-04-08 16:41:59 +00:00
Guy Harris
3cbd0466f6 When dissecting a reply, don't put the frame number of the corresponding
request into the protocol tree if we haven't seen the request.

svn path=/trunk/; revision=7421
2003-04-08 03:00:32 +00:00
Guy Harris
28b442512f "ndps_req_hash_cleanup()" doesn't need to do anything (the data
structure it frees has no pointers to anything), so eliminate it.

The XID argument to "dissect_ndps_request()" isn't used, so eliminate
it.

svn path=/trunk/; revision=7420
2003-04-08 02:45:05 +00:00
Guy Harris
2bae84302d Get rid of unused "ddp_dissector_table" variable.
For replies, correctly put the frame number of the corresponding request
into the protocol tree; don't put it in as if it were the XID.  That
means we don't need to pass the XID as an argument to
"dissect_ndps_reply()".

svn path=/trunk/; revision=7419
2003-04-08 02:35:12 +00:00
Guy Harris
072e149f3c Move the definition of the structure constructed for each SPX
transmission (and shared by all retransmissions), and passed to SPX
subdissectors, to "packet-ipx.h", and use the same structure in the SPX
dissector and the NDPS dissector.

Set up conversations and those structures without checking whether we've
seen the packet before or not; just check whether we find the
conversation before creating a new one, and check whether we find a
structure for the packet before creating a new one.  Pass it to the
subdissector regardless of whether we've seen the packet before or not,
and check it in the NDPS dissector regardless of whether we've seen it
before or not.

Don't store a "retransmission" flag in the structure - the initial
transmission and the retransmissions all share a single data structure,
but they don't all have the same value for the "retransmission" flag,
and you can tell whether a packet is a retransmission or not by
comparing its frame number with the frame number from the structure; if
they're different, it's a retransmission.

svn path=/trunk/; revision=7418
2003-04-08 02:00:54 +00:00
Guy Harris
2d61e4ca47 From Greg Morris: update the introductory comment, add defragmentation
support, fix various bugs, and finish up the NDPS decodes.

svn path=/trunk/; revision=7417
2003-04-08 00:56:17 +00:00
Guy Harris
b010dc03a3 From Greg Morris: update the introductory comment, fix the handling
of the completion code, and tweak the description of continuation
fragments.

svn path=/trunk/; revision=7416
2003-04-08 00:46:15 +00:00
Guy Harris
d2ff6ef5b8 From Greg Morris: update the introductory comment.
svn path=/trunk/; revision=7415
2003-04-08 00:40:37 +00:00
Guy Harris
8f3dc97d59 From Greg Morris: update the introductory comment, and flag SPX
retransmissions in the Info column.

svn path=/trunk/; revision=7414
2003-04-08 00:39:27 +00:00
Guy Harris
3eb3505b06 From Greg Morris: update the introductory comment.
svn path=/trunk/; revision=7413
2003-04-08 00:22:26 +00:00
Guy Harris
d8b9b01ad4 From Greg Morris: level 2 oplock support, add additional error codes,
fix the "Delete a File or Subdirectory" item.

svn path=/trunk/; revision=7412
2003-04-08 00:07:01 +00:00
Guy Harris
daa67ae37c Update to reflect the fact that you *HAVE* to have a Windows version of
Flex in order to build Ethereal, as the UNIX version generates files
that unconditionally include <unistd.h> and thus don't build on Windows.

svn path=/trunk/; revision=7411
2003-04-07 22:39:25 +00:00
Guy Harris
43142cb77b Get rid of the other Flex output files, so that they get rebuilt on
Windows.

svn path=/trunk/; revision=7410
2003-04-07 18:43:03 +00:00
Guy Harris
7cf778fe23 Choosing the lower-numbered socket in an IPX packet as the first one to
try as a port number doesn't always give the right answer, as you might
have a name query packet from an SMB-over-IPX server, meaning it's from
IPX_SOCKET_NWLINK_SMB_SERVER to IPX_SOCKET_NWLINK_SMB_NAMEQUERY, and,
unfortunately, IPX_SOCKET_NWLINK_SMB_SERVER is less than
IPX_SOCKET_NWLINK_SMB_NAMEQUERY and it'll now be dissected as an SMB
packet rather than an NMPI name query packet.

So if the higher-numbered socket is IPX_SOCKET_NWLINK_SMB_NAMEQUERY, we
just try that, we don't try the other port.

svn path=/trunk/; revision=7409
2003-04-06 22:50:00 +00:00
Guy Harris
d9cc10f2f5 From emre: add a "Filter out this stream" button to the "Follow TCP
Stream" window, which adds "and !(<filter for the stream>)" to the
display filter in effect before the stream was followed, removing that
stream from the display.

svn path=/trunk/; revision=7408
2003-04-06 22:41:34 +00:00
Guy Harris
6974083659 Add a dissector for the IPX WAN protocol. "IPX WAN 2" is just some
compatible additions to the RFC 1362 IPX WAN protocol, so call it "IPX
WAN", not "IPX WAN 2".

svn path=/trunk/; revision=7407
2003-04-06 02:32:38 +00:00
Guy Harris
d43f615b9f We use nothing from "nlpid.h", so we don't need to include it.
svn path=/trunk/; revision=7406
2003-04-06 02:31:35 +00:00
Guy Harris
37de5150f2 Separate the scan for the BGP header from the scan through the BGP
packets, and mark any stuff before the first BGP header as continuation
data.

Make the main loop for dissecting the BGP packets similar to the loop in
"tcp_dissect_pdus()" (if "tcp_dissect_pdus()" took a starting offset as
an argument, we could use it), so that it handles a BGP header split
between TCP segments.

svn path=/trunk/; revision=7405
2003-04-05 11:20:54 +00:00
Guy Harris
df476f915e Clean up white space.
Don't include "packet-smb-common.h", as there's nothing in it we use.

svn path=/trunk/; revision=7404
2003-04-03 23:51:31 +00:00
Guy Harris
be0dfb63e0 Add some additional fields to SMB-over-IPX dissection, as per what
NetMon 2.x does.

svn path=/trunk/; revision=7403
2003-04-03 22:58:54 +00:00
Guy Harris
61a448bb25 Add support for SMB-over-IPX.
svn path=/trunk/; revision=7402
2003-04-03 09:12:46 +00:00
Tim Potter
795926735d When dissecting specific rights, pass a name string down so the
proto item says "foo specific rights" instead of just "specific
rights".

svn path=/trunk/; revision=7401
2003-04-03 05:43:59 +00:00
Guy Harris
dea1bf4adb From Laurent Rabret: add support for Multi Topology Reachable IPv4
Prefixes and Multi Topology Reachable IPv6 Prefixes from
draft-ietf-isis-wg-multi-topology-06.

svn path=/trunk/; revision=7400
2003-04-03 05:22:11 +00:00
Tim Potter
efa0460d9c Add an extra argument to get_unicode_string() to optionally
pass back string data.

Start adding some COL_INFO tidbits for NETLOGON PDC query and PDC
query response.

svn path=/trunk/; revision=7399
2003-04-03 02:57:48 +00:00
Tim Potter
dd038966d7 Add an extra argument to get_ms_string() so we can optionally pass
back the value of the string to the caller.

svn path=/trunk/; revision=7398
2003-04-03 02:22:30 +00:00
Guy Harris
7e4d87a0d0 Add a new README.developer file for wiretap; it's currently just some
stuff I sent out in a mail message to somebody asking how to add support
for a new file format, but hopefully it'll get improved by various
contributors over time (hint hint).

svn path=/trunk/; revision=7397
2003-04-02 20:21:45 +00:00
Guy Harris
6fb130ea56 We don't use snprintf, so we don't need to include snprintf.h.
svn path=/trunk/; revision=7396
2003-04-02 08:36:42 +00:00
Guy Harris
2e82b12e7c "proto_tree_add_text()" takes printf-style arguments; there's no need to
use snprintf to format a string into a buffer and then supply that
string to "proto_tree_add_text()".

svn path=/trunk/; revision=7395
2003-04-02 08:31:37 +00:00
Guy Harris
56fdae2082 Add support for WAN Hello packets.
svn path=/trunk/; revision=7394
2003-04-02 08:13:35 +00:00
Guy Harris
48ca17c7c5 From Eric Perie: update to the name for EAP type 15, and some additional
EAP types.

svn path=/trunk/; revision=7393
2003-04-01 19:17:55 +00:00
Guy Harris
cedc0334ec From Solomon Peachy: add support for the latest stuff defined in the
draft 7.1 of 802.11g, plus a few response codes defined in 802.11b.

svn path=/trunk/; revision=7392
2003-04-01 19:05:55 +00:00
Guy Harris
5ac18513a7 From Mike Frisch: NFS_ACL support.
svn path=/trunk/; revision=7391
2003-04-01 04:38:05 +00:00