Commit Graph

81692 Commits

Author SHA1 Message Date
Gilbert Ramirez 77e276e617 Fixed 0.6.0 packaging problems.
svn path=/trunk/; revision=252
1999-05-01 05:19:25 +00:00
Guy Harris fcee16869c Add "gtkpacket.h" and "packet-ip.h" to the list of source files, so they
get put into the tarball by "make dist".

svn path=/trunk/; revision=251
1999-05-01 04:38:42 +00:00
Laurent Deniel 07409c4ef0 Miscellaneous updates of README and README.tru64 created.
svn path=/trunk/; revision=250
1999-04-30 21:16:31 +00:00
Gilbert Ramirez 0407d01e99 Docs updated for ethereal-0.6.0
svn path=/trunk/; revision=248
1999-04-30 20:31:56 +00:00
Guy Harris 5958b839bc Add support for the NetBIOS Session Service.
Improve the descriptions of the NetBIOS Name Service errors a bit.

svn path=/trunk/; revision=247
1999-04-30 03:16:03 +00:00
Gilbert Ramirez 11fb591723 Separate the 16-byte view into 2 8-byte views in the hex dump. Patch from
"Mattia Cazzola" <mattiac@alinet.it>

svn path=/trunk/; revision=246
1999-04-16 18:39:07 +00:00
Gilbert Ramirez afa8cab0a4 Changed the flowinfo field in the ipv6 header to flow info + traffic class, as
per RFC2460. Thanks to Jun-ichiro for the patch.

svn path=/trunk/; revision=245
1999-04-09 13:32:31 +00:00
Gilbert Ramirez f6db444c2a Removed 2 blocks of code that if #ifdef'ed out. They're just not needed.
svn path=/trunk/; revision=244
1999-04-09 13:31:15 +00:00
Gilbert Ramirez 5ccc874dbe Touch-up fixes to my previous fix of making the packet-capture facility save
to a file unknown to the user first. The manpage has now been updated to reflect
the ability of the user to use the TMPDIR environment variable to change the
location of this capture file. And now the capture file is deleted when
ethereal exits, if the user has not saved the trace file.

svn path=/trunk/; revision=243
1999-04-06 16:35:47 +00:00
Gilbert Ramirez 2870ce29ce Capturing packets from ethereal now saves the capture in an "anonymous" buffer. That is, it's
a random name chosen by tempnam(), unknown to the user. If the user decides to save that
trace, he then uses File | Save to save it to a file. File | Save As lets him make a copy
of his named trace file as well. I also updated my e-mail address in the various credit
locations.

svn path=/trunk/; revision=242
1999-04-06 16:24:50 +00:00
Guy Harris bad78f629a Add NNTP support.
svn path=/trunk/; revision=241
1999-04-06 02:02:12 +00:00
Guy Harris b59c4a366d Add an RCS ID.
svn path=/trunk/; revision=240
1999-04-05 23:39:51 +00:00
Guy Harris 271f2a1fff Get rid of include of <strings.h> from "util.c", as it's not needed, and
change include of <strings.h> in "menu.c" to include <string.h>, the
latter being the ANSI standard include file for string functions; that
eliminates all use of <strings.h< so get rid of test for its existence
in "configure.in" as well.

svn path=/trunk/; revision=239
1999-04-05 22:51:44 +00:00
Guy Harris 2400bb0453 The joys of "automake" being run in different environments - undo the
change my local environment inserted, setting TAR to "gtar" rather than
"tar".

svn path=/trunk/; revision=238
1999-04-05 22:25:00 +00:00
Guy Harris ee80616a8c FTP, POP, and Telnet support from Richard Sharpe.
svn path=/trunk/; revision=237
1999-04-05 21:54:41 +00:00
Guy Harris acecc4edf5 Make the AUTHORS list and the contributors list in the "Help/About
Ethereal" dialog match.

svn path=/trunk/; revision=236
1999-04-04 02:49:23 +00:00
Guy Harris f1e024b605 Move the bitfield-decoding routines to "packet.h", along with other
helper routines for packet dissecting, and away from "util.c", which is
now all GUI-related.  (Among other things, this makes life more pleasant
for Gilbert Ramirez's "tethereal" stuff, although a lot more separation
of GUI from other stuff needs to be done to make that - or a
"curses"-based variant of Ethereal, or a variant using some other GUI
toolkit - work smoothly.)

svn path=/trunk/; revision=235
1999-03-31 08:20:28 +00:00
hannes ccba477d7f Bugfix: The IP Precedence (first three bits in the TOS field) has been cleared
by accident -> It should be displayed correctly with this fix

