obnox/wireshark/wip.git
20 years agoSquelch compiler warnings, and remove some trailing blanks from lines.
guy [Thu, 25 Mar 2004 23:09:18 +0000 (23:09 +0000)]
Squelch compiler warnings, and remove some trailing blanks from lines.

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

20 years agoAdd the usual extra files to the new plugins.
guy [Thu, 25 Mar 2004 19:11:05 +0000 (19:11 +0000)]
Add the usual extra files to the new plugins.

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

20 years agoadded hint to use g_snprintf instead of snprintf and sprintf
ulfl [Thu, 25 Mar 2004 16:01:12 +0000 (16:01 +0000)]
added hint to use g_snprintf instead of snprintf and sprintf

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

20 years agoFrom Duncan Sargeant: Cisco SS7 RUDP, RLM, and Session Management
guy [Thu, 25 Mar 2004 11:21:07 +0000 (11:21 +0000)]
From Duncan Sargeant: Cisco SS7 RUDP, RLM, and Session Management
support.

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

20 years agoFrom Tomas Kukosa: BER dissector enhancements and proto.c updates to
guy [Thu, 25 Mar 2004 09:18:03 +0000 (09:18 +0000)]
From Tomas Kukosa: BER dissector enhancements and proto.c updates to
support them.

From Ronnie Sahlberg: Kerberos updates with new constants from the
current draft, decryption and dissection of Kerberos blobs, and changes
to work with the changed BER dissector.

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

20 years agoDCE RPC version numbers supplied to the registration routines are just
guy [Thu, 25 Mar 2004 08:01:14 +0000 (08:01 +0000)]
DCE RPC version numbers supplied to the registration routines are just
major version numbers.

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

20 years agoMSVC warning removed
ulfl [Thu, 25 Mar 2004 06:39:00 +0000 (06:39 +0000)]
MSVC warning removed

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

20 years agoMQ dissector update from metatech.
guy [Thu, 25 Mar 2004 04:44:54 +0000 (04:44 +0000)]
MQ dissector update from metatech.

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

20 years agoFix the CLEANFILES target so both static and shared libraries are cleaned.
obiot [Wed, 24 Mar 2004 21:27:44 +0000 (21:27 +0000)]
Fix the CLEANFILES target so both static and shared libraries are cleaned.

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

20 years agocommented out unused aim_handle's
ulfl [Wed, 24 Mar 2004 06:36:32 +0000 (06:36 +0000)]
commented out unused aim_handle's

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

20 years agoUse "tvb_format_text()" to display a string, so that non-printable
guy [Wed, 24 Mar 2004 04:26:05 +0000 (04:26 +0000)]
Use "tvb_format_text()" to display a string, so that non-printable
characters are handled reasonably.

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

20 years agoUpdate address.
obiot [Wed, 24 Mar 2004 00:39:40 +0000 (00:39 +0000)]
Update address.

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

20 years agoAdd a description for the bitwise_and (&) operator.
obiot [Wed, 24 Mar 2004 00:38:34 +0000 (00:38 +0000)]
Add a description for the bitwise_and (&) operator.

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

20 years agoMake "epan_init()" take, as additional arguments, pointers to routines
guy [Tue, 23 Mar 2004 21:19:58 +0000 (21:19 +0000)]
Make "epan_init()" take, as additional arguments, pointers to routines
that dissectors should call to report file open and read errors, and
have "report_open_failure()" and "report_read_failure()" call through
those pointers, rather than being defined and exported by the
application using libethereal - instead, the application would define
those functions and pass pointers to them to 'epan_init()".

Move "report_err.h" to the epan directory, as the functions it declares
are now part of the libethereal API.

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

20 years agoFrom Yuri Sidelnikov: FTAM support.
guy [Tue, 23 Mar 2004 19:51:06 +0000 (19:51 +0000)]
From Yuri Sidelnikov: FTAM support.

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

20 years agoFrom Yuriy Sidelnikov: call ACSI dissector for data blocks.
guy [Tue, 23 Mar 2004 19:37:23 +0000 (19:37 +0000)]
From Yuriy Sidelnikov: call ACSI dissector for data blocks.

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

20 years agoFrom Ryuji Somegawa: fix some decode problems.
guy [Tue, 23 Mar 2004 19:31:14 +0000 (19:31 +0000)]
From Ryuji Somegawa: fix some decode problems.

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

