Commit Graph

3653 Commits

Author SHA1 Message Date
Guy Harris fa31197bd0 "-t" flag for editcap, to adjust timestamps in frames, from Scott
Renfro.

svn path=/trunk/; revision=3696
2001-07-12 08:16:45 +00:00
Guy Harris dd3fcb36ec Include <string.h> to declare string functions that we use.
svn path=/trunk/; revision=3695
2001-07-12 07:06:25 +00:00
Guy Harris 4ef3ef584f Include "snprintf.h" if necessary, as we use "snprintf()".
svn path=/trunk/; revision=3694
2001-07-12 07:05:33 +00:00
Guy Harris 22317b5058 NCP-over-IP bug fix (it wasn't skipping the NCP-over-{TCP,UDP} header
before passing the packet on to the request and reply dissectors), from
David Eisner.

svn path=/trunk/; revision=3693
2001-07-12 01:48:05 +00:00
Guy Harris 318682adca SSL/TLS support, from Scott Renfro.
svn path=/trunk/; revision=3692
2001-07-11 18:19:16 +00:00
Guy Harris 1eb1ecf07a Change from Heikki Vatiainen - mark the columns non-writable before
dissecting the encapsulated IPv4 packet, so that they reflect the MSDP
packet rather than the encapsulated packet.

svn path=/trunk/; revision=3691
2001-07-11 17:56:31 +00:00
Guy Harris d0817f4d52 Put the settings of the flags into the summary line for the TACACS+
flags field.

svn path=/trunk/; revision=3690
2001-07-11 16:03:34 +00:00
Guy Harris 0c18ef735c Make TACACS+ a separate protocol.
Use registered fields in both the TACACS and TACACS+ dissectors, and put
in Booleans for request vs. response in TACACS+, as it used to be there
(the request type determines that in TACACS).

svn path=/trunk/; revision=3689
2001-07-11 07:03:45 +00:00
Guy Harris bce90a4771 "make-reg-dotc" was writing the "#include "register.h"" line to
"register.c-tmp", not "${outfile}-tmp"; fix that.

svn path=/trunk/; revision=3688
2001-07-11 05:41:38 +00:00
Guy Harris b6313ab237 Add "register-static.c" to the list of files to ignore in CVS.
svn path=/trunk/; revision=3687
2001-07-11 05:25:43 +00:00
Guy Harris f7ca532ae7 Put some missing header files into noinst_HEADERS, so they are made part
of the source tarball.

