Commit Graph

42874 Commits

Author SHA1 Message Date
Jeff Morriss f89635883f The -B option is no longer only available in Win32: remove the Win32
restriction from the Synopsis.

This is the man page for Wireshark, not Tshark (fix a cut-n-pasteo).

svn path=/trunk/; revision=45229
2012-10-01 07:14:03 +00:00
Martin Kaiser 8b7686e9b8 use the correct status bar icon for the capture comment
if we have an empty capture comment (an existing comment was deleted),
we should use the same icon as if no comment was present

svn path=/trunk/; revision=45227
2012-09-30 18:37:59 +00:00
Chris Maynard 296d2900a1 Add displayed and marked percent columns and percent calculations for dropped and ignored packets in summary dialog. Also display percent calculations for displayed, marked, ignored and dropped packets in statusbar. Like ignored packets, only display marked packet count and percent in the statusbar if there are any.
Fixes enhancement bug: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2377

svn path=/trunk/; revision=45226
2012-09-30 18:28:04 +00:00
Chris Maynard ee56ee5181 Revert r45185. While it looks better with an icon if "Filter toolbar style" is set to "Icons & Text", if the preference is set to "Icons only", all custom filters will have the same icon displayed and it will be difficult to know which is which w/out hovering on each for a tooltip. Maybe someone else can figure out how to add the icon, but only in the case of "Icons & Text"?
svn path=/trunk/; revision=45225
2012-09-30 18:15:40 +00:00
Martin Kaiser 1ca75014ae dvb-ci: display cc item's name in the subtree title
svn path=/trunk/; revision=45224
2012-09-30 17:58:45 +00:00
Chris Maynard a1722d352a Trivial: LEDs -> Icons
svn path=/trunk/; revision=45223
2012-09-30 15:59:40 +00:00
Gerald Combs ee6d50acba [Automatic manuf, services and enterprise-numbers update for 2012-09-30]
svn path=/trunk/; revision=45220
2012-09-30 14:03:25 +00:00
Alexis La Goutte 26f28b0427 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=45219
2012-09-30 11:06:28 +00:00
Alexis La Goutte 84f7a07047 From Yu Zhang via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7769
Add Dissector for SuboptionDeviceInstance under DevicePropertiesOption in PROFINET DCP

In PROFINET DCP dissector, current build didn't have SuboptionDeviceInstance
(0x07) under DevicePropertiesOption (0x02). This patch add the support of
SuboptionDeviceInstance

svn path=/trunk/; revision=45218
2012-09-30 11:02:56 +00:00
Alexis La Goutte 7c59618e8d From Olivier Benghozi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7734
Enhance Route Refresh Capability : Add draft-ietf-idr-bgp-enhanced-route-refresh-02

Not yet support new NOTIFICATION error code : ROUTE-REFRESH Message Error (Value To Be Defined)

From me :
* Make some Route Refresh fields filterable 

svn path=/trunk/; revision=45217
2012-09-30 10:38:37 +00:00
Alexis La Goutte cd519e450c From Olivier Benghozi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7734
BGP bad decoding for Graceful Restart Capability with only helper support

BGP Capability in OPEN message: Graceful restart capability (64).

So when the length of the capability value is smaller that 6 (6 meaning full
support of GR capa, with significants elements and at least one AFI/SAFI), the
code interprets it as erroneous.

However,as described in RFC4724: " When a sender of this capability does not
include any <AFI, SAFI> in the capability, it means that the sender is not
capable of preserving its forwarding state during BGP restart, but supports
procedures for the Receiving Speaker (as defined in Section 4.2 of this
document). In that case, the value of the Restart Time field advertised by the
sender is irrelevant".

So, length of exactly 2 is valid but has to be interpreted with a particular
meaning.

In the dissector code, a length of 2 should be a special case for this capa,
decoding as "Graceful Restart helper mode only" or something like that, and
maybe also displaying an expert message if the Restart flag is not 0 in this
case, since here it's not expected to be possible.

svn path=/trunk/; revision=45216
2012-09-30 10:05:18 +00:00
Pascal Quantin 1b3fd6e7e1 Upgrade LTE RRC dissector to v11.1.0
svn path=/trunk/; revision=45215
2012-09-30 08:06:50 +00:00
Guy Harris fbe74322b1 From Bill Parker:
Add some additional memory-allocation failure checks in Lemon.

	Use NULL rather than 0 as the null-pointer constant in those
	checks.

