Commit graph

10350 commits

Author SHA1 Message Date
Guy Harris
b66308c7a2 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.

svn path=/trunk/; revision=10449
2004-03-23 03:19:06 +00:00
Guy Harris
0611e105e8 The "len" argument to capture routines should not be decremented as you
move through the packet - it's the total length of captured data.

svn path=/trunk/; revision=10448
2004-03-23 01:58:19 +00:00
Guy Harris
84575bd160 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).

svn path=/trunk/; revision=10447
2004-03-23 01:29:45 +00:00
Guy Harris
30b2831847 Add support for DLT_APPLE_IP_OVER_IEEE_1394.
svn path=/trunk/; revision=10446
2004-03-23 01:02:41 +00:00
Guy Harris
ac38f86c69 Clean up the code to check the file type.
svn path=/trunk/; revision=10445
2004-03-23 00:17:50 +00:00
Guy Harris
65736157b4 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.

svn path=/trunk/; revision=10444
2004-03-22 23:50:43 +00:00
Guy Harris
41c5ac6821 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.

svn path=/trunk/; revision=10443
2004-03-22 23:40:44 +00:00
Laurent Deniel
cc598d0484 * 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

svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
Gerald Combs
516d177e55 !ifdef-ize out a GTKWimp text section.
svn path=/trunk/; revision=10441
2004-03-22 22:37:41 +00:00
Gerald Combs
8e5a56a881 Add Makefile.common to the distribution.
svn path=/trunk/; revision=10440
2004-03-22 21:29:52 +00:00
Gerald Combs
233dadebd3 From Lars Roland: Fix a couple of MSVC build problems.
svn path=/trunk/; revision=10439
2004-03-22 20:35:07 +00:00
Guy Harris
9ae290b98c From Tomas Kukosa: supportedTunnelledProtocols in EndpointType is a
SEQUENCE OF TunnelledProtocol, not just a TunnelledProtocol.

svn path=/trunk/; revision=10438
2004-03-22 20:16:55 +00:00
Guy Harris
e833e03ab0 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.

svn path=/trunk/; revision=10437
2004-03-22 20:01:01 +00:00
Gerald Combs
4c0ecdcd9b Bump the version up to 0.10.3.
svn path=/trunk/; revision=10436
2004-03-22 17:03:30 +00:00
Gerald Combs
f5bda7829c Back out previous accidentally-committed change.
svn path=/trunk/; revision=10435
2004-03-22 16:19:53 +00:00
Gerald Combs
eaafb5af48 Handle null RADIUS attribute information without crashing. Found by
Jonathan Heusser.

svn path=/trunk/; revision=10434
2004-03-22 16:05:48 +00:00
Guy Harris
070a22f31c Fix a typo.
svn path=/trunk/; revision=10433
2004-03-22 01:18:35 +00:00
Guy Harris
8cc65553c0 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.

svn path=/trunk/; revision=10432
2004-03-21 23:46:39 +00:00
Guy Harris
fa7f10e021 Clean up white space.
Just use "proto_tree_add_item()" to put the session ID into the protocol
string.

svn path=/trunk/; revision=10431
2004-03-21 23:19:36 +00:00
Guy Harris
edfbced13d 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.

svn path=/trunk/; revision=10430
2004-03-21 23:10:31 +00:00
Guy Harris
33266ea769 From Anders Broman: add some more AVP's, result codes, etc..
svn path=/trunk/; revision=10429
2004-03-21 23:08:05 +00:00
Guy Harris
ea996167a4 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.

svn path=/trunk/; revision=10428
2004-03-21 22:55:59 +00:00
Jörg Mayer
293d19df90 Prefix ENUM types ip IPDC_ in order to prevent type clashes with windows
includes (MSVC). Proposed fix by Ulf Lamping.

svn path=/trunk/; revision=10427
2004-03-21 19:57:14 +00:00
Jörg Mayer
aa7a809354 Update to include the libpcap problems. Using excerpts from a mailexchange
between Guy Harris and Peter ("downtime").

