Commit graph

45774 commits

Author SHA1 Message Date
Alexis La Goutte
269c4fd8c2 From Johannes Berg via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8534 802.11: doesn't parse extended channel switch announcement frames correctly
There are more fixed fields in extended channel switch announcement frames.

svn path=/trunk/; revision=48599
2013-03-27 21:07:45 +00:00
Chris Maynard
8d02cc0d00 Regenerate the dissector.
svn path=/trunk/; revision=48598
2013-03-27 20:48:45 +00:00
Chris Maynard
da30b9eb92 Fix the incorrectly duplicated display filter for hf_gsm_map_dlci.
#BACKPORT(1.6, 1.8)

svn path=/trunk/; revision=48597
2013-03-27 20:44:47 +00:00
Chris Maynard
f44b2c8088 Fix the incorrectly duplicated display filters for hf_tp_bip_tcp_local and hf_tp_bip_udp_local.
svn path=/trunk/; revision=48596
2013-03-27 20:26:06 +00:00
Chris Maynard
96e835cf27 Fix the incorrectly duplicated display filter for hf_om2k_cbi.
#BACKPORT(1.8)

svn path=/trunk/; revision=48595
2013-03-27 20:21:19 +00:00
Gerald Combs
631acc3593 Add items for WinPcap 4.1.3 and the new icons.
svn path=/trunk/; revision=48594
2013-03-27 18:36:52 +00:00
Gerald Combs
7f7fcfbd5d Fix dist.
svn path=/trunk/; revision=48593
2013-03-27 18:25:54 +00:00
Alexis La Goutte
59669d270c From G.Gerrits via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8501 HomeplugAV dissector: Decoding HPAV-1.1 Tone Map Tx/Rx Characteristics Req/Conf (0xA070/0xA071/0xA090/0xA091)
Dissecting HPAV-1.1 Tone Map Characteristics Req/Conf (0xA070/0xA071) was not correct.
Also found that MMType 0xA070/0xA071 is used for the Tx ToneMaps and the MMType 0xA090/0xA091 for the Rx ToneMaps. Added types and dissector for the Rx MMType. Although the Rx-Conf-Structure is almost identical to the Tx is did duplicate the dissector code to avoid mixups.
Added some additional Infos to the carrier dissector output (Carrier#, #Modulated-Bits, Average#Modulated-Bits/Carrier).

Also extended the homeplug_av_tone_map_vals with 0x08 for 12bit 4096-QAM (the AR74xx should support this kind of modulation) and changed the mask to 0x0f accordingly

svn path=/trunk/; revision=48592
2013-03-27 18:16:22 +00:00
Gerald Combs
d3b54956c1 Add an interface list icon. Some of the new capture icons were 1 pixel
too small, so add corrected ones. Add SVG versions of the new toolbar
icons. Use consistent naming for alternate icons. Remove some
no-longer-used XPMs. Add a script to compress PNGs using various
utilities and run it. Regenerate the pixbuf includes using the smaller
PNGs.

svn path=/trunk/; revision=48591
2013-03-27 18:09:00 +00:00
Evan Huus
ade9361071 Loop the timing test 128 times so that statistics work more in our favour.
Print the times to stdout so that in a failure case we can see how badly it
was off.

svn path=/trunk/; revision=48590
2013-03-27 17:30:12 +00:00
Evan Huus
d935a280e3 From Hadriel Kaplan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8223
Add a 2-pass display-filter flag to tshark so that reassembly and other forward-
looking dissections can be used with filters.

It's a bit of a hack, but this entire area of 2-pass analysis etc. is a giant
pile of hacks to begin with and needs cleaning up. For now just having this
feature is a big enough win.

svn path=/trunk/; revision=48589
2013-03-27 17:14:42 +00:00
Evan Huus
0d2e02954f Add a timing test to check that the block allocator is actually faster than the
simple one. At the moment it seems to be between 2x and 2.5x faster in the
common case (a simple sequence of allocations followed by free_all).

svn path=/trunk/; revision=48588
2013-03-27 16:37:12 +00:00
Irene Rüngeler
9ace098f37 Fix bug 8524 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8524) and show the correct tooltips for the columns.
svn path=/trunk/; revision=48587
2013-03-27 15:05:32 +00:00
Evan Huus
0a8b96a41b Generalize the allocator test function and use it to test the simple and
the strict allocators as well.

svn path=/trunk/; revision=48586
2013-03-27 12:43:29 +00:00
Pascal Quantin
5a877ea9fe From Jim Young via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8531 :
Fix compilation when building with HAVE_GTKOSXAPPLICATION