20 years agoFrom Jouni Malinen: handle 802.11i RSN IE, and add new status and result
guy [Tue, 23 Mar 2004 19:25:50 +0000 (19:25 +0000)]
From Jouni Malinen: handle 802.11i RSN IE, and add new status and result
codes for 802.11i.

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

20 years ago- Updated reference to ID version 11.
tuexen [Tue, 23 Mar 2004 18:59:44 +0000 (18:59 +0000)]
- Updated reference to ID version 11.
- Added type of status message to Info column.

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

20 years agoFrom Ronnie Sahlberg: small fix to prevent dereferencing null pointers.
guy [Tue, 23 Mar 2004 18:44:51 +0000 (18:44 +0000)]
From Ronnie Sahlberg: small fix to prevent dereferencing null pointers.

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

20 years agoZero-length arrays are *not* valid in C89, even if GCC doesn't happen to
guy [Tue, 23 Mar 2004 18:36:05 +0000 (18:36 +0000)]
Zero-length arrays are *not* valid in C89, even if GCC doesn't happen to
have a problem with them; MSVC++, for example, doesn't handle them, so
we comment them out.

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

20 years agopcap-stdinc.h is not needed on a Mac OS X system.
tuexen [Tue, 23 Mar 2004 18:33:25 +0000 (18:33 +0000)]
pcap-stdinc.h is not needed on a Mac OS X system.

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

20 years agoUse "tvb_format_text()" to display strings, so we handle non-printable
guy [Tue, 23 Mar 2004 18:06:29 +0000 (18:06 +0000)]
Use "tvb_format_text()" to display strings, so we handle non-printable
characters.

Some strings appear to be null-padded; add a "tvb_format_stringzpad()"
routine to handle them, so that we don't show the padding characters as
"\000".

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

20 years agoAdd tap functionality.
tuexen [Tue, 23 Mar 2004 18:04:20 +0000 (18:04 +0000)]
Add tap functionality.

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

20 years agoHandle the case where the keycodemap entry for one of the keycodes
guy [Tue, 23 Mar 2004 18:03:28 +0000 (18:03 +0000)]
Handle the case where the keycodemap entry for one of the keycodes
processed in the first loop in "keycode2keysymString()" is null.  I
don't know whether the right thing to do is to give up (as we're doing
now) or to not check that map.

In that routine, we set "syms" to "keycodemap[keycode]", and give up if
it's null; use "syms" in that routine instead of "keycodemap[keycode]",
so we know that those places don't have to worry about
"keycodemap[keycode]" being null.

Fix up indentation.

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

20 years agoAdd packet-sctp.h
tuexen [Tue, 23 Mar 2004 18:02:50 +0000 (18:02 +0000)]
Add packet-sctp.h

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

20 years agoInclude file for packet-sctp.c and tap listeners.
tuexen [Tue, 23 Mar 2004 17:27:29 +0000 (17:27 +0000)]
Include file for packet-sctp.c and tap listeners.

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

20 years agoAdded support for version 07 of the ID.
tuexen [Tue, 23 Mar 2004 15:39:17 +0000 (15:39 +0000)]
Added support for version 07 of the ID.

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

20 years agoFrom Tomas Kukosa: don't change the state of the "Expand Tree" menu
guy [Tue, 23 Mar 2004 07:57:48 +0000 (07:57 +0000)]
From Tomas Kukosa: don't change the state of the "Expand Tree" menu
items if we're changing whether there's a packet currently selected.

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

20 years ago"keys" is a LISTofCARD8, so it should have type BYTES, not UINT8.
guy [Tue, 23 Mar 2004 07:40:23 +0000 (07:40 +0000)]
"keys" is a LISTofCARD8, so it should have type BYTES, not UINT8.

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

20 years agoGet rid of a no-longer-used argument.
guy [Tue, 23 Mar 2004 07:39:06 +0000 (07:39 +0000)]
Get rid of a no-longer-used argument.

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

20 years agoThe dissectors for particular AIM families aren't for real protocols,
guy [Tue, 23 Mar 2004 07:23:43 +0000 (07:23 +0000)]
The dissectors for particular AIM families aren't for real protocols,
and they don't create their own subtrees; hand them the pointer to the
AIM subtree, rather than the top-level tree, so they'll put the protocol
tree items in the AIM subtree.

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

