metze/wireshark/wip.git
12 years agoSpeed up (slightly) reading of long text lines.
Martin Mathieson [Tue, 12 Jul 2011 10:49:22 +0000 (10:49 -0000)]
Speed up (slightly) reading of long text lines.

svn path=/trunk/; revision=37989

12 years agoFix more tooltips.
Anders Broman [Tue, 12 Jul 2011 06:54:01 +0000 (06:54 -0000)]
Fix more tooltips.

svn path=/trunk/; revision=37988

12 years agoFix more tooltips.
Anders Broman [Tue, 12 Jul 2011 06:15:24 +0000 (06:15 -0000)]
Fix more tooltips.

svn path=/trunk/; revision=37987

12 years agoAdd a bunch of URLs for character encoding information.
Guy Harris [Tue, 12 Jul 2011 00:14:37 +0000 (00:14 -0000)]
Add a bunch of URLs for character encoding information.

svn path=/trunk/; revision=37986

12 years agoHaving a non-NULL capture_opts->save_file might make us crash less.
Gerald Combs [Mon, 11 Jul 2011 22:51:46 +0000 (22:51 -0000)]
Having a non-NULL capture_opts->save_file might make us crash less.

svn path=/trunk/; revision=37983

12 years agoUse the proper function name.
Gerald Combs [Mon, 11 Jul 2011 22:41:53 +0000 (22:41 -0000)]
Use the proper function name.

svn path=/trunk/; revision=37982

12 years agoFix more tooltips.
Anders Broman [Mon, 11 Jul 2011 21:29:47 +0000 (21:29 -0000)]
Fix more tooltips.

svn path=/trunk/; revision=37980

12 years agoMore GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
Gerald Combs [Mon, 11 Jul 2011 20:32:19 +0000 (20:32 -0000)]
More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove
tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and
reassemble_cleanup() since they were only used for older GLib versions
which didn't support GSlices. Assume we always support the "matches"
operator.

svn path=/trunk/; revision=37978

12 years agoFix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.
Anders Broman [Mon, 11 Jul 2011 20:01:28 +0000 (20:01 -0000)]
Fix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.

svn path=/trunk/; revision=37976

12 years agoFix a couple of tooltips.
Anders Broman [Mon, 11 Jul 2011 19:34:57 +0000 (19:34 -0000)]
Fix a couple of tooltips.

svn path=/trunk/; revision=37975

12 years agoIn version_info.c, assume we always have the "matches" operator. In
Gerald Combs [Mon, 11 Jul 2011 19:15:57 +0000 (19:15 -0000)]
In version_info.c, assume we always have the "matches" operator. In
capture_opts.c, assume our output filename has been passed through
arg_list_utf_16to8().

svn path=/trunk/; revision=37974

12 years agoRemaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.
Gerald Combs [Mon, 11 Jul 2011 19:10:57 +0000 (19:10 -0000)]
Remaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.

svn path=/trunk/; revision=37973

12 years agoGTK_CHECK_VERSION cleanup.
Anders Broman [Mon, 11 Jul 2011 18:54:49 +0000 (18:54 -0000)]
GTK_CHECK_VERSION cleanup.

svn path=/trunk/; revision=37972

12 years agoMore GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.
Gerald Combs [Mon, 11 Jul 2011 18:35:36 +0000 (18:35 -0000)]
More GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.

svn path=/trunk/; revision=37971

12 years agoMore GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespace
Gerald Combs [Mon, 11 Jul 2011 18:18:35 +0000 (18:18 -0000)]
More GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespace
cleanup.

svn path=/trunk/; revision=37970

12 years agoRemove a lot of instances of GTK_CHECK_VERSION. Clean up whitespace in a
Gerald Combs [Mon, 11 Jul 2011 18:08:08 +0000 (18:08 -0000)]
Remove a lot of instances of GTK_CHECK_VERSION. Clean up whitespace in a
couple of places.

svn path=/trunk/; revision=37969