svn path=/trunk/; revision=48585
2013-03-27 12:29:44 +00:00
Evan Huus
7959275717 Copy over a missing flag in the block allocator to fix the build-bot failure
at http://buildbot.wireshark.org/trunk/builders/Ubuntu-12.04-x64/builds/4250

Adding --verbose to get the random seed has payed off already!

svn path=/trunk/; revision=48584
2013-03-27 12:01:36 +00:00
Stig Bjørlykke
3d07727dc8 Remove searching in $prefix for packages as requested in bug 6011 and bug 7926.
svn path=/trunk/; revision=48582
2013-03-27 09:44:34 +00:00
Anders Broman
ab42847049 From Peter Hatina:
We call capture_dlg_prep() and do_file_close() in wrong order. capture_dlg_prep() clears global options for currently running capture and then we get an assertation fail in capture_input_new_packets().

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

svn path=/trunk/; revision=48581
2013-03-27 06:37:46 +00:00
Gerald Combs
4e1e60c4bf It's 2013.
svn path=/trunk/; revision=48580
2013-03-27 03:57:38 +00:00
Gerald Combs
1ede51034e Add the release date for GTK+ 3.8.0.
svn path=/trunk/; revision=48579
2013-03-27 03:56:42 +00:00
Chris Maynard
8aa0a23246 tvb_reported_length_remaining() can return -1, so be sure to properly handle it if it does.
#BACKPORT(1.6, 1.8)

svn path=/trunk/; revision=48578
2013-03-27 03:13:56 +00:00
Chris Maynard
05308f904d Fix Coverity CID 281471: Logically dead code. (addr_type can only be 1 or 2 due to the return statement in the default case)
svn path=/trunk/; revision=48577
2013-03-27 02:46:45 +00:00
Evan Huus
51a1e7e91e Run the wmem unit tests with --verbose (provided by glib) so that if
one of the random bits fails we get the seed to reproduce with.

svn path=/trunk/; revision=48576
2013-03-27 02:35:32 +00:00
Evan Huus
64af18ddda Fix -Wshadow that happens with some old versions of gcc (not mine, for some
reason).

Don't use g_assert_cmpuint, since it apparently causes warnings on windows that
I don't know how to get rid of safely without breaking the conditions being
checked.

svn path=/trunk/; revision=48575
2013-03-27 02:28:45 +00:00
Evan Huus
4252a18c90 Greatly improve wmem tests, including random fuzz-style testing. Improve
assertions in the block allocator, and fix one rare potential underflow caught
by the improved tests.

The tests now take ~200MB and 5-10 seconds to run. Hopefully this is small
enough for the build-bots to handle, if not then we can reduce the max
allocation size or max iterations to suit.

svn path=/trunk/; revision=48574
2013-03-27 00:27:45 +00:00
Michael Tüxen
0823a10579 Use more recent versions of various libs.
svn path=/trunk/; revision=48573
2013-03-26 22:47:41 +00:00
Jaap Keuter
ae85ba7c58 From Hadriel Kaplan:
The 'make-manuf'perl script gets the IEEE 22-bit OUI and IAB registries, but not OUI-36.
patch to get the OUI-36 listings.

From me:
Update header text in template to list the sources actually used.

svn path=/trunk/; revision=48572
2013-03-26 21:53:09 +00:00
Gerald Combs
d38a9f54c7 Add new capture toolbar icons.
svn path=/trunk/; revision=48571
2013-03-26 21:35:42 +00:00
Jeff Morriss
483aa2e079 Add wsicon128.png to the source distribution.
Install some more icon sizes (24x24 and 128x128) when installing desktop files.

svn path=/trunk/; revision=48570
2013-03-26 21:01:32 +00:00
Martin Kaiser
6c4b5b5929 add program number to the cc item tree
svn path=/trunk/; revision=48569
2013-03-26 20:39:58 +00:00
Martin Kaiser
f808eb08f0 add explicit cast to avoid a compiler warning
svn path=/trunk/; revision=48568
2013-03-26 20:33:49 +00:00
Gerald Combs
a0a1082e01 Fix dist.
svn path=/trunk/; revision=48567
2013-03-26 20:28:04 +00:00
Gerald Combs
70d0c6067f Update the OS X application icon.
svn path=/trunk/; revision=48566
2013-03-26 20:12:52 +00:00
Gerald Combs
d1b87423df More icon updates.
Use the PNG versions of the new application icons.