svn path=/trunk/; revision=234
1999-03-30 20:40:12 +00:00
Guy Harris 2ffe6f0ffe Changes to the routines to help decode text-oriented protocols (FTP,
SMTP, POP, HTTP, etc.) for the benefit of Richard Sharpe's FTP and POP
dissectors.

svn path=/trunk/; revision=233
1999-03-30 04:41:01 +00:00
Gilbert Ramirez ec1241d6e5 A fix for Solaris 2.5.1 compilation.
svn path=/trunk/; revision=232
1999-03-29 02:24:29 +00:00
Gilbert Ramirez 7a6ea657c6 Two more files for ipv6.
svn path=/trunk/; revision=231
1999-03-29 02:21:34 +00:00
Gilbert Ramirez 69afb9ab44 Gave Jun-ichiro credit for his IPv6 patch.
svn path=/trunk/; revision=230
1999-03-28 18:42:47 +00:00
Gilbert Ramirez 2b86d46d70 Jun-ichiro's IPv6 patch is merged in with ethereal and now uses the new
proto*() functions. The configure script tries to use ipv6 name resolution if
it knows the type of ipv6 stack the user has (this can be avoided with the
--disable-ipv6 switch) Additionally, the configure script now deals with wiretap
better. If the user doesn't want to compile wiretap, the wiretap is never
visited. A few unnecessary #includes were removed from some wiretap files, and
a CPP macro was moved from bpf.c to wtap.h.

svn path=/trunk/; revision=229
1999-03-28 18:32:03 +00:00
Guy Harris 4932ef3dcc The program that produced the version 2.001 file was Sniffer Pro 2.50.05
(presumably a Windows version).

Note also that version 2.001 files appear to have microsecond time
stamps, like version 1.1 files.

svn path=/trunk/; revision=228
1999-03-25 06:34:32 +00:00
Laurent Deniel 210d386532 Fixes to the TCP reassembly code to correctly handle too short
caplen or incomplete data (avoid crashes or erroneous display).

svn path=/trunk/; revision=227
1999-03-23 20:25:50 +00:00
Gilbert Ramirez 6cbabed4c2 Fixed compilation warning on Solaris 2.6
svn path=/trunk/; revision=226
1999-03-23 19:41:51 +00:00
Guy Harris 8865cae811 Move the include of "snprintf.h" after a bunch of other includes, so
that "size_t" will be defined before it's included (it uses "size_t").

svn path=/trunk/; revision=225
1999-03-23 03:58:59 +00:00
Guy Harris e9b532370c Include "snprintf.h" if necessary, to declare "vsnprintf()".
svn path=/trunk/; revision=224
1999-03-23 03:54:46 +00:00
Gilbert Ramirez ef3dfe2077 Removed all references to gtk objects from packet*.[ch] files. They now
reference the protocol tree with struct proto_tree and struct proto_item
objects. That way, the packet decoding source code file can be used with
non-gtk packet decoders, like a curses-based ethereal, e.g. I also re-arranged
some of the information in packet.h to more appropriate places (like other
packet-*.[ch] files).

svn path=/trunk/; revision=223
1999-03-23 03:14:46 +00:00
Guy Harris e3db269e00 Add #defines for more T_ types.
In the detailed expansion of an RR, give a more detailed description of
the RR type, as per Peter Hawkins' suggestion, but leave the record type
in the summary line for the RR, along the lines of John McDermott's
suggestion.

Decode PTR and CNAME RRs.

svn path=/trunk/; revision=222
1999-03-22 23:31:05 +00:00
Gilbert Ramirez bdbd5ee203 Got rid of "hdr_size may not be initialized" warning, even though it was
innocuous.

svn path=/trunk/; revision=221
1999-03-22 15:02:25 +00:00
Guy Harris 05e5c40597 Well, that was dumb. I didn't have to add a "capture_data()" routine; I
just had to make "sap_capture_func()" return NULL if it didn't find an
entry for the SAP it was passed.

svn path=/trunk/; revision=220
1999-03-22 03:56:34 +00:00
Guy Harris 8f70ffdda9 Have "sap_capture_func()" return "capture_data" rather than
"dissect_data"; if you call "dissect_data()" with an argument list of
the type expected by a "capture_XXX()" routine, it won't do the right
thing (and may do the wrong thing, e.g. crash).

Have "sap_capture_func()" (and "sap_dissect_func()") return function
pointers rather than "void *"s, so that I don't make a mistake like the
above in the future....

