obnox/wireshark/wip.git
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

20 years agoPeter Kjellerstedt:
jmayer [Mon, 15 Mar 2004 12:21:52 +0000 (12:21 +0000)]
Peter Kjellerstedt:
* Correct the version checks (use path expansion
  rather than regular expressions, and fail if the
  tools are not installed at all).
* Make it possible to specify other names for the
  auto* tools to use (e.g., automake-1.6 instead
  of automake).

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

20 years agoAdd Build process items to TODO
jmayer [Mon, 15 Mar 2004 02:24:42 +0000 (02:24 +0000)]
Add Build process items to TODO

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

20 years agoBeginnings of README.macos
jmayer [Mon, 15 Mar 2004 02:04:08 +0000 (02:04 +0000)]
Beginnings of README.macos

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

20 years ago* Color filters:
deniel [Sun, 14 Mar 2004 23:55:53 +0000 (23:55 +0000)]
* Color filters:

Read of color filters rewritten to remove possibility of buffer overflow
in read_filters_file() and to fix comment & blank line handling.
This removes any limitation (and stack overflow) on the lengths of color
filter name and filter expression which are now dynamically allocated.

Fix removal/deletion of color filters (avoid segmentation fault when
some color filter is deleted and then the list cleared for instance).
The use of g_slist_remove() within an iterator is simply unsafe if the
code is not prepared to handle this.

Fix a small memory leak in revert_filters().

Remove inappropriate comments in read_filters().

Miscellaneous code cleaning.

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

20 years agoFix incorrect number of arguments for format and compilation warnings.
deniel [Sun, 14 Mar 2004 14:04:39 +0000 (14:04 +0000)]
Fix incorrect number of arguments for format and compilation warnings.

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

20 years agoWhitespace change
jmayer [Sun, 14 Mar 2004 08:07:16 +0000 (08:07 +0000)]
Whitespace change

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

20 years agoexperimental: make usage of pcap_setbuff to increase the kernel buffer size
ulfl [Sat, 13 Mar 2004 22:49:30 +0000 (22:49 +0000)]
experimental: make usage of pcap_setbuff to increase the kernel buffer size

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

20 years agoupdated texts to reflect the latest GUI changes
ulfl [Sat, 13 Mar 2004 19:51:07 +0000 (19:51 +0000)]
updated texts to reflect the latest GUI changes

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

20 years agousing a stock icon for the open recent "clear list" item
ulfl [Sat, 13 Mar 2004 17:50:23 +0000 (17:50 +0000)]
using a stock icon for the open recent "clear list" item

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

20 years agoreplaced vsnprintf by g_vsnprintf
ulfl [Sat, 13 Mar 2004 15:30:08 +0000 (15:30 +0000)]
replaced vsnprintf by g_vsnprintf

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

20 years agoreplaced sprintf / snprintf by g_snprintf,
ulfl [Sat, 13 Mar 2004 15:15:26 +0000 (15:15 +0000)]
replaced sprintf / snprintf by g_snprintf,
various other string related changes

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

20 years agovarious string related changes
ulfl [Sat, 13 Mar 2004 14:07:14 +0000 (14:07 +0000)]
various string related changes

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

20 years agovarious string related changes, mainly replace sprintf/snprintf by g_snprintf
ulfl [Sat, 13 Mar 2004 12:09:27 +0000 (12:09 +0000)]
various string related changes, mainly replace sprintf/snprintf by g_snprintf

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

20 years agoreplaced snprintf by g_snprintf and removed #include "snprintf.h"
ulfl [Sat, 13 Mar 2004 11:47:08 +0000 (11:47 +0000)]
replaced snprintf by g_snprintf and removed #include "snprintf.h"

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

20 years agoreplaced gtk_widget_show() by a single gtk_widget_show_all(),
ulfl [Sat, 13 Mar 2004 11:43:21 +0000 (11:43 +0000)]
replaced gtk_widget_show() by a single gtk_widget_show_all(),
changed a printf thing

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

20 years agoMake libethereal and libwiretap shared libs.
jmayer [Sat, 13 Mar 2004 10:15:36 +0000 (10:15 +0000)]
Make libethereal and libwiretap shared libs.

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

20 years agoClean up the message for one capability bit, as per a suggestion by John
guy [Sat, 13 Mar 2004 09:35:41 +0000 (09:35 +0000)]
Clean up the message for one capability bit, as per a suggestion by John
Engelhart.

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

20 years agoFrom Yuriy Sidelnikov: handle the case where a presentation selector
guy [Sat, 13 Mar 2004 09:27:38 +0000 (09:27 +0000)]
From Yuriy Sidelnikov: handle the case where a presentation selector
exists but has a length of zero.

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

20 years agoDon't automatically set a capture filter if DISPLAY or REMOTEHOST are
gerald [Fri, 12 Mar 2004 17:23:56 +0000 (17:23 +0000)]
Don't automatically set a capture filter if DISPLAY or REMOTEHOST are
"localhost" or "127.0.0.1".

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