svn path=/trunk/; revision=3686
2001-07-11 05:23:08 +00:00
Guy Harris e8f355969f Not all C compilers allow C++-style comments.
svn path=/trunk/; revision=3685
2001-07-11 04:49:34 +00:00
Guy Harris 02f60e7c2c From Todd Sabin: cleaned up "get_column_format_matches()".
svn path=/trunk/; revision=3684
2001-07-11 04:44:58 +00:00
Guy Harris 20d911b213 Add entries for traceroute requests and responses to the value_string
table for IGMP packet types (we treat requests as "Query or Request", as
the type doesn't say which it is).

Base the query vs. request decision on the reported length of the
packet, not the captured length.

Checksum the packet only if it's not fragmented and the captured length
is greater than or equal to the amount to be checksummed, and, for
requests where we don't wire in the length to be checksummed, base it on
the reported length of the packet, not the captured length.

svn path=/trunk/; revision=3683
2001-07-11 04:24:34 +00:00
Guy Harris e28d0635ff Just add the "hf_type" field in a traceroute message with
"proto_tree_add_uint_format()", rather than adding it as a hidden field
and then adding a text entry.

svn path=/trunk/; revision=3682
2001-07-11 04:02:51 +00:00
Guy Harris 317a2651f9 Support for dissectors of protocols running atop DCE RPC registering
themselves with the DCE RPC dissector, and support for some of the
protocols atop DCE RPC that are part of DCE RPC, from Todd Sabin.

svn path=/trunk/; revision=3681
2001-07-11 01:25:45 +00:00
Guy Harris 08b6ae0306 MSDP support, from Heikki Vatiainen.
svn path=/trunk/; revision=3680
2001-07-11 00:59:50 +00:00
Guy Harris 04c1cc2198 From Paul Ionescu: fleshed out TACACS/XTACACS/TACACS+ dissector.
svn path=/trunk/; revision=3679
2001-07-10 21:06:53 +00:00
Guy Harris 0bbb8f72a0 Add some additional items to .cvsignore files, for new files built when
compiling plugins for statically-linked binaries.

svn path=/trunk/; revision=3678
2001-07-10 20:58:42 +00:00
Guy Harris 24ec54336f IGMP fixes and multicast traceroute support, from Heikki Vatiainen.
Assorted other fixes.

svn path=/trunk/; revision=3677
2001-07-10 20:55:54 +00:00
Ed Warnicke 188717373e Fixed the make dist problem.
svn path=/trunk/; revision=3676
2001-07-10 13:18:43 +00:00
Ed Warnicke 9e6250e336 Moved documentation for plugins to README.plugins and expanded
it.  Removed most of the Plugins section from README.developers

svn path=/trunk/; revision=3675
2001-07-10 01:22:58 +00:00
Ed Warnicke 1d4c6365c0 Small cleanup.
svn path=/trunk/; revision=3674
2001-07-10 01:20:56 +00:00
Guy Harris fce9b71a0f Autoconf support for glibc IPv6 support, from Pekka Savola.
svn path=/trunk/; revision=3673
2001-07-09 23:42:39 +00:00
Guy Harris 30846950d0 Support for {Enter,Return} keys toggling expansion of selected protocol
tree item, from Heikki Vatiainen.

svn path=/trunk/; revision=3672
2001-07-09 22:54:15 +00:00
Uwe Girlich 25def853cf C sources are in $(srcdir) and not the current directory
svn path=/trunk/; revision=3671
2001-07-09 13:21:02 +00:00
Guy Harris 6486a2216c Get rid of the unused zero-length "bgpext_osptf_rtype_metric" array -
not all compilers let you define an array with no explicit length and no
initializers.

svn path=/trunk/; revision=3670
2001-07-09 11:08:39 +00:00
Guy Harris 427d1df090 Get rid of an unused variable.
svn path=/trunk/; revision=3669
2001-07-08 23:33:04 +00:00
Guy Harris 5f2fdc5222 Add some XXX comments on questions about some packet information.
svn path=/trunk/; revision=3668
2001-07-08 23:20:19 +00:00
Guy Harris 2c8be34f57 Support for draft-rosen-vpn-ospf-bgp-mpls and for additional BGP
extended communities, from Aamer Akhter.

svn path=/trunk/; revision=3667
2001-07-08 22:59:51 +00:00
Guy Harris 60e5d8235d Display LMNT tokens with the value 0xffff as "Windows NT Networking";
that's how Network Monitor displays them.  (What are they if they're not
0xffff?).

The PDC Startup announcement message, if not short, includes an LMNT
token between the NT version and LM20 token.

After the DB Count in an Announce change to UAS or SAM message there are
that number of DBChange Info Structures, according to Network Monitor;
dissect them.  After that, there is a domain SID size, and, if that size
is non-zero, a domain SID, and only then

In a SAM LOGON request, the domain SID size is a 4-byte quantity, not a
2-byte quantity, and is followed by a domain SID, an NT version, an LMNT
token, and an LM token, according to Network Monitor.

Display the NT version in decimal, as that's how Network Monitor
displays it.

svn path=/trunk/; revision=3666
2001-07-08 22:56:22 +00:00
Ed Warnicke de98ec2efa Fixed the {tethereal,ethereal}_static targets so that the
static binaries have the dissectors provided in the plugins available.

svn path=/trunk/; revision=3665
2001-07-08 21:51:34 +00:00
Guy Harris bf877ca5c5 Get rid of incorrect "const" qualifier.
svn path=/trunk/; revision=3664
2001-07-08 20:38:26 +00:00
Guy Harris dafe07146a Assume the last token in a Announce Change to UAS or SAM message is an
LM token - it appears to have the value 0xffff in several captures, and
follows an "LMNT Token" field, so it might be an LM token.

svn path=/trunk/; revision=3663
2001-07-08 19:31:01 +00:00
Guy Harris a3137abdee Use tvbuff-based routines to find the length of single-bit-character-set
strings.

svn path=/trunk/; revision=3662
2001-07-08 19:26:33 +00:00
Guy Harris d47dac785e Tvbuffified SMB NETLOGON dissector, from Ronnie Sahlberg.
Fixed up some longstanding bugs (predating the tvbuffification)
discovered during regression testing of the tvbuffification.

