Commit Graph

7320 Commits

Author SHA1 Message Date
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
Ronnie Sahlberg 886cbe2321 Fixed a small bug in tcp sequence number analysis.
FIN flag would previously only add one to the sequence number if the
FIN packet was empty, i.e. did not carry any payload data.

This caused ethereal to incorrectly flag the ACK to such packets
(FIN+payload data) to be incorrectly flagged as
ACK to previously lost segment.

Change the algorithm to always add 1 to the segment length, and thus the sequence number for all packets with teh FIN bit set.

svn path=/trunk/; revision=7371
2003-03-26 08:00:24 +00:00
Guy Harris 9f3902270e Put in a comment about the "to what code does the configuration file
directory belong" issue.

svn path=/trunk/; revision=7370
2003-03-26 00:34:27 +00:00
Guy Harris 4fb9c1866b Fix up a comment.
svn path=/trunk/; revision=7369
2003-03-25 23:46:04 +00:00
Guy Harris 97f273f044 Use "datafiledir" rather than "DATAFILE_DIR" as the name of the variable
in the configure script for the all-variables-expanded version of the
data file directory.

Don't AC_SUBST "DATAFILE_DIR", as it's not used.

Define DATAFILE_DIR in config.h as the all-variables-expanded version of
$datadir/ethereal, as that's where the global configuration files such
as manuf and the Diameter files are actually installed.

svn path=/trunk/; revision=7368
2003-03-25 23:37:54 +00:00
Guy Harris 170b802890 DATAFILE_DIR in the top-level config.h isn't used; don't bother defining
it.  (Nothing other than "get_datafile_dir()" should use it - anything
that needs to know whether the configuration files are located should
use "get_datafile_dir()".)

svn path=/trunk/; revision=7367
2003-03-25 23:35:30 +00:00
Guy Harris a0753c2fd7 There's no need to define "etherealconfdir" - we can just use
"pkgdatadir".

svn path=/trunk/; revision=7366
2003-03-25 23:33:38 +00:00
Guy Harris 1ca0a752aa From Brad Hards: ACAP support.
svn path=/trunk/; revision=7365
2003-03-25 22:30:19 +00:00
Guy Harris 5ea0610a8a Non-void functions must always return a value; the SID snooping tap
listener isn't a GUI tap, so it should always return 0.

svn path=/trunk/; revision=7364
2003-03-25 19:52:56 +00:00
Jörg Mayer a0b0489617 Update FAQ to 2003-03-20
svn path=/trunk/; revision=7363
2003-03-25 19:22:56 +00:00
Ronnie Sahlberg cec5c81ac3 Added SMB option : sid_name_snooping.
This feature, when enabled through Edit/preferences/protocols/smb,
will look at certain SMB and CIFS related protocols to discover the
mapping between SIDs and their Names.

For those SIDs whose name has been snooped/discovered ethereal will
also add "(<name>)" to the end of the SID when printed in the tree pane
through the function dissect_nt_sid().

Currently the feature is not too exciting since the only thing that packet-smb-sidsnooping.c will look at to build this mapping table is
replies to the LSA/QueryInfoPolicy infolevel 3  packets and thus
discover mappings between a Domain SID and a Domain Name.
In the near future this future will be enhanced to also look at more interesting calls such as LSA/LookupSIDs2 and similar.

svn path=/trunk/; revision=7362
2003-03-25 09:41:42 +00:00
Guy Harris 2fecf91a17 AIX's BPF, and thus its tcpdump, appears to use 24 as the link-layer
type for loopback devices; map it to DLT_NULL when reading libpcap files
with a major version of 2 and a minor version of 2, and when capturing
from an "loN" device on AIX.

svn path=/trunk/; revision=7361
2003-03-25 06:04:54 +00:00
Richard Sharpe cb0461411d Fix up the parsing of browser rest messages.
svn path=/trunk/; revision=7360
2003-03-24 16:49:10 +00:00