20 years agoInclude "packet-ap1394.h" to declare "capture_ap1394()".
guy [Tue, 23 Mar 2004 06:48:31 +0000 (06:48 +0000)]
Include "packet-ap1394.h" to declare "capture_ap1394()".

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

20 years agoFrom Jelmer Vernooij: split the AIM dissector into multiple files, and
guy [Tue, 23 Mar 2004 06:21:18 +0000 (06:21 +0000)]
From Jelmer Vernooij: split the AIM dissector into multiple files, and
add a few more SNACs.

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

20 years agoNote that you need X11 and the X11 developer headers and libraries
guy [Tue, 23 Mar 2004 03:19:06 +0000 (03:19 +0000)]
Note that you need X11 and the X11 developer headers and libraries
installed in order to build Ethereal.

Michael Tuexen indicated how to successfully build GTK+ 2.4 on Mac OS X
(10.3[.x], at least) - update the directions to give the latest versions
of GLib/Pango/GTK+/ATK and to give instructions on how to make them
build.

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

20 years agoThe "len" argument to capture routines should not be decremented as you
guy [Tue, 23 Mar 2004 01:58:19 +0000 (01:58 +0000)]
The "len" argument to capture routines should not be decremented as you
move through the packet - it's the total length of captured data.

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

20 years agoIf we don't find a trailing / in a parameter, throw the appropriate
guy [Tue, 23 Mar 2004 01:29:45 +0000 (01:29 +0000)]
If we don't find a trailing / in a parameter, throw the appropriate
exception (that's what the old code that did its own scan did).

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

20 years agoAdd support for DLT_APPLE_IP_OVER_IEEE_1394.
guy [Tue, 23 Mar 2004 01:02:41 +0000 (01:02 +0000)]
Add support for DLT_APPLE_IP_OVER_IEEE_1394.

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

20 years agoClean up the code to check the file type.
guy [Tue, 23 Mar 2004 00:17:50 +0000 (00:17 +0000)]
Clean up the code to check the file type.

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

20 years agoTo build with GLib 2.x/GTK+ 2.x, you need to configure with
guy [Mon, 22 Mar 2004 23:50:43 +0000 (23:50 +0000)]
To build with GLib 2.x/GTK+ 2.x, you need to configure with
--enable-gtk2 regardless of whether you have GLib 1.2[.x]/GTK+ 1.2[.x]
installed or not.

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

20 years agoNote that GTK+ 2.4 doesn't work, and indicate why.
guy [Mon, 22 Mar 2004 23:40:44 +0000 (23:40 +0000)]
Note that GTK+ 2.4 doesn't work, and indicate why.

Enumerate the dependencies for GLib 2.4/GTK+ 2.4, and indicate that GNU
gettext is also required, even though it's not in the set of
dependencies on the GTK+ site (after all, the ENTIRE WORLD runs Linux,
RIGHT?).

Give a (partial) order for the dependencies.

Note some issues with building and installing the JPEG and libpng
libraries.

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

20 years ago* X11 dissector:
deniel [Mon, 22 Mar 2004 22:53:56 +0000 (22:53 +0000)]
* X11 dissector:

- in decoding of replies: 0 is not an unknown opcode, it means that the
  request was unseen or that the opcode of the request is unknown
  (e.g. due to unseen / undecoded QueryExtension replies)

- add special processing for QueryExtension requests & replies in order to
  store new opcodes in a value_string of opcodes saved per conversation

- try to resynchronize sequence number once at first reply if no initial
  connection request was seen

- add decoding of SendEvent request

- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
  GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
  GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
  QueryKeymap, QueryPointer, TranslateCoordinates)

- fix decoding of EnterNotify / LeaveNotify events

- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
  NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
  MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
  ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
  SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
  ClientMessage)

- miscellaneous changes & code cleaning

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

20 years ago!ifdef-ize out a GTKWimp text section.
gerald [Mon, 22 Mar 2004 22:37:41 +0000 (22:37 +0000)]
!ifdef-ize out a GTKWimp text section.

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

20 years agoAdd Makefile.common to the distribution.
gerald [Mon, 22 Mar 2004 21:29:52 +0000 (21:29 +0000)]
Add Makefile.common to the distribution.

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

