Commit graph

2488 commits

Author SHA1 Message Date
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
Guy Harris
faf70584f2 Fix it to build on Windows.
svn path=/trunk/; revision=2488
2000-10-11 07:35:02 +00:00
Guy Harris
54ecbe2d4e Santeri Paavolainen's patch to add a "Capture->Stop" menu item to let
you stop an "Update list of packets in real time" capture from the main
window as well as from the capture statistics dialog.

svn path=/trunk/; revision=2487
2000-10-11 06:01:16 +00:00
Guy Harris
788a6283ff DNS updates from Brian Wellington.
svn path=/trunk/; revision=2486
2000-10-11 04:12:06 +00:00
Guy Harris
677abe54e1 Add support for modal message boxes ("simple dialog").
Make the message boxes popped up for errors when selecting a font modal,
so that the user has to say "yes, I know, I'll do better next time"
before hitting "OK" again, so that you don't get a pile of message
boxes.

svn path=/trunk/; revision=2485
2000-10-09 06:38:36 +00:00
Guy Harris
fedb22f414 It appears there's no guarantee that you'll actually get a font name
from a font selection dialog box; check for a null pointer and, if so,
let the user know and don't dismiss the font selection dialog.

svn path=/trunk/; revision=2484
2000-10-09 06:28:49 +00:00
Richard Sharpe
aa72e65a19 Adding a small attribution to Invisible Worlds and Collab.Net as the
sponsors of the BXXP dissector ...

svn path=/trunk/; revision=2483
2000-10-09 03:36:15 +00:00
Gerald Combs
893db6fd12 Update documentation URLs.
svn path=/trunk/; revision=2482
2000-10-09 03:10:01 +00:00
Gerald Combs
e61373a7c1 Change addresses from ethereal.zing.org to www.ethereal.com.
svn path=/trunk/; revision=2481
2000-10-08 17:16:29 +00:00
Guy Harris
f9daf4932d Patch from Jack Keane to keep the dissector from looping infintely on
malformed packets.

svn path=/trunk/; revision=2480
2000-10-07 06:58:39 +00:00
Richard Sharpe
11f7f66515 Squash one more little bug where I wasn't handling the MIME header
properly if a BXXP message occurrect after a SEQ but in the same segment.

svn path=/trunk/; revision=2479
2000-10-07 04:48:40 +00:00
Gilbert Ramirez
e69b5278aa Implement epan_dissect_new() and epan_dissect_free(). These are the
"top-level" dissectors that libepan-users call, instead of dissect_packet().
The epan_dissect_t holds the tvbuff after dissection so that the tvbuff's
memory is not cleared until after the proto_tree is freed. (I might stuff
the proto_tree into the epan_dissect_t, too).

What remains of dissect_packet() in packet.c handles the tvbuff initialiation.
The real meat of dissect_packet() is now in dissect_frame(), in packet-frame.c
This means that "packet.c" is no longer a dissector, os it is no longer
passed to make-reg-dotc.

Once dissect_fddi() gets two wrapper functions (dissect_fddi_swapped()
and dissect_fddi_nonswapped()), the a dissector handoff routine could
be used instead of the switch statement in dissect_frame(). I'd register
a field like "wtap.encap"

svn path=/trunk/; revision=2478
2000-10-06 10:11:40 +00:00
Richard Sharpe
e735d485ae Added further state keeping so I can distinguish the first message from
continuations, as only the first has a MIME header.

svn path=/trunk/; revision=2477
2000-10-05 13:13:49 +00:00
Guy Harris
19a14b9e67 Assignments for SHA2 and AES encryption and data integrity schemes, from
Yaniv Kaul.

svn path=/trunk/; revision=2476
2000-10-03 22:49:46 +00:00
Richard Sharpe
2f6a09a1f0 Updates to allow CR and LF to be used (incorrectly) as terminators and to
be flagged as incorrect terminators. These allow people who are developing
implementations of the protocol to see where they have gone wrong.

svn path=/trunk/; revision=2475
2000-10-03 10:59:10 +00:00