Commit graph

972 commits

Author SHA1 Message Date
Guy Harris
bf1d3e6370 Give all the fields in the VLAN header different names (fixing a
presumed cut-and-pasteo).

svn path=/trunk/; revision=992
1999-11-10 05:42:06 +00:00
Guy Harris
3720c30197 The equivalent, for NBNS, of Brian J. Murrell's DNS patch to put
information about the queries and answers into the COL_INFO column in
the summary pane.

svn path=/trunk/; revision=991
1999-11-08 09:16:52 +00:00
Guy Harris
3e0d1bd4d9 Add a "Go To Frame" menu item, which lets you go to a frame by frame
number.

svn path=/trunk/; revision=990
1999-11-08 01:13:24 +00:00
Guy Harris
0caff51de0 Add a "Go To Frame" menu item, which lets you go to a frame by frame
number.

svn path=/trunk/; revision=989
1999-11-08 01:03:40 +00:00
Guy Harris
bd43f0610e Brian J. Murrell's patch to put information about the queries and
answers into the COL_INFO column in the summary pane.

svn path=/trunk/; revision=988
1999-11-07 21:00:40 +00:00
Guy Harris
d49b158b49 Add in a gross heuristic that attempts to detect files with the version
of the "libpcap" patch that changes the per-packet header but not the
magic number - it seems to work on at least one capture file I tried it
on.

Give the modified "libpcap" format a WTAP_FILE type of its own (so that,
in the future, we could support writing captures out in that format,
possibly).

svn path=/trunk/; revision=987
1999-11-06 10:31:47 +00:00
Guy Harris
148d0c865a Add support for capture files written by programs linked with Alexey
Kuznetsov's modified "libpcap" *as long as you have the ss990915 or
later patch*; the 990417 patch, alas, changes the per-packet header but
*doesn't* change the magic number, so you can't just look at the magic
number to see that it's Not Standard Libpcap.  (Even more unfortunately,
Red Hat appears to have picked up *that* patch for Red Hat 6.1; I've
filed bug 6773 with Bugzilla on their site - hopefully, if I'm not
misremembering the RH 6.1 code I've seen, and they really *did* pick up
the older patch, they'll fix it ASAP to use the new magic number, and
will make updates available.)

svn path=/trunk/; revision=986
1999-11-06 08:42:01 +00:00
Guy Harris
f633fe0259 Pop up a message box if a search for a frame fails.
svn path=/trunk/; revision=985
1999-11-06 06:54:24 +00:00
Guy Harris
2d7950fffc Clean up some stuff I failed to cleanup before the initial checkin.
svn path=/trunk/; revision=984
1999-11-06 06:42:41 +00:00
Guy Harris
f3ec699cb3 Add a "Find Frame" menu item under "Display"; it lets you use a display
filter to search forward or backward in the list of displayed frames for
a matching frame.

When filtering the display, readjust the display to show the "current"
frame if it passed the display filter.  When a file is read in, the
first frame becomes the "current" frame; when a frame is selected, it
becomes the "current" frame, and remains so *even if you unselect it*,
until another frame is selected.

Select the first frame when a file is read in.

Disable most of the "Display" and "Tools" menu items if there's no
current capture file, and enable the relevant ones if there is.

svn path=/trunk/; revision=983
1999-11-06 06:38:53 +00:00
Guy Harris
f0889e55c1 Add a "Find Frame" menu item under "Display"; it lets you use a display
filter to search forward or backward in the list of displayed frames for
a matching frame.

When filtering the display, readjust the display to show the "current"
frame if it passed the display filter.  When a file is read in, the
first frame becomes the "current" frame; when a frame is selected, it
becomes the "current" frame, and remains so *even if you unselect it*,
until another frame is selected.

Select the first frame when a file is read in.

Disable most of the "Display" and "Tools" menu items if there's no
current capture file, and enable the relevant ones if there is.

svn path=/trunk/; revision=982
1999-11-06 06:28:07 +00:00
Guy Harris
bba1ad82d1 Updates to the ICQ decoder, from Kojak.
svn path=/trunk/; revision=981
1999-11-06 03:08:34 +00:00
Guy Harris
cdee2e23cb Get rid of an unused #define.
svn path=/trunk/; revision=980
1999-11-06 02:05:32 +00:00
Jun-ichiro itojun Hagino
004607a3fe more updates to bgp dissector.
- separate tree for each message
- added some comments
- merged my code for OPEN message, mainly just terminology updates
- searched all RFCs and defined known attributes

from: Greg Hankins <gregh@cc.gatech.edu>

svn path=/trunk/; revision=979
1999-11-06 01:28:50 +00:00
Nathan Neulinger
907090770c fixed processing of tci and encapsulated proto
svn path=/trunk/; revision=978
1999-11-05 18:50:52 +00:00
Gilbert Ramirez
f5d5c8218d Fix LPD dissector problem for bug reported by
Fabrizio Ammollo <f.ammollo@reitek.com>

