Commit graph

3397 commits

Author SHA1 Message Date
Guy Harris
a61d43b6d5 If you put an item into the protocol tree with "dissect_rpc_data()",
it must be FT_BYTES, not FT_STRING.

svn path=/trunk/; revision=3440
2001-05-23 19:13:37 +00:00
Guy Harris
f3ee8769e5 If you put an item into the protocol tree with "dissect_rpc_data_tvb()",
it must be FT_BYTES, not FT_STRING.

svn path=/trunk/; revision=3439
2001-05-23 19:06:55 +00:00
Guy Harris
35df6d1a29 Get rid of an extra colon on a field name, and display that field using
that name.

svn path=/trunk/; revision=3438
2001-05-23 18:52:54 +00:00
Guy Harris
315a43b5e3 Get rid of extra colons, and fix up the display of default metrics, from
Jean-Christian Pennetier.

svn path=/trunk/; revision=3437
2001-05-23 18:44:59 +00:00
Gerald Combs
5500c09923 Add tree summary information similar to what's in packet-tcp.c.
svn path=/trunk/; revision=3436
2001-05-23 03:33:59 +00:00
Gilbert Ramirez
ec962d8cbd Win32: build text2pcap doco and package it.
svn path=/trunk/; revision=3435
2001-05-22 16:19:45 +00:00
Guy Harris
1665ab7551 According to the autoconf documentation, you're not supposed to use
AC_MSG_RESULT without AC_MSG_CHECKING.

svn path=/trunk/; revision=3434
2001-05-22 06:43:24 +00:00
Guy Harris
0e00be5869 Cleanups to the "--with-ssl" configuration option, and changes to add
compiler flags on Solaris with GCC to cope with X11 header file
inadequacies.

svn path=/trunk/; revision=3433
2001-05-22 06:33:06 +00:00
Guy Harris
b8b6c4adf3 Fix a typo in the "product name", and fix the "internal name".
svn path=/trunk/; revision=3432
2001-05-21 11:01:56 +00:00
Guy Harris
46e1be8671 Fix to LDP prefix FEC dissection for IPv4, from Eran Mann.
svn path=/trunk/; revision=3431
2001-05-21 10:14:37 +00:00
Guy Harris
30bc071932 If an RPC opaque datum isn't a string, don't use
"proto_tree_add_string_format()" to put in the protocol tree item for
the data, use "proto_tree_add_bytes_format()".

svn path=/trunk/; revision=3430
2001-05-21 08:52:17 +00:00
Guy Harris
80e9795b71 Add resource stuff for text2pcap.
svn path=/trunk/; revision=3429
2001-05-21 05:04:49 +00:00
Guy Harris
1caea2c361 Build text2pcap on Windows.
Fix text2pcap.c so that it can be compiled with Microsoft Visual C++
6.0:

	protect some includes with #ifdefs, as not all the header files
	in question exist in the MSVC++ build environment;

	include <winsock.h> if we have it, to declare "ntohs()" and the
	like;

	include "getopt.h" if we need it, to declare stuff for
	"getopt()";

	include "config.h" if we have it, so we know whether the header
	files in question exist or are needed;

	rename "BYTE" to "READ_BYTE", as <winsock.h> defines BYTE as
	well, and that definition causes a conflict;

	get rid of references to "__FUNCTION__", as MSVC++ doesn't
	define it (I suspect at least some UNIX compilers don't define
	it, either).

svn path=/trunk/; revision=3428
2001-05-21 03:17:14 +00:00
Guy Harris
eee7f58e2d Fix up a cast so that it properly sign-extends the server time zone;
from Joerg Mayer.

svn path=/trunk/; revision=3427
2001-05-20 22:26:14 +00:00
Guy Harris
724c494b70 Rewritten IGMP dissector, from Ronnie Sahlberg.
svn path=/trunk/; revision=3426
2001-05-20 22:20:33 +00:00
Guy Harris
281b8b2738 Add the text2pcap generated files to .cvsignore.
svn path=/trunk/; revision=3425
2001-05-20 22:06:04 +00:00
Guy Harris
802962e0dd Declare "yylex()" in "text2pcap.h", so that there's a prototype in scope
when it's used by "text2pcap.c" - and so that the *same* prototype is in
scope when it's defined by "text2pcap-scanner.c".

Define "YY_NO_UNPUT" in "text2pcap.h", so we don't define "yyunput()" in
"text2pcap-scanner.c"; it's not used, so some compilers whine about it.

