Commit Graph

3180 Commits

Author SHA1 Message Date
Guy Harris 561f935663 Include "etherpeek.h", which declares routines we define, not "snoop.h",
which declares routines we neither define nor use.

svn path=/trunk/; revision=3121
2001-03-09 06:34:59 +00:00
Guy Harris 64a43e1c0e Fixes to Lemon to get it to compile on platforms (such as some versions
of Tru64 UNIX) that define TRUE and FALSE.

Fixes to some Tru64 compiler warnings.

svn path=/trunk/; revision=3120
2001-03-09 04:35:25 +00:00
Gilbert Ramirez 682dc85b3a Add ability to create HTML documentation on Windows, if you have
perl and man2html. Don't call this makefile from the parent makefile
as not everyone will want to create documentation.
Add a couple variables to config.nmake to support this.

svn path=/trunk/; revision=3119
2001-03-09 03:43:58 +00:00
Guy Harris 9c2f1a5005 Fixes to some typos, from Thomas Gimpel.
svn path=/trunk/; revision=3118
2001-03-08 19:15:33 +00:00
Gilbert Ramirez 712548da3e In the code that handles finding a field after a user clicks on
a byte in the hex dump,

1. Fix an off-by-one error when finding the field. This only showed up
if the selected byte had no field of its own and was only designated
as part of the parent protocol (like the 00-padding at the beginning of
TCP options).

2. Fix an off-by-one error when clicking on a character in the second
half of the "text dump" portion of the hex dump. I forgot about the
extra space between the first 8 characters and the second 8 characters.

svn path=/trunk/; revision=3117
2001-03-07 19:33:24 +00:00
Gilbert Ramirez db4e6ae220 Actually *use* SSL_LIBS if found by configure.
From Henri Gomez.

svn path=/trunk/; revision=3116
2001-03-06 23:45:03 +00:00
Guy Harris bf1ebaea4f Use "proto_get_first_protocol()" and "proto_get_next_protocol()" to
enumerate the protocols, as that

	1) gives you the protocols in dictionary order;

	2) leaves out the non-protocol "text";

	3) doesn't even bother to show you non-protocols, so you don't
	   have to check for them.

svn path=/trunk/; revision=3115
2001-03-06 21:07:13 +00:00
Guy Harris 36a1ae190d Mention support for reading Etherpeek files.
svn path=/trunk/; revision=3114
2001-03-06 20:52:32 +00:00
Guy Harris 3e73883db0 Update the man page for the new display filter code.
svn path=/trunk/; revision=3113
2001-03-06 20:36:42 +00:00
Gilbert Ramirez 30eb87d558 Mention etherpeek support.
svn path=/trunk/; revision=3111
2001-03-06 18:41:29 +00:00
Gilbert Ramirez ba9ca69fe8 Update doco re: display filters.
Add config.h to dependencies for man pages so that correction VERSION
number is in the man page.

svn path=/trunk/; revision=3110
2001-03-06 18:38:47 +00:00
Gilbert Ramirez 697cd22723 Fix a decode problem with failed NFSv4 SETATTR operations.
From Mike Frisch.

svn path=/trunk/; revision=3109
2001-03-06 18:27:07 +00:00
Gilbert Ramirez 4b6b3da4e7 Add some win32-specific targets in .cvsignore's.
Replace 'nmake' with $(MAKE) /$(MAKEFLAGS), from Mike Frisch.

svn path=/trunk/; revision=3108
2001-03-06 13:08:13 +00:00
Gilbert Ramirez d21e83b98b Move version to 0.8.16.
Fix build for splitting build dir from src dir.
Note the use of updated GTK+ release for Win32 binaries.

svn path=/trunk/; revision=3107
2001-03-05 22:53:41 +00:00
Guy Harris 3941a1e3a4 Move the definition of IP_PROTO_IGRP to "packet-ip.h", and put an entry
for IGRP in the table in "ipproto.c".

Get rid of a duplicate entry for TCP in the same table, and also get rid
of the entry for IP_PROTO_IPV4 right after IP_PROTO_IPIP, as
IP_PROTO_IPIP and IP_PROTO_IPV4 are both 4.

