wireshark.git
18 years agoThis commit was manufactured by cvs2svn to create tagethereal-0.10.3
Cvs2svn [Fri, 26 Mar 2004 04:05:01 +0000 (26 04:05 -0000)]
This commit was manufactured by cvs2svn to create tag
'release-0-10-3'.

svn path=/tags/release-0-10-3/; revision=10499

18 years ago0.10.3 final changes: try #2.
Gerald Combs [Fri, 26 Mar 2004 04:05:01 +0000 (26 04:05 -0000)]
0.10.3 final changes: try #2.

svn path=/trunk/; revision=10498

18 years agoCall plugin_address_table_init() before proto_register_protocol().
Gerald Combs [Fri, 26 Mar 2004 04:01:31 +0000 (26 04:01 -0000)]
Call plugin_address_table_init() before proto_register_protocol().

svn path=/trunk/; revision=10497

18 years agoInclude packet-sip.h in the release.
Guy Harris [Fri, 26 Mar 2004 02:10:46 +0000 (26 02:10 -0000)]
Include packet-sip.h in the release.

svn path=/trunk/; revision=10496

18 years agoAdd packet-sip.h
Gerald Combs [Fri, 26 Mar 2004 01:55:41 +0000 (26 01:55 -0000)]
Add packet-sip.h

svn path=/trunk/; revision=10495

18 years agoFinal changes for the 0.10.3 (codename: "Ides of March") release.
Gerald Combs [Fri, 26 Mar 2004 01:39:41 +0000 (26 01:39 -0000)]
Final changes for the 0.10.3 (codename: "Ides of March") release.

svn path=/trunk/; revision=10494

18 years agoFrom Martin Mathieson: SIP statistics tap.
Guy Harris [Fri, 26 Mar 2004 00:28:39 +0000 (26 00:28 -0000)]
From Martin Mathieson: SIP statistics tap.

svn path=/trunk/; revision=10493

18 years agoFix a typo.
Guy Harris [Fri, 26 Mar 2004 00:21:53 +0000 (26 00:21 -0000)]
Fix a typo.

Clean up white space.

svn path=/trunk/; revision=10492

18 years agoUpdate for Tomas Kukosa's new APIs to get the parent and the
Guy Harris [Fri, 26 Mar 2004 00:01:32 +0000 (26 00:01 -0000)]
Update for Tomas Kukosa's new APIs to get the parent and the
nth-grandparent-up for a protocol tree item and to get the last item
created by the BER dissector (that API and the new names for the
universal tags were supplied by him - the checkin item didn't give him
credit).

svn path=/trunk/; revision=10491

18 years agoFrom Tomas Kukosa: use the "proto_item_get_parent()" and
Guy Harris [Fri, 26 Mar 2004 00:00:11 +0000 (26 00:00 -0000)]
From Tomas Kukosa: use the "proto_item_get_parent()" and
"proto_item_get_parent_nth()" routines, and use the new name for some of
the constants for universal tags.

svn path=/trunk/; revision=10490

18 years agoFrom Tomas Kukosa: put the number string for a number IE into the
Guy Harris [Thu, 25 Mar 2004 23:59:01 +0000 (25 23:59 -0000)]
From Tomas Kukosa: put the number string for a number IE into the
top-level item for the IE tree.

svn path=/trunk/; revision=10489

18 years agoFrom Tomas Kukosa: don't allow the PER protocol to be disabled.
Guy Harris [Thu, 25 Mar 2004 23:58:06 +0000 (25 23:58 -0000)]
From Tomas Kukosa: don't allow the PER protocol to be disabled.

svn path=/trunk/; revision=10488

18 years agoAdd constants and names for all universal tags.
Guy Harris [Thu, 25 Mar 2004 23:57:10 +0000 (25 23:57 -0000)]
Add constants and names for all universal tags.

Add "get_ber_last_created_item()" to get the last created item - you
can't access the global variable from a plugin.

svn path=/trunk/; revision=10487

