obnox/wireshark/wip.git
22 years agoKeep the list of modules with preferences sorted by the module name, in
guy [Sun, 21 Oct 2001 17:30:50 +0000 (17:30 +0000)]
Keep the list of modules with preferences sorted by the module name, in
dictionary order (case-insensitive), so that they show up in order in
the "Preferences" dialog box.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4052 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUpdates from Mark Burton:
guy [Sun, 21 Oct 2001 17:20:10 +0000 (17:20 +0000)]
Updates from Mark Burton:

The enclosed code contains the following improvements:

1 - Compatible with 08 version of the protocol

2 - Handles both header and data digests

3 - Supports desegmentation

4 - Dissects multiple PDUs per packet

5 - Stronger heuristics to avoid dissecting non-iSCSI packets

6 - General rationalisation and de-crufting!

The old code that attempted to automatically detect the presence
of a header digest has been removed.  You now have to specify in
the iSCSI preferences whether digests are enabled and if they
are, whether they are CRC32 or not.  If not CRC32, you also need
to specify the size of the digests (in bytes).

Another new option specifies the iSCSI port number.  This is
used in the heuristics to filter out packets with silly port
numbers, set to 0 to disable the port filter.

One problem that I haven't been able to track down is that if
desegmentation is enabled and you turn digests on or off
ethereal throws a SEGV.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4051 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd little arrows to the column titles to indicate which column we're
gerald [Sun, 21 Oct 2001 16:15:21 +0000 (16:15 +0000)]
Add little arrows to the column titles to indicate which column we're
using to sort as well as the sort direction.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4050 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoProperly handle the andX command in a LockingAndX message.
guy [Sat, 20 Oct 2001 19:29:21 +0000 (19:29 +0000)]
Properly handle the andX command in a LockingAndX message.

Fix up some closing braces.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4049 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoIf we decide that a packet to or from port 2000 isn't really a Skinny
guy [Sat, 20 Oct 2001 18:42:01 +0000 (18:42 +0000)]
If we decide that a packet to or from port 2000 isn't really a Skinny
Client Control Protocol packet, at least dissect its payload as data.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4048 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFT_UINTn values must always have a base, even if they're bitfields - the
guy [Sat, 20 Oct 2001 18:30:50 +0000 (18:30 +0000)]
FT_UINTn values must always have a base, even if they're bitfields - the
width of the item containing the bitfield is "n", so you don't have to
specify it explicitly, as you have to do with FT_BOOLEAN bitfields.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4047 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUse "val_to_str()", rather than "match_strval()", in "socket_text()".
guy [Sat, 20 Oct 2001 18:10:39 +0000 (18:10 +0000)]
Use "val_to_str()", rather than "match_strval()", in "socket_text()".

Make the source and destination socket fields enumerated types, so we
don't have to use "proto_tree_add_uint_format()" on them, and so that
you can match on them by service name.

Use lower-case letters when formatting the hex value of sockets; that's
what's done with fields not added with "proto_tree_add_XXX_format".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4046 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Tom Uijldert: fix to the date decoding, fix a field's name, and
guy [Fri, 19 Oct 2001 21:40:48 +0000 (21:40 +0000)]
From Tom Uijldert: fix to the date decoding, fix a field's name, and
protocol-name cosmetic changes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4045 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Tom Uijldert: fix the port number for Push-traffic dissecting for
guy [Fri, 19 Oct 2001 21:34:28 +0000 (21:34 +0000)]
From Tom Uijldert: fix the port number for Push-traffic dissecting for
WSP/WTLS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4044 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Mark Burton: update to the -08 draft.
guy [Fri, 19 Oct 2001 20:53:14 +0000 (20:53 +0000)]
From Mark Burton: update to the -08 draft.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4043 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDBS Etherwatch wiretap module, from Marc Milgram.
guy [Fri, 19 Oct 2001 20:18:48 +0000 (20:18 +0000)]
DBS Etherwatch wiretap module, from Marc Milgram.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4042 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoL2TP Dissconnect Cause Information AVP support, from Motonori Shindo.
guy [Fri, 19 Oct 2001 09:12:53 +0000 (09:12 +0000)]
L2TP Dissconnect Cause Information AVP support, from Motonori Shindo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4041 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Frank Singleton: catch attempts to use recursive unions or
guy [Thu, 18 Oct 2001 21:49:58 +0000 (21:49 +0000)]
From Frank Singleton: catch attempts to use recursive unions or
structures.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4040 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoVMS TCPIPtrace wiretap module, from Marc Milgram.
guy [Thu, 18 Oct 2001 20:29:56 +0000 (20:29 +0000)]
VMS TCPIPtrace wiretap module, from Marc Milgram.