From me:

	Catch one more of the NULL-vs-0 cases.

	Fix some failure messages to use fprintf(stderr, ...) -
	ErrorMsg() requires a file name and line number, and is
	generally used if you're going to continue rather than just give
	up.

svn path=/trunk/; revision=45214
2012-09-29 19:40:27 +00:00
Chris Maynard 73bf99ee7a Add wrapDateLine to support continuous longitudinal panning.
svn path=/trunk/; revision=45213
2012-09-29 15:59:32 +00:00
Chris Maynard 5d64bef6e1 Revert most of r45210. We don't use the return value of GetExitCodeProcess(), but it still needs to be called to get childstatus.
svn path=/trunk/; revision=45212
2012-09-29 15:49:06 +00:00
Evan Huus 560cdd7ed5 More unused variables caught by cppcheck.
svn path=/trunk/; revision=45211
2012-09-29 14:15:20 +00:00
Evan Huus 73e5c4e40f Don't fetch the exit code of our child process, we never use it.
svn path=/trunk/; revision=45210
2012-09-29 14:06:40 +00:00
Evan Huus c103c2fe04 Fix some memleaks caught by cppcheck.
svn path=/trunk/; revision=45209
2012-09-29 14:03:36 +00:00
Evan Huus 813781f18c Remove some unused variables caught by cppcheck.
svn path=/trunk/; revision=45208
2012-09-29 13:57:57 +00:00
Evan Huus d908cf1132 From Andrew Kampjes via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7750
Pull SDH level out of ERF header if the user hasn't manually set the preference.

svn path=/trunk/; revision=45207
2012-09-29 13:44:45 +00:00
Pascal Quantin 99e7a5b4dc From Mike Morrin via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7615 :
Fix minor bug in dissection of "e" bit and add value strings for remaining data block header fields

svn path=/trunk/; revision=45206
2012-09-29 08:34:00 +00:00
Alexis La Goutte 0bddabb63b From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7767
Add the FeliCa Plug System Code

Fairly recently, Sony introduced the "FeliCa Plug" (AKA "NFC Dynamic Tag")
product - which also has a unique System Code value (0xFEE1) associated with
it, according to
http://www.sony.net/Products/felica/business/tech-support/data/fp_usmnl_1.11.pdf

svn path=/trunk/; revision=45205
2012-09-29 07:47:19 +00:00
Jakub Zawadzki d45d88d161 remove some very old comments about multithreaded tap implementation...
svn path=/trunk/; revision=45202
2012-09-28 21:48:28 +00:00
Jakub Zawadzki 49ce5e127b protect_thread_critical_region, unprotect_thread_critical_region are no-ops, cleanup code by removing them.
svn path=/trunk/; revision=45201
2012-09-28 21:36:21 +00:00
Pascal Quantin 99d2b14706 Remove a duplicate hf
svn path=/trunk/; revision=45200
2012-09-28 21:20:29 +00:00
Chris Maynard 85ac1f3ffd Increase the default width of the capture options dialog so all columns are visible. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7766
svn path=/trunk/; revision=45199
2012-09-28 20:43:40 +00:00
Pascal Quantin 12c71b2ff1 Remove a duplicate hf
svn path=/trunk/; revision=45198
2012-09-28 20:36:03 +00:00
Bill Meier f8a2fd3010 Fix another "set but unused" compiler warning...
svn path=/trunk/; revision=45197
2012-09-28 19:59:52 +00:00
Bill Meier daab50bc27 Fix "set but unused" compiler error.
svn path=/trunk/; revision=45196
2012-09-28 19:56:16 +00:00
Bill Meier 562c890560 Cleanup:
packet-mpls.c:
  - refactor dissect_pw_ach();
  - create/uer value_string_ext as appropriate;
  - use call_dissector() rather than direct dissector call in one cse;

 all:
  - use 'LABEL' prefix for a set of rather generic enum identifiers;
  - fix some cases of calling expert...() or sub-dissectors under 'if(tree)';
  - reformat some hf[] entries;
  - do some whitespace changes.

svn path=/trunk/; revision=45195
2012-09-28 19:50:49 +00:00
Pascal Quantin da4b39e720 Revert r21471: previous decoding of APN was matching 3GPP 23.003 chapter 9.1 and the pcap file attached to bug 1543 is not valid
svn path=/trunk/; revision=45194
2012-09-28 16:31:08 +00:00
Pascal Quantin 559a26361a Upgrade LTE Positioning Protocol to V11.0.0
svn path=/trunk/; revision=45193
2012-09-28 15:40:14 +00:00
Jörg Mayer 7ebba8f64d Get rid of HAVE_CONFIG_H for cmake. Fix one case where it was still used.
svn path=/trunk/; revision=45191
2012-09-28 14:24:52 +00:00
Chris Maynard 2e2512209a The details tab looked lonely. Give it an icon too.
svn path=/trunk/; revision=45190
2012-09-28 12:52:05 +00:00
Jakub Zawadzki 99e665dcd4 Revert r45183:r45184
r45182 was good fix, but updae frames_count when redissecting.