20 years agoFrom Lars Roland: Fix a couple of MSVC build problems.
gerald [Mon, 22 Mar 2004 20:35:07 +0000 (20:35 +0000)]
From Lars Roland: Fix a couple of MSVC build problems.

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

20 years agoFrom Tomas Kukosa: supportedTunnelledProtocols in EndpointType is a
guy [Mon, 22 Mar 2004 20:16:55 +0000 (20:16 +0000)]
From Tomas Kukosa: supportedTunnelledProtocols in EndpointType is a
SEQUENCE OF TunnelledProtocol, not just a TunnelledProtocol.

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

20 years agoMake the strings in the NAS-Port-Type AVP match the text in
guy [Mon, 22 Mar 2004 20:01:01 +0000 (20:01 +0000)]
Make the strings in the NAS-Port-Type AVP match the text in
http://www.ietf.org/internet-drafts/draft-ietf-aaa-diameter-nasreq-14.txt.

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

20 years agoBump the version up to 0.10.3.
gerald [Mon, 22 Mar 2004 17:03:30 +0000 (17:03 +0000)]
Bump the version up to 0.10.3.

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

20 years agoBack out previous accidentally-committed change.
gerald [Mon, 22 Mar 2004 16:19:53 +0000 (16:19 +0000)]
Back out previous accidentally-committed change.

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

20 years agoHandle null RADIUS attribute information without crashing. Found by
gerald [Mon, 22 Mar 2004 16:05:48 +0000 (16:05 +0000)]
Handle null RADIUS attribute information without crashing.  Found by
Jonathan Heusser.

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

20 years agoFix a typo.
guy [Mon, 22 Mar 2004 01:18:35 +0000 (01:18 +0000)]
Fix a typo.

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

20 years agoThe CDMA2000 A11 dissector doesn't put anything into the protocol tree
guy [Sun, 21 Mar 2004 23:46:39 +0000 (23:46 +0000)]
The CDMA2000 A11 dissector doesn't put anything into the protocol tree
for a packet with an unknown type, so we make it just reject those
packets so other dissectors can claim them.

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

20 years agoClean up white space.
guy [Sun, 21 Mar 2004 23:19:36 +0000 (23:19 +0000)]
Clean up white space.

Just use "proto_tree_add_item()" to put the session ID into the protocol
string.

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

20 years agoFrom Anders Broman: fix the value strings for decoding of AVP values,
guy [Sun, 21 Mar 2004 23:10:31 +0000 (23:10 +0000)]
From Anders Broman: fix the value strings for decoding of AVP values,
add the T flag, make the result code and session ID named fields, and
add some more field types.

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

20 years agoFrom Anders Broman: add some more AVP's, result codes, etc..
guy [Sun, 21 Mar 2004 23:08:05 +0000 (23:08 +0000)]
From Anders Broman: add some more AVP's, result codes, etc..

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

20 years agoUpdate to note that the 10.3.3 Software Update will probably also
guy [Sun, 21 Mar 2004 22:55:59 +0000 (22:55 +0000)]
Update to note that the 10.3.3 Software Update will probably also
install a new libpcap shared library but not install new libpcap headers.

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

20 years agoPrefix ENUM types ip IPDC_ in order to prevent type clashes with windows
jmayer [Sun, 21 Mar 2004 19:57:14 +0000 (19:57 +0000)]
Prefix ENUM types ip IPDC_ in order to prevent type clashes with windows
includes (MSVC). Proposed fix by Ulf Lamping.

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

20 years agoUpdate to include the libpcap problems. Using excerpts from a mailexchange
jmayer [Sun, 21 Mar 2004 19:04:44 +0000 (19:04 +0000)]
Update to include the libpcap problems. Using excerpts from a mailexchange
between Guy Harris and Peter ("downtime").

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

20 years agoadd support for dissecting multicast sync packets for Linux IPVS
nneul [Sun, 21 Mar 2004 17:13:01 +0000 (17:13 +0000)]
add support for dissecting multicast sync packets for Linux IPVS

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

20 years agoFrom Jelmer Vernooij: add support for SNAC(x,1), SNAC(1,2-6) and
guy [Sat, 20 Mar 2004 20:06:47 +0000 (20:06 +0000)]
From Jelmer Vernooij: add support for SNAC(x,1), SNAC(1,2-6) and
SNAC(1,0x13).

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