Update the lists of known capture file formats in the Tethereal,
editcap, and mergecap man pages to match the current list (as found in
the Ethereal man page).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4039 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd link to local mirror.
gerald [Thu, 18 Oct 2001 15:44:36 +0000 (15:44 +0000)]
Add link to local mirror.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4038 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Georg von Zezschwitz:
guy [Thu, 18 Oct 2001 08:23:24 +0000 (08:23 +0000)]
From Georg von Zezschwitz:

Fix a bug with WSP Connect requests with headers > 256 bytes
Implement attributes of WSP Suspend/Resume

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4037 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agofixed bug in packet-smb-pipe.c dissect_transact_data routine. If the
jfoster [Wed, 17 Oct 2001 21:24:28 +0000 (21:24 +0000)]
fixed bug in packet-smb-pipe.c dissect_transact_data routine. If the
aux_count_p value was NULL the program would SIGSEGV when *aux_count_p
was initially set to 0. Added NULL pointer test.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4036 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoEnable building of the coseventcomm plugin on Win32.
gram [Wed, 17 Oct 2001 19:27:43 +0000 (19:27 +0000)]
Enable building of the coseventcomm plugin on Win32.
Some of these changs are from Frank Singleton, some are mine.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4035 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoThe Quake3 dissector wasn't in the previous release, only users running
guy [Tue, 16 Oct 2001 07:35:11 +0000 (07:35 +0000)]
The Quake3 dissector wasn't in the previous release, only users running
CVS versions would've had "quake3.udp.port" in the preferences file;
therefore, we can remove the code to map them to "quake3.udp.arena_port"
and "quake3.udp.master_port".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4034 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUpdate from Scott Renfro: a simple patch that adds support for FIPS
guy [Tue, 16 Oct 2001 07:13:01 +0000 (07:13 +0000)]
Update from Scott Renfro: a simple patch that adds support for FIPS
Cipher Suite identifiers.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4033 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDon't create a Wiretap dump file unless we're at least sure we support
guy [Tue, 16 Oct 2001 04:58:24 +0000 (04:58 +0000)]
Don't create a Wiretap dump file unless we're at least sure we support
the specified encapsulation with the specified capture file type, and
that we can allocate a "wtap_dumper *".

If we could do all that, and could create the dump file, but the
file-type-specific create routine fails (e.g., because there's not
enough disk space to write out the header), remove the dump file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4032 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix conversation_new description. Add descriptions for
gerald [Tue, 16 Oct 2001 01:57:12 +0000 (01:57 +0000)]
Fix conversation_new description.  Add descriptions for
conversation_add_proto_data, conversation_get_proto_data, and
conversation_delete_proto_data.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4031 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFixes from Steffen Weinreich:
guy [Mon, 15 Oct 2001 03:54:05 +0000 (03:54 +0000)]
Fixes from Steffen Weinreich:

fix the processing of the month and year fields in the SCTC
Timestamp (the month is 1-origin, so subtract 1 from it before
putting it in "tm_mon", which is 0-origin; the year is a 2-digit
field that is, at least, Y2K-safe (but Y2.1K-unsafe), so if it's
less than 90, assume it's in the 21st century);

UCP OT 50-57 messages have a fixed number of fields and a
special handling of the MT is not necessary, so get rid of that.

Also, fix a typo in a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4030 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFixes to take the Vendor-Specific attribute into consideration when
guy [Mon, 15 Oct 2001 03:27:38 +0000 (03:27 +0000)]
Fixes to take the Vendor-Specific attribute into consideration when
dissecting L2TP, from Motonori Shindo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4029 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoMake NEWS current to today (October 13).
gerald [Sat, 13 Oct 2001 19:31:47 +0000 (19:31 +0000)]
Make NEWS current to today (October 13).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4027 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoA small patch from Moronori Shindo to fix compiles under MSVC etc ...
sharpe [Sat, 13 Oct 2001 12:05:32 +0000 (12:05 +0000)]
A small patch from Moronori Shindo to fix compiles under MSVC etc ...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4026 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoPut the scrollbar for the scrolled window containing the CList in the
guy [Sat, 13 Oct 2001 07:56:27 +0000 (07:56 +0000)]
Put the scrollbar for the scrolled window containing the CList in the
preferences dialog where the user specified, and register that scrolled
window so that if the preference is changed the scrollbar moves.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4025 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoSet the data for E_{PRINT,COLUMN,STREAM,GUI}_PAGE_KEY to the notebook
guy [Sat, 13 Oct 2001 07:47:30 +0000 (07:47 +0000)]
Set the data for E_{PRINT,COLUMN,STREAM,GUI}_PAGE_KEY to the notebook
page for the preferences item rather than to the frame for the
preferences item, as that's what the code in "gtk/gui_prefs.c" expects
(otherwise you get errors).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4024 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoThe Quake III dissector called both the arena server port preference and
guy [Sat, 13 Oct 2001 07:43:25 +0000 (07:43 +0000)]
The Quake III dissector called both the arena server port preference and
the master server port preference "quake3.udp.port"; rename them to
"quake3.udp.arena_port" and "quake3.udp.master_port".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4023 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoMake current up to August 31.
gerald [Fri, 12 Oct 2001 21:20:40 +0000 (21:20 +0000)]
Make current up to August 31.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4022 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoGet NEWS current up to July 31, update version to 0.8.20.
gerald [Fri, 12 Oct 2001 17:17:05 +0000 (17:17 +0000)]
Get NEWS current up to July 31, update version to 0.8.20.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4021 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Frank Singleton:
guy [Fri, 12 Oct 2001 17:14:41 +0000 (17:14 +0000)]
From Frank Singleton:

Added some functionality to idl2eth to allow C code generation
and display of CORBA IDL Enum's as symbolic values, along side
the numerical value currently being displayed.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4020 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoSigh. A MacOS X 10.1 appeared to have put out a malformed NetBIOS
guy [Fri, 12 Oct 2001 01:41:03 +0000 (01:41 +0000)]
Sigh.  A MacOS X 10.1 appeared to have put out a malformed NetBIOS
session request with a length greater than 128 bytes; crank the length
limitation up to 256.  (Perhaps I've misread the DNS spec or the
NetBIOS-over-TCP spec, but the request sure *looked* as if it had a
bogus second-level-encoding in the calling machine name.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4019 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFor the SCCP message ID field, use the formerly commented-out version
guy [Thu, 11 Oct 2001 16:04:36 +0000 (16:04 +0000)]
For the SCCP message ID field, use the formerly commented-out version
with the value_string table, as per mail from Joerg.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4018 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoGet rid of C++ comment.
guy [Thu, 11 Oct 2001 16:01:53 +0000 (16:01 +0000)]
Get rid of C++ comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4017 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoInitial Skinny Client Control Protocol support, from Joerg Mayer.
guy [Thu, 11 Oct 2001 16:01:10 +0000 (16:01 +0000)]
Initial Skinny Client Control Protocol support, from Joerg Mayer.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4016 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoReduce the CinemaScope-like proportions of the preferences dialog by
gerald [Thu, 11 Oct 2001 02:17:29 +0000 (02:17 +0000)]
Reduce the CinemaScope-like proportions of the preferences dialog by
getting rid of the notebook tabs and using a CTree to select pages.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4015 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoInstead of saying the "manuf" file is in "/usr/local/etc/manuf", say
guy [Thu, 11 Oct 2001 01:21:50 +0000 (01:21 +0000)]
Instead of saying the "manuf" file is in "/usr/local/etc/manuf", say
it's in the "etc" subdirectory of the installation directory on UNIX and
in the installation directory on Windows, and give the typical pathnames
of both of those directories.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4014 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoInstall the "manuf" file.
guy [Thu, 11 Oct 2001 01:04:19 +0000 (01:04 +0000)]
Install the "manuf" file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4013 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoadd a couple of socket numbers that seem to be consistently allocated for these services
nneul [Mon, 8 Oct 2001 18:20:01 +0000 (18:20 +0000)]
add a couple of socket numbers that seem to be consistently allocated for these services

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4012 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAs UCP is atop TCP, its dissector isn't called unless there's at least
guy [Mon, 8 Oct 2001 17:42:18 +0000 (17:42 +0000)]
As UCP is atop TCP, its dissector isn't called unless there's at least
one byte in the tvbuff being handed to it, so the check I added for the
existence of that byte is unnecessary.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4011 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoRemove the check I added to see whether the length of the packet, based
guy [Mon, 8 Oct 2001 17:37:52 +0000 (17:37 +0000)]
Remove the check I added to see whether the length of the packet, based
on the location of the UCB_ETX, is greater than the length of the tvbuff
- that can never happen, as the UCB_ETX is, as it was found, definitely
inside the tvbuff.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4010 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUCP support, from Tom Uijldert.
guy [Mon, 8 Oct 2001 17:30:23 +0000 (17:30 +0000)]
UCP support, from Tom Uijldert.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4009 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agomore packet types and fix some incorrect offsets and sizes in other packets
nneul [Mon, 8 Oct 2001 14:32:06 +0000 (14:32 +0000)]
more packet types and fix some incorrect offsets and sizes in other packets

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4008 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Joerg Mayer: explain in the "LWP isn't installed" message where you
guy [Sun, 7 Oct 2001 22:19:14 +0000 (22:19 +0000)]
From Joerg Mayer: explain in the "LWP isn't installed" message where you
can get LWP.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4007 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Joerg Mayer: a patch to add 00:40:96 as an OUI for Aironet wireless
guy [Sun, 7 Oct 2001 09:27:57 +0000 (09:27 +0000)]
From Joerg Mayer: a patch to add 00:40:96 as an OUI for Aironet wireless
devices (which are now Cisco wireless devices, as Cisco bought Aironet).

This overrides the out-of-date assignment of 00:40:96 to Telesystems SLW
in the cavebear.com file (Telesystems SLW were bought by Telxon, who
then apparently spun off their RF division, plus Telesystems, as
Aironet).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4006 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix to show FN_PROFILE_WARNING14, rather than FN_PROFILE_WARNING, as
guy [Sun, 7 Oct 2001 08:49:46 +0000 (08:49 +0000)]
Fix to show FN_PROFILE_WARNING14, rather than FN_PROFILE_WARNING, as
"Profile-Warning (encoding 1.4)".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4005 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Georg von Zezschwitz:
guy [Sun, 7 Oct 2001 08:37:29 +0000 (08:37 +0000)]
From Georg von Zezschwitz:

  - A bug related to "WSP header pages" is fixed, that
    resulted into "malformed WSP frame" alerts
  - "Concatenated PDUs" (Multiple PDUs within one UDP
    packet) are now supported (used e.g. by Nokia 8310)
  - The URL of WSP GET/POST requests is display in the
    info column, same like HTTP GET requests

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4004 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agocorrect subtrees for redirect/refuse, alter how data packets are processed, bitfield...
nneul [Sat, 6 Oct 2001 17:58:56 +0000 (17:58 +0000)]
correct subtrees for redirect/refuse, alter how data packets are processed, bitfield'ize the data flag

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4003 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUse separate items for accept/etc data fields
nneul [Sat, 6 Oct 2001 16:48:00 +0000 (16:48 +0000)]
Use separate items for accept/etc data fields
Add support for redirect and refuse packets (however, I don't have
examples of content for these.)
Change some variable names to match the routines they are in.
Make sure to insert boolean for each packet type.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4002 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agobreak out fields of accept packet, only print connect data if it is actually present
nneul [Sat, 6 Oct 2001 15:45:38 +0000 (15:45 +0000)]
break out fields of accept packet, only print connect data if it is actually present

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4001 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoexpand out all fields in connect packet
nneul [Sat, 6 Oct 2001 15:27:47 +0000 (15:27 +0000)]
expand out all fields in connect packet

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4000 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agomore packet types - starting work on more complete dissection of tns
nneul [Sat, 6 Oct 2001 14:24:36 +0000 (14:24 +0000)]
more packet types - starting work on more complete dissection of tns

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3999 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUpdate from Todd Sabin to the data representation decoding:
guy [Fri, 5 Oct 2001 20:25:41 +0000 (20:25 +0000)]
Update from Todd Sabin to the data representation decoding:

Fixes a typo in the offset used for the floating point byte
(offset should be offset+1), changes cn_drep* to just drep*
(since it's the same for connection oriented and connectionless
packets), and adds the corresponding code to the connectionless
side of things.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3998 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDecode the mailslot payload as data in some additional cases where we
guy [Thu, 4 Oct 2001 23:19:01 +0000 (23:19 +0000)]
Decode the mailslot payload as data in some additional cases where we
didn't dissect it as some other protocol.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3997 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoIf the body of a mailslot message isn't decoded as anything we know
guy [Thu, 4 Oct 2001 23:06:49 +0000 (23:06 +0000)]
If the body of a mailslot message isn't decoded as anything we know
about, dump it as data.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3996 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Motonori Shindo: have CVS ignore some files generated by Win32
guy [Thu, 4 Oct 2001 21:08:11 +0000 (21:08 +0000)]
From Motonori Shindo: have CVS ignore some files generated by Win32
builds.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3995 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Motonori Shindo:
guy [Thu, 4 Oct 2001 08:52:38 +0000 (08:52 +0000)]
From Motonori Shindo:

Use hex notation in strings for ISO 8859-1 characters as keysym
names.

Fix one error in the table of keysym names.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3994 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUse longs as file offsets, so that on platforms with 64-bit "long" we
guy [Thu, 4 Oct 2001 08:30:36 +0000 (08:30 +0000)]
Use longs as file offsets, so that on platforms with 64-bit "long" we
can handle capture files bigger than 2GB.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3993 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAvoid using non-ASCII characters in labels in the protocol tree - some
guy [Thu, 4 Oct 2001 00:30:23 +0000 (00:30 +0000)]
Avoid using non-ASCII characters in labels in the protocol tree - some
compilers may not interpret them as the ISO 8859/1 characters they're
intended to be, and the GUI toolkit or other software through which the
text passes might not interpret them as such, either.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3992 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAttribute the packet-x11-keysym.h fixes properly.
sharpe [Wed, 3 Oct 2001 15:15:34 +0000 (15:15 +0000)]
Attribute the packet-x11-keysym.h fixes properly.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3991 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoApply Monotori Shindo's fixes for X11 double byte chars ...
sharpe [Wed, 3 Oct 2001 15:13:24 +0000 (15:13 +0000)]
Apply Monotori Shindo's fixes for X11 double byte chars ...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3990 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix Monotori Shindo's attributions. I screwed up before ...
sharpe [Mon, 1 Oct 2001 08:58:36 +0000 (08:58 +0000)]
Fix Monotori Shindo's attributions. I screwed up before ...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3989 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoMerge the two AUTHORS entries for Motonori Shindo.
guy [Mon, 1 Oct 2001 08:51:31 +0000 (08:51 +0000)]
Merge the two AUTHORS entries for Motonori Shindo.

Fix a typo in the AUTHORS entry for Pasi Eronen, and add him to the list
of authors in the man page.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3988 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDamn the torpedos[1], commit it anyway.
sharpe [Mon, 1 Oct 2001 08:47:50 +0000 (08:47 +0000)]
Damn the torpedos[1], commit it anyway.

Who said that? I think I know ... F...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3987 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoHave a flag in the "packet_info" structure, which indicates whether the
guy [Mon, 1 Oct 2001 08:29:37 +0000 (08:29 +0000)]
Have a flag in the "packet_info" structure, which indicates whether the
stuff currently being dissected is part of a packet included in an error
packet (e.g., an ICMP Unreachable packet).  Have the TCP dissector not
bother doing reassembly if the TCP segment is part of an error packet,
rather than an actual TCP transmission; other dissectors might want to
treat those packets specially as well.

Add to the "tcpinfo" structure a flag indicating whether the URG flag
was set, rather than having the zero or non-zero value of the urgent
pointer indicate that.  (Yes, at least as I read RFC 793, a zero urgent
pointer value isn't useful, as it means "the stuff before this segment
is urgent", but it's certainly possible to put onto the wire a TCP
segment with URG set and a zero urgent pointer.)

Don't dissect the TCP header by grabbing the entire header with
"tvb_memcpy()" and then pulling stuff out of it - extract stuff with
individual tvbuff calls, and put stuff into the protocol tree and the
Info column as we extract it, so that we can dissect a partial header.
This lets us, for example, get the source and destination ports from the
TCP header of the part of a TCP segment included in a minimum-length
ICMPv4 error packet.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3986 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoMake several of the fields in the SMB header filterable.
guy [Sun, 30 Sep 2001 23:36:46 +0000 (23:36 +0000)]
Make several of the fields in the SMB header filterable.

Get rid of the "unknown-0xXX" entries in the "value_string" table for
SMB command codes - they make it much more painful to select one of them
in the filter-editing dialog box.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3985 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoThe length of an NBSS message can be bigger than 64K, so make the
guy [Sun, 30 Sep 2001 23:14:43 +0000 (23:14 +0000)]
The length of an NBSS message can be bigger than 64K, so make the
variable that holds it an "int" rather than a "guint16".

Further strengthen the heuristics the NBSS dissector uses to distinguish
NBSS messages from continuations of NBSS messages.

If an frame contains an NBSS continuation, put the protocol tree item
for the continuation data under an NBSS protocol tree item.

Have the TCP dissector supply information to subdissectors via a "struct
tcpinfo" pointed to by "pinfo->private"; move the urgent pointer value
from a global variable into that structure, and add a Boolean flag that
indicates whether the data it's handing to a subdissector is reassembled
data or not.

Make the NBSS dissector check for continuations only in non-reassembled
data.

Fix the computation, in the TCP dissector, of the offset into the tvbuff
handed to the subdissector of the first byte of stuff that needs further
reassembly, and fix the computation of the sequence number corresponding
to that byte.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3984 f5534014-38df-0310-8fa8-9805f1628bb7

22 years ago"packet-ipv6.c" doesn't need anything from "packet-tcp.h" or
guy [Sun, 30 Sep 2001 23:07:12 +0000 (23:07 +0000)]
"packet-ipv6.c" doesn't need anything from "packet-tcp.h" or
"packet-udp.h", so it shouldn't #include them.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3983 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFor requests and responses for unknown interfaces, put an entry into the
guy [Sun, 30 Sep 2001 21:56:24 +0000 (21:56 +0000)]
For requests and responses for unknown interfaces, put an entry into the
DCE RPC protocol tree for the stub data.

Use the counts of context items and transfer syntax items when
dissecting a bind or alter context PDU.

In bind and alter context PDUs, create the conversation, attach the
context ID and interface to it, and put the interface information into
the Info column as soon as the first context item is dissected, so that
if we get an exception after that, we've still processed the context ID
and interface information.

Use the count of results when dissecting a bind ack PDU.

In bind ack PDUs, dissect the transfer syntax and syntax version fields,
and put the opnum and context ID information into the Info column as
soon as it's dissected.

When dissecting a connection-oriented request or response, don't make
the tvbuff the full fragment length if we don't have that much data in
the frame being dissected.  (We should do TCP reassembly there,
eventually.)

In connection-oriented response PDUs, put the opnum and context ID
information into the Info column as soon as it's dissected.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3982 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoPasi Eronen's attribution ...
sharpe [Sun, 30 Sep 2001 13:50:14 +0000 (13:50 +0000)]
Pasi Eronen's attribution ...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3981 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoCommitting Pasi Eronen's patches to dcerpc.
sharpe [Sun, 30 Sep 2001 13:48:20 +0000 (13:48 +0000)]
Committing Pasi Eronen's patches to dcerpc.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3980 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoCommitting Montonori Shindo's patched to ppp for chap support.
sharpe [Sun, 30 Sep 2001 13:30:51 +0000 (13:30 +0000)]
Committing Montonori Shindo's patched to ppp for chap support.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3979 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoCommit Montori Shindo's small patch.
sharpe [Sun, 30 Sep 2001 13:23:20 +0000 (13:23 +0000)]
Commit Montori Shindo's small patch.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3978 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoMake the item for NetBIOS only as long as the NetBIOS header, so that it
guy [Sat, 29 Sep 2001 20:32:29 +0000 (20:32 +0000)]
Make the item for NetBIOS only as long as the NetBIOS header, so that it
doesn't cover the payload.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3977 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoThe Wiretapped.net mirror is OK again (it was a problem with the
guy [Sat, 29 Sep 2001 19:56:08 +0000 (19:56 +0000)]
The Wiretapped.net mirror is OK again (it was a problem with the
mirroring procedure, due to the Politecnico di Torino site's IIS not
being configured to allow the relevant "virtual directories" to be
listed, thus keeping Wiretapped.net from figuring out what files were
there and whether they've changed), so put back the references to it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3976 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoThe Wiretapped.net mirror is OK again (it was a problem with the
guy [Sat, 29 Sep 2001 19:31:31 +0000 (19:31 +0000)]
The Wiretapped.net mirror is OK again (it was a problem with the
mirroring procedure, due to the Politecnico di Torino site's IIS not
being configured to allow the relevant "virtual directories" to be
listed, thus keeping Wiretapped.net from figuring out what files were
there and whether they've changed), so put back the references to it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3975 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUse tvbuff routines to extract data from the SMB header.
guy [Sat, 29 Sep 2001 01:44:09 +0000 (01:44 +0000)]
Use tvbuff routines to extract data from the SMB header.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3974 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoStart the process of tvbuffifying the SMB dissector - give it a
guy [Sat, 29 Sep 2001 01:19:01 +0000 (01:19 +0000)]
Start the process of tvbuffifying the SMB dissector - give it a
tvbuffified heuristic-dissector interface, but have it immediately turn
its arguments into an old-style buffer pointer and offset.

Register the SMB dissector as a heuristic NetBIOS dissector, and have
"dissect_netbios_payload()" just try the heuristics, as it no longer has
to call the SMB dissector explicitly.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3973 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoHave "dissect_netbios_payload()" take as an argument a tvbuff containing
guy [Sat, 29 Sep 2001 00:57:36 +0000 (00:57 +0000)]
Have "dissect_netbios_payload()" take as an argument a tvbuff containing
only the NetBIOS payload, and have the NBSS dissector construct tvbuffs
of that sort (i.e., stop at the end of the NBSS session message, not at
the end of the data handed to the NBSS dissector).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3972 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoRe-strengthen the check for NBSS continuations, to avoid, for example,
guy [Sat, 29 Sep 2001 00:00:26 +0000 (00:00 +0000)]
Re-strengthen the check for NBSS continuations, to avoid, for example,
session messages with a zero byte count.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3971 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix indentation.
guy [Fri, 28 Sep 2001 23:34:03 +0000 (23:34 +0000)]
Fix indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3970 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Todd Sabin: dissect the auth info in connection oriented dcerpc
guy [Fri, 28 Sep 2001 22:43:57 +0000 (22:43 +0000)]
From Todd Sabin: dissect the auth info in connection oriented dcerpc
packets.

Make a "dissect_netbios_payload()" routine, called from the
NetBIOS-over-802.2 (NBF), NetBIOS-over-IPX, and NetBIOS-over-TCP
dissectors.  Take Todd Sabin's changes to add a heuristic dissector list
to the NBSS dissector, and apply them to "dissect_netbios_payload()"
instead.  Make the SMB dissector heuristic, returning FALSE if it
doesn't see 0xFF S M B at the beginning of the packet, and have
"dissect_netbios_payload()" first try the heuristic dissector list, then
try the SMB dissector if no other heuristic dissector claims the packet,
then just dissect the payload as data.

From Todd Sabin: have the DCE/RPC dissector register as a heuristic
dissector for NetBIOS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3969 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoPush-traffic dissecting for WSP/WTLS, from Tom Uijldert.
guy [Fri, 28 Sep 2001 18:59:30 +0000 (18:59 +0000)]
Push-traffic dissecting for WSP/WTLS, from Tom Uijldert.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3968 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdditional Ascend codes, and IETF codes, for Radius, from Graeme Hewson.
guy [Fri, 28 Sep 2001 18:50:19 +0000 (18:50 +0000)]
Additional Ascend codes, and IETF codes, for Radius, from Graeme Hewson.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3967 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoWordCount is unsigned, so test for "WordCount != 0" rather than
guy [Fri, 28 Sep 2001 08:39:59 +0000 (08:39 +0000)]
WordCount is unsigned, so test for "WordCount != 0" rather than
"WordCount > 0".

Always put the byte count field into the protocol tree, regardless of
whether WordCount is 0 - it's not one of the word parameters counted by
WordCount, so it's present even if WordCount is 0.

Fix a "val_to_str()" call.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3966 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoBase decisions on whether to dump the word parameters on the word count
guy [Fri, 28 Sep 2001 08:01:22 +0000 (08:01 +0000)]
Base decisions on whether to dump the word parameters on the word count
value being non-zero, not on whether the error code is zero.  Don't
bother passing the error code to dissectors for particular SMBs, as they
don't need to use it.

In "get_unicode_or_ascii_string()", when aligning to an even boundary,
align to an even boundary in the SMB message, not in the packet as a
whole - there's no guarantee that there are an even number of bytes in
the frame before the SMB message.

In the Info column, mark the packet as a request or response based on
the request/response bit in the Flags field, not on the matched port -
for NBIPX, the source and destination ports (IPX sockets) may be the
same, so you may not be able to determine whether it's a request or a
response based on that.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3965 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoSigh. The wiretapped.net site appears to have an old version of
guy [Fri, 28 Sep 2001 07:50:48 +0000 (07:50 +0000)]
Sigh.  The wiretapped.net site appears to have an old version of
WinPcap's installer (it dates back to May, meaning it may be a beta of
2.2 or may even be 2.1), so don't suggest that people go there.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3964 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoWe have our own internal versions of "gzgets()" and "gzgetc()", so we
guy [Fri, 28 Sep 2001 05:41:45 +0000 (05:41 +0000)]
We have our own internal versions of "gzgets()" and "gzgetc()", so we
don't need to check whether zlib has them.  We *do*, however, have to
check for "gzseek()", as we don't have our own version of that.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3963 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd support for NT error codes.
guy [Thu, 27 Sep 2001 22:48:46 +0000 (22:48 +0000)]
Add support for NT error codes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3962 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoHandle interim Transact2 responses correctly.
guy [Thu, 27 Sep 2001 22:33:44 +0000 (22:33 +0000)]
Handle interim Transact2 responses correctly.

Mark interim responses as such in the Info column.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3961 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoWhen dissecting an ICMP datagram that contains part of an IP datagram,
guy [Thu, 27 Sep 2001 10:35:40 +0000 (10:35 +0000)]
When dissecting an ICMP datagram that contains part of an IP datagram,
hand the (possibly-partial) IP datagram to the IP dissector, as we do
for IPv6 datagrams inside ICMPv6 and CLNP datagrams inside CLNP ER PDUs.

When dissecting IPv6 datagrams inside ICMPv6 and CLNP datagrams inside
CLNP ER PDUs, catch the ReportedLengthError exception and ignore it, as
they don't guarantee that all of the original PDU is present.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3960 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoIf the amount of available data in a UDP packet is less than the length,
guy [Thu, 27 Sep 2001 10:19:14 +0000 (10:19 +0000)]
If the amount of available data in a UDP packet is less than the length,
as reported in the header, don't checksum the packet.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3959 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUse the right #define for the length of the CC.NEW TCP option.
guy [Thu, 27 Sep 2001 10:10:08 +0000 (10:10 +0000)]
Use the right #define for the length of the CC.NEW TCP option.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3958 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoShow Boolean flags as Booleans.
guy [Thu, 27 Sep 2001 10:01:07 +0000 (10:01 +0000)]
Show Boolean flags as Booleans.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3957 f5534014-38df-0310-8fa8-9805f1628bb7

22 years ago2.1 isn't the current version of WinPcap; don't say what the current
guy [Wed, 26 Sep 2001 21:22:02 +0000 (21:22 +0000)]
2.1 isn't the current version of WinPcap; don't say what the current
version is, as that's subject to change - just speak of the "latest
non-beta version".

Mention the mirrors for WinPcap and WinDump.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3956 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoMake the message popped up if you try to do a capture on a Win32 machine
guy [Wed, 26 Sep 2001 20:02:36 +0000 (20:02 +0000)]
Make the message popped up if you try to do a capture on a Win32 machine
when wpcap.dll couldn't be loaded more detailed, in the hopes that it'll
reduce the chances that somebody will see that message and not know what
to do.  Also, mention the Wiretapped.net mirror of the WinPcap site, as
the WinPcap site is all-too-often down due to networking glitches.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3955 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoMMSE support, from Tom Uijldert.
guy [Tue, 25 Sep 2001 21:32:41 +0000 (21:32 +0000)]
MMSE support, from Tom Uijldert.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3954 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoIf "snprintf()" can't print all the data because there's not enough
guy [Tue, 25 Sep 2001 18:27:35 +0000 (18:27 +0000)]
If "snprintf()" can't print all the data because there's not enough
room, it might return -1 in some versions of glibc; check for that, and
quit if that happens.

It might also return the number of characters that would've been printed
had there been enough room; this means that a loop that does

n += snprintf (buf + n, BUF_LENGTH - n, ...);

may end up making "n" bigger than BUF_LENGTH, and "snprintf()" might not
sanely handle being passed a negative length, so if "n" isn't less than
the total length of the string buffer, don't add stuff to it.

The "capabilitiesStart" variable in "add_capabilities()" in the WSP
dissector is an offset into the PDU data; there's no guarantee that said
offet is < 256, and, even if there were, there's no point in making it
an 8-bit variable.

Add some additional buffer overflow checks to the WSP dissector.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3953 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoIf "snprintf()" can't print all the data because there's not enough
guy [Tue, 25 Sep 2001 02:21:15 +0000 (02:21 +0000)]
If "snprintf()" can't print all the data because there's not enough
room, it might return -1 in some versions of glibc; check for that, and
quit if that happens.

It might also return the number of characters that would've been printed
had there been enough room; this means that a loop that does

n += snprintf (buf + n, BUF_LENGTH - n, ...);

may end up making "n" bigger than BUF_LENGTH, and "snprintf()" might not
sanely handle being passed a negative length, so if "n" isn't less than
the total length of the string buffer, don't add stuff to it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3952 f5534014-38df-0310-8fa8-9805f1628bb7