svn path=/trunk/; revision=45189
2012-09-28 10:08:17 +00:00
Chris Maynard a3f9f5f7da Add a filter icon to the custom filter button.
svn path=/trunk/; revision=45185
2012-09-28 04:21:20 +00:00
Jakub Zawadzki bd26485af1 Missing part of r45183
svn path=/trunk/; revision=45184
2012-09-27 21:20:27 +00:00
Jakub Zawadzki 91db653dca Revert r45182, add better fix for bug #6208: Status bar count of displayed packets wrong
cf_read() is already checking for cf->redissecting variable and if set it don't add packets to packet_list.
Rename it to cf->rescanning and set it always in rescan_packets() [not only when redissecting].

svn path=/trunk/; revision=45183
2012-09-27 21:17:50 +00:00
Jakub Zawadzki 90c5d4e61b Try to fix bug #6208: Status bar count of displayed packets wrong
When refiltering we process gtk/glib events, so it's possible that cf_continue_tail()
will fire-up, reading new packets and incrementing cf->count.

It's also possible that this packet(s) will pass display filter,
incrementing cf->displayed_count.

But when refiltering we use cf->count as number of packets to process, so
new packets are also processed, incrementing cf->displayed_count second time.

Fix bug by saving cf->count before starting refilter loop.

svn path=/trunk/; revision=45182
2012-09-27 20:59:54 +00:00
Gerald Combs 17fdfce1e6 Add release dates for GTK+ 3.6.0 and GLib 2.34.0.
svn path=/trunk/; revision=45181
2012-09-27 20:48:23 +00:00
Guy Harris f7030c6940 Get rid of unused variable.
svn path=/trunk/; revision=45179
2012-09-27 19:35:23 +00:00
Greg Morris a039953b6e Fix for buildbot warning on OSX-10.6-x64
svn path=/trunk/; revision=45178
2012-09-27 18:04:09 +00:00
Greg Morris 247040590d Added additional server information in NCP 23/17 reply structure for OES Linux.
Fixed GTKHash table being overwritten when number of NCP packets exceeds 255. Sequence numbers wrap so this was causing the request value table to be overwritten and subsequent malformed NCP packets.

Fixed buid_expert_data for file open reporting to correctly convert to Hex value so proper lookup in val table will succeed.

Added additional OES Linux values to build_expert_data for server entries.

svn path=/trunk/; revision=45177
2012-09-27 17:47:10 +00:00
Michael Mann 99d0404b73 replaced decode_enumerated_bitfield calls with itemized filters
svn path=/trunk/; revision=45176
2012-09-27 16:49:31 +00:00
Gerald Combs 3b6428bb44 Don't pass a null pointer to strcmp.
svn path=/trunk/; revision=45175
2012-09-27 16:23:06 +00:00
Chris Maynard d003cdf66e Allow dissection of partial jpegs by a modification of the heuristics.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6230
#BACKPORT(1.8, 1.6)

svn path=/trunk/; revision=45174
2012-09-27 14:02:37 +00:00
Jakub Zawadzki a23c3aae3c Fix duplicated field: nmpi.name_flags
svn path=/trunk/; revision=45170
2012-09-27 10:42:03 +00:00
Michael Mann 65ef9e9d6b replaced decode_numeric_bitfield calls with filterable item or removed it if it didn't mathematically do anything.
svn path=/trunk/; revision=45166
2012-09-27 04:36:40 +00:00
Michael Mann 0063cc00c8 remove decode_numeric_bitfield + cleanup.
I wanted to just remove the decode_numeric_bitfield calls, but the dissector needs some MAJOR work. Cleaned up some with the power of value_strings, but I just got overwhelmed.  There has got to be existing APIs to make this dissection simpler (besides being more filterable).

svn path=/trunk/; revision=45165
2012-09-27 04:05:01 +00:00
Evan Huus 2a29fee996 Only define a parameter name if we end up using it, to fix the
qtshark build on GCC.

svn path=/trunk/; revision=45164
2012-09-27 02:43:09 +00:00