Remove the XPM versions of the Wireshark application and capture icons.
To paraphrase Zoidberg, XPMs are bad and we should feel bad. Remove
xpm_to_widget_from_parent (which we weren't using and likely won't use
in the future).

Replace wiki_24.xpm (which was a GNOME or GTK+ stock icon IIRC) with the
16x16 and 24x24 versions emblem-web.png from GNOME icon theme 2.30.3.
This version was used specifically because it's GPLv2 and later versions
are GPLv3.

Update image/README.

svn path=/trunk/; revision=48565
2013-03-26 19:51:33 +00:00
Chris Maynard
67ffb10e64 Add checksum_bad, set to FALSE to the tree when the checksum is correct. Use PROTO_ITEM_SET_HIDDEN instead of PROTO_ITEM_SET_GENERATED so ICMP and ICMPv6 are consistent.
See: http://ask.wireshark.org/questions/19844/icmp-display-filter-checksum_bad-ignored

#BACKPORT(1.6, 1.8)

svn path=/trunk/; revision=48563
2013-03-26 18:08:05 +00:00
Gerald Combs
584c14c66c Add new application icons. Designed by Elliott Aldrich.
svn path=/trunk/; revision=48562
2013-03-26 18:02:20 +00:00
Chris Maynard
aa5debf820 Fix Coverity CID 990752: Unused pointer value. (column was previously unused)
svn path=/trunk/; revision=48561
2013-03-26 16:40:23 +00:00
Evan Huus
336da6b6f1 Fix c++-compat errors if WANT_PACKET_EDITOR is defined.
svn path=/trunk/; revision=48560
2013-03-26 15:14:02 +00:00
Anders Broman
3dc702e2a8 Align a bit more with upstream.
svn path=/trunk/; revision=48559
2013-03-26 05:36:27 +00:00
Anders Broman
a6fbd905a5 Make the oid memeber a const.
svn path=/trunk/; revision=48558
2013-03-26 05:20:55 +00:00
Anders Broman
684c9e5d5c From Jim Young:
Add casts to support c++ when HAVE_GTKOSXAPPLICATION is defined.

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

svn path=/trunk/; revision=48557
2013-03-26 05:02:05 +00:00
Guy Harris
606e1ed681 Fix two errors in ieee80211_status_code - one out-of-order entry and one
(presumed) typo (61 would be a duplicate, and was between 70 and 72, so
I assume it was supposed to be 71).

svn path=/trunk/; revision=48556
2013-03-26 01:11:06 +00:00
Guy Harris
94af602582 Give better diagnostics for "Extended value string XXX forced to fall
back to linear search", to make it easier to find the out-of-order
entries.

svn path=/trunk/; revision=48555
2013-03-26 00:37:03 +00:00
Guy Harris
da76e5a997 Include a message with all ReassemblyError exceptions; they're expected
to have a message indicating the precise error.

svn path=/trunk/; revision=48554
2013-03-25 22:36:29 +00:00
Guy Harris
021e41ea66 Fix RFC number.
svn path=/trunk/; revision=48553
2013-03-25 22:04:51 +00:00
Evan Huus
202680971d Wiretap file open routines should not free wth->priv on error, since that
leads to a double-free in wtap_close. Fix all the instances I found via
manual code review, and add a brief comment to the list of open routines in
file_access.c

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

svn path=/trunk/; revision=48552
2013-03-25 22:04:15 +00:00
Evan Huus
93be2ad48a Add two new dissectors to release notes.
svn path=/trunk/; revision=48551
2013-03-25 17:09:36 +00:00
Evan Huus
0834a38bad From Dario Lombardo, Alexander Chemeris and Ivan Klyuchnikovhis via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8506
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8507

Dissectors for the VRT (VITA 49 Radio Transport) and UHD protocols.

From me: modelines and misc trivial cleanups.


svn path=/trunk/; revision=48550
2013-03-25 17:06:11 +00:00
Jeff Morriss
83558494fb Fix compilation with C++ warnings enabled: use enum values instead of raw
numbers in adns_init() and adns_submit().

(I haven't checked how long these enums have been there; hopefully for a long
time.)

svn path=/trunk/; revision=48549
2013-03-25 14:35:19 +00:00
Evan Huus
0314bd1c1b From Roland Knall via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8502
Allow reassembly of sequences when the sequence numbers do not count from 0.

svn path=/trunk/; revision=48548
2013-03-25 12:53:26 +00:00