svn path=/trunk/; revision=977
1999-11-05 15:55:09 +00:00
Guy Harris
0978f3c2de Updates to the ONC RPC and NFS code, from Uwe Girlich.
svn path=/trunk/; revision=976
1999-11-05 07:16:23 +00:00
Guy Harris
bc4943e630 Note that "ethereal -v" should give the GTK+ and "libpcap" version
numbers.

svn path=/trunk/; revision=975
1999-11-04 21:18:50 +00:00
Guy Harris
fc31243da0 For the "-v" flag, dump the "libpcap" version number, if we were built
with "libpcap".

svn path=/trunk/; revision=974
1999-11-04 21:04:35 +00:00
Guy Harris
1ffac9e682 Expand the description of the steps to take when reporting a bug.
svn path=/trunk/; revision=973
1999-11-04 19:14:53 +00:00
Guy Harris
1f77aab33f Decode the hardware and protocol types.
Define the hardware type, protocol type, and opcode values fields as
enums.

Dissect the addresses the same way the ARP dissector does, so that we
don't completely give up if the hardware addresses aren't 6-byte
Ethernet/Token Ring addresses or the protocol addresses aren't 4-byte
Appletalk IDs.

svn path=/trunk/; revision=972
1999-11-04 08:21:04 +00:00
Guy Harris
edeb0e9426 Define the hardware type, protocol type, and opcode values fields as
enums.

svn path=/trunk/; revision=971
1999-11-04 08:15:38 +00:00
Guy Harris
6ff49f4c65 Include <netinet/in.h> before including "global.h", so that if - as
appears to be the case on AIX 4.3.2 - it defines BIG_ENDIAN or
LITTLE_ENDIAN differently from the way "global.h" defines them, and also
defines BYTE_ORDER, we don't get a compiler warning - instead,
"global.h" refrains from defining them (as BYTE_ORDER is defined).

svn path=/trunk/; revision=970
1999-11-04 07:06:50 +00:00
Guy Harris
c4a9cde9d1 We *do* need <netinet/in.h> on Debian (and probably other Linuxes, and
quite possibly other UNIX-flavored OSes), in order to declare "ntohs()"
and the like.  Put the include back (I guess we could include "global.h"
after including it, or move the byte-order stuff into a separate header
file and include *that* after <netinet.h>, in order to squelch the
complaints somebody saw compiling on AIX).

svn path=/trunk/; revision=969
1999-11-03 07:06:17 +00:00
Guy Harris
f817d71424 Include <time.h>, so as to declare "ctime()" on systems where
<sys/time.h> doesn't include <time.h>.

svn path=/trunk/; revision=968
1999-11-03 06:21:35 +00:00
Guy Harris
f56253cd61 Don't include <netinet/in.h>; at least on AIX 4.3.2, that causes
<sys/machine.h> to be included (presumably to define the machine's byte
order, to declare the "ntoh" and "hton" routines/macros correctly),
which causes BIG_ENDIAN and LITTLE_ENDIAN to be defined, but that's done
after we've included "globals.h", so they're already defined, and the
compiler complains.  We don't need it (at least not on FreeBSD).

svn path=/trunk/; revision=967
1999-11-03 06:18:50 +00:00
Guy Harris
135cdeb40a Don't define IPV6_VERSION; at least on AIX 4.3.2, one user got a
compiler warning because it was also defined by <netinet/in.h>, and
we're not using it.

Don't define IPV6_VERSION, either.

svn path=/trunk/; revision=966
1999-11-03 06:13:20 +00:00
Guy Harris
95b1c8256e Format the IP header length as an unsigned quantity.
svn path=/trunk/; revision=965
1999-11-02 07:06:07 +00:00
Guy Harris
95cb4ddd73 Make the TCP header length field more closely resemble the IP header
length field.

svn path=/trunk/; revision=964
1999-11-02 07:04:46 +00:00
Guy Harris
dfab69a771 Make a bunch of the bitfields in the IP header filterable items.
svn path=/trunk/; revision=963
1999-11-02 05:38:51 +00:00
Guy Harris
b8236878a2 Make a bunch of the TCP header fields filterable items.
svn path=/trunk/; revision=962
1999-11-02 05:03:02 +00:00
Jun-ichiro itojun Hagino
23b2385490 little bit more fixes to bgp dissector.
From: Greg Hankins <gregh@cc.gatech.edu>