12 years agoMake the minimum GLib version 2.14 and the minimum GTK+ version 2.12.
Gerald Combs [Mon, 11 Jul 2011 17:49:59 +0000 (17:49 -0000)]
Make the minimum GLib version 2.14 and the minimum GTK+ version 2.12.

svn path=/trunk/; revision=37967

12 years agoChange encoding type from FALSE to ENC_BIG_ENDIAN.
Anders Broman [Mon, 11 Jul 2011 13:44:29 +0000 (13:44 -0000)]
Change encoding type from FALSE to ENC_BIG_ENDIAN.

svn path=/trunk/; revision=37963

12 years agoFrom qgj:
Anders Broman [Mon, 11 Jul 2011 13:43:12 +0000 (13:43 -0000)]
From qgj:
when dissect the capwap control header,the sequence's value is decoded
improperly,it tooks the wrong offset value,so the control messages' sequence is
showed improperly.
Changed to uset proto_add_item and encoding type changed from FALSE to ENC_BIG_ENDIAN.

svn path=/trunk/; revision=37962

12 years agoChange encoding type from FALSE to ENC_BIG_ENDIAN.
Anders Broman [Mon, 11 Jul 2011 13:41:19 +0000 (13:41 -0000)]
Change encoding type from FALSE to ENC_BIG_ENDIAN.

svn path=/trunk/; revision=37961

12 years agoFrom Ludovic Haessler:
Anders Broman [Mon, 11 Jul 2011 13:32:04 +0000 (13:32 -0000)]
From Ludovic Haessler:
Add 3GPP TS44.060 RLC/MAC control blocks management in GSMTAP dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6103

svn path=/trunk/; revision=37960

12 years agoMake sure consumed is set.
Anders Broman [Mon, 11 Jul 2011 10:42:16 +0000 (10:42 -0000)]
Make sure consumed is set.

svn path=/trunk/; revision=37959

12 years agoFrom Michael Mann:
Anders Broman [Mon, 11 Jul 2011 10:12:40 +0000 (10:12 -0000)]
From Michael Mann:
Added filters for BOOTP options of "basic" types (modeled after packet-wssap.c)

"bootp.option.length" only used when specific option filter can't be found.
"bootp.option.value" expanded to support multiple types

Converted "custom options string" to UAT

replacing many proto_tree_add_text() calls with
proto_tree_add_item(), so the BOOTP dissector is considerably more filterable

svn path=/trunk/; revision=37958

12 years agoAs noted by Jaap Keuter on -dev, be sure to use message_size instead of
Chris Maynard [Mon, 11 Jul 2011 00:17:08 +0000 (00:17 -0000)]
As noted by Jaap Keuter on -dev, be sure to use message_size instead of
header->message_size for a correct host endianness comparison.

svn path=/trunk/; revision=37957

12 years agoMove the definitions of LANalyzer records to lanalyzer.c.
Guy Harris [Sun, 10 Jul 2011 22:57:59 +0000 (22:57 -0000)]
Move the definitions of LANalyzer records to lanalyzer.c.

Use LA_RecordHeaderSize rather than sizeof, to squelch some compiler
complaints.

svn path=/trunk/; revision=37956

12 years agoFrom Jaap:
Anders Broman [Sun, 10 Jul 2011 22:13:03 +0000 (22:13 -0000)]
From Jaap:
Limit the search to the line.

svn path=/trunk/; revision=37955

12 years agoDefine a structure for the record header, and read into that, and then
Guy Harris [Sun, 10 Jul 2011 22:10:07 +0000 (22:10 -0000)]
Define a structure for the record header, and read into that, and then
extract values from it.

svn path=/trunk/; revision=37954

12 years agoAt that point in the code, bytes_read isn't the total number of record
Guy Harris [Sun, 10 Jul 2011 21:05:19 +0000 (21:05 -0000)]
At that point in the code, bytes_read isn't the total number of record
header bytes read, as we're reading the two header fields separately and
checking the byte count for each read.  We *do*, however, know that the
record header is 4 bytes long, so we can just seek back 4 bytes.

svn path=/trunk/; revision=37953

