Commit Graph

1033 Commits

Author SHA1 Message Date
Nathan Neulinger 4302c1ddc3 expanded portmap dissector to process some of the procedure calls
svn path=/trunk/; revision=1003
1999-11-10 22:43:53 +00:00
Nathan Neulinger a04402e906 Changed protocol names to all lowercase. It looks weird in listing though.
I'm presuming packet-rpc.c will be fixed soon.

svn path=/trunk/; revision=1002
1999-11-10 21:05:11 +00:00
Gilbert Ramirez 0bf0d908ae More small memleak fixes.
colors.c wasn't freeing path in one place
main.c wasn't freeing rc_file
the frame_buffer fix in wtap.c didn't clear everything.

svn path=/trunk/; revision=1001
1999-11-10 19:58:54 +00:00
Gilbert Ramirez 02a64faea7 Fixed small memory leak in wiretap (frame_buffer wasn't being freed),
and aligned g_malloc calls with g_free calls (i.e, we no longer mix-and-match
C-library malloc with GLIB g_free, and vice-versa).

svn path=/trunk/; revision=1000
1999-11-10 19:47:57 +00:00
Gilbert Ramirez aa5904b879 Added dissect_imap() prototype to get rid of compilation warning
in packet-tcp.c

svn path=/trunk/; revision=999
1999-11-10 18:32:55 +00:00
Nathan Neulinger a7fc895437 Added stubs for various RPC routines:
portmap
	ypserv
	ypxfr
	ypserv
	bootparams

Stubs currently just map procedure numbers to names. I'll add some more
decoding of the actual procedure call/reply contents eventually.

svn path=/trunk/; revision=998
1999-11-10 17:23:55 +00:00
Nathan Neulinger abc9101b41 added ypxfr program to rpc
svn path=/trunk/; revision=997
1999-11-10 15:10:33 +00:00
Nathan Neulinger 5e33e192ab fix ypbinb/ypbind typo
svn path=/trunk/; revision=996
1999-11-10 14:54:37 +00:00
Nathan Neulinger 2d81454829 Added imap dissector, pretty much a simple translation of the pop
dissector.

svn path=/trunk/; revision=995
1999-11-10 14:44:58 +00:00
Guy Harris ac4026f37a Add a "Go To Frame" menu item, which lets you go to a frame by frame
number.

svn path=/trunk/; revision=994
1999-11-10 07:01:53 +00:00
Guy Harris d1bb313243 Fix up the MX record handling.
svn path=/trunk/; revision=993
1999-11-10 06:01:21 +00:00
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