svn path=/trunk/; revision=10426
2004-03-21 19:04:44 +00:00
Nathan Neulinger
51c2041aa1 add support for dissecting multicast sync packets for Linux IPVS
svn path=/trunk/; revision=10425
2004-03-21 17:13:01 +00:00
Guy Harris
ed5641230d From Jelmer Vernooij: add support for SNAC(x,1), SNAC(1,2-6) and
SNAC(1,0x13).

svn path=/trunk/; revision=10424
2004-03-20 20:06:47 +00:00
Guy Harris
b1713c14a5 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.

svn path=/trunk/; revision=10423
2004-03-20 19:09:22 +00:00
Guy Harris
69f4254b00 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.

svn path=/trunk/; revision=10422
2004-03-20 18:51:08 +00:00
Jörg Mayer
4b98ca09c9 Remove trailing comma
svn path=/trunk/; revision=10421
2004-03-20 10:47:00 +00:00
Jörg Mayer
1e1de04ffc Workaround for (at least) some RedHat platforms:
Add -lresolv in case it's missing but required by the heimdal libs.

svn path=/trunk/; revision=10420
2004-03-20 10:32:02 +00:00
Guy Harris
b88934db25 Make "timestamp_type" static, as all access to it should be through the
routines in this file.

svn path=/trunk/; revision=10419
2004-03-20 08:32:03 +00:00
Guy Harris
4f9cce3ea8 "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).

svn path=/trunk/; revision=10418
2004-03-20 08:01:07 +00:00
Guy Harris
27449310db Don't use fixed-length buffers for strings - there's no absolute string
length.

svn path=/trunk/; revision=10417
2004-03-20 07:49:09 +00:00
Guy Harris
179b1541b0 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.

svn path=/trunk/; revision=10416
2004-03-20 07:26:41 +00:00
Guy Harris
ddc5a1773a 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.

svn path=/trunk/; revision=10415
2004-03-20 06:34:09 +00:00
Guy Harris
45e7bf5962 From Jelmer Vernooij: add support for some more SNACs.
svn path=/trunk/; revision=10414
2004-03-20 06:14:49 +00:00
Guy Harris
f44c275678 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.

svn path=/trunk/; revision=10413
2004-03-20 06:06:39 +00:00
Guy Harris
856d3816db Updates from Josh Bailey and Ruud Linders.
svn path=/trunk/; revision=10412
2004-03-20 05:53:40 +00:00
Michael Tüxen
b322659aca Fixed a typo: sctp.verfication_tag -> sctp.verification_tag
svn path=/trunk/; revision=10411
2004-03-19 20:40:23 +00:00
Guy Harris
e2b8a80a7a Use "E.164", not "E164".
In the field names, use the filter name of the protocol - "e164" -
rather than "E164".

svn path=/trunk/; revision=10410
2004-03-19 10:24:43 +00:00
Guy Harris
11340a8122 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.

svn path=/trunk/; revision=10409
2004-03-19 07:54:58 +00:00
Guy Harris
e39c338b07 Update to reflect current reality.
svn path=/trunk/; revision=10408
2004-03-19 07:49:29 +00:00
Guy Harris
e59b9abbb4 From Tomas Kukosa: add a new "Expand Tree" context menu item, which
expands the selected item and all items below it.

svn path=/trunk/; revision=10407
2004-03-19 06:23:38 +00:00
Guy Harris
ac7c584192 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.

svn path=/trunk/; revision=10406
2004-03-19 06:14:03 +00:00
Guy Harris
8e3c9ef320 From Anders Broman: put E.164 numbers into the protocol tree using the
E.164 routines.

svn path=/trunk/; revision=10405
2004-03-19 05:33:34 +00:00
Guy Harris
b9ab806214 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.

svn path=/trunk/; revision=10404
2004-03-19 05:22:41 +00:00
Olivier Biot
7b9f101a4a 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.

svn path=/trunk/; revision=10403
2004-03-18 21:14:37 +00:00
Olivier Biot
11f9232336 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.

svn path=/trunk/; revision=10402
2004-03-18 19:04:33 +00:00
Gerald Combs
d714f1153f Call proto_register_field_array() after proto_register_protocol(), and not
before.

svn path=/trunk/; revision=10401
2004-03-18 15:53:22 +00:00
Guy Harris
4afd41eede 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.

svn path=/trunk/; revision=10400
2004-03-18 09:00:37 +00:00