jlayton/wireshark.git
22 years agoMergecap utility for merging capture files, from Scott Renfro.
Guy Harris [Thu, 12 Jul 2001 19:59:41 +0000 (19:59 -0000)]
Mergecap utility for merging capture files, from Scott Renfro.

svn path=/trunk/; revision=3701

22 years agoPatch to allow the creation of "User Exception decoding" code from
Olivier Abad [Thu, 12 Jul 2001 19:51:42 +0000 (19:51 -0000)]
Patch to allow the creation of "User Exception decoding" code from
Frank Singleton.

svn path=/trunk/; revision=3700

22 years agoAdditional filterable fields added, from Heikki Vatiainen.
Guy Harris [Thu, 12 Jul 2001 19:43:59 +0000 (19:43 -0000)]
Additional filterable fields added, from Heikki Vatiainen.

svn path=/trunk/; revision=3699

22 years agoFixes to "proto_tree_add_item()" calls, and replacement of
Guy Harris [Thu, 12 Jul 2001 19:42:57 +0000 (19:42 -0000)]
Fixes to "proto_tree_add_item()" calls, and replacement of
"proto_tree_add_ipv4()" and "proto_tree_add_uint()" calls with
"proto_tree_add_item()" calls, from Heikki Vatiainen.

svn path=/trunk/; revision=3698

