Commit Graph

3670 Commits

Author SHA1 Message Date
Guy Harris e2a238b16b Add a new "cleanbld.bat" script, for Windows; it removes "config.h"
files that might be left over from a UNIX build, so that they'll be
reconstructed from the "config.h.win32" files on a Windows build.
(If you have "config.h" files left over from a UNIX build, the Windows
build will fail.)

Update "README.win32" to mention "cleanbld.bat", and to correctly list
the files generated using tools that don't come with Windows or MSVC++.
Also note that some of them can't be built on UNIX systems.

svn path=/trunk/; revision=3713
2001-07-13 08:14:03 +00:00
Guy Harris 4eb4021854 From Scott Renfro:
- make a leading zero in the argument to -t optional;

  - includes the -t option in in the summary portion of of the editcap
    usage message.

svn path=/trunk/; revision=3712
2001-07-13 07:55:13 +00:00
Guy Harris 9d191e7f03 Set "pinfo->current_proto" in the browsser dissector.
Set the protocol and info columns before fetching anything that might
cause an exception.

Add some more different fields for the different types of host names in
browser packets.

Force an exception to be thrown if there's no NUL terminator for a name
in the tvbuff.

svn path=/trunk/; revision=3711
2001-07-13 07:04:23 +00:00
Guy Harris e48e846a6a Check for IPv6 support, and check what type of IPv6 support we have, in
the "epan" directory, as well as the top-level directory, as there's
stuff in the "epan" directory that depends on that.

svn path=/trunk/; revision=3710
2001-07-13 01:34:13 +00:00
Guy Harris f7b50ca754 From Joerg Mayer:
* gcc 3.0 warning fixes:
  - text2pcap.c: The number of characters to scan should probably not be 0
  - wiretap/csids.c: using preincrement on a variable used on both
    sides of an assignment might be undefined by the C99(?) standard
 * turn on additional warnings for epan and wiretap too
  - epan/configure.in
  - wiretap/configure.in
 * Fix some warnings (missing includes, signed/unsigned, missing
    initializers) found by turning on the warnings
  - all other files :-)

svn path=/trunk/; revision=3709
2001-07-13 00:55:58 +00:00
Guy Harris 82a553e9c9 Add a "time_msecs_to_str()" routine, to turn a time interval, expressed
as a 32-bit number of milliseconds, to a descriptive string.

Use that in the MS Browser dissector.

svn path=/trunk/; revision=3708
2001-07-13 00:27:51 +00:00
Guy Harris 01710d371c The 2 bytes in the middle of the election criteria field of an election
request are the major and minor versions of the browser protocol.

The 4 bytes that, in announcements other than domain/workgroup
announcements, are the major and minor versions of the browser protocol
and the signature constant, are something else mysterious in
domain/workgroup announcements; stuff them in as a "Mysterious Field"
for now.

svn path=/trunk/; revision=3707
2001-07-13 00:01:35 +00:00
Guy Harris 6a1bd87566 Tvbuffified SMB BROWSER dissector, from Ronnie Sahlberg.
svn path=/trunk/; revision=3706
2001-07-12 23:37:48 +00:00
Gilbert Ramirez 34e8119c32 Package mergecap.exe and its HTML documentation.
Update NSIS syntax for newest NSIS. That fix from David O'Shea.
Set config.nmake to get non-cygwin version of Python.exe; cygwin version
is fouling up on me and I'm not sure why.

svn path=/trunk/; revision=3705
2001-07-12 22:45:23 +00:00
Guy Harris 9c0d2087dc Pragmatic General Multicast isn't RFC 2705.
svn path=/trunk/; revision=3704
2001-07-12 21:48:46 +00:00
Guy Harris 2515798320 From Edward Meaney: include "mergecap.rc" in the list of things to be
built.

svn path=/trunk/; revision=3703
2001-07-12 21:02:06 +00:00
Guy Harris 23b15f991f PGM (Pragmatic General Multicast - RFC 2705) support, from Steve Dickson.
svn path=/trunk/; revision=3702
2001-07-12 20:16:29 +00:00
Guy Harris e9d00f4a4f Mergecap utility for merging capture files, from Scott Renfro.
svn path=/trunk/; revision=3701
2001-07-12 19:59:41 +00:00
Olivier Abad c5881bc7b9 Patch to allow the creation of "User Exception decoding" code from
Frank Singleton.

svn path=/trunk/; revision=3700
2001-07-12 19:51:42 +00:00
Guy Harris 0634928183 Additional filterable fields added, from Heikki Vatiainen.
svn path=/trunk/; revision=3699
2001-07-12 19:43:59 +00:00
Guy Harris 36e75d9f92 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
2001-07-12 19:42:57 +00:00
Guy Harris 8b9e7133eb 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
2001-07-12 08:52:59 +00:00
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