Commit Graph

2552 Commits

Author SHA1 Message Date
Gilbert Ramirez 1cf5db2c23 Added some autoconf- and automake-generated files to .cvsignore.
svn path=/trunk/; revision=2538
2000-10-27 02:11:09 +00:00
Gilbert Ramirez 8f6af08945 Make new version 0.8.13, not 0.9.0.
svn path=/trunk/; revision=2537
2000-10-26 19:11:41 +00:00
Guy Harris 058a7931fb Cisco IGRP support, from Paul Ionescu.
svn path=/trunk/; revision=2536
2000-10-26 09:14:28 +00:00
Guy Harris a95972d416 Fix typos, and give credit to Jason Lango for the original RTCP time
stamp Band-Aid(TM).

svn path=/trunk/; revision=2535
2000-10-26 09:03:35 +00:00
Gilbert Ramirez f904ee0baa List of changes for this next release, which I'll probably call 0.9.0.
svn path=/trunk/; revision=2534
2000-10-25 16:08:30 +00:00
Gilbert Ramirez e4199779ca This patch adds two things:
- Pressing Esc key will cause the filter selection dialog to
          "Cancel"

        - Double-clicking on a list item in filter selection dialog is
          equivalent to single-click followed by "OK"

Santeri Paavolainen <santtu@ssh.com>

svn path=/trunk/; revision=2533
2000-10-25 16:06:50 +00:00
Richard Sharpe 973b3e22af Fixing a small bug that Guy Harris noticed.
svn path=/trunk/; revision=2532
2000-10-24 20:23:16 +00:00
Guy Harris a922ced0f1 Make the routines used for the hash table static - they're not used
outside "packet-afs.c".

svn path=/trunk/; revision=2531
2000-10-23 04:26:55 +00:00
Guy Harris 4b15a76ece When looking for definitions of "proto_register" and "proto_reg_handoff"
routines, throw out lines containing semicolons, so that we don't see
*declarations* of those routines.

svn path=/trunk/; revision=2530
2000-10-22 20:01:14 +00:00
Guy Harris 37dc546614 When checking whether we should build the list of flag names to put in
the COL_INFO column, check COL_INFO, not COL_PROTOCOL.

svn path=/trunk/; revision=2529
2000-10-22 09:05:12 +00:00
Guy Harris 79bbd6884d When checking whether we should set the COL_INFO column, check COL_INFO,
not COL_PROTOCOL.

svn path=/trunk/; revision=2528
2000-10-22 07:54:04 +00:00
Guy Harris 24463057d4 Use "H.261", not "H261", as the short name for the protocol.
svn path=/trunk/; revision=2527
2000-10-22 07:53:19 +00:00
Guy Harris 339c4a4f66 Don't require that all SNMP packets go to or from the SNMP port - the
SNMP request would, but an SNMP reply can come back from another port.
Instead, when an SNMP request is seen, create a conversation with a
wildcard port, if one doesn't already exist, and make its dissector the
SNMP dissector.

svn path=/trunk/; revision=2526
2000-10-21 18:52:17 +00:00
Guy Harris 86ceeff7db Wildcard matching is tricky - you have to try wildcarding both the
source *and* destination port and/or both the source *and* destination
address passed to "find_conversation()", because the packet for which
you're trying to find the conversation may be going in the opposite
direction to the packet for which the conversation was originally
created.

Create different hash tables for wildcarded conversations, to reduce the
number of "is this a wildcard?" tests done when doing hash lookups.

This is sufficient to allow the TFTP dissector to use conversations
rather than being special-cased in the UDP dissector, and may also be
sufficient to handle a similar problem with SMTP (request goes from
client IP X port Y to server IP Z's well-known port, reply comes back
from some other port on server Z to client IP X port Y), but further use
may reveal other changes that should be made.

svn path=/trunk/; revision=2525
2000-10-21 09:54:12 +00:00
Guy Harris 109721d543 Fix error in code that '\0'-terminates a string - it was putting the
'\0' one byte *past* the end of the buffer, rather than in the last byte
of the buffer.

svn path=/trunk/; revision=2524
2000-10-21 09:46:21 +00:00
Guy Harris 563f86ee5e Support for conversations with "wildcard" destination addresses, from
Jeff Foster.

svn path=/trunk/; revision=2523
2000-10-21 05:52:28 +00:00
Guy Harris 183e9cbf25 Check ICMP checksum. XXX - won't work if the ICMP packet is inside a
fragmented IP datagram, although that's probably extremely unlikely.