20 years agoIf we can't decrypt the user password, display it as hex data, not as
guy [Sat, 20 Mar 2004 19:09:22 +0000 (19:09 +0000)]
If we can't decrypt the user password, display it as hex data, not as
text.

Make "rdconvertbufftostr()" use "isprint()" to determine whether to
display a character as itself or as an escape.  Move our redefinition of
"isprint()" above "rdconvertbufftostr()" so that we make the "is it
printable?" decision appropriately.

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

20 years agoMake a separate display type for the user password, rather than having
guy [Sat, 20 Mar 2004 18:51:08 +0000 (18:51 +0000)]
Make a separate display type for the user password, rather than having
the code to handle RADIUS_STRING know that User Password has an AVP type
value of 2.  As only the User Password field has that display type, we
don't have to check whether we're handling vendor-specific VSAs.

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

20 years agoRemove trailing comma
jmayer [Sat, 20 Mar 2004 10:47:00 +0000 (10:47 +0000)]
Remove trailing comma

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

20 years agoWorkaround for (at least) some RedHat platforms:
jmayer [Sat, 20 Mar 2004 10:32:02 +0000 (10:32 +0000)]
Workaround for (at least) some RedHat platforms:
Add -lresolv in case it's missing but required by the heimdal libs.

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

20 years agoMake "timestamp_type" static, as all access to it should be through the
guy [Sat, 20 Mar 2004 08:32:03 +0000 (08:32 +0000)]
Make "timestamp_type" static, as all access to it should be through the
routines in this file.

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

20 years ago"tmp_tag_text" can hold a string of up to 255 characters, which means it
guy [Sat, 20 Mar 2004 08:01:07 +0000 (08:01 +0000)]
"tmp_tag_text" can hold a string of up to 255 characters, which means it
needs to be 256 characters long to hold a maximum-length string plus a
terminating '\0', as noted by Stefan Esser.

Don't bother putting in the null terminator at the end in the case where
we're putting an IP address or address/port into "tmp_tag_text" -
"sprintf()" does that for you.

In the case where it's an IP address and port, do it all in one sprintf
call - I don't think there's a guarantee that

sprintf(tmp_tag_text, "%s:%u", tmp_tag_text, ...)

works, although it could work.

Also, handle the case where the length is neither 4 (IP address) nor 6
(IP address/port).

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

20 years agoDon't use fixed-length buffers for strings - there's no absolute string
guy [Sat, 20 Mar 2004 07:49:09 +0000 (07:49 +0000)]
Don't use fixed-length buffers for strings - there's no absolute string
length.

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

20 years agoIn "dissect_tcap_tid()", check that the length of the transaction ID is
guy [Sat, 20 Mar 2004 07:26:41 +0000 (07:26 +0000)]
In "dissect_tcap_tid()", check that the length of the transaction ID is
<= 4, so we don't copy more than 4 bytes to a 4-byte integer.

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

20 years agoFrom Tomas Kukosa:
guy [Sat, 20 Mar 2004 06:34:09 +0000 (06:34 +0000)]
From Tomas Kukosa:

add Expand Tree to the View menu;

make the Expand Tree context menu active iff the
currently-selected item has a subtree;

fix the GTK2 code for Expand Tree.

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

20 years agoFrom Jelmer Vernooij: add support for some more SNACs.
guy [Sat, 20 Mar 2004 06:14:49 +0000 (06:14 +0000)]
From Jelmer Vernooij: add support for some more SNACs.

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

20 years agoFrom Ronnie Sahlberg: Windows XP SP1 appears to send the OS and LANMAN
guy [Sat, 20 Mar 2004 06:06:39 +0000 (06:06 +0000)]
From Ronnie Sahlberg: Windows XP SP1 appears to send the OS and LANMAN
fields over the wire in ASCII in SessionSetupandX messages even though
the "Unicode strings" flag is set.

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

20 years agoUpdates from Josh Bailey and Ruud Linders.
guy [Sat, 20 Mar 2004 05:53:40 +0000 (05:53 +0000)]
Updates from Josh Bailey and Ruud Linders.

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

20 years agoFixed a typo: sctp.verfication_tag -> sctp.verification_tag
tuexen [Fri, 19 Mar 2004 20:40:23 +0000 (20:40 +0000)]
Fixed a typo: sctp.verfication_tag -> sctp.verification_tag

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