svn path=/trunk/; revision=3106
2001-03-05 20:11:36 +00:00
Guy Harris 63887cb8c8 IP_PROTO_IPV4 and IP_PROTO_IPIP are both 4; there's no need to register
both of them as dissected by the IP dissector.

svn path=/trunk/; revision=3105
2001-03-05 19:59:01 +00:00
Gilbert Ramirez 3fbe8a6120 All the news, in 80 columns. :)
svn path=/trunk/; revision=3104
2001-03-05 17:52:20 +00:00
Guy Harris 703f49d14d Updates from Ed Warnicke.
svn path=/trunk/; revision=3103
2001-03-04 03:38:20 +00:00
Guy Harris 9078b773ca Update from Ed Warnicke.
svn path=/trunk/; revision=3102
2001-03-04 00:43:56 +00:00
Guy Harris 89b239da88 Fix a typo, and break some lines at 80 characters.
svn path=/trunk/; revision=3101
2001-03-03 00:56:46 +00:00
Guy Harris c4562297ab Add a few more items to ".cvsignore".
svn path=/trunk/; revision=3100
2001-03-03 00:47:31 +00:00
Guy Harris 1c71e3a0fa Do a bunch of semantic checks when "Accept" is clicked, so that we catch
at least some invalid filter expressions.

svn path=/trunk/; revision=3099
2001-03-03 00:45:14 +00:00
Guy Harris 1773080631 Fix some places where value-to-string routines were returning FALSE,
indicating an invalid string, but not reporting the error to the user.

svn path=/trunk/; revision=3098
2001-03-03 00:33:24 +00:00
Gilbert Ramirez 13a2d27349 Add changes through the end of January. I'll work on February and
what there is of March later.

svn path=/trunk/; revision=3097
2001-03-03 00:18:00 +00:00
Gilbert Ramirez 540f564993 Calculate the height and width of m_r_font globally, since various
routines need it.

When a user clicks on a hex digit or on the corresponding character
(the "text dump" portion) in the hex dump, find the field in the
proto_tree that the byte corresponds to, expand the GtkCTree so that
the field is viewable, select the field, and center it vertically.
LanAlyzer has this feature, and I've missed it in Ethereal.

svn path=/trunk/; revision=3096
2001-03-02 23:10:12 +00:00
Guy Harris 22e8d3d18f Update from Mike Frisch.
svn path=/trunk/; revision=3095
2001-03-02 21:54:02 +00:00
Gilbert Ramirez 8260a34fe5 create_main_window() does not need to be called by the capture child
process.

svn path=/trunk/; revision=3094
2001-03-02 17:44:07 +00:00
Gilbert Ramirez cf75b3f6a8 Get rid of unused method from ftypes structure.
svn path=/trunk/; revision=3093
2001-03-02 17:17:56 +00:00
Gilbert Ramirez b24dff17bd Enable slices of [i-j], where i is start offset and j is end offset,
inclusive. That is, [0-1] is a slice of 2 bytes.

svn path=/trunk/; revision=3092
2001-03-02 17:04:25 +00:00
Gilbert Ramirez c88e7b5a63 Add "Toggle All", "Enable All", and "Disable All" buttons to the
protocol GUI.

svn path=/trunk/; revision=3091
2001-03-01 21:34:09 +00:00
Gilbert Ramirez e9b0d49fb0 Don't let the color selection dialogue for TCP Streams
stretch itself due to a really wide notebook widget.

svn path=/trunk/; revision=3090
2001-03-01 20:49:50 +00:00
Gilbert Ramirez 187934cad4 Create proper display filter for FT_BOOLEAN when using "Match Selected".
svn path=/trunk/; revision=3089
2001-03-01 20:24:05 +00:00
Guy Harris 242e57f780 Tvbuffify the ICP dissector.
svn path=/trunk/; revision=3088
2001-02-28 21:26:58 +00:00
Guy Harris 1658a51f79 Add hidden fields for bad checksums to various IP-family protocols.
Initialize the "hf_" value for "icmp.checksum_bad" to -1, the way all
other "hf_" values are initialized, and declare it and "ip.checksum_bad"
to have base BASE_NONE, not 4.

