wmeier [Thu, 14 Jul 2011 20:58:14 +0000 (20:58 +0000)]
Use correct property name: svn.keywords --> svn:keywords
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38025
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Thu, 14 Jul 2011 20:36:00 +0000 (20:36 +0000)]
Remove
\80\98GtkItemFactoryEntry code in MAIN_MENU_USE_UIMANAGER
code path.
Don't build and don't use protocol help if MAIN_MENU_USE_UIMANAGER is defined.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38024
f5534014-38df-0310-8fa8-
9805f1628bb7
wmeier [Thu, 14 Jul 2011 19:51:53 +0000 (19:51 +0000)]
Fix a crash when doing Telephony ! RTP ! Stream Analysis with capture files with truncated frames.
(That is: the capture files were created with a snapshot length less than the maximum).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6120
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38023
f5534014-38df-0310-8fa8-
9805f1628bb7
martinm [Thu, 14 Jul 2011 17:07:41 +0000 (17:07 +0000)]
Add LTE RLC stats tap to tshark.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38019
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Thu, 14 Jul 2011 16:54:44 +0000 (16:54 +0000)]
Add back r37749, which was taken out by accident.
Thanks to Stephen Fisher for pointing it out.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38018
f5534014-38df-0310-8fa8-
9805f1628bb7
gal [Thu, 14 Jul 2011 13:47:13 +0000 (13:47 +0000)]
Update the algorithms in line with RFC 5912 including support for eliptic curve algorithms.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38017
f5534014-38df-0310-8fa8-
9805f1628bb7
martinm [Thu, 14 Jul 2011 13:39:02 +0000 (13:39 +0000)]
Add LTE MAC statistics to tshark.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38016
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Thu, 14 Jul 2011 09:43:53 +0000 (09:43 +0000)]
Fix the last non-gtkitemfactory stuff for use with -DGTK_DISABLE_DEPRECATED.
Left are:
gtk/menus.c:4382:5: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/menus.c:4382:26: error: ‘sep_entry’ undeclared (first use in this function)
gtk/proto_help.c:79:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtk/proto_help.c:166:2: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:166:2: error: implicit declaration of function ‘gtk_item_factory_from_widget’
gtk/proto_help.c:181:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:183:2: error: implicit declaration of function ‘gtk_item_factory_get_widget’
gtk/proto_help.c:191:2: error: implicit declaration of function ‘gtk_item_factory_get_item’
gtk/proto_help.c:216:2: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/proto_help.c:216:23: error: ‘menu_entry’ undeclared (first use in this function)
gtk/proto_help.c:217:2: error: ISO C90 forbids mixed declarations and code
gtk/proto_help.c:222:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:258:4: error: implicit declaration of function ‘gtk_item_factory_create_item’
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38015
f5534014-38df-0310-8fa8-
9805f1628bb7
gal [Thu, 14 Jul 2011 08:47:05 +0000 (08:47 +0000)]
Update to correct the definition of the clearance attribute used in certificates.
RFC3281 erroneously defined the Clearance attribute to be different to that defined in X.509. This has been recognised and corrected in RFC5755.
The RFC3281 syntax is retained and registered as the "RFC3281Clearance" syntax, which can be used to override the correct syntax in the BER oidtables if necessary.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38014
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Thu, 14 Jul 2011 08:11:16 +0000 (08:11 +0000)]
Replace deprecated gdk_pixmap_unref() with g_object_unref().
Update checkAPIs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38013
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Thu, 14 Jul 2011 08:02:32 +0000 (08:02 +0000)]
From Joerg Mayer:
Patch fixes most of the remaining errors when compiling with
GTK_DISABLE_DEPRECATED.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38012
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Thu, 14 Jul 2011 03:15:09 +0000 (03:15 +0000)]
As with Makefile.am, so with Makefile.nmake. To quote the comment for
rev 37866:
Removed empty directory docbook/wsluarm_src. It's generated during 'make',
and now removed during 'make clean'.
so we have to generate it now during nmake as well.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38011
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Thu, 14 Jul 2011 00:16:14 +0000 (00:16 +0000)]
Update status of compile with -DGTK_DISABLE_DEPRECATED
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38007
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Thu, 14 Jul 2011 00:04:37 +0000 (00:04 +0000)]
Fix some compiler errors with -DGTK_DISABLE_DEPRECATED
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38006
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 13 Jul 2011 22:49:38 +0000 (22:49 +0000)]
make compiling with -DGTK_DISABLE_DEPRECATED work
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38005
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 13 Jul 2011 22:32:05 +0000 (22:32 +0000)]
make compiling with -DGTK_DISABLE_DEPRECATED work
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38004
f5534014-38df-0310-8fa8-
9805f1628bb7
wmeier [Wed, 13 Jul 2011 19:48:58 +0000 (19:48 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38001
f5534014-38df-0310-8fa8-
9805f1628bb7
wmeier [Wed, 13 Jul 2011 18:42:40 +0000 (18:42 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37999
f5534014-38df-0310-8fa8-
9805f1628bb7
wmeier [Wed, 13 Jul 2011 17:04:55 +0000 (17:04 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37998
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Wed, 13 Jul 2011 14:47:31 +0000 (14:47 +0000)]
Remove two deprecated functions.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37997
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Wed, 13 Jul 2011 08:48:13 +0000 (08:48 +0000)]
Fix more tooltips fixes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37996
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Tue, 12 Jul 2011 21:33:11 +0000 (21:33 +0000)]
Display interface stuff only when interfaces are available.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37995
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Tue, 12 Jul 2011 21:24:15 +0000 (21:24 +0000)]
Copy over behaviour of commit 37967 for configure.in
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37994
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Tue, 12 Jul 2011 21:21:13 +0000 (21:21 +0000)]
Remote trailing whitespace
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37993
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 12 Jul 2011 17:19:17 +0000 (17:19 +0000)]
Add a comment noting why AirPcap support cannot be unconditionally
enabled by default (i.e., it's Windows-only). InterCap the name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37992
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Tue, 12 Jul 2011 11:10:57 +0000 (11:10 +0000)]
Disable airpcap by default. This matches the configure script.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37991
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Tue, 12 Jul 2011 11:06:44 +0000 (11:06 +0000)]
This fixes the compile issue reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6111
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37990
f5534014-38df-0310-8fa8-
9805f1628bb7
martinm [Tue, 12 Jul 2011 10:49:22 +0000 (10:49 +0000)]
Speed up (slightly) reading of long text lines.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37989
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Tue, 12 Jul 2011 06:54:01 +0000 (06:54 +0000)]
Fix more tooltips.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37988
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Tue, 12 Jul 2011 06:15:24 +0000 (06:15 +0000)]
Fix more tooltips.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37987
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 12 Jul 2011 00:14:37 +0000 (00:14 +0000)]
Add a bunch of URLs for character encoding information.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37986
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Mon, 11 Jul 2011 22:51:46 +0000 (22:51 +0000)]
Having a non-NULL capture_opts->save_file might make us crash less.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37983
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Mon, 11 Jul 2011 22:41:53 +0000 (22:41 +0000)]
Use the proper function name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37982
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Mon, 11 Jul 2011 21:29:47 +0000 (21:29 +0000)]
Fix more tooltips.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37980
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37978
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Mon, 11 Jul 2011 20:01:28 +0000 (20:01 +0000)]
Fix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37976
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Mon, 11 Jul 2011 19:34:57 +0000 (19:34 +0000)]
Fix a couple of tooltips.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37975
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [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().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37974
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Mon, 11 Jul 2011 19:10:57 +0000 (19:10 +0000)]
Remaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37973
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Mon, 11 Jul 2011 18:54:49 +0000 (18:54 +0000)]
GTK_CHECK_VERSION cleanup.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37972
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Mon, 11 Jul 2011 18:35:36 +0000 (18:35 +0000)]
More GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37971
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Mon, 11 Jul 2011 18:18:35 +0000 (18:18 +0000)]
More GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespace
cleanup.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37970
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37969
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37967
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Mon, 11 Jul 2011 13:44:29 +0000 (13:44 +0000)]
Change encoding type from FALSE to ENC_BIG_ENDIAN.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37963
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37962
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Mon, 11 Jul 2011 13:41:19 +0000 (13:41 +0000)]
Change encoding type from FALSE to ENC_BIG_ENDIAN.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37961
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37960
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Mon, 11 Jul 2011 10:42:16 +0000 (10:42 +0000)]
Make sure consumed is set.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37959
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37958
f5534014-38df-0310-8fa8-
9805f1628bb7
cmaynard [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37957
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37956
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Sun, 10 Jul 2011 22:13:03 +0000 (22:13 +0000)]
From Jaap:
Limit the search to the line.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37955
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37954
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37953
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37952
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37951
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Sun, 10 Jul 2011 15:03:37 +0000 (15:03 +0000)]
[Automatic manuf, services and enterprise-numbers update for 2011-07-10]
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37948
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 9 Jul 2011 19:58:19 +0000 (19:58 +0000)]
Put Modbus/UDP support back.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37947
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37946
f5534014-38df-0310-8fa8-
9805f1628bb7
cmaynard [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37945
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 9 Jul 2011 01:41:09 +0000 (01:41 +0000)]
Point to the right place.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37944
f5534014-38df-0310-8fa8-
9805f1628bb7
rbalint [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37943
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Fri, 8 Jul 2011 18:29:02 +0000 (18:29 +0000)]
Use a pixbuf for widgets used for icons.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37942
f5534014-38df-0310-8fa8-
9805f1628bb7
martinm [Fri, 8 Jul 2011 16:10:25 +0000 (16:10 +0000)]
Trivial: add a couple of newlines.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37941
f5534014-38df-0310-8fa8-
9805f1628bb7
martinm [Fri, 8 Jul 2011 16:08:32 +0000 (16:08 +0000)]
Change the way we scan past characters before the direction indicator.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37940
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37939
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37938
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Fri, 8 Jul 2011 09:26:34 +0000 (09:26 +0000)]
Try to make non-libpcap builds compiling.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37937
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37936
f5534014-38df-0310-8fa8-
9805f1628bb7
jake [Fri, 8 Jul 2011 07:52:31 +0000 (07:52 +0000)]
Avoid 'variable set but no used' error from compiler.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37935
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37934
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37933
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Thu, 7 Jul 2011 21:16:03 +0000 (21:16 +0000)]
The argument of capture_get_if_icon() is used.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37932
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Thu, 7 Jul 2011 20:20:55 +0000 (20:20 +0000)]
Try to unbreak the Mac OS X 10.5 buildbots.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37931
f5534014-38df-0310-8fa8-
9805f1628bb7
cmaynard [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37930
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Thu, 7 Jul 2011 13:57:08 +0000 (13:57 +0000)]
Bring back interface icons.
Obtained from Irene Ruengeler.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37929
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Thu, 7 Jul 2011 13:34:40 +0000 (13:34 +0000)]
Use the interface descriptions again.
This patch is from Irene Ruengeler.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37928
f5534014-38df-0310-8fa8-
9805f1628bb7
alagoutte [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37927
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37926
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Wed, 6 Jul 2011 17:27:42 +0000 (17:27 +0000)]
Fix a crash when using hidden interfaces.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37925
f5534014-38df-0310-8fa8-
9805f1628bb7
cmaynard [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37924
f5534014-38df-0310-8fa8-
9805f1628bb7
cmaynard [Wed, 6 Jul 2011 16:03:43 +0000 (16:03 +0000)]
Fix memory leak, using ep_alloc() instead of g_malloc().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37923
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37922
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37921
f5534014-38df-0310-8fa8-
9805f1628bb7
martinm [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37920
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37919
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37918
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Wed, 6 Jul 2011 11:35:52 +0000 (11:35 +0000)]
Use g_object_set() instead of gtk_object_set().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37917
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Wed, 6 Jul 2011 11:25:57 +0000 (11:25 +0000)]
Get it even linking...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37916
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Wed, 6 Jul 2011 11:22:38 +0000 (11:22 +0000)]
Get it compiling when not having libpcap.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37915
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 6 Jul 2011 09:28:40 +0000 (09:28 +0000)]
Add detection of rpcap support in libpcap and use it if available.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37914
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37913
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37912
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 6 Jul 2011 04:45:50 +0000 (04:45 +0000)]
Constify to squelch compiler warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37911
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37910
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37909
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37908
f5534014-38df-0310-8fa8-
9805f1628bb7
tuexen [Tue, 5 Jul 2011 21:29:06 +0000 (21:29 +0000)]
Don't use strcpy().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37907
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37906
f5534014-38df-0310-8fa8-
9805f1628bb7