20 years agoUse "E.164", not "E164".
guy [Fri, 19 Mar 2004 10:24:43 +0000 (10:24 +0000)]
Use "E.164", not "E164".

In the field names, use the filter name of the protocol - "e164" -
rather than "E164".

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

20 years agoFrom Michael Lum:
guy [Fri, 19 Mar 2004 07:54:58 +0000 (07:54 +0000)]
From Michael Lum:

GSM A facility element decoding;

make TCAP dissector export routines for use by various GSM
dissectors;

make GSM MAP dissector use exported TCAP routines/defines;

GSM Supplementary Services support.

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

20 years agoUpdate to reflect current reality.
guy [Fri, 19 Mar 2004 07:49:29 +0000 (07:49 +0000)]
Update to reflect current reality.

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

20 years agoFrom Tomas Kukosa: add a new "Expand Tree" context menu item, which
guy [Fri, 19 Mar 2004 06:23:38 +0000 (06:23 +0000)]
From Tomas Kukosa: add a new "Expand Tree" context menu item, which
expands the selected item and all items below it.

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

20 years agoFrom Ronnie Sahlberg:
guy [Fri, 19 Mar 2004 06:14:03 +0000 (06:14 +0000)]
From Ronnie Sahlberg:

make tcp_dissect_pdus() understand how to skip to the next PDU;

make the skip-to-the-next-PDU code stop attempting to decode
segments that are known to be completely within an already seen
PDU.

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

20 years agoFrom Anders Broman: put E.164 numbers into the protocol tree using the
guy [Fri, 19 Mar 2004 05:33:34 +0000 (05:33 +0000)]
From Anders Broman: put E.164 numbers into the protocol tree using the
E.164 routines.

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

20 years agoIn the read routine, set the 802.11 pseudo-header for
guy [Fri, 19 Mar 2004 05:22:41 +0000 (05:22 +0000)]
In the read routine, set the 802.11 pseudo-header for
WTAP_ENCAP_PRISM_HEADER, WTAP_ENCAP_IEEE_802_11_WLAN_BSD, and
WTAP_ENCAP_IEEE_802_11_WLAN_AVS.

In the seek_read routine, set it for all 802.11 types.

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

20 years agoFrom Lars Roland: Move timestamp_type into libethereal and provide accessor
obiot [Thu, 18 Mar 2004 21:14:37 +0000 (21:14 +0000)]
From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.

This is a move towards a real libethereal shared library.

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

20 years agoFrom Lars Roland: Move timestamp_type into libethereal and provide accessor
obiot [Thu, 18 Mar 2004 19:04:33 +0000 (19:04 +0000)]
From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.

This is a move towards a real libethereal shared library.

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

20 years agoCall proto_register_field_array() after proto_register_protocol(), and not
gerald [Thu, 18 Mar 2004 15:53:22 +0000 (15:53 +0000)]
Call proto_register_field_array() after proto_register_protocol(), and not
before.

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

20 years agoFrom Tomas Kukosa:
guy [Thu, 18 Mar 2004 09:00:37 +0000 (09:00 +0000)]
From Tomas Kukosa:

improve the Info column text for reassembled messages;

register subdissectors for dissecting Q.931 IEs and make the
ISUP dissector call the codeset 0 IE subdissector through a
handle.

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

20 years agoFrom Josh Bailey: IPDC support.
guy [Thu, 18 Mar 2004 08:25:09 +0000 (08:25 +0000)]
From Josh Bailey: IPDC support.

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

20 years ago* Protocol Hierarchy Statistics:
deniel [Wed, 17 Mar 2004 21:48:15 +0000 (21:48 +0000)]
* Protocol Hierarchy Statistics:

- store times of first and last packets in ph_stats_t

- add bandwidth columns in GUI

- miscellaneous code cleaning

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

20 years agoCorrectly spell REAMDE.macos
jmayer [Wed, 17 Mar 2004 19:57:28 +0000 (19:57 +0000)]
Correctly spell REAMDE.macos

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