svn path=/trunk/; revision=3661
2001-07-08 11:32:02 +00:00
Ed Warnicke b7a5873eae Some additional cleanup.
svn path=/trunk/; revision=3660
2001-07-08 04:47:33 +00:00
Guy Harris 215f7caebc Support for ANSI flavor of MTP3, from Jeff Morriss.
svn path=/trunk/; revision=3659
2001-07-07 09:06:40 +00:00
Guy Harris 42f88b6693 Remove a comment that no longer applies - we no longer seek forward in
compressed Sniffer files by sequentially moving forward, and we no
longer seek backward by seeking to the beginning and then seeking
forward to the new position, we now seek to the beginning of the
compressed block that contains the target position, if we're not already
in that block, and then move to the appropriate position in that block.

svn path=/trunk/; revision=3658
2001-07-06 00:17:36 +00:00
Olivier Abad 7ad33a9836 fixed some warning: comparison between signed and unsigned
svn path=/trunk/; revision=3657
2001-07-05 22:10:09 +00:00
Guy Harris 8127f13e9f Don't capitalize the names of programs in the summary lines of man pages
- at least some versions of makewhatis (e.g., the Solaris version)
uses that name in a case-sensitive fashion, so you can't do "man
ethereal", say, you have to do "man Ethereal", and that doesn't work as
the man page file is "ethereal.1", not "Ethereal.1".

svn path=/trunk/; revision=3656
2001-07-05 21:27:11 +00:00
Guy Harris 42f55e0208 "wtap_file()" is no longer in Wiretap, so don't try to export it from
the Wiretap DLL.

svn path=/trunk/; revision=3655
2001-07-05 20:57:09 +00:00
Guy Harris b47fa7aecd Updates from Frank Singleton - get rid of an option that was made
unnecessary as a result of the change that made subdissectors for
GIOP-based protocols register themselves with the GIOP dissector with
their protocol ID and had the GIOP dissector check whether the protocol
is enabled before calling its dissector, so that subdissectors can be
disabled from the "Edit->Protocols" dialog box.

svn path=/trunk/; revision=3654
2001-07-05 20:54:56 +00:00
Ed Warnicke 902b66b368 Fixed problem with handling empty parameters.
Problem was pointed out by Alejandro Vaquero who
provided a fix.  Implemented a slightly different fix.

svn path=/trunk/; revision=3653
2001-07-05 04:27:10 +00:00
Guy Harris 537d308abe "open_cap_file()" in Ethereal and Tethereal don't use the FILE_T they
get from calling "wtap_file()", so get rid of the call and the
(otherwise unused) variable to which its result gets assigned.

That lets us get rid of "wtap_file()" in Wiretap.

It also lets us get rid of the include of "zlib.h" in "file.h"; the
#defines of "file_open()", "filed_open()", and "file_close()" are also
unnecessary, so we get rid of those as well.

However, that means we need to include <zlib.h> in "gtk/main.c" and
"tethereal.c", so that the version number of libz is defined and can
show up in the version string.

svn path=/trunk/; revision=3652
2001-07-05 00:34:42 +00:00
Ed Warnicke af5c567978 Some minor changes to allow the mgcp plugin to be compiled
into a static binary if desired.

svn path=/trunk/; revision=3651
2001-07-04 22:01:22 +00:00
Uwe Girlich 67cadc1ced The Perl script process-x11-fields.pl is in the $(srcdir) and not in the
current directory.
The x11-fields file is in the $(srcdir) and not in the current directory.

svn path=/trunk/; revision=3650
2001-07-04 06:25:03 +00:00
Ed Warnicke 6d05dbfffd Added "-all-static" take to _LDADD for ethereal_static and tethereal_static
so that the static targets will link correctly using libtool.

svn path=/trunk/; revision=3649
2001-07-03 23:39:55 +00:00
Guy Harris e500c4ff45 From Frank Singleton: add subtrees for ServiceContextList and IOR.
svn path=/trunk/; revision=3648
2001-07-03 23:30:01 +00:00
Guy Harris c4bd63678c Don't base the protocol column setting in the WSP and WTP dissectors on
the port - instead, base it on whether the dissector was called directly
from UDP or called from another WAP dissector.

That way, if you explicitly say "decode this as WTP" because there was a
redirection (or if, in the future, the WSP dissector handles
redirections for you, although that won't handle the case of a capture
where the redirection wasn't captured), the column doesn't say "UDP", it
says the right thing.

Don't register the WTLS dissector by name - nobody calls it through a
handle.

Register the WTP dissector by name, as the WTLS dissector tries to get a
handle for it - although it doesn't actually call it, or the WSP
dissector, through a handle.

svn path=/trunk/; revision=3647
2001-07-03 09:53:22 +00:00