svn path=/trunk/; revision=3424
2001-05-17 00:11:37 +00:00
Ashok Narayanan
28fb6a9ade Documentation fix to generalize 'text2pcap -e' for all L3 packets instead of just IP.
svn path=/trunk/; revision=3423
2001-05-16 22:50:36 +00:00
Ashok Narayanan
e7fa2d44fa text2pcap.1 was not being installed due to an omission in Makefile.am. Fixed this.
svn path=/trunk/; revision=3422
2001-05-16 22:04:53 +00:00
Ashok Narayanan
2914e81177 Added 'text2pcap', a utility to convert text hexdumps into pcap
files. See text2pcap.1 (built from doc/text2pcap.pod) for details.

Changed 'tethereal -x' output to match hex dump format of text2pcap,
Ethereal and others.

svn path=/trunk/; revision=3421
2001-05-16 21:32:05 +00:00
Guy Harris
5aafaef6c2 Update hte entry for the Cisco-proprietary capabilities in BGP to give
the name of the person who submitted that change.

svn path=/trunk/; revision=3419
2001-05-16 20:02:51 +00:00
Guy Harris
8c645fe750 Put in the name for <bgp4news@yahoo.com>.
svn path=/trunk/; revision=3418
2001-05-16 20:00:13 +00:00
Jeff Foster
6d035328fa Update NEWS file for release 8.18
svn path=/trunk/; revision=3417
2001-05-16 18:57:47 +00:00
Guy Harris
a304fe6092 Support for Cisco-proprietary capabilities in BGP, from
<bgp4news@yahoo.com>.

svn path=/trunk/; revision=3416
2001-05-16 18:52:37 +00:00
Jeff Foster
4004d96518 Update files for release 8.18
svn path=/trunk/; revision=3415
2001-05-16 16:17:52 +00:00
Guy Harris
951f325eca Stop depending on the order in which operations are performed by
generated code, as per Chris Foulds' note.

Also, when constructing the system ID or area string, always append the
four-octet groups, rather than overwriting them, as we had been doing.

svn path=/trunk/; revision=3414
2001-05-15 18:58:15 +00:00
Guy Harris
dc710bd3df Various ISIS improvements (ISIS IPv6 routing TLV dissection, ISIS
traffic engineering TLV dissection, IS neighbor and IP reachability TLVs
given their own subtree types), from Jean-Christian Pennetier.

svn path=/trunk/; revision=3413
2001-05-14 18:40:17 +00:00
Guy Harris
6aff75aabc Updates to OSPF for the changes between drafts 3 and 4 of
draft-katz-yeung-ospf-traffic, from Michael Rozhavsky.

svn path=/trunk/; revision=3412
2001-05-14 18:25:34 +00:00
Gerald Combs
f9a822d78f Fix a bug reported by Christopher McAvaney in
http://www.ethereal.com/lists/ethereal-dev/200104/msg00152.html.
In the display filter help window, the height of the text widget
can easily exceed the maximum height of an X window, which results
in a nonfunctioning vertical scroll bar.  This fix disables the
GtkScrolledWindow vertical scroll bar, and creates a new scroll bar
attached directly to the GtkText widget.

The layout is a little off - the horizontal scroll bar now occupies the
full height of the GtkScrolledWindow widget.  There doesn't seem to be
an easy way to grab the height of the horizontal scroll bar in order to
pad out the are underneath the vertical scroll bar.

svn path=/trunk/; revision=3411
2001-05-12 19:45:37 +00:00
Guy Harris
30e33e04d9 Passive FTP support, from Juan Toledo.
svn path=/trunk/; revision=3410
2001-05-11 23:24:10 +00:00
Guy Harris
7d05c32074 Updates for the current CVS version of autoconf, from Nathan Neulinger
(without those updates, I'm not even certain it was doing the right
thing even with autoconf 2.13, as it was sticking "dnl" into the program
it was handing to the C preprocessor, although, as it was only handing
it to the preprocessor, the extra "dnl" may have been harmless).

svn path=/trunk/; revision=3409
2001-05-11 01:09:59 +00:00
Guy Harris
e0c8b91868 Automake updates, from Nathan Neulinger, to handle the current CVS
version of automake (which will probably eventually become the next
release of automake) - it assumes variables that end with _SOURCES are
of the form "target_SOURCES", where "target" must be a target that the
Makefile builds.

Rename "DISSECTOR_SOURCES" to "DISSECTOR_SRC" in "Makefile.nmake", as
well, so that part of "Makefile.nmake" exactly matches that part of
"Makefile.am".

