15 years agoFix some aclocal warnings during autogen.sh
jmayer [Sat, 27 Mar 2004 12:14:17 +0000 (12:14 +0000)]
Fix some aclocal warnings during autogen.sh

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

15 years agoSome aclocal warning fixes during autogen.sh
jmayer [Sat, 27 Mar 2004 12:07:57 +0000 (12:07 +0000)]
Some aclocal warning fixes during autogen.sh

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

15 years agoFrom Ronnie Sahlberg: RST and FIN segments are neither zero-window
guy [Sat, 27 Mar 2004 11:53:21 +0000 (11:53 +0000)]
From Ronnie Sahlberg: RST and FIN segments are neither zero-window
packets nor duplicate ACKs.

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

15 years agoOK, I'm impatient. In case of problems, I'm to blame, not Olivier.
jmayer [Sat, 27 Mar 2004 11:52:51 +0000 (11:52 +0000)]
OK, I'm impatient. In case of problems, I'm to blame, not Olivier.

Olivier Biot:
Merge epan/configure.in back into configure.in
Leave epan/confiugre.in and epan/acinclude.m4 in case we need to
undo this.

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

15 years agoFrom Gisle Vanem: add a "this is a generated file" comment to the output
guy [Sat, 27 Mar 2004 11:33:40 +0000 (11:33 +0000)]
From Gisle Vanem: add a "this is a generated file" comment to the output
of process-x11-fields.

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

15 years agoFrom Michael Lum:
guy [Sat, 27 Mar 2004 11:32:30 +0000 (11:32 +0000)]
From Michael Lum:

ANSI IS-801 support;

dissect more GSM supplementary services messages and fields.

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

15 years agoUse the new GtkFileChooserDialog when built with gtk+ 2.4
oabad [Sat, 27 Mar 2004 11:16:58 +0000 (11:16 +0000)]
Use the new GtkFileChooserDialog when built with gtk+ 2.4

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

15 years agoFrom Mark C. Brown: add support for iether (dual-port gigabit) cards in
guy [Sat, 27 Mar 2004 11:16:54 +0000 (11:16 +0000)]
From Mark C. Brown: add support for iether (dual-port gigabit) cards in
nettl files.

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

15 years agoFrom Lars Roland: use the generic filter dialog for the SIP, HTTP, WSP,
guy [Sat, 27 Mar 2004 11:13:03 +0000 (11:13 +0000)]
From Lars Roland: use the generic filter dialog for the SIP, HTTP, WSP,
and BOOTP taps.

Get rid of the "dlg" variable in some of those taps - it's never set, so
it's always null, and nothing useful is done with it if it's null.

Make static some variables and functions not used outside the source
file in which they're defined.

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

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

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

15 years agoCall plugin_address_table_init() before proto_register_protocol().
gerald [Fri, 26 Mar 2004 04:01:31 +0000 (04:01 +0000)]
Call plugin_address_table_init() before proto_register_protocol().

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

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

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

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

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

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

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

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

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

15 years agoFix a typo.
guy [Fri, 26 Mar 2004 00:21:53 +0000 (00:21 +0000)]
Fix a typo.

Clean up white space.

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

15 years agoUpdate for Tomas Kukosa's new APIs to get the parent and the
guy [Fri, 26 Mar 2004 00:01:32 +0000 (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

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

15 years agoFrom Tomas Kukosa: use the "proto_item_get_parent()" and
guy [Fri, 26 Mar 2004 00:00:11 +0000 (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.

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

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

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

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

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

15 years agoAdd constants and names for all universal tags.
guy [Thu, 25 Mar 2004 23:57:10 +0000 (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.

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

15 years agoFrom Tomas Kukosa: add APIs to get the parent of a protocol tree item
guy [Thu, 25 Mar 2004 23:55:21 +0000 (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.

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

15 years agoFix tags for 07 version.
tuexen [Thu, 25 Mar 2004 23:25:20 +0000 (23:25 +0000)]
Fix tags for 07 version.

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

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

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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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,

Give a (partial) order for the dependencies.

Note some issues with building and installing the JPEG and libpng

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

15 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,

- miscellaneous changes & code cleaning

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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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