12 years agoAdd port 2710 for the XBT BitTorrent tracker (and note why it's added;
Guy Harris [Sun, 10 Jul 2011 18:34:15 +0000 (18:34 -0000)]
Add port 2710 for the XBT BitTorrent tracker (and note why it's added;
the other unusual ports should be mentioned as well).

svn path=/trunk/; revision=37952

12 years agoMake sure the SID string attached to a dcerpc_call_value has session
Guy Harris [Sun, 10 Jul 2011 17:57:39 +0000 (17:57 -0000)]
Make sure the SID string attached to a dcerpc_call_value has session
duration, just as the dcerpc_call_value itself does.

svn path=/trunk/; revision=37951

12 years ago[Automatic manuf, services and enterprise-numbers update for 2011-07-10]
Gerald Combs [Sun, 10 Jul 2011 15:03:37 +0000 (15:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2011-07-10]

svn path=/trunk/; revision=37948

12 years agoPut Modbus/UDP support back.
Guy Harris [Sat, 9 Jul 2011 19:58:19 +0000 (19:58 -0000)]
Put Modbus/UDP support back.

svn path=/trunk/; revision=37947

12 years agoIf the reply length is < 32, that's an overflow, not a bug in the
Guy Harris [Sat, 9 Jul 2011 18:56:21 +0000 (18:56 -0000)]
If the reply length is < 32, that's an overflow, not a bug in the
dissector (unless you consider the calculation not being done in 64 bits
as a bug).  For now, toss a ReportedBoundsError.

svn path=/trunk/; revision=37946

12 years agoPer README.developer, we must call subdissectors regardless of whether "tree"
Chris Maynard [Sat, 9 Jul 2011 02:04:48 +0000 (02:04 -0000)]
Per README.developer, we must call subdissectors regardless of whether "tree"
is NULL or not.  With this change, GRE-encapsulated packets (such as IP)
should now appear in then endpoint and conversation lists.  This was
essentially the request made at Sharkfest '11.  The actual request was for a
"GRE" tab to be added, but that doesn't really make much sense to me.  I
believe this change should fulfill that request.

svn path=/trunk/; revision=37945

12 years agoPoint to the right place.
Guy Harris [Sat, 9 Jul 2011 01:41:09 +0000 (01:41 -0000)]
Point to the right place.

svn path=/trunk/; revision=37944

12 years agoShow a hint to read http://wiki.wireshark.org/CaptureSetup/CapturePrivileges
Balint Reczey [Sat, 9 Jul 2011 00:20:13 +0000 (00:20 -0000)]
Show a hint to read wiki.wireshark.org/CaptureSetup/CapturePrivileges
when showing the warning about running Wireshark as root
Thanks to Evan Huus for the suggestion.

svn path=/trunk/; revision=37943

12 years agoUse a pixbuf for widgets used for icons.
Michael Tüxen [Fri, 8 Jul 2011 18:29:02 +0000 (18:29 -0000)]
Use a pixbuf for widgets used for icons.

svn path=/trunk/; revision=37942

12 years agoTrivial: add a couple of newlines.
Martin Mathieson [Fri, 8 Jul 2011 16:10:25 +0000 (16:10 -0000)]
Trivial: add a couple of newlines.

svn path=/trunk/; revision=37941

12 years agoChange the way we scan past characters before the direction indicator.
Martin Mathieson [Fri, 8 Jul 2011 16:08:32 +0000 (16:08 -0000)]
Change the way we scan past characters before the direction indicator.

svn path=/trunk/; revision=37940

12 years agoIf no interface is specified on the command line, use the default
Michael Tüxen [Fri, 8 Jul 2011 13:47:16 +0000 (13:47 -0000)]
If no interface is specified on the command line, use the default
capture interface if given.

This patch is provided by Irene Ruengeler.

svn path=/trunk/; revision=37939

12 years agoYou can't select/deselct interfaces in the capture/interfaces
Michael Tüxen [Fri, 8 Jul 2011 13:40:00 +0000 (13:40 -0000)]
You can't select/deselct interfaces in the capture/interfaces
dialog while you are capturing.
This patch is provided by Irene Ruengeler.

svn path=/trunk/; revision=37938

12 years agoTry to make non-libpcap builds compiling.
Michael Tüxen [Fri, 8 Jul 2011 09:26:34 +0000 (09:26 -0000)]
Try to make non-libpcap builds compiling.

svn path=/trunk/; revision=37937

12 years agoUse the interfaces from the last capturing process as a starting point
Michael Tüxen [Fri, 8 Jul 2011 08:49:06 +0000 (08:49 -0000)]
Use the interfaces from the last capturing process as a starting point
for the next one.

Obtained from Irene Ruengeler.

svn path=/trunk/; revision=37936

12 years agoAvoid 'variable set but no used' error from compiler.
Jaap Keuter [Fri, 8 Jul 2011 07:52:31 +0000 (07:52 -0000)]
Avoid 'variable set but no used' error from compiler.

svn path=/trunk/; revision=37935

12 years agoAlas, the libpcap API didn't use "void *" where it should have; squelch
Guy Harris [Fri, 8 Jul 2011 02:02:37 +0000 (02:02 -0000)]
Alas, the libpcap API didn't use "void *" where it should have; squelch
some warnings from Clang.

svn path=/trunk/; revision=37934

12 years ago%u suffices, as varargs are widened. (It aslso doesn't cause Clang to
Guy Harris [Fri, 8 Jul 2011 01:58:30 +0000 (01:58 -0000)]
%u suffices, as varargs are widened. (It aslso doesn't cause Clang to
complain.)

svn path=/trunk/; revision=37933

12 years agoThe argument of capture_get_if_icon() is used.
Michael Tüxen [Thu, 7 Jul 2011 21:16:03 +0000 (21:16 -0000)]
The argument of capture_get_if_icon() is used.

svn path=/trunk/; revision=37932

12 years agoTry to unbreak the Mac OS X 10.5 buildbots.
Michael Tüxen [Thu, 7 Jul 2011 20:20:55 +0000 (20:20 -0000)]
Try to unbreak the Mac OS X 10.5 buildbots.

svn path=/trunk/; revision=37931

12 years agoIn elem_cell_id_aux(), in the case of an unknown/invalid disc, be sure to
Chris Maynard [Thu, 7 Jul 2011 16:37:33 +0000 (16:37 -0000)]
In elem_cell_id_aux(), in the case of an unknown/invalid disc, be sure to
increment the curr_offset by the correct number of bytes; otherwise we can run
into an infinite loop condition such as was the case for bug 6044.

Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6044

svn path=/trunk/; revision=37930

12 years agoBring back interface icons.
Michael Tüxen [Thu, 7 Jul 2011 13:57:08 +0000 (13:57 -0000)]
Bring back interface icons.

Obtained from Irene Ruengeler.

svn path=/trunk/; revision=37929

12 years agoUse the interface descriptions again.
Michael Tüxen [Thu, 7 Jul 2011 13:34:40 +0000 (13:34 -0000)]
Use the interface descriptions again.

This patch is from Irene Ruengeler.

svn path=/trunk/; revision=37928

12 years agoFrom Ali Bahar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6093
Alexis La Goutte [Thu, 7 Jul 2011 10:19:02 +0000 (10:19 -0000)]
From Ali Bahar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6093
802.11 Association Response Packet's "Status Code" field is imprecisely decoded/described.

From me :
* Display Reason code in decimal (not Hexa)
* Check list from last standard (802.11-2007, 802.11r-2008, 802.11n-2009, 802.11w-2009 & 802.11z-2011)
* Add link to 802.11z-2010 documentation

svn path=/trunk/; revision=37927

12 years agoFrom Ludovic Haessler:
Anders Broman [Thu, 7 Jul 2011 07:44:25 +0000 (07:44 -0000)]
From Ludovic Haessler:
CSN Ack/Nack Description wrongly handled in gsm_rlcmac_dl dissector (3GPP TS 44.060)

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6101

svn path=/trunk/; revision=37926

12 years agoFix a crash when using hidden interfaces.
Michael Tüxen [Wed, 6 Jul 2011 17:27:42 +0000 (17:27 -0000)]
Fix a crash when using hidden interfaces.

svn path=/trunk/; revision=37925

12 years agoFrom Jakub Zawadzki via bug 6002: Don't set state to STATE_EXPECT_DATA if there...
Chris Maynard [Wed, 6 Jul 2011 16:22:11 +0000 (16:22 -0000)]
From Jakub Zawadzki via bug 6002:  Don't set state to STATE_EXPECT_DATA if there's no data to read.

Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6002

svn path=/trunk/; revision=37924

12 years agoFix memory leak, using ep_alloc() instead of g_malloc().
Chris Maynard [Wed, 6 Jul 2011 16:03:43 +0000 (16:03 -0000)]
Fix memory leak, using ep_alloc() instead of g_malloc().

svn path=/trunk/; revision=37923

12 years agoFrom György Szaniszló:
Anders Broman [Wed, 6 Jul 2011 15:45:56 +0000 (15:45 -0000)]
From György Szaniszló:
Introduced a new tcp state variable: maxseqtobeacked, this is the
maximum seq number that can be acked by the rev party in normal case.
This new state variable only serves the proper detection of
tcp.analysis.ack_lost_segment indicator, and decouples it from the detection of
tcp.analysis.lost_segment indicator.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6081

svn path=/trunk/; revision=37922

12 years agoFrom Kluchnikov Ivan:
Anders Broman [Wed, 6 Jul 2011 15:39:25 +0000 (15:39 -0000)]
From Kluchnikov Ivan:
Decoding Phy Synchronization Field in wimax DL-MAP and Compressed DL-MAP.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6068

svn path=/trunk/; revision=37921

12 years agoAdd
Martin Mathieson [Wed, 6 Jul 2011 14:56:42 +0000 (14:56 -0000)]
Add
#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
around access to interface_options.buffer_size

svn path=/trunk/; revision=37920

12 years agoFrom Ludovic Haessler:
Anders Broman [Wed, 6 Jul 2011 12:53:04 +0000 (12:53 -0000)]
From Ludovic Haessler:
Wrong decoding of RLC/MAC EGPRS Packet Downlink Ack/Nack (3GPP TS 44.060)

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6098

svn path=/trunk/; revision=37919

12 years agoFrom HAESSLER:
Anders Broman [Wed, 6 Jul 2011 12:47:21 +0000 (12:47 -0000)]
From HAESSLER:
Abis interface not correctly handled in gsmtap dissector

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6097

svn path=/trunk/; revision=37918

12 years agoUse g_object_set() instead of gtk_object_set().
Michael Tüxen [Wed, 6 Jul 2011 11:35:52 +0000 (11:35 -0000)]
Use g_object_set() instead of gtk_object_set().

svn path=/trunk/; revision=37917

12 years agoGet it even linking...
Michael Tüxen [Wed, 6 Jul 2011 11:25:57 +0000 (11:25 -0000)]
Get it even linking...

svn path=/trunk/; revision=37916

12 years agoGet it compiling when not having libpcap.
Michael Tüxen [Wed, 6 Jul 2011 11:22:38 +0000 (11:22 -0000)]
Get it compiling when not having libpcap.

svn path=/trunk/; revision=37915

12 years agoAdd detection of rpcap support in libpcap and use it if available.
Jörg Mayer [Wed, 6 Jul 2011 09:28:40 +0000 (09:28 -0000)]
Add detection of rpcap support in libpcap and use it if available.

svn path=/trunk/; revision=37914

12 years agoAdd support for multiple interface to the main welcome screen.
Michael Tüxen [Wed, 6 Jul 2011 09:17:06 +0000 (09:17 -0000)]
Add support for multiple interface to the main welcome screen.

This patch is from Irene Ruengeler.

svn path=/trunk/; revision=37913

12 years agoAdd a URL for the specifications. (No, the Wireshark source code is not
Guy Harris [Wed, 6 Jul 2011 05:31:42 +0000 (05:31 -0000)]
Add a URL for the specifications.  (No, the Wireshark source code is not
a specification.)

Put V1 support back, in case there are captures out there with V1
packets and somebody wants to read them.

We don't need two identical tests against the minimum length.

For an unknown version, just put in a text item for the data, don't
append a note to the length field (which is the wrong field to append to
in any case).

Make routines not used outside this file static.

svn path=/trunk/; revision=37912

12 years agoConstify to squelch compiler warning.
Guy Harris [Wed, 6 Jul 2011 04:45:50 +0000 (04:45 -0000)]
Constify to squelch compiler warning.

svn path=/trunk/; revision=37911

12 years agoDon't check for "(null)" as the result of a printf operation; don't pass
Guy Harris [Wed, 6 Jul 2011 04:09:49 +0000 (04:09 -0000)]
Don't check for "(null)" as the result of a printf operation; don't pass
in a null pointer to %s in the first place!  Not all printf
implementations necessarily emit "(null)" in that case; perhaps GLib's
does, but we shouldn't even depend on that - we should, instead, at
least print something semi-useful in that case (the link-layer type's
numerical value).

Fix syntax errors in the "no libpcap" case.

svn path=/trunk/; revision=37910

12 years agoAdd some additional routine variants that handle string encodings, and
Guy Harris [Tue, 5 Jul 2011 23:59:23 +0000 (23:59 -0000)]
Add some additional routine variants that handle string encodings, and
make FT_STRING and FT_UINT_STRING handle string encodings.

Get rid of FT_EBCDIC in favor of FT_STRING with ENC_EBCDIC.

Add some URLs for DRDA.

Clean up some stuff in TN3270 and TN5250, including using ENC_ values
for proto_tree_add_item().

svn path=/trunk/; revision=37909

12 years agoThe #if 0'ed out code was being used; #if 0'ing it out meant that some
Guy Harris [Tue, 5 Jul 2011 23:14:00 +0000 (23:14 -0000)]
The #if 0'ed out code was being used; #if 0'ing it out meant that some
items didn't get put into the protocol tree.  See, for example, the
4548-Bug4668.pcap capture in the Wireshark menagerie (and attached to
bug 4668).

Instead, replace the #if 0'ed out code with code that does what the
non-commented-out line of code did, but doesn't assign to the unused and
now non-existent pi variable.

Make the "hf_id != -1" case the first one, as that should be the
"normal" case.

svn path=/trunk/; revision=37908

12 years agoDon't use strcpy().
Michael Tüxen [Tue, 5 Jul 2011 21:29:06 +0000 (21:29 -0000)]
Don't use strcpy().

svn path=/trunk/; revision=37907

12 years agoAdd ett_a11_rqi_grantedqos to the list of ett_ values to be allocated.
Guy Harris [Tue, 5 Jul 2011 21:11:58 +0000 (21:11 -0000)]
Add ett_a11_rqi_grantedqos to the list of ett_ values to be allocated.

Clean up indentation.

svn path=/trunk/; revision=37906

12 years ago(Try to) fix compilation when no libpcap is available.
Michael Tüxen [Tue, 5 Jul 2011 21:11:24 +0000 (21:11 -0000)]
(Try to) fix compilation when no libpcap is available.

svn path=/trunk/; revision=37905

12 years agoAdd initial support for multiple interfaces. More to come after
Michael Tüxen [Tue, 5 Jul 2011 20:34:03 +0000 (20:34 -0000)]
Add initial support for multiple interfaces. More to come after
the capture options dialog box supports also multiple interfaces.

This patch has been developed by Irene Ruengeler.

svn path=/trunk/; revision=37904

12 years agoSupport selecting multiple interfaces in the capture/interfaces
Michael Tüxen [Tue, 5 Jul 2011 20:29:33 +0000 (20:29 -0000)]
Support selecting multiple interfaces in the capture/interfaces
dialog.
Until the capture/options dialog supports multiple interfaces, the
options button is only selectable when 0 or 1 interfaces are selected.
This patch is based on work by Irene Ruengeler.

svn path=/trunk/; revision=37903

12 years agoFrom Michael Mann:
Anders Broman [Tue, 5 Jul 2011 15:22:28 +0000 (15:22 -0000)]
From Michael Mann:
Added choice to display UTC or local time.  Defaulted to local for "backwards compatibility"

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3384

svn path=/trunk/; revision=37902

12 years agoFrom Sven Eckelmann:
Anders Broman [Tue, 5 Jul 2011 08:20:23 +0000 (08:20 -0000)]
From Sven Eckelmann:
Add support for v14

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6046

svn path=/trunk/; revision=37901

12 years agoFrom Sven Eckelmann:
Anders Broman [Tue, 5 Jul 2011 08:17:46 +0000 (08:17 -0000)]
From Sven Eckelmann:
Rename HNA to TT to use the same names as upstream.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6046

svn path=/trunk/; revision=37900

12 years agoAdd a URL for DECnet Phase IV specifications.
Guy Harris [Mon, 4 Jul 2011 22:01:36 +0000 (22:01 -0000)]
Add a URL for DECnet Phase IV specifications.

svn path=/trunk/; revision=37899

12 years agoFrom Michael Mann:
Anders Broman [Mon, 4 Jul 2011 21:43:34 +0000 (21:43 -0000)]
From Michael Mann:
Added ability to display UTC time or UTC time with date.  I liked having the
difference between UTC and local time, not just setting local=UTC.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2629

svn path=/trunk/; revision=37898

12 years agoFrom Sven Eckelmann:
Anders Broman [Mon, 4 Jul 2011 21:20:18 +0000 (21:20 -0000)]
From Sven Eckelmann:
Fix size of unicast fragment packet in v12.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5658

svn path=/trunk/; revision=37897

12 years agoFrom Sven Eckelmann:
Anders Broman [Mon, 4 Jul 2011 21:16:51 +0000 (21:16 -0000)]
From Sven Eckelmann:
Remove unused length_remaining.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5658

svn path=/trunk/; revision=37896

12 years agoFetch svn revision also when checked out with git-svn.
Stig Bjørlykke [Mon, 4 Jul 2011 21:14:43 +0000 (21:14 -0000)]
Fetch svn revision also when checked out with git-svn.

svn path=/trunk/; revision=37895

12 years agoFrom Sven Eckelmann:
Anders Broman [Mon, 4 Jul 2011 21:14:02 +0000 (21:14 -0000)]
From Sven Eckelmann:
Unify handling of NULL-tree in dissection routines.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5658

svn path=/trunk/; revision=37894

12 years agoFrom Christopher Maynard:
Anders Broman [Mon, 4 Jul 2011 20:43:29 +0000 (20:43 -0000)]
From Christopher Maynard:
From doc/README.tapping:

IF the tap is going to return private data using the last parameter to
tap_queue_packet() and IF the protocol can appear multiple times inside the
same packet, you will have to make sure that each instance of
tap_queue_packet() is using its own instance of private struct variable
so they don't overwrite each other.

This was the case here, so I changed the static allocation of tap_rec to be
ep_alloc'd.  I also tried to clean up the Info column a bit.  With this patch
applied, the graph now shows the APM and ANM correctly instead of 2 ANM's.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5966

svn path=/trunk/; revision=37893

12 years agoFrom Guido Reismueller:
Anders Broman [Mon, 4 Jul 2011 20:34:04 +0000 (20:34 -0000)]
From Guido Reismueller:
This patch includes alle modem capabilities from DOCSIS 3.0
Until now only modem capabilities 1-12 where implemented.
Now all capabilities 1-40 are included.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6070

svn path=/trunk/; revision=37892

12 years agoFrom Kluchnikov Ivan:
Anders Broman [Mon, 4 Jul 2011 15:04:50 +0000 (15:04 -0000)]
From Kluchnikov Ivan:
Update wimax DCD Message mac version values.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6069

svn path=/trunk/; revision=37891

12 years agoFrom Kluchnikov Ivan:
Anders Broman [Mon, 4 Jul 2011 14:57:12 +0000 (14:57 -0000)]
From Kluchnikov Ivan:
Wrong length of items in wimax Compressed DL-MAP and UL-MAP.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6067

svn path=/trunk/; revision=37890

12 years agoFrom Kluchnikov Ivan:
Anders Broman [Mon, 4 Jul 2011 14:33:22 +0000 (14:33 -0000)]
From Kluchnikov Ivan:
Wireshark cannot decode wimax compressed DL-MAP without FCH burst.
Function is_down_link use the base station address (bs_address), which is set
in function dissect_wimax_fch_decoder.
Changed function is_down_link, it use packet_info->p2p_dir for check if packet
is downlink.
packet_info->p2p_dir set in GSMTAP.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6066

svn path=/trunk/; revision=37889

12 years agoFrom Michael Mann:
Anders Broman [Mon, 4 Jul 2011 14:07:20 +0000 (14:07 -0000)]
From Michael Mann:
Removed "key prefix" need within GUI so it's a little more intuitive (because
that's what this bug is complaining about).  Slight backwards compatibility
issue with UAT (because key prefix was in previous keys), but all development
(including fix for BUG 1123 that created UAT) has just been on SVN and not
released.

Also adjusted AirPCap (airpcap_loader.c) to account for the lack of "key
prefix".

Addressed some memory leaks/excess string creation.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5985

svn path=/trunk/; revision=37888

12 years agoFrom Roland Knall:
Anders Broman [Mon, 4 Jul 2011 14:00:51 +0000 (14:00 -0000)]
From Roland Knall:
This patch will add preliminary Profinet IO transport protocol dissection to
the openSAFETY protocol.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6063

svn path=/trunk/; revision=37887

12 years agoFrom Pascal Quantin:
Anders Broman [Mon, 4 Jul 2011 06:22:15 +0000 (06:22 -0000)]
From Pascal Quantin:
Do not trigger an assert when reaching an unknown extension in CHOICE and SEQUENCE types.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6087

svn path=/trunk/; revision=37886

12 years agoError: the blurb for field "Extension header" ("gtp.ext_hdr") matches the field name...
Anders Broman [Mon, 4 Jul 2011 06:11:38 +0000 (06:11 -0000)]
Error: the blurb for field "Extension header" ("gtp.ext_hdr") matches the field name in packet-gtp.c

svn path=/trunk/; revision=37885

12 years agoExplain a bit more what this does.
Guy Harris [Mon, 4 Jul 2011 01:39:13 +0000 (01:39 -0000)]
Explain a bit more what this does.

svn path=/trunk/; revision=37884

12 years agoFix one more undefined reference to `EBCDIC_to_ASCII'
Jakub Zawadzki [Sun, 3 Jul 2011 21:18:22 +0000 (21:18 -0000)]
Fix one more undefined reference to `EBCDIC_to_ASCII'

svn path=/trunk/; revision=37883

12 years agoFrom Roland Knall:
Anders Broman [Sun, 3 Jul 2011 19:25:34 +0000 (19:25 -0000)]
From Roland Knall:
implement a named dissector for the PN/IO sub-protocol for
Profinet, as well as a heuristic dissector ("pn_io"), other protocols can
attach too.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6062

svn path=/trunk/; revision=37882

12 years agoAdd enums to Event-Trigger" code="1006"
Anders Broman [Sun, 3 Jul 2011 19:17:18 +0000 (19:17 -0000)]
Add enums to Event-Trigger" code="1006"

svn path=/trunk/; revision=37881

12 years agoFrom Martin Isaksson:
Anders Broman [Sun, 3 Jul 2011 19:16:21 +0000 (19:16 -0000)]
From Martin Isaksson:
PDCP PDU number extension header support.

svn path=/trunk/; revision=37880

12 years agoFix: tvbuff.obj : error LNK2019: unresolved external symbol _EBCDIC_to_ASCII referenc...
Jakub Zawadzki [Sun, 3 Jul 2011 18:59:41 +0000 (18:59 -0000)]
Fix: tvbuff.obj : error LNK2019: unresolved external symbol _EBCDIC_to_ASCII referenced in function _tvb_get_ephemeral_string_enc

Remove duplicated EBCDIC_to_ASCII from libwireshark.def

svn path=/trunk/; revision=37879