svn path=/trunk/; revision=3408
2001-05-11 00:39:57 +00:00
Guy Harris
288053a6db Patch from Chris Jepeway to use, in NetXRay 2.x captures, a field from
the file header to specify the time units; different files appear to
have different time stamp units.

svn path=/trunk/; revision=3407
2001-05-09 04:42:27 +00:00
Guy Harris
a0dfbbbee5 When generating a filter expression to match a protocol tree line not
corresponding to a named field, by matching stuff at a particular offset
in the frame, don't treat a length of 1 byte specially - the syntax for
a one-byte byte string is the same as for longer byte strings, with no
leading "0x" allowed.

Clean up white space.

svn path=/trunk/; revision=3406
2001-05-09 01:22:46 +00:00
Guy Harris
9862028929 Only set the Info column to an error indication if we haven't already
put a packet description there.

svn path=/trunk/; revision=3405
2001-05-08 19:50:29 +00:00
Guy Harris
2b5bf3b6dc Additional LDAP checks for invalid packets, from Scott Renfro.
svn path=/trunk/; revision=3404
2001-05-08 19:46:32 +00:00
Guy Harris
01d5b9bf96 Fix one remaining "NIS" to be "NIS+".
svn path=/trunk/; revision=3403
2001-05-07 21:11:42 +00:00
Guy Harris
3d2a6831d0 If "proto_item_set_len()" is passed a null pointer as its first
argument, have it just return; this allows dissectors that don't
explicitly check for a null protocol-tree argument to pass the
protocol-tree argument to "proto_tree_add_XXX()" routines - which means
they'll get a null pointer back if the protocol-tree argument is null
because we're not constructing a protocol tree - and then later use
"proto_item_set_len()" without having to check for a null
protocol-tree-item pointer.

svn path=/trunk/; revision=3402
2001-05-07 21:06:59 +00:00
Guy Harris
4e6e4e047d NIS+ support, from Ronnie Sahlberg.
svn path=/trunk/; revision=3401
2001-05-07 20:49:48 +00:00
Guy Harris
6ca59937d8 Support for dissecting XDR arrays, from Ronnie Sahlberg.
svn path=/trunk/; revision=3400
2001-05-07 20:36:39 +00:00
Guy Harris
b9580ae826 PIM enhancements and fixes, from Heikki Vatiainen.
svn path=/trunk/; revision=3399
2001-05-07 20:26:25 +00:00
Guy Harris
4fe1b69d24 IPX SAP over IPX EIGRP support, and IP EIGRP authentication updates,
from Paul Ionescu.

svn path=/trunk/; revision=3398
2001-05-03 22:50:33 +00:00
Uwe Girlich
df77eacc84 uint8_t changed to guint8
svn path=/trunk/; revision=3397
2001-05-03 07:02:50 +00:00
Guy Harris
a7db881896 Updates from Alexandre P. Ferreira.
svn path=/trunk/; revision=3396
2001-05-02 22:37:06 +00:00
Guy Harris
923ee151b7 Additional OSPF LSA types and opaque-options flag, from Michael
Rozhavsky.

svn path=/trunk/; revision=3395
2001-05-02 18:12:46 +00:00
Guy Harris
279aeaade0 Put in a comment warning that
1) "tvb_get_ntohll()" isn't available on all platforms (e.g.,
	   with at least some compilers on Siemens' Sinix)

and

	2) "%ll{d,o,x}" won't necessarily print a "long long int"
	   quantity (e.g., on FreeBSD and Digital UNIX).

svn path=/trunk/; revision=3394
2001-05-01 21:39:41 +00:00
Ashok Narayanan
abe5eaef80 Bugfix: Removed an unnecessary and potentially spurious include from RSVP.
svn path=/trunk/; revision=3393
2001-05-01 18:33:06 +00:00
Ashok Narayanan
56884ad699 - Added support for RSVP Refresh Reduction Extensions
(draft-ietf-rsvp-refresh-reduct-05).

- Added one-line summary of each RSVP object in the object line.

svn path=/trunk/; revision=3392
2001-05-01 18:19:04 +00:00
Ashok Narayanan
29dd08641a Added support for DHCP Authentication extensions specified in
draft-ietf-dhc-authentication-16.txt

svn path=/trunk/; revision=3391
2001-05-01 03:54:04 +00:00
Guy Harris
3331642eb6 Base HAVE_PLUGINS on whether "g_module_supported()" returns TRUE, not on
whether there's a "dlfcn.h" header file; that lets us support plugins on
HP-UX.

svn path=/trunk/; revision=3390
2001-05-01 02:44:52 +00:00