svn path=/trunk/; revision=3087
2001-02-28 19:33:49 +00:00
Guy Harris 9815f80563 Tvbuffify the TACACS dissector (such as it is).
svn path=/trunk/; revision=3086
2001-02-28 10:28:55 +00:00
Guy Harris f8f8957c01 Tvbuffify the ISAKMP dissector.
Handle the payloads iteratively rather than recursively, so that the
code that knows how to iterate over payloads is confined to a small
number of places rather than being in every single payload dissector.

Pull the code to dissect the generic payload header into a single
routine, and do it in the code that iterates over payloads rather than
in the dissectors for each payload.

Clean up some other things.

svn path=/trunk/; revision=3085
2001-02-28 10:22:29 +00:00
Guy Harris d1a2f49102 Tvbuffiy the IPSec dissectors.
Pull the bulk of the AH dissection code into a common routine, used both
by "dissect_ah()" and "dissect_ah_old()".

"dissect_ah()" isn't used outside "packet-ipsec.c"; make it static.

svn path=/trunk/; revision=3084
2001-02-28 06:37:29 +00:00
Gilbert Ramirez b864c8d80d Move the location of cppmagic.h, since the lemon-flex include files
require it. It makes more sense to either put cppmagic with lemon, or
in yet another common directory. I'll just put it with lemon.

svn path=/trunk/; revision=3083
2001-02-27 20:34:09 +00:00
Guy Harris ed665a1b50 Rquota support, from Mike Frisch.
svn path=/trunk/; revision=3082
2001-02-27 19:40:58 +00:00
Gilbert Ramirez f75a4d1d87 Do a better job of #ifdef'ing out 3 variables in the case of non-UCD-SNMP
and linux.

svn path=/trunk/; revision=3081
2001-02-27 19:39:48 +00:00
Gilbert Ramirez 2a50f8af4f Add Ed Warnicke's drange code to the new dfilter system.
Not supported yet: [i-j] (offset-offset)
Supported:
	[i]	index
	[i:j]	offset:length
	[:j]	0:offset
	[i:]	offset:end
	[x,y]	concatenation of slices

svn path=/trunk/; revision=3080
2001-02-27 19:23:30 +00:00
Guy Harris a954a9d276 Fix up the handling of NBIPX packets, and of Microsoft "direct hosting"
name-server-over-IPX and mailslot-datagram-over-IPX packets, based on
stuff dredged out of a pile of documents on the Web.

svn path=/trunk/; revision=3079
2001-02-27 07:28:48 +00:00
Guy Harris 30ab306064 RFC 3024 reverse tunneling support for the Mobile IP dissector, from
Peter Lei.

svn path=/trunk/; revision=3078
2001-02-27 00:27:27 +00:00
Guy Harris c61ee2b4ad Remove the Lemon stuff from EXTRA_DIST; the Lemon source is now in
"tools/lemon", and that directory's "Makefile.am" arranges to put the
Lemon stuff into the distribution.

svn path=/trunk/; revision=3077
2001-02-26 23:56:59 +00:00
Olivier Abad 78cfa9723a Replace some C++-style comments with C-style ones.
svn path=/trunk/; revision=3076
2001-02-26 22:19:12 +00:00
Guy Harris 33f97299ad Tvbuffify a commented-out line.
svn path=/trunk/; revision=3075
2001-02-26 01:25:41 +00:00
Guy Harris 61d42b7eb4 OK, the latest "packet-diameter.h" RCS file has shown up in the
anonymous CVS tree; get rid of it again.

svn path=/trunk/; revision=3074
2001-02-24 18:46:16 +00:00
Guy Harris 9c9abf8c54 Updates from David Frascone: includes DIAMETER-over-SCTP support.
svn path=/trunk/; revision=3073
2001-02-23 19:26:26 +00:00
Gilbert Ramirez 62a9621831 Narrow the case where we check for stripped source-route bits. Since the
test depends on finding IPX or SNAP info, we can limit the test to LLC
frames.

svn path=/trunk/; revision=3072
2001-02-23 17:19:52 +00:00
Gilbert Ramirez 58afc7c0b4 Add a little script which takes the output of "cvs diff", which is
a flattened recursive diff, and unflattens it, so that it can
be applied with "patch -p0". This has tested only against the output
of "cvs diff -u".

Usage:

cvs diff -u | cvsdiff-fix.py > file.diff

svn path=/trunk/; revision=3071
2001-02-23 16:30:51 +00:00