18 years agoFrom Tomas Kukosa: add APIs to get the parent of a protocol tree item
Guy Harris [Thu, 25 Mar 2004 23:55:21 +0000 (25 23:55 -0000)]
From Tomas Kukosa: add APIs to get the parent of a protocol tree item
and the item N levels up from a protocol tree item.

svn path=/trunk/; revision=10486

18 years agoFix tags for 07 version.
Michael Tüxen [Thu, 25 Mar 2004 23:25:20 +0000 (25 23:25 -0000)]
Fix tags for 07 version.

svn path=/trunk/; revision=10485

18 years agoAdd .cvsignore files to the new plugins.
Guy Harris [Thu, 25 Mar 2004 23:11:27 +0000 (25 23:11 -0000)]
Add .cvsignore files to the new plugins.

svn path=/trunk/; revision=10484

18 years agoSquelch compiler warnings, and remove some trailing blanks from lines.
Guy Harris [Thu, 25 Mar 2004 23:09:18 +0000 (25 23:09 -0000)]
Squelch compiler warnings, and remove some trailing blanks from lines.

svn path=/trunk/; revision=10483

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

svn path=/trunk/; revision=10482

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

svn path=/trunk/; revision=10481

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

svn path=/trunk/; revision=10480

18 years agoFrom Tomas Kukosa: BER dissector enhancements and proto.c updates to
Guy Harris [Thu, 25 Mar 2004 09:18:03 +0000 (25 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.

svn path=/trunk/; revision=10479

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

svn path=/trunk/; revision=10478

18 years agoMSVC warning removed
Ulf Lamping [Thu, 25 Mar 2004 06:39:00 +0000 (25 06:39 -0000)]
MSVC warning removed

svn path=/trunk/; revision=10477

18 years agoMQ dissector update from metatech.
Guy Harris [Thu, 25 Mar 2004 04:44:54 +0000 (25 04:44 -0000)]
MQ dissector update from metatech.

svn path=/trunk/; revision=10476

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

svn path=/trunk/; revision=10475

18 years agocommented out unused aim_handle's
Ulf Lamping [Wed, 24 Mar 2004 06:36:32 +0000 (24 06:36 -0000)]
commented out unused aim_handle's

svn path=/trunk/; revision=10474

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

svn path=/trunk/; revision=10473

18 years agoUpdate address.
Olivier Biot [Wed, 24 Mar 2004 00:39:40 +0000 (24 00:39 -0000)]
Update address.

svn path=/trunk/; revision=10472

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

svn path=/trunk/; revision=10471

18 years agoMake "epan_init()" take, as additional arguments, pointers to routines
Guy Harris [Tue, 23 Mar 2004 21:19:58 +0000 (23 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.

svn path=/trunk/; revision=10470

18 years agoFrom Yuri Sidelnikov: FTAM support.
Guy Harris [Tue, 23 Mar 2004 19:51:06 +0000 (23 19:51 -0000)]
From Yuri Sidelnikov: FTAM support.

svn path=/trunk/; revision=10469

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

svn path=/trunk/; revision=10468

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

svn path=/trunk/; revision=10467

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

svn path=/trunk/; revision=10466

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

svn path=/trunk/; revision=10465

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

svn path=/trunk/; revision=10464

18 years agoZero-length arrays are *not* valid in C89, even if GCC doesn't happen to
Guy Harris [Tue, 23 Mar 2004 18:36:05 +0000 (23 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.

svn path=/trunk/; revision=10463

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

svn path=/trunk/; revision=10462

18 years agoUse "tvb_format_text()" to display strings, so we handle non-printable
Guy Harris [Tue, 23 Mar 2004 18:06:29 +0000 (23 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".

svn path=/trunk/; revision=10461

18 years agoAdd tap functionality.
Michael Tüxen [Tue, 23 Mar 2004 18:04:20 +0000 (23 18:04 -0000)]
Add tap functionality.

svn path=/trunk/; revision=10460

18 years agoHandle the case where the keycodemap entry for one of the keycodes
Guy Harris [Tue, 23 Mar 2004 18:03:28 +0000 (23 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.

svn path=/trunk/; revision=10459

18 years agoAdd packet-sctp.h
Michael Tüxen [Tue, 23 Mar 2004 18:02:50 +0000 (23 18:02 -0000)]
Add packet-sctp.h

svn path=/trunk/; revision=10458

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

svn path=/trunk/; revision=10457

18 years agoAdded support for version 07 of the ID.
Michael Tüxen [Tue, 23 Mar 2004 15:39:17 +0000 (23 15:39 -0000)]
Added support for version 07 of the ID.

svn path=/trunk/; revision=10456

18 years agoFrom Tomas Kukosa: don't change the state of the "Expand Tree" menu
Guy Harris [Tue, 23 Mar 2004 07:57:48 +0000 (23 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.

svn path=/trunk/; revision=10455

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

svn path=/trunk/; revision=10454

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

svn path=/trunk/; revision=10453

18 years agoThe dissectors for particular AIM families aren't for real protocols,
Guy Harris [Tue, 23 Mar 2004 07:23:43 +0000 (23 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.

svn path=/trunk/; revision=10452

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

svn path=/trunk/; revision=10451

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

svn path=/trunk/; revision=10450

18 years agoNote that you need X11 and the X11 developer headers and libraries
Guy Harris [Tue, 23 Mar 2004 03:19:06 +0000 (23 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.

svn path=/trunk/; revision=10449

18 years agoThe "len" argument to capture routines should not be decremented as you
Guy Harris [Tue, 23 Mar 2004 01:58:19 +0000 (23 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.

svn path=/trunk/; revision=10448

18 years agoIf we don't find a trailing / in a parameter, throw the appropriate
Guy Harris [Tue, 23 Mar 2004 01:29:45 +0000 (23 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).

svn path=/trunk/; revision=10447

18 years agoAdd support for DLT_APPLE_IP_OVER_IEEE_1394.
Guy Harris [Tue, 23 Mar 2004 01:02:41 +0000 (23 01:02 -0000)]
Add support for DLT_APPLE_IP_OVER_IEEE_1394.

svn path=/trunk/; revision=10446

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

svn path=/trunk/; revision=10445

18 years agoTo build with GLib 2.x/GTK+ 2.x, you need to configure with
Guy Harris [Mon, 22 Mar 2004 23:50:43 +0000 (22 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.

svn path=/trunk/; revision=10444

18 years agoNote that GTK+ 2.4 doesn't work, and indicate why.
Guy Harris [Mon, 22 Mar 2004 23:40:44 +0000 (22 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.

svn path=/trunk/; revision=10443

18 years ago* X11 dissector:
Laurent Deniel [Mon, 22 Mar 2004 22:53:56 +0000 (22 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

svn path=/trunk/; revision=10442

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

svn path=/trunk/; revision=10441

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

svn path=/trunk/; revision=10440

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

svn path=/trunk/; revision=10439

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

svn path=/trunk/; revision=10438

18 years agoMake the strings in the NAS-Port-Type AVP match the text in
Guy Harris [Mon, 22 Mar 2004 20:01:01 +0000 (22 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.

svn path=/trunk/; revision=10437

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

svn path=/trunk/; revision=10436

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

svn path=/trunk/; revision=10435

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

svn path=/trunk/; revision=10434

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

svn path=/trunk/; revision=10433

18 years agoThe CDMA2000 A11 dissector doesn't put anything into the protocol tree
Guy Harris [Sun, 21 Mar 2004 23:46:39 +0000 (21 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.

svn path=/trunk/; revision=10432

18 years agoClean up white space.
Guy Harris [Sun, 21 Mar 2004 23:19:36 +0000 (21 23:19 -0000)]
Clean up white space.

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

svn path=/trunk/; revision=10431

18 years agoFrom Anders Broman: fix the value strings for decoding of AVP values,
Guy Harris [Sun, 21 Mar 2004 23:10:31 +0000 (21 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.

svn path=/trunk/; revision=10430

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

svn path=/trunk/; revision=10429

18 years agoUpdate to note that the 10.3.3 Software Update will probably also
Guy Harris [Sun, 21 Mar 2004 22:55:59 +0000 (21 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.

svn path=/trunk/; revision=10428

18 years agoPrefix ENUM types ip IPDC_ in order to prevent type clashes with windows
Jörg Mayer [Sun, 21 Mar 2004 19:57:14 +0000 (21 19:57 -0000)]
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

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

svn path=/trunk/; revision=10426

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

svn path=/trunk/; revision=10425

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

svn path=/trunk/; revision=10424

18 years agoIf we can't decrypt the user password, display it as hex data, not as
Guy Harris [Sat, 20 Mar 2004 19:09:22 +0000 (20 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.

svn path=/trunk/; revision=10423

18 years agoMake a separate display type for the user password, rather than having
Guy Harris [Sat, 20 Mar 2004 18:51:08 +0000 (20 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.

svn path=/trunk/; revision=10422

18 years agoRemove trailing comma
Jörg Mayer [Sat, 20 Mar 2004 10:47:00 +0000 (20 10:47 -0000)]
Remove trailing comma

svn path=/trunk/; revision=10421

18 years agoWorkaround for (at least) some RedHat platforms:
Jörg Mayer [Sat, 20 Mar 2004 10:32:02 +0000 (20 10:32 -0000)]
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

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

svn path=/trunk/; revision=10419

18 years ago"tmp_tag_text" can hold a string of up to 255 characters, which means it
Guy Harris [Sat, 20 Mar 2004 08:01:07 +0000 (20 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).

svn path=/trunk/; revision=10418

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

svn path=/trunk/; revision=10417

18 years agoIn "dissect_tcap_tid()", check that the length of the transaction ID is
Guy Harris [Sat, 20 Mar 2004 07:26:41 +0000 (20 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.

svn path=/trunk/; revision=10416

18 years agoFrom Tomas Kukosa:
Guy Harris [Sat, 20 Mar 2004 06:34:09 +0000 (20 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.

svn path=/trunk/; revision=10415

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

svn path=/trunk/; revision=10414

18 years agoFrom Ronnie Sahlberg: Windows XP SP1 appears to send the OS and LANMAN
Guy Harris [Sat, 20 Mar 2004 06:06:39 +0000 (20 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.

svn path=/trunk/; revision=10413

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

svn path=/trunk/; revision=10412

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

svn path=/trunk/; revision=10411

18 years agoUse "E.164", not "E164".
Guy Harris [Fri, 19 Mar 2004 10:24:43 +0000 (19 10:24 -0000)]
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

18 years agoFrom Michael Lum:
Guy Harris [Fri, 19 Mar 2004 07:54:58 +0000 (19 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.

svn path=/trunk/; revision=10409

18 years agoUpdate to reflect current reality.
Guy Harris [Fri, 19 Mar 2004 07:49:29 +0000 (19 07:49 -0000)]
Update to reflect current reality.

svn path=/trunk/; revision=10408

18 years agoFrom Tomas Kukosa: add a new "Expand Tree" context menu item, which
Guy Harris [Fri, 19 Mar 2004 06:23:38 +0000 (19 06:23 -0000)]
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

18 years agoFrom Ronnie Sahlberg:
Guy Harris [Fri, 19 Mar 2004 06:14:03 +0000 (19 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.

svn path=/trunk/; revision=10406

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

svn path=/trunk/; revision=10405

18 years agoIn the read routine, set the 802.11 pseudo-header for
Guy Harris [Fri, 19 Mar 2004 05:22:41 +0000 (19 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.

svn path=/trunk/; revision=10404

18 years agoFrom Lars Roland: Move timestamp_type into libethereal and provide accessor
Olivier Biot [Thu, 18 Mar 2004 21:14:37 +0000 (18 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.

svn path=/trunk/; revision=10403

18 years agoFrom Lars Roland: Move timestamp_type into libethereal and provide accessor
Olivier Biot [Thu, 18 Mar 2004 19:04:33 +0000 (18 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.

svn path=/trunk/; revision=10402

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

svn path=/trunk/; revision=10401

18 years agoFrom Tomas Kukosa:
Guy Harris [Thu, 18 Mar 2004 09:00:37 +0000 (18 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.

svn path=/trunk/; revision=10400