svn path=/trunk/; revision=219
1999-03-22 03:44:44 +00:00
Guy Harris dad4930e18 Add support for file format version 2.001 (used by Sniffer Basic 2.0?).
This assumes that the time stamps are still in units of microseconds; I
don't yet have a text decode of the version-2.001 file from the program
that decoded it, so I can't check the time stamps.

svn path=/trunk/; revision=218
1999-03-22 02:46:46 +00:00
Guy Harris 56b5a15d5f Add support for file format version 2.001 (used by Sniffer Basic 2.0?).
This assumes that the time stamps are still in units of microseconds; I
don't yet have a text decode of the version-2.001 file from the program
that decoded it, so I can't check the time stamps.

svn path=/trunk/; revision=217
1999-03-20 09:10:49 +00:00
Gilbert Ramirez f19fe6afea Added g_slist_nth_data() to glib-new.o so that glib-1.0.x, x < 4, will work.
It seems that a stable version of the library received a new function. This
should help RedHat folks, since they seem to have glib-1.0.1.

svn path=/trunk/; revision=216
1999-03-20 04:41:04 +00:00
Gilbert Ramirez ca662881cb Re-wrote the NCP module in accordance with how NCP is really organized.
NCP is still not decoded much, but the infrastructure for doing so is now in
place, including a hashtable to record the NCP type of each request so that we
now how to parse the response.

svn path=/trunk/; revision=215
1999-03-20 04:38:57 +00:00
Guy Harris 71b4a3f7c8 Add "phtons()" and "phtonl()" macros, which handle unaligned quantities,
and use them to extract stuff in "bpf_mk_bytecmp()", so as to avoid core
dumps on processors that require strict alignment.

svn path=/trunk/; revision=214
1999-03-13 08:39:08 +00:00
Guy Harris 84361900fa Decode more stuff in an ICMP packet.
svn path=/trunk/; revision=213
1999-03-09 02:52:37 +00:00
Guy Harris dadb230a9e Make the arrays of pointers to strings for ICMP decoding static, as
they're not used outside this file.

Compute their sizes with the standard "number of elements in an array" C
idiom, rather than hardcoding them as numbers.

Add the "information request" and "information reply" ICMP packet types.

svn path=/trunk/; revision=212
1999-03-09 01:45:06 +00:00
Gilbert Ramirez 8a8d084bf8 IPX addresses in the Destination/Source fields of the "column" part of the GUI
are now written in NNNNNNNN.hhhhhhhhhhhh form, N=IPX network, h=hwaddr.

svn path=/trunk/; revision=211
1999-03-05 06:09:39 +00:00
Gilbert Ramirez 902b69464b dissect_sap() no longer assumes that packets are the proper length. It
checks for enough bytes for a SAP record before dissecting the bytes.

svn path=/trunk/; revision=210
1999-03-05 05:20:12 +00:00
Guy Harris 985a5b01d7 It's not a problem if we don't have GLib 1.1.x or later, so don't
complain about it.

svn path=/trunk/; revision=209
1999-03-03 08:51:58 +00:00
Guy Harris 5044b432cf Include "config.h", so we know whether we have GLib 1.0[.x] or later, so
we know whether to include "glib-new.h".

svn path=/trunk/; revision=208
1999-03-03 08:31:43 +00:00
Gilbert Ramirez dc6a300eab Add the right byte count to fddi's initial add_item_to_tree so that the entire
FDDI header is highlighted in the hex dump.

svn path=/trunk/; revision=207
1999-03-02 20:50:05 +00:00
Gilbert Ramirez 0cf5b2de74 Fixed for glib-1.x.y, x > 0
svn path=/trunk/; revision=206
1999-03-02 19:32:33 +00:00
Guy Harris 2ed0b6d073 Have "rt-scanner.l" and "rt-grammar.y" depend on the filter description
files used to generate them.

svn path=/trunk/; revision=205
1999-03-02 07:04:55 +00:00
Guy Harris e2b7e1aba9 It turns out that the first of the unknown fields in the NetXRay header
appears to be the UNIX "time_t" when the capture started, so use that to
figure out the time when a packet was captured.

svn path=/trunk/; revision=204
1999-03-01 22:59:47 +00:00
Gilbert Ramirez 70451c547a lex_init() changed to wtap_lex_init()
svn path=/trunk/; revision=203
1999-03-01 21:50:20 +00:00
Gilbert Ramirez 3101077f2c Guy noticed that lex_init was a function in both libpcap and wiretap. Fixed.
svn path=/trunk/; revision=202
1999-03-01 21:48:30 +00:00