Commit graph

7432 commits

Author SHA1 Message Date
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
Guy Harris
cd55c9746a Add support for Level 1 Hello packets.
Fix a typo.

svn path=/trunk/; revision=7390
2003-03-31 23:38:37 +00:00
Guy Harris
47cdc34fcf Fix a typo.
svn path=/trunk/; revision=7389
2003-03-31 23:37:37 +00:00
Guy Harris
7ccb4234a0 The units, in non-whizzo-gigabit-pod captures, for hdr.timeunit = 2
aren't 1/1193000.0 second; the code used to use 1/1193180.0 second, but
at least one capture appears to have units of somewhere around
1/3579540.0 second.

svn path=/trunk/; revision=7388
2003-03-31 21:11:49 +00:00
Guy Harris
19616a2b5f Add dissector for NetWare Link Services Protocol.
Socket 0x9001 is for NLSP - it supports LANs as well as WANs, at least
as I read the specification.

Socket 0x9004 is for "IPX WAN 2".

svn path=/trunk/; revision=7387
2003-03-31 08:10:08 +00:00
Guy Harris
a2741eef20 Don't use hardwired offsets when dissecting the ISIS header - we're
already advancing "offset" through the header, so use it.

svn path=/trunk/; revision=7386
2003-03-31 08:09:28 +00:00
Guy Harris
c6e1b06161 Have separate subtree ett_ values for CLVs with LSP entries and for the
LSP entries themselves.

The length and structure of an LSP entry isn't fixed, it depends on the
ID length.

svn path=/trunk/; revision=7385
2003-03-31 07:44:09 +00:00
Guy Harris
f7b398f799 The "attached_string" doesn't apply to the attachments, so call it
"supported_string", instead, as it is used to indicate whether partition
repair is supported.

Fix a typo.

svn path=/trunk/; revision=7384
2003-03-31 07:37:23 +00:00
Guy Harris
60b0e61772 Do the same for dissect_ndr_char_cvstring.
svn path=/trunk/; revision=7383
2003-03-31 07:26:18 +00:00
Guy Harris
60e5f1b645 From Didier Gautheron: bug fix plus a new command decoded.
svn path=/trunk/; revision=7382
2003-03-30 22:14:06 +00:00
Guy Harris
a9965dd468 From Hannes Gredler:
- TLV 135 cleanup and support for subTLVs
	- a common IP Reach subTLV dissector which dissects
	    subTLV 1 & 2 [32 & 64 Bit Admin Tags as per
	    draft-ietf-isis-admin-tags-01.txt]
	- rework IPv6-related TLVs.

svn path=/trunk/; revision=7381
2003-03-30 22:10:13 +00:00
Guy Harris
86518e40f5 Ian Schorr discovered that, for gigabit pod captures, if hdr.timeunit is
2 the time stamps are in units of 1/31250000 seconds rather than
nanoseconds - and, by generating Windows Sniffer captures with various
hdr.timeunit values, that for all the non-zero values he tested, the
time stamps for non-gigabit pod captures are in units of 1/1193000
second.

Instead of having a TpS array, just test for the exception value (0 for
non-gigabit pod captures, 2 for gigabit pod captures).

svn path=/trunk/; revision=7380
2003-03-28 21:59:12 +00:00
Guy Harris
15fdb273f7 Use FT_FRAMENUM for the "Duplicate to the ACK in frame" and "This is an
ACK to the segment in frame" fields, so you can use the "Go To
Corresponding Frame" menu item.

svn path=/trunk/; revision=7379
2003-03-27 19:55:59 +00:00
Guy Harris
30dbf20866 From Laurent Rabret: fix bugs in ISIS LSP analyses, addi type block
filters and display the type block byte in a more standard way (bit
fields).

svn path=/trunk/; revision=7378
2003-03-27 19:42:33 +00:00
Guy Harris
d85fbe9cdb From Olivier Biot: fix quotation of attibute values for the WAP
Provisioning DTD representation.

svn path=/trunk/; revision=7377
2003-03-27 19:23:10 +00:00
Guy Harris
b9ed0197a5 From Olivier Biot:
* Fix the Extended Method PDU mapping (move code some lines down)
* Decode more WSP Parameter entries (now WAP Provisioning Push OK)
* First check whether the PDU content for Post, Reply and Push PDUs
  can be dissected (dissector_try_X function calls), if not then
  display the PDU data as "Data" in the WSP protocol tree.
* Replaced "Unsupported header" by "Undecoded header" for clarity

svn path=/trunk/; revision=7376
2003-03-27 19:15:28 +00:00
Ronnie Sahlberg
eb5be58c63 Enhancement to TCP Sequence Analysis
Duplicate ACKs that are detected/suspected are now also flagged
with which frame the original ACK was seen in and the dup ack number.

This is displayed both in the summary pane as well as in the tree pane.

svn path=/trunk/; revision=7375
2003-03-27 09:40:27 +00:00
Guy Harris
b16cdbc696 Use "gboolean" for Boolean variables.
Allocate the per-conversation and per-frame data items from a GMemChunk
(which saves memory and CPU time, *and* lets us free all those items
quickly - as opposed to not freeing them at all, as had been the case).

Don't assume that, just because a conversation for the TCP connection
exists, it necessarily has an AJP13 data chunk attached to it; the
conversation might have, for example, been created by the TCP sequence
number analysis code.

svn path=/trunk/; revision=7374
2003-03-26 21:47:34 +00:00
Guy Harris
458e915b90 From Graham Bloice: make the RC_VERSION variable in config.nmake
comma-separated, so that the resources will be built correctly and the
version number correctly displayed in the GUI, and make the resources
dependent on "config.nmake" so that they're rebuilt if it's changed.

svn path=/trunk/; revision=7373
2003-03-26 20:17:42 +00:00
Guy Harris
7a5e0860a2 From Olivier Biot: add WSP protocol dissection for extended method PDUs,
and let the Protocol Options header code page and extended methods calls
refer to hexadecimal representation as used everywhere else in the WSP
dissection code.

svn path=/trunk/; revision=7372
2003-03-26 19:45:21 +00:00