20 years agoEnclose WV-CSP 1.2 token mappings in conditional compile comments. Once the
obiot [Wed, 17 Mar 2004 19:50:05 +0000 (19:50 +0000)]
Enclose WV-CSP 1.2 token mappings in conditional compile comments. Once the
WV-CSP 1.2 specifications will be corrected and in approved state, we can
get rid of those comments (#ifdef ... #endif).

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

20 years agoExperimental Heimdal Kerberos detection.
jmayer [Wed, 17 Mar 2004 18:20:58 +0000 (18:20 +0000)]
Experimental Heimdal Kerberos detection.
As this is experimental and does not yet work reliably this feature is
off by default. Enable it by using --with-krb5 during configure.
Please do not yet make use of this feature (i.e. please do not *use* the
defines provided by this option), until it has received further testing
and fixing.
Please run and check what the configure says.

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

20 years agoSync with the sources
jmayer [Wed, 17 Mar 2004 18:13:44 +0000 (18:13 +0000)]
Sync with the sources

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

20 years agoAdd new docsis files for static build. This is currently necessary and
jmayer [Wed, 17 Mar 2004 17:46:40 +0000 (17:46 +0000)]
Add new docsis files for static build. This is currently necessary and
needs to be fixed.

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

20 years ago"esc_read()" is passed a FILE_T, not a FILE_T * - a FILE_T is a pointer
guy [Wed, 17 Mar 2004 09:24:41 +0000 (09:24 +0000)]
"esc_read()" is passed a FILE_T, not a FILE_T * - a FILE_T is a pointer
(a FILE * if zlib isn't used, a gzFile if zlib is used).

Use "size_t" for the amount of data to read in
"eyesdn_check_file_type()", to squelch signed vs. unsigned warnings.

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

20 years agoSuppress compiler warnings about unused arguments.
guy [Wed, 17 Mar 2004 09:01:16 +0000 (09:01 +0000)]
Suppress compiler warnings about unused arguments.

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

20 years agoUse "g_ntohs()" rather than "ntohs()".
guy [Wed, 17 Mar 2004 09:00:16 +0000 (09:00 +0000)]
Use "g_ntohs()" rather than "ntohs()".

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

20 years agoCast a "char" to "guchar" before passing it to the ctype macros, so that
guy [Wed, 17 Mar 2004 08:59:28 +0000 (08:59 +0000)]
Cast a "char" to "guchar" before passing it to the ctype macros, so that
it doesn't get sign-extended.

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

20 years agoUnfortunately, GCC 2.8.1 on x86/Solaris 7 doesn't do enough
guy [Wed, 17 Mar 2004 08:46:56 +0000 (08:46 +0000)]
Unfortunately, GCC 2.8.1 on x86/Solaris 7 doesn't do enough
compile-time optimization; in particular, if you call
GSM_MAP_PARAM_DISPLAY with a Gtag argument of GSM_MAP_P_NONE, the
compiler does figure out that it only need generate code for the first
branch for the first if in that macro, and it sort of seems to
understand that _param_fcn is guaranteed to be null, but it doesn't
optimize out the test and the branch for _param_fcn not being null - it
does, however, generate a call to location 0, which, when you compile as
position-independent code, the assembler refuses to assemble.

Therefore, we put into the test for _param_fcn being null an additional
test for Ga1 being GSM_MAP_P_NONE, which at least manages to get the
code through the compiler.

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

20 years agoFrom Brian Wheeler: DOCSIS 2.0 support.
guy [Wed, 17 Mar 2004 06:55:03 +0000 (06:55 +0000)]
From Brian Wheeler: DOCSIS 2.0 support.

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

20 years agoFrom metatech: IBM WebSphere MQ protocol support.
guy [Tue, 16 Mar 2004 19:23:25 +0000 (19:23 +0000)]
From metatech: IBM WebSphere MQ protocol support.

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

20 years agoFrom Paul Ionescu: handle ODR hub default gateway announcements.
guy [Tue, 16 Mar 2004 19:13:38 +0000 (19:13 +0000)]
From Paul Ionescu: handle ODR hub default gateway announcements.

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

20 years agoIt's Mac OS, not MacOS.
guy [Tue, 16 Mar 2004 18:18:48 +0000 (18:18 +0000)]
It's Mac OS, not MacOS.

Note that Ethereal doesn't work on pre-X Mac OS, in case somebody sees
".macos" and thinks it'll work on OS 9 or earlier versions.

Explain that GLib and GTK+ now need to be shared libraries, and that
the GLib 1.x and GTK+ 1.x release tarballs were built with an older
version of libtool that didn't support building them as shared libraries
on OS X.

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