20 years agoAdd cvsversion.h, x11-declarations.h, and x11-register-info.h to
gerald [Fri, 12 Mar 2004 16:31:35 +0000 (16:31 +0000)]
Add cvsversion.h, x11-declarations.h, and x11-register-info.h to
CLEANFILES so that "make distcheck" will work.

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

20 years agoFix some typos, as per Ryuji Somegawa.
guy [Fri, 12 Mar 2004 08:42:54 +0000 (08:42 +0000)]
Fix some typos, as per Ryuji Somegawa.

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

20 years agomake NDMP start distinguishing between different versions.
sahlberg [Thu, 11 Mar 2004 09:54:00 +0000 (09:54 +0000)]
make NDMP start distinguishing between different versions.
Between v2 and v3 some structures changed their definition.

I arbirtrarily made the preference set V2 as the default.
I have no idea what the most common ndmp version is  maybe someone that knows
which is the most popular iversion in the wild will change it to default to that.

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

20 years agoAdd support for DLT_ value 99, as used by the Axent Raptor
guy [Thu, 11 Mar 2004 09:18:33 +0000 (09:18 +0000)]
Add support for DLT_ value 99, as used by the Axent Raptor
firewall/Symantec Enterprise Firewall.  Thanks, Axent/Symantec, for not
asking us for a DLT_ value and not telling us about the link-layer type.

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

20 years agoFix a typo.
gerald [Thu, 11 Mar 2004 03:24:13 +0000 (03:24 +0000)]
Fix a typo.

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

20 years agoMake the color preferences popup menu shrink to its natural size instead
gerald [Thu, 11 Mar 2004 00:22:41 +0000 (00:22 +0000)]
Make the color preferences popup menu shrink to its natural size instead
of filling in its entire table cell.

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

20 years agoFrom Ryuji Somegawa:
guy [Wed, 10 Mar 2004 23:42:32 +0000 (23:42 +0000)]
From Ryuji Somegawa:

add a value_string for the PDSN code;

use for the service option the value_string that was already
there and add a new value to that value_string;

fix up some existing entries, and add some new entries, to the
Radius attribute table.

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

20 years agoFix formats for "sizeof" so that "sizeof" values get displayed correctly
guy [Tue, 9 Mar 2004 20:23:20 +0000 (20:23 +0000)]
Fix formats for "sizeof" so that "sizeof" values get displayed correctly
if they're "int"s or "long"s.

Get rid of the unused PGM_xxx_SZ variables.

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

20 years agoDynamically allocate the array of field entries in a NetFlow V9
guy [Tue, 9 Mar 2004 20:08:26 +0000 (20:08 +0000)]
Dynamically allocate the array of field entries in a NetFlow V9
template, rather than allocating a fixed table of 64 entries (and
possibly overflowing that table).

Clear out the hash table of template entries, freeing all the allocated
arrays, when a new capture is opened.

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

20 years agoPrefix COPYING with the following text
jmayer [Tue, 9 Mar 2004 11:31:04 +0000 (11:31 +0000)]
Prefix COPYING with the following text

            Just to avoid some misunderstandings:
While parts of Ethereal can be built and distributed as libraries,
these parts are still covered by the license below, and NOT by the
Lesser General Public License or any other license.

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

20 years agoMake variables not used outside the module static.
guy [Tue, 9 Mar 2004 09:24:41 +0000 (09:24 +0000)]
Make variables not used outside the module static.

Initialize "hf_error_st" to -1, the same way other hf_ variables are
initialized, and make it an "int", as other hf_ variables are.

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

20 years agoAdd some checks for valid option lengths, and for the first option being
guy [Tue, 9 Mar 2004 06:46:03 +0000 (06:46 +0000)]
Add some checks for valid option lengths, and for the first option being
a length option.

Break out of the option processing loop if we see an option with the
"end" bit set.

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

20 years agoRedesigned the token map aggregation.
obiot [Tue, 9 Mar 2004 02:12:56 +0000 (02:12 +0000)]
Redesigned the token map aggregation.

New simpler lists for both known registered WBXML public IDs and unknown
lists based on content type value. The latter have the possibility to add
a discriminator which facilitates a more correct/appropriate selection of
the token map in cases where more (backwards incompatible) versions exist.

Now the EXT_T tokens are correctly decoded, and a mapping function can be
assigned. This has been done in WML (existing code reused there) and in WV-CSP
(new functions looking up a value in a value_string based on the offset after
the EXT_T_0 token).

Add the textual WV-CSP media type to packet-text-media.c.

TODO - write the discriminators for WML, SyncML and WV-CSP. Add the code for
running the discriminators and possibly iterating over a list of mappings.

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

20 years agoLars Roland: Another ugly bzero() call fixed
jmayer [Tue, 9 Mar 2004 01:08:27 +0000 (01:08 +0000)]
Lars Roland: Another ugly bzero() call fixed

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