svn path=/trunk/; revision=2522
2000-10-21 04:34:47 +00:00
Guy Harris 1a2bc366bb Capture statistics box improvements from Santeri Paavolainen.
svn path=/trunk/; revision=2521
2000-10-21 04:20:07 +00:00
Guy Harris 6619a89495 Updates from David Frascone.
svn path=/trunk/; revision=2520
2000-10-21 03:24:37 +00:00
Gilbert Ramirez 3424ae654e Remove #include "gtk/colors.h" from file.h, which keep the GTK+ header
files from being #included in epan/packet.c.
Fix the other files that need either "gtk/colors.h" or <gtk/gtk.h> #included
as a result of not pulling in gtk/colors.h automatically because of file.h.

svn path=/trunk/; revision=2519
2000-10-20 04:26:40 +00:00
Guy Harris a3b0da9bc8 Fix some typos.
svn path=/trunk/; revision=2518
2000-10-19 23:11:45 +00:00
Guy Harris fb84384942 Move the declaration of "g_resolving_actif" from the top-level
"globals.h" file to "epan/resolv.h", as it's exported by
"epan/resolv.c", have files that use "g_resolving_actif" include
"resolv.h", and don't have "epan/resolv.c" include "globals.h" so that
it doesn't drag in, for example, headers that, in turn, drag in GTK+
headers.

svn path=/trunk/; revision=2517
2000-10-19 22:59:24 +00:00
Guy Harris 4e8bb31693 Dissect the allegedly-NTP time stamp in a Sender Report packet as two
32-bit integers, until we figure out what it really is.

svn path=/trunk/; revision=2516
2000-10-19 08:17:45 +00:00
Guy Harris 73241c3231 Patch from Isaac Wilcox to do case-sensitive checks for HTTP methods and
to look for a space after the method name.

svn path=/trunk/; revision=2515
2000-10-19 07:38:01 +00:00
Guy Harris d4f5b852d9 There's no "exception.h" header file in "epan", but there is
"exceptions.h".

svn path=/trunk/; revision=2514
2000-10-19 07:18:19 +00:00
Guy Harris c4e96b73e2 "tvbtest.c" is now in the "epan" subdirectory, so don't put it in
EXTRA_DIST in the top-level Makefile.am.

svn path=/trunk/; revision=2513
2000-10-19 07:17:38 +00:00
Guy Harris 964ef65673 Note that we might not want the dissector for Q.931-inside-TPKT to be
heuristic - we may just want to make port 1720 be Q.931-inside-TPKT.

svn path=/trunk/; revision=2512
2000-10-19 07:01:32 +00:00
Guy Harris 3f8b7cd0fc Andreas Sikkema's new H.261 and TPKT dissectors, replacement RTCP and
RTP dissectors, and changes to the Q.931 dissector for use with H.323.

svn path=/trunk/; revision=2511
2000-10-19 06:45:11 +00:00
Guy Harris 9de17c39f5 Get rid of extra declaration of HAVE_DIRECT_H; one is enough.
svn path=/trunk/; revision=2510
2000-10-18 09:34:10 +00:00
Guy Harris 221a75d2ba Fix from Per Flock to A6 RR decoding.
svn path=/trunk/; revision=2509
2000-10-18 00:37:54 +00:00
Gerald Combs c83c84fffb Add initial support for "type 12" frames. I have no documentation for
these other than a trace file a client sent me.  The header appears to
be similar to frame2 and frame4 records, but with extra bytes at the end.
The trace file also contains record types 13 - 17 which appear to contain
metainformation such as retransmit counts.

svn path=/trunk/; revision=2508
2000-10-17 18:07:52 +00:00
Gilbert Ramirez 049f45b20d Better heuristic for detecting Linux mangling of TR header.
svn path=/trunk/; revision=2507
2000-10-17 11:05:23 +00:00
Gilbert Ramirez 1d269c1ff5 The Session Announcement Protocol version 2 is now RFC 2974. Since
draft-ietf-mmusic-sap-v2-03.txt, the only change that concerns a
dissector seems to be that the optional timeout field no longer
exists.
Heikki Vatiainen <hessu@cs.tut.fi>

svn path=/trunk/; revision=2506
2000-10-17 11:03:24 +00:00
Richard Sharpe da5b5e67c7 Adding the magicpoint presentation I am doing for LinuxWorld Malaysia
svn path=/trunk/; revision=2505
2000-10-17 09:32:46 +00:00
Guy Harris 2030dba693 Make the top-level "config.h.win32" more closely resemble the top-level
"config.h", and update it to include stuff added to "config.h" and
remove stuff removed from "config.h".

Give libethereal a "config.h.win32" and make its "Makefile.nmake" file
copy it to "config.h".