22 years agoFrom Heikki Vatiainen: fix to previous checkin (I guess some platforms
Guy Harris [Thu, 12 Jul 2001 08:52:59 +0000 (08:52 -0000)]
From Heikki Vatiainen: fix to previous checkin (I guess some platforms
allow the redefinition of "strlen", as it compiled on at least some
platforms).

svn path=/trunk/; revision=3697

22 years ago"-t" flag for editcap, to adjust timestamps in frames, from Scott
Guy Harris [Thu, 12 Jul 2001 08:16:45 +0000 (08:16 -0000)]
"-t" flag for editcap, to adjust timestamps in frames, from Scott
Renfro.

svn path=/trunk/; revision=3696

22 years agoInclude <string.h> to declare string functions that we use.
Guy Harris [Thu, 12 Jul 2001 07:06:25 +0000 (07:06 -0000)]
Include <string.h> to declare string functions that we use.

svn path=/trunk/; revision=3695

22 years agoInclude "snprintf.h" if necessary, as we use "snprintf()".
Guy Harris [Thu, 12 Jul 2001 07:05:33 +0000 (07:05 -0000)]
Include "snprintf.h" if necessary, as we use "snprintf()".

svn path=/trunk/; revision=3694

22 years agoNCP-over-IP bug fix (it wasn't skipping the NCP-over-{TCP,UDP} header
Guy Harris [Thu, 12 Jul 2001 01:48:05 +0000 (01:48 -0000)]
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

22 years agoSSL/TLS support, from Scott Renfro.
Guy Harris [Wed, 11 Jul 2001 18:19:16 +0000 (18:19 -0000)]
SSL/TLS support, from Scott Renfro.

svn path=/trunk/; revision=3692

22 years agoChange from Heikki Vatiainen - mark the columns non-writable before
Guy Harris [Wed, 11 Jul 2001 17:56:31 +0000 (17:56 -0000)]
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

22 years agoPut the settings of the flags into the summary line for the TACACS+
Guy Harris [Wed, 11 Jul 2001 16:03:34 +0000 (16:03 -0000)]
Put the settings of the flags into the summary line for the TACACS+
flags field.

svn path=/trunk/; revision=3690

22 years agoMake TACACS+ a separate protocol.
Guy Harris [Wed, 11 Jul 2001 07:03:45 +0000 (07:03 -0000)]
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

22 years ago"make-reg-dotc" was writing the "#include "register.h"" line to
Guy Harris [Wed, 11 Jul 2001 05:41:38 +0000 (05:41 -0000)]
"make-reg-dotc" was writing the "#include "register.h"" line to
"register.c-tmp", not "${outfile}-tmp"; fix that.

svn path=/trunk/; revision=3688

22 years agoAdd "register-static.c" to the list of files to ignore in CVS.
Guy Harris [Wed, 11 Jul 2001 05:25:43 +0000 (05:25 -0000)]
Add "register-static.c" to the list of files to ignore in CVS.

svn path=/trunk/; revision=3687

22 years agoPut some missing header files into noinst_HEADERS, so they are made part
Guy Harris [Wed, 11 Jul 2001 05:23:08 +0000 (05:23 -0000)]
Put some missing header files into noinst_HEADERS, so they are made part
of the source tarball.

svn path=/trunk/; revision=3686

22 years agoNot all C compilers allow C++-style comments.
Guy Harris [Wed, 11 Jul 2001 04:49:34 +0000 (04:49 -0000)]
Not all C compilers allow C++-style comments.

svn path=/trunk/; revision=3685

22 years agoFrom Todd Sabin: cleaned up "get_column_format_matches()".
Guy Harris [Wed, 11 Jul 2001 04:44:58 +0000 (04:44 -0000)]
From Todd Sabin: cleaned up "get_column_format_matches()".

svn path=/trunk/; revision=3684

22 years agoAdd entries for traceroute requests and responses to the value_string
Guy Harris [Wed, 11 Jul 2001 04:24:34 +0000 (04:24 -0000)]
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

22 years agoJust add the "hf_type" field in a traceroute message with
Guy Harris [Wed, 11 Jul 2001 04:02:51 +0000 (04:02 -0000)]
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

22 years agoSupport for dissectors of protocols running atop DCE RPC registering
Guy Harris [Wed, 11 Jul 2001 01:25:45 +0000 (01:25 -0000)]
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

22 years agoMSDP support, from Heikki Vatiainen.
Guy Harris [Wed, 11 Jul 2001 00:59:50 +0000 (00:59 -0000)]
MSDP support, from Heikki Vatiainen.

svn path=/trunk/; revision=3680

22 years agoFrom Paul Ionescu: fleshed out TACACS/XTACACS/TACACS+ dissector.
Guy Harris [Tue, 10 Jul 2001 21:06:53 +0000 (21:06 -0000)]
From Paul Ionescu: fleshed out TACACS/XTACACS/TACACS+ dissector.

svn path=/trunk/; revision=3679

22 years agoAdd some additional items to .cvsignore files, for new files built when
Guy Harris [Tue, 10 Jul 2001 20:58:42 +0000 (20:58 -0000)]
Add some additional items to .cvsignore files, for new files built when
compiling plugins for statically-linked binaries.

svn path=/trunk/; revision=3678

22 years agoIGMP fixes and multicast traceroute support, from Heikki Vatiainen.
Guy Harris [Tue, 10 Jul 2001 20:55:54 +0000 (20:55 -0000)]
IGMP fixes and multicast traceroute support, from Heikki Vatiainen.

Assorted other fixes.

svn path=/trunk/; revision=3677

22 years agoFixed the make dist problem.
Ed Warnicke [Tue, 10 Jul 2001 13:18:43 +0000 (13:18 -0000)]
Fixed the make dist problem.

svn path=/trunk/; revision=3676

22 years agoMoved documentation for plugins to README.plugins and expanded
Ed Warnicke [Tue, 10 Jul 2001 01:22:58 +0000 (01:22 -0000)]
Moved documentation for plugins to README.plugins and expanded
it.  Removed most of the Plugins section from README.developers

svn path=/trunk/; revision=3675

22 years agoSmall cleanup.
Ed Warnicke [Tue, 10 Jul 2001 01:20:56 +0000 (01:20 -0000)]
Small cleanup.

svn path=/trunk/; revision=3674

22 years agoAutoconf support for glibc IPv6 support, from Pekka Savola.
Guy Harris [Mon, 9 Jul 2001 23:42:39 +0000 (23:42 -0000)]
Autoconf support for glibc IPv6 support, from Pekka Savola.

svn path=/trunk/; revision=3673

22 years agoSupport for {Enter,Return} keys toggling expansion of selected protocol
Guy Harris [Mon, 9 Jul 2001 22:54:15 +0000 (22:54 -0000)]
Support for {Enter,Return} keys toggling expansion of selected protocol
tree item, from Heikki Vatiainen.

svn path=/trunk/; revision=3672

22 years agoC sources are in $(srcdir) and not the current directory
Uwe Girlich [Mon, 9 Jul 2001 13:21:02 +0000 (13:21 -0000)]
C sources are in $(srcdir) and not the current directory

svn path=/trunk/; revision=3671

22 years agoGet rid of the unused zero-length "bgpext_osptf_rtype_metric" array -
Guy Harris [Mon, 9 Jul 2001 11:08:39 +0000 (11:08 -0000)]
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

22 years agoGet rid of an unused variable.
Guy Harris [Sun, 8 Jul 2001 23:33:04 +0000 (23:33 -0000)]
Get rid of an unused variable.

svn path=/trunk/; revision=3669

22 years agoAdd some XXX comments on questions about some packet information.
Guy Harris [Sun, 8 Jul 2001 23:20:19 +0000 (23:20 -0000)]
Add some XXX comments on questions about some packet information.

svn path=/trunk/; revision=3668

22 years agoSupport for draft-rosen-vpn-ospf-bgp-mpls and for additional BGP
Guy Harris [Sun, 8 Jul 2001 22:59:51 +0000 (22:59 -0000)]
Support for draft-rosen-vpn-ospf-bgp-mpls and for additional BGP
extended communities, from Aamer Akhter.

svn path=/trunk/; revision=3667

22 years agoDisplay LMNT tokens with the value 0xffff as "Windows NT Networking";
Guy Harris [Sun, 8 Jul 2001 22:56:22 +0000 (22:56 -0000)]
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

22 years agoFixed the {tethereal,ethereal}_static targets so that the
Ed Warnicke [Sun, 8 Jul 2001 21:51:34 +0000 (21:51 -0000)]
Fixed the {tethereal,ethereal}_static targets so that the
static binaries have the dissectors provided in the plugins available.

svn path=/trunk/; revision=3665

22 years agoGet rid of incorrect "const" qualifier.
Guy Harris [Sun, 8 Jul 2001 20:38:26 +0000 (20:38 -0000)]
Get rid of incorrect "const" qualifier.

svn path=/trunk/; revision=3664

22 years agoAssume the last token in a Announce Change to UAS or SAM message is an
Guy Harris [Sun, 8 Jul 2001 19:31:01 +0000 (19:31 -0000)]
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

22 years agoUse tvbuff-based routines to find the length of single-bit-character-set
Guy Harris [Sun, 8 Jul 2001 19:26:33 +0000 (19:26 -0000)]
Use tvbuff-based routines to find the length of single-bit-character-set
strings.

svn path=/trunk/; revision=3662

22 years agoTvbuffified SMB NETLOGON dissector, from Ronnie Sahlberg.
Guy Harris [Sun, 8 Jul 2001 11:32:02 +0000 (11:32 -0000)]
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

22 years agoSome additional cleanup.
Ed Warnicke [Sun, 8 Jul 2001 04:47:33 +0000 (04:47 -0000)]
Some additional cleanup.

svn path=/trunk/; revision=3660

22 years agoSupport for ANSI flavor of MTP3, from Jeff Morriss.
Guy Harris [Sat, 7 Jul 2001 09:06:40 +0000 (09:06 -0000)]
Support for ANSI flavor of MTP3, from Jeff Morriss.

svn path=/trunk/; revision=3659

22 years agoRemove a comment that no longer applies - we no longer seek forward in
Guy Harris [Fri, 6 Jul 2001 00:17:36 +0000 (00:17 -0000)]
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

22 years agofixed some warning: comparison between signed and unsigned
Olivier Abad [Thu, 5 Jul 2001 22:10:09 +0000 (22:10 -0000)]
fixed some warning: comparison between signed and unsigned

svn path=/trunk/; revision=3657

22 years agoDon't capitalize the names of programs in the summary lines of man pages
Guy Harris [Thu, 5 Jul 2001 21:27:11 +0000 (21:27 -0000)]
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

22 years ago"wtap_file()" is no longer in Wiretap, so don't try to export it from
Guy Harris [Thu, 5 Jul 2001 20:57:09 +0000 (20:57 -0000)]
"wtap_file()" is no longer in Wiretap, so don't try to export it from
the Wiretap DLL.

svn path=/trunk/; revision=3655

22 years agoUpdates from Frank Singleton - get rid of an option that was made
Guy Harris [Thu, 5 Jul 2001 20:54:56 +0000 (20:54 -0000)]
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

22 years agoFixed problem with handling empty parameters.
Ed Warnicke [Thu, 5 Jul 2001 04:27:10 +0000 (04:27 -0000)]
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

22 years ago"open_cap_file()" in Ethereal and Tethereal don't use the FILE_T they
Guy Harris [Thu, 5 Jul 2001 00:34:42 +0000 (00:34 -0000)]
"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

22 years agoSome minor changes to allow the mgcp plugin to be compiled
Ed Warnicke [Wed, 4 Jul 2001 22:01:22 +0000 (22:01 -0000)]
Some minor changes to allow the mgcp plugin to be compiled
into a static binary if desired.

svn path=/trunk/; revision=3651

22 years agoThe Perl script process-x11-fields.pl is in the $(srcdir) and not in the
Uwe Girlich [Wed, 4 Jul 2001 06:25:03 +0000 (06:25 -0000)]
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

22 years agoAdded "-all-static" take to _LDADD for ethereal_static and tethereal_static
Ed Warnicke [Tue, 3 Jul 2001 23:39:55 +0000 (23:39 -0000)]
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

22 years agoFrom Frank Singleton: add subtrees for ServiceContextList and IOR.
Guy Harris [Tue, 3 Jul 2001 23:30:01 +0000 (23:30 -0000)]
From Frank Singleton: add subtrees for ServiceContextList and IOR.

svn path=/trunk/; revision=3648

22 years agoDon't base the protocol column setting in the WSP and WTP dissectors on
Guy Harris [Tue, 3 Jul 2001 09:53:22 +0000 (09:53 -0000)]
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

22 years agoUse "val_to_str()" to translate numerical values to strings, don't
Guy Harris [Tue, 3 Jul 2001 09:08:03 +0000 (09:08 -0000)]
Use "val_to_str()" to translate numerical values to strings, don't
invent something that's almost like "value_string" and almost like
"val_to_str()".

Split the command-code field into client and server command code fields,
make them enumerated fields, and put that field into the tree when
dissecting it in the header, not when putting the body into the tree.

Put the body of both unknown client and server requests into the tree,
and just label it as "Body", as is done with the body of known requests.

Display the status code in the same fashion in all places where it's put
into the protocol tree.

When dissecting a SRV_MULTI message, keep dissecting until we run out of
submessages - don't quit when we run out of data in the packet, as that
means we won't throw an exception and won't take the frame as short.

svn path=/trunk/; revision=3646

22 years agoUse the "pinfo" argument, rather than the global "pi", to refer to the
Guy Harris [Tue, 3 Jul 2001 04:56:46 +0000 (04:56 -0000)]
Use the "pinfo" argument, rather than the global "pi", to refer to the
packet information in tvbuffified dissectors.

svn path=/trunk/; revision=3645

22 years agoAnd explain why the fact that RFC 2858 says you can't do what RFC 2545
Guy Harris [Tue, 3 Jul 2001 02:49:38 +0000 (02:49 -0000)]
And explain why the fact that RFC 2858 says you can't do what RFC 2545
suggests, and that RFC 2858 obsoletes RFC 2283 which says you can,
doesn't matter - Ethereal's job isn't to enforce protocol standards or
to refuse to dissect stuff that doesn't conform to the final version of
standards; if it can dissect stuff that's now illegal but that wasn't
illegal in the past, and do so without causing problems when dissecting
currently legal stuff, it should so so, so that if you have captures
that include now-illegal stuff (perhaps from old devices that haven't
been upgraded, or from old captures), you can still see what was
happening.

svn path=/trunk/; revision=3644

22 years agoExplain why we dissect more than one address in the MP_REACH_NLRI
Guy Harris [Tue, 3 Jul 2001 02:38:27 +0000 (02:38 -0000)]
Explain why we dissect more than one address in the MP_REACH_NLRI
attribute.

svn path=/trunk/; revision=3643

22 years agoIf the reply status isn't handled, don't complain about an unknown
Guy Harris [Tue, 3 Jul 2001 02:27:29 +0000 (02:27 -0000)]
If the reply status isn't handled, don't complain about an unknown
exception, complain about an unknown reply status - it isn't necessarily
an exception.

svn path=/trunk/; revision=3642

22 years agoGet rid of "tvb_bytes_exist()" calls that aren't protecting against
Guy Harris [Tue, 3 Jul 2001 02:05:47 +0000 (02:05 -0000)]
Get rid of "tvb_bytes_exist()" calls that aren't protecting against
throwing an exception before we've decided whether a packet is an RPC
packet or not - dissectors shouldn't, by and large, carefully avoid
having tvbuff accessors throw exceptions, they should let them throw
exceptions so that the frame is properly flagged as having been too
short.

svn path=/trunk/; revision=3641

22 years agoDissect the bitfields in the frame control field, and put the text
Guy Harris [Tue, 3 Jul 2001 01:23:21 +0000 (01:23 -0000)]
Dissect the bitfields in the frame control field, and put the text
description of the frame type into the top-level line for that field.

svn path=/trunk/; revision=3640

22 years agoWhitespace cleanups in protocol tree and summary lines.
Guy Harris [Tue, 3 Jul 2001 00:49:57 +0000 (00:49 -0000)]
Whitespace cleanups in protocol tree and summary lines.

svn path=/trunk/; revision=3639

22 years agoFixes from Ronnie Sahlberg. (Yo, any CMU or Transarc^H^H^H^H^H^H^H^HIBM
Guy Harris [Tue, 3 Jul 2001 00:46:52 +0000 (00:46 -0000)]
Fixes from Ronnie Sahlberg.  (Yo, any CMU or Transarc^H^H^H^H^H^H^H^HIBM
types care to clean this stuff up, in case there's any documentation of
RX or AFS internal to CMU or Transarc/IBM?)

svn path=/trunk/; revision=3638

22 years agoTvbuffify the rlogin dissector.
Guy Harris [Tue, 3 Jul 2001 00:40:48 +0000 (00:40 -0000)]
Tvbuffify the rlogin dissector.

Get rid of some unneeded includes.

"info_framenum" is set from an Ethereal frame number, and those are
unsigned, so make it unsigned.  No frame will have zero as its frame
number, so start "info_framenum" as 0, not -1.

Fix some long-standing bugs in the packet processing found either as a
result of code inspection in the process of tvbuffifying or doing
regression tests.

svn path=/trunk/; revision=3637

22 years agoWith IP fragment reassembly, the current frame when we're dissecting a
Guy Harris [Mon, 2 Jul 2001 10:45:25 +0000 (10:45 -0000)]
With IP fragment reassembly, the current frame when we're dissecting a
packet isn't necessarily the first frame of the packet, so don't say
that a reply is to a request "starting in" a given frame, just say it's
in that frame.

Don't manually check whether the stuff we're about to fetch from the
tvbuff exists - just fetch it, and let the tvbuff accessors throw an
exception if we go past the end of the packet.

svn path=/trunk/; revision=3636

22 years agoPut the IGMP type field value into the PIM tree, as is done for other
Guy Harris [Mon, 2 Jul 2001 09:42:40 +0000 (09:42 -0000)]
Put the IGMP type field value into the PIM tree, as is done for other
on-top-of-IGMP protocols, e.g. DVMRP.

Label the PIM opcode field "Code" for PIMv1, to distinguish it from the
IGMP type field.

Make that field, and the PIMv2 opcode field, enumerated fields.

For unknown opcode values, put the value into the summary line.

Get rid of some unused variables.

svn path=/trunk/; revision=3635

22 years agoAdd PIMv1 support.
Guy Harris [Mon, 2 Jul 2001 09:23:02 +0000 (09:23 -0000)]
Add PIMv1 support.

svn path=/trunk/; revision=3634

22 years agoFor DNS-over-TCP, put the length indicator into the tree for the DNS
Guy Harris [Mon, 2 Jul 2001 07:29:03 +0000 (07:29 -0000)]
For DNS-over-TCP, put the length indicator into the tree for the DNS
request/response.

svn path=/trunk/; revision=3633

22 years agoUpdate Gerald's e-mail address.
Guy Harris [Mon, 2 Jul 2001 07:17:29 +0000 (07:17 -0000)]
Update Gerald's e-mail address.

svn path=/trunk/; revision=3632

22 years agoTvbuffify the DNS, NBNS, NBDS, and NBSS dissectors.
Guy Harris [Mon, 2 Jul 2001 07:11:40 +0000 (07:11 -0000)]
Tvbuffify the DNS, NBNS, NBDS, and NBSS dissectors.

Add a "tvb_memeql()" routine, for doing "memcmp()"-style equality
comparisons.

svn path=/trunk/; revision=3631

22 years agoGet rid of a now-unused variable; it's the only variable of type
Guy Harris [Mon, 2 Jul 2001 02:09:26 +0000 (02:09 -0000)]
Get rid of a now-unused variable; it's the only variable of type
"isis_hdr_t", so we can get rid of the definition of that as well.

svn path=/trunk/; revision=3630

22 years agoFetch fields from the ISIS header one at a time, rather than snarfing
Guy Harris [Mon, 2 Jul 2001 01:46:22 +0000 (01:46 -0000)]
Fetch fields from the ISIS header one at a time, rather than snarfing
the entire ISIS header into a structure - that way, if we run out of
packet data in the middle of the header, we at least dissect the stuff
for which we have packet data.

svn path=/trunk/; revision=3629

22 years agoFetch values only once from the tvbuff, and save them in a variable,
Guy Harris [Mon, 2 Jul 2001 01:41:25 +0000 (01:41 -0000)]
Fetch values only once from the tvbuff, and save them in a variable,
rather than calling the tvbuff accessor multiple times.

Use "proto_tree_add_item()" for fields whose values we don't care about
in the code.

BTW, apologies to Hannes Gredler - the changes with

More IS-IS updates.

HELLO message support in RSVP.

were from him, but I forgot to put that in the checkin message.

svn path=/trunk/; revision=3628

22 years agoFix the file name in the comment, and update Gerald's e-mail address.
Guy Harris [Mon, 2 Jul 2001 00:46:21 +0000 (00:46 -0000)]
Fix the file name in the comment, and update Gerald's e-mail address.

svn path=/trunk/; revision=3627

22 years agoTvbuffified ISIS dissector, from Ronnie Sahlberg.
Guy Harris [Mon, 2 Jul 2001 00:19:34 +0000 (00:19 -0000)]
Tvbuffified ISIS dissector, from Ronnie Sahlberg.

svn path=/trunk/; revision=3626

22 years agoFix a typo, discovered whilst testing the tvbuffified ISIS dissector
Guy Harris [Sun, 1 Jul 2001 20:37:02 +0000 (20:37 -0000)]
Fix a typo, discovered whilst testing the tvbuffified ISIS dissector
(the tvbuffified version is correct here; I'll check this in for
reference purposes, even though I plan to check in the tvbuffified
version later).

svn path=/trunk/; revision=3625

22 years agoFrom Ronnie Sahlberg: fix the AFS macros to parse the element count in
Guy Harris [Sat, 30 Jun 2001 09:32:44 +0000 (09:32 -0000)]
From Ronnie Sahlberg: fix the AFS macros to parse the element count in
AFSCBFids and AFSCBs as a 32-bit integer rather than an 8-bit integer.

svn path=/trunk/; revision=3624

22 years agoFrom Frank Singleton: when GIOP sub-dissectors register themselves, have
Guy Harris [Fri, 29 Jun 2001 20:49:29 +0000 (20:49 -0000)]
From Frank Singleton: when GIOP sub-dissectors register themselves, have
them supply a protocol ID, and have the code that calls the
subdissectors check if the protocol is enabled and, if it isn't, not
call the sub-dissector.

svn path=/trunk/; revision=3623

22 years agoMSNIP support, from Ronnie Sahlberg.
Guy Harris [Fri, 29 Jun 2001 18:55:50 +0000 (18:55 -0000)]
MSNIP support, from Ronnie Sahlberg.

svn path=/trunk/; revision=3622

22 years agoCreate a routine to do the tvbuff-length-adjusting and
Guy Harris [Fri, 29 Jun 2001 09:46:54 +0000 (09:46 -0000)]
Create a routine to do the tvbuff-length-adjusting and
"pinfo->{len,captured_len}"-adjusting currently done by the IP
dissector, make the IP dissector call that rather than doing the work
itself, make the IPv6 dissector call that rather than just adjusting the
tvbuff length itself, and make the IPX dissector call that rather than
just adjusting "pi.{len,captured_len}" itself.

This cleans things up a bit, and causes trailers to be properly reported
in IPX-over-Ethernet frames.

svn path=/trunk/; revision=3621

22 years agoUpdate Gerald's e-mail address.
Guy Harris [Fri, 29 Jun 2001 09:42:45 +0000 (09:42 -0000)]
Update Gerald's e-mail address.

svn path=/trunk/; revision=3620

22 years agoInclude <string.h> to get "memcmp()" and "memcpy()" declared.
Guy Harris [Thu, 28 Jun 2001 19:15:11 +0000 (19:15 -0000)]
Include <string.h> to get "memcmp()" and "memcpy()" declared.

svn path=/trunk/; revision=3619

22 years agoUpdates from Mark Burton.
Guy Harris [Thu, 28 Jun 2001 08:05:26 +0000 (08:05 -0000)]
Updates from Mark Burton.

svn path=/trunk/; revision=3618

22 years agoHandle a few of the NCP types from the traces sent in by Pete,
Gilbert Ramirez [Thu, 28 Jun 2001 02:42:48 +0000 (02:42 -0000)]
Handle a few of the NCP types from the traces sent in by Pete,
<psailor@uswest.net>

svn path=/trunk/; revision=3617

22 years agoImproved support for CORBA IDL "fixed" types, and other updates, from
Guy Harris [Wed, 27 Jun 2001 20:41:16 +0000 (20:41 -0000)]
Improved support for CORBA IDL "fixed" types, and other updates, from
Frank Singleton.

svn path=/trunk/; revision=3616

22 years agoImproved support for CORBA IDL "fixed" types, and fix to handling of
Guy Harris [Wed, 27 Jun 2001 20:38:56 +0000 (20:38 -0000)]
Improved support for CORBA IDL "fixed" types, and fix to handling of
explicit and heuristic GIOP dissectors, from Frank Singleton.

svn path=/trunk/; revision=3615

22 years agoMRDISC support, from Ronnie Sahlberg.
Guy Harris [Wed, 27 Jun 2001 20:19:19 +0000 (20:19 -0000)]
MRDISC support, from Ronnie Sahlberg.

svn path=/trunk/; revision=3614

22 years agoDon't offer the ability to edit capture filters if Ethereal wasn't
Guy Harris [Wed, 27 Jun 2001 10:00:14 +0000 (10:00 -0000)]
Don't offer the ability to edit capture filters if Ethereal wasn't
linked with libpcap.

svn path=/trunk/; revision=3613

22 years agoFix a problem that shows up if you build without libpcap.
Guy Harris [Wed, 27 Jun 2001 08:36:08 +0000 (08:36 -0000)]
Fix a problem that shows up if you build without libpcap.

svn path=/trunk/; revision=3612

22 years agoReplace "--enable-pcap" with "--with-pcap", and if an argument is
Guy Harris [Wed, 27 Jun 2001 07:47:50 +0000 (07:47 -0000)]
Replace "--enable-pcap" with "--with-pcap", and if an argument is
specified to "--with-pcap", add that directory to the include file and
library search paths, so that you can use "--with-pcap=DIR" to search
for libpcap in a directory other than the standard ones (either because
it was installed somewhere other than under "/usr" or "/usr/local", or
because you want to use a special version you've installed rather than
the standard one).

svn path=/trunk/; revision=3611

22 years agoIf length arguments to "%*s" aren't of type "int", cast them to "int",
Guy Harris [Tue, 26 Jun 2001 20:52:19 +0000 (20:52 -0000)]
If length arguments to "%*s" aren't of type "int", cast them to "int",
as that's what C requires them to be.

svn path=/trunk/; revision=3610

22 years agoAdd HFILL to explicitly fill in some additional structure members.
Guy Harris [Tue, 26 Jun 2001 20:50:30 +0000 (20:50 -0000)]
Add HFILL to explicitly fill in some additional structure members.

svn path=/trunk/; revision=3609

22 years agoindentation consistencies.
Jun-ichiro itojun Hagino [Tue, 26 Jun 2001 17:31:36 +0000 (17:31 -0000)]
indentation consistencies.

svn path=/trunk/; revision=3608

22 years agoRemove second entry for Michael Rozhavsky - "Additional OSPF LSA types
Guy Harris [Mon, 25 Jun 2001 08:36:48 +0000 (08:36 -0000)]
Remove second entry for Michael Rozhavsky - "Additional OSPF LSA types
and opaque-options flag" falls under the broader heading of "OSPF
enhancements".

svn path=/trunk/; revision=3607

22 years agoA better fix - we don't use "assigned" if the action was E_DECODE_NO, so
Guy Harris [Mon, 25 Jun 2001 08:10:38 +0000 (08:10 -0000)]
A better fix - we don't use "assigned" if the action was E_DECODE_NO, so
don't bother fetching it if the action is E_DECODE_NO; that means we can
also avoid fetching the currently selected row if the action is
E_DECODE_NO, so the fact that we've cleared the selection if the action
is E_DECODE_NO doesn't matter.

svn path=/trunk/; revision=3606

22 years agoIn "decode_network()", get the information about the currently selected
Guy Harris [Mon, 25 Jun 2001 07:57:50 +0000 (07:57 -0000)]
In "decode_network()", get the information about the currently selected
row *before* calling "decode_simple()", as, if the "Do not decode" radio
button is selected, "decode_simple()" will clear the current selection.

svn path=/trunk/; revision=3605

22 years agoMore IS-IS updates.
Guy Harris [Sat, 23 Jun 2001 19:45:12 +0000 (19:45 -0000)]
More IS-IS updates.

HELLO message support in RSVP.

svn path=/trunk/; revision=3604

22 years agoInclude "strerror.h" only on platforms that don't declare it in a
Guy Harris [Sat, 23 Jun 2001 19:14:42 +0000 (19:14 -0000)]
Include "strerror.h" only on platforms that don't declare it in a
standard header file, so we get the platform's declaration (which may
include, for example, "dllexport"-type declarations) rather than the
"workaround for platforms that lack it" declaration.

svn path=/trunk/; revision=3603

22 years ago"index()" is non-standard, and MSVC++ 6.0 complained about it; the ANSI
Guy Harris [Sat, 23 Jun 2001 19:10:27 +0000 (19:10 -0000)]
"index()" is non-standard, and MSVC++ 6.0 complained about it; the ANSI
C standard has "strchr()" instead, so use it.

svn path=/trunk/; revision=3602