svn path=/trunk/; revision=961
1999-11-02 00:11:58 +00:00
Jun-ichiro itojun Hagino
2331fa34e1 forgot to add this file... (separated from packet-bgp.c)
svn path=/trunk/; revision=960
1999-11-01 14:22:36 +00:00
Jun-ichiro itojun Hagino
689e4b8151 tabify. fix BGP marker offsets.
svn path=/trunk/; revision=959
1999-11-01 09:51:59 +00:00
Jun-ichiro itojun Hagino
be887ebafc separate bgp declaration into separate header file.
bgp message types will now appear on topmost frame.

From: gregh@cc.gatech.edu (Greg Hankins)

svn path=/trunk/; revision=958
1999-11-01 06:57:01 +00:00
Guy Harris
c0340af891 Give it an RCS ID.
svn path=/trunk/; revision=957
1999-10-31 19:35:32 +00:00
Guy Harris
841b4762ec Move the initial comment inside the first "%{", so that it shows up in
the generated parser, so that "ident" will tell you from which version
of the grammar that parser was generated.

svn path=/trunk/; revision=956
1999-10-31 19:34:46 +00:00
Guy Harris
e5e89164b6 The answer to the question "why pass err to open_routines[i]() if err is
overwritten here?" is probably "because I was cutting-and-pasting text
to insert the error-handling code, and didn't remove the "*err = errno"
from that particular case.  Remove it now.

svn path=/trunk/; revision=955
1999-10-31 19:30:53 +00:00
Guy Harris
24807c0afa Give it an RCS ID.
Fix the error checking ("file_error()" returns an "errno" value *if*
there's an error and it's a UNIX error, but it may also return a
non-"errno" value for non-UNIX errors, so its return value should be
passed back through the "err" pointer).

svn path=/trunk/; revision=954
1999-10-31 19:23:37 +00:00
Gilbert Ramirez
fb9f8ad5ed Mention the Toshiba trace file capability in the man page.
svn path=/trunk/; revision=953
1999-10-31 17:54:27 +00:00
Gilbert Ramirez
558e714449 Add a module to wiretap to be able to read trace files from Toshiba's
line of ISDN routers. Much like the ascend reader, this module reads an
ASCII hex dump of trace data.

Rearranged the order in which wiretap tries trace files, to keep the
ASCII-readers (ascend and toshiba) at the end, and put the binary-readers
(everything else) at the front of the list. If a telnet session of
and ascend trace or toshiba trace were captured near the beginning of
another trace, wiretap might think the trace was ascend or toshiba if it
tried that module first.

Fixed the way wtap_seek_read() selects functions to call. It was using
the encap type instead of the file type. We got lucky because
WTAP_ENCAP_ASCEND == WTAP_FILE_ASCEND

svn path=/trunk/; revision=952
1999-10-31 17:46:11 +00:00
Jun-ichiro itojun Hagino
10fdc90bb0 improve BGP path attribute decoding tree.
show detail of path attribute to outside of the tree, to help users
browse the structure.  BGP protocol header structure is very complex
and the previous code required users to click through the tree to check,
say, AS path.

svn path=/trunk/; revision=951
1999-10-31 00:20:44 +00:00
Guy Harris
b99cfa28c8 Warren Young's patch to add a "Print" button to the "Follow TCP Stream"
data window.

Some (belated) man page updates.

svn path=/trunk/; revision=950
1999-10-30 06:42:10 +00:00
Guy Harris
149c40fec9 Don Lafontaine's IGRP/EIGRP dissector.
svn path=/trunk/; revision=949
1999-10-30 06:10:32 +00:00
Guy Harris
62df24872c Give DDP packets their own ETT_ type, rather than using ETT_IP.
Call "dissect_data()" on the payload of a DDP packet.

svn path=/trunk/; revision=948
1999-10-29 05:25:59 +00:00
Guy Harris
5f6c1e26de Have the PROTOCOL field for ONC RPC just give the RPC program
name/number, and put the call/reply info, procedure, and version number
into the INFO field.

Implement "col_append_fstr()", and use it to add information to the info
field.

Make "col_add_fstr()" aware that COL_INFO fields can have more data than
other COL_XXX fields (as "col_add_str()" and "col_append_str()" already
were).

svn path=/trunk/; revision=947
1999-10-29 02:25:54 +00:00
Guy Harris
dc6963e2d4 Uwe Girlich's ONC RPC and NFS dissectors.
svn path=/trunk/; revision=946
1999-10-29 01:11:23 +00:00
Guy Harris
21c466ed25 Uwe Girlich's ONC RPC and NFS dissectors.
svn path=/trunk/; revision=945
1999-10-29 01:04:44 +00:00
Nathan Neulinger
6a95d6d5ea added additional error messages
svn path=/trunk/; revision=944
1999-10-28 20:46:42 +00:00
Nathan Neulinger
3bfa84c004 Converted C++ style comments to C style
svn path=/trunk/; revision=943
1999-10-28 15:08:42 +00:00