svn path=/trunk/; revision=2504
2000-10-17 09:25:37 +00:00
Guy Harris 9760c91217 Alas, we have to set HAVE_PLUGINS in the top-level configure script as
well as in the libethereal configure script.

svn path=/trunk/; revision=2503
2000-10-17 09:21:51 +00:00
Guy Harris 1a793d05ee Patch from Heikki Vatiainen to make "tvb_strnlen()" return the length of
the string rather than the offset of the end of the string, plus a patch
to "tvb_get_nstringz()" to treat the return value of "tvb_strnlen()" as
a length rather than an end offset.

svn path=/trunk/; revision=2502
2000-10-17 08:50:57 +00:00
Guy Harris fc1ed4cd4b Do checks for platform-specific compiler flags in the libethereal and
wiretap configure scripts as well as in the main configure script.

svn path=/trunk/; revision=2501
2000-10-17 07:30:35 +00:00
Guy Harris 81c030d01a Wiretap no longer works with "GLib 1.0[.x]" (the version that came
bundled with GTK+ 1.0[.x]), it works only with 1.2[.x] and later, so we
no longer need to check for 1.0[.x] and define HAVE_GLIB10.

svn path=/trunk/; revision=2500
2000-10-17 00:09:43 +00:00
Guy Harris 65102add6c Make the top-level configure script descend into epan to run the
configure script there, now that libethereal has its own configure
script.

svn path=/trunk/; revision=2499
2000-10-16 23:50:02 +00:00
Guy Harris cba377df3c Give libethereal its own configuration file, and have that configuration
file, rather than the top-level Ethereal configuration file, check for
"inet_aton()", "inet_pton()", and "inet_ntop()".  Then make its
Makefile.am include the appropriate object files if necessary.
Otherwise, they don't get built and put into libethereal, and therefore
attempts to link with anything in libethereal that uses them fail on
platforms that lack ethem, causing the build to fail.

That means a bunch of things need to be fixed to cope with libethereal
having its own "config.h" file; this means removing the include of
"config.h" from some libethereal header files.  Move the definitions of
the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so
"resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure
script (so we don't have to include it in "plugins.h" to check whether
HAVE_DLFCN_H is defined).

Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for
now, define that in the top-level configuration file, and have Ethereal
and Tethereal pass it as an argument to "epan_init()" - that should be
cleaned up at some point.

Remove from the top-level configure script checks for things used only
in libethereal.

svn path=/trunk/; revision=2498
2000-10-16 23:18:05 +00:00
Gilbert Ramirez cb0a63c8e7 Complete the COPS dissector. Heikki Vatiainen <hessu@cs.tut.fi>
svn path=/trunk/; revision=2497
2000-10-16 14:05:08 +00:00
Guy Harris 8916192b86 At least on UNIX/X, make the wildcard pattern that's the initial
fixed-width font preference match only ISO 8859/1 fonts, so that we
don't match ISO 10646 fonts (as happens on some systems).  Users will
have to select a font with the appropriate character set encoding if
they don't want stuff displayed as 8859/1 (note that making the widgets
that use the fixed-width font handle arbitrary character sets is
probably a non-trivial task, given that the *dissectors* will also have
to handle arbitrary character sets, and that the character set used in a
given packet isn't necessarily the character set in the user's locale).

svn path=/trunk/; revision=2496
2000-10-15 08:46:18 +00:00
Gilbert Ramirez 3762a64fce Fix for inet*.[ch] move.
svn path=/trunk/; revision=2495
2000-10-14 05:11:11 +00:00
Gilbert Ramirez 26bda31ed9 Move inet_*.[ch] files to epan.
svn path=/trunk/; revision=2494
2000-10-14 04:31:26 +00:00
Gilbert Ramirez b3f64359bb Check for python before configuring CVS sources.
svn path=/trunk/; revision=2493
2000-10-14 04:09:04 +00:00
Gilbert Ramirez aff507ff0a While keeping the directory named 'epan' and the symbols in the library
starting with "epan_", change the name of the library from libepan.a to
libethereal.a, and from libepan.lib to ethereal.lib.

svn path=/trunk/; revision=2492
2000-10-14 03:53:25 +00:00
Gilbert Ramirez 96f2111b11 Look for gmodule*.lib in a directory "gmodule" in the glib distribution.
svn path=/trunk/; revision=2491
2000-10-14 03:20:55 +00:00
Gilbert Ramirez cfe9eb12ad Give Ulrich Kiermayr credit for his ECN addition.
svn path=/trunk/; revision=2490
2000-10-12 15:05:27 +00:00
Gilbert Ramirez 8ff757bcac Don't loop infinitely on options with zero length.
From Santeri Paavolainen.

svn path=/trunk/; revision=2489
2000-10-12 14:58:02 +00:00