Commit graph

74693 commits

Author SHA1 Message Date
Uli Heilmeier
b2d93718ec DHCP: add missing PXE Client LCM suboptions
Change-Id: I431c3080d6048331f13c17ca711cc9183e8c896a
Reference: header file attached to bug report
Bug: 15498
Reviewed-on: https://code.wireshark.org/review/32301
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-04 05:26:44 +00:00
Uli Heilmeier
7da3614103 DHCP: fix copy&paste error in field descr
Change-Id: I79ae658e270559afb3f104c5b1a046083270a920
Reviewed-on: https://code.wireshark.org/review/32302
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-04 05:26:22 +00:00
Kave, Asaf
63cba9ebf0 H.265: Small parsing fixes
- h265_vps_reserved_0xffff_16bits parsing
- general_profile_compatibility_flag matrix parsing.

Change-Id: I1be4e4520571801a350913a820e4bc306c6f3158
Reviewed-on: https://code.wireshark.org/review/32299
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
2019-03-04 05:25:49 +00:00
Guy Harris
c84f69f748 Discard the upper bits of the "network" field in the file header.
Libpcap's done that for a while; we should do so as well.

(Ideally, we should use those bits, but there's an issue with pcapng,
where the FCS length in the IDB is described as being in units of bits,
but where we're treating it as being in units of bytes, that I'd like to
resolve first.)

Change-Id: Ibcb82f1dcaa8baae5bba55636cea8852a6af814e
Reviewed-on: https://code.wireshark.org/review/32303
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-03 23:46:37 +00:00
Richard Sharpe
4e07033c38 ieee80211-radiotap: Bring up to date with the actual spec.
The spec is now accepted, so bringing these up to date.

Change-Id: I9489cd8c0b9255446c829f8202410d2d94272607
Reviewed-on: https://code.wireshark.org/review/31723
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
2019-03-03 22:04:52 +00:00
Gerald Combs
ad45f19196 [Automatic update for 2019-03-03]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I1dcc92c6de3028af82556e6713451c3473fdb2d0
Reviewed-on: https://code.wireshark.org/review/32295
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-03-03 08:33:26 +00:00
Richard Sharpe
d4b79eed3f nfs: Add support for more attrs and for the new deleg types in v4.2.
Actual changes from Trond Myklebust, I just merged them.

Change-Id: I1038419f38835cc3015d8a44daaf0c9c9d682e81
Reviewed-on: https://code.wireshark.org/review/32290
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-03 08:24:35 +00:00
Guy Harris
a5b5f649ff Say what short name already exists, to help the developer somewhat.
That tells then what name they *can't* use for their file-type plugin,
because it's already a built-in file type name in Wireshark.

Change-Id: Ibbbfda21e1109cf46275008a46b8ea65c8fcf4b5
Reviewed-on: https://code.wireshark.org/review/32291
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-03 04:15:43 +00:00
Aurelien Aptel
23cef3d302 smb2: add support for NFS reparse tags
this change adds support for reparse tags added by Windows Server for
NFS for special UNIX files (symlinks, devices, FIFOs, sockets).

previously code assumed all reparse tags were Windows symlinks and
would fail with "malformed packets" when parsing other tags.

Change-Id: Ia0a642ed8e196d3544168f47a6be9f59f03be6d4
Reviewed-on: https://code.wireshark.org/review/32273
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-03-02 14:40:07 +00:00
Nikita Ryaskin
c00cdfeec9 ZigBee Device Profile: Changed info in column.
Moved cluster field before src field.

Change-Id: Id113ae60319f1ddb730aaa749a8daa5785da1fc0
Reviewed-on: https://code.wireshark.org/review/32282
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-02 09:46:19 +00:00
Charlie Lenahan
4b7e14b03d Add support for protocol broadcast by EERO Mesh AP's
Bug: 15540
Change-Id: Ia6d266f8fb27d438906cda420a4b52aed5acfdc2
Reviewed-on: https://code.wireshark.org/review/32191
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-03-02 08:29:37 +00:00
James Ko
e1316e1b20 IEEE 802.15.4-2015 CCM* nonce for TSCH mode
Enable decryption in TSCH mode which requires ASN in nonce.

Change-Id: Iae24add3a15cef00ef0037acd99f30b684e97ae2
Reviewed-on: https://code.wireshark.org/review/32142
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-03-02 08:29:28 +00:00
Peter Wu
f4167c32e0 Support unsigned stream identifiers for Follow Stream
tcp.stream and udp.stream are already unsigned identifiers. An upcoming
http2.hashed_stream identifier can exercise the full unsigned 32-bit
number space, so be sure not to treat the stream identifier as signed
integer.

Change-Id: Ic5d398b2bda7eba7555e385ef3fcd44b490f78c9
Reviewed-on: https://code.wireshark.org/review/32287
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Alexander Gryanko <xpahos@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-03-02 08:29:01 +00:00
Alexis La Goutte
712d94fa78 vwr: fix Uninitialized argument value found by Clang (Analyzer)
Change-Id: Ic4b5c2d34eafccaa115256e8d3e0a5518621ba76
Reviewed-on: https://code.wireshark.org/review/32288
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-02 07:03:19 +00:00
Nikita Ryaskin
6ba1cd5486 ZBEE ZCL: updated ZCL DRLC Cluster dissection.
Implemented commands payload dissectors.

Change-Id: Ie62c25c5efd8d41256eb92455d94985d5a3749af
Reviewed-on: https://code.wireshark.org/review/32259
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-03-01 17:00:53 +00:00
Anders Broman
0bf337749e IMSI based filtering for SCCP/RANAP
Bug: 9074
Change-Id: Iae7e233d03367678a6925c732bf4b6d78c211cd8
Reviewed-on: https://code.wireshark.org/review/32286
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-01 14:15:17 +00:00
Dario Lombardo
349735613d ieee802154: fix compilation with gcc-4.
Error:
../epan/dissectors/packet-ieee802154.c: In function 'dissect_ieee802154_header_ie':
../epan/dissectors/packet-ieee802154.c:3788:10: error: variable 'remaining' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
     gint remaining = tvb_reported_length_remaining(tvb, offset) - IEEE802154_MIC_LENGTH(packet->security_level);
          ^

Change-Id: I6dadaa9e502f8f38bf476b690395727c836172fd
Reviewed-on: https://code.wireshark.org/review/32283
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-01 10:21:18 +00:00
Uwe Kleine-König
acb406ff34 DHCPv6: catch the NTP server suboptions being longer than the whole packet
A router here sends the type and length of suboptions of the NTP Server
option in dhcpv6 replies in little endian. So the NTP Server option
looks like:

	01:00:10:00:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:ff:fe:xx:xx:xx

instead of

	00:01:00:10:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:ff:fe:xx:xx:xx

. This makes the dissector throw an exception "Malformed Packet" which
results in the following options not being dissected.

So check the suboption's length before adding the subtree. This improves
diagnostics ("suboption too long" instead of "Malformed Packet") and
results in the suboptions after the bogus one being parsed.

Bug: 15542
Change-Id: Ifbafc23b3dbb7ca389b89936e9d1d15ecc82396e
Reviewed-on: https://code.wireshark.org/review/32223
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-03-01 10:04:22 +00:00
Guy Harris
1cbcc57e0a Put a fake "FCS OK" value into the tree if we don't have FCS information.
That was what was being done before; do it in the main dissector
routine, as 1) the main dissector routine doesn't call the FCS or TI
CC24xx dissector if we don't have an FCS or TI CC24xx metadata trailer
and 2) that means we pull duplicate code out of those dissectors.

Also, those routines are only called if we have the full FCS/metadata
available, so there's no need for them to check for that.  (Arguably,
they should be called if the data is present, according to the reported
length, even if it's not available in the captured data, so we mark the
frame as having been cut off so the full data isn't available.)

Change-Id: I6be2a1f71a27bc41aea93e3c92743fc12c997c94
Reviewed-on: https://code.wireshark.org/review/32281
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-01 03:03:30 +00:00
Guy Harris
74a776d391 Pull some common code from the FCS/metadata dissectors.
Put the "mark frames with an invalid CRC" stuff into the main dissector
code, as it's the same regardless of whether you have an FCS that can be
checked or metadata with an "FCS bad" flag.

Change-Id: I2540c1934032c91f22b66babd81fb928212f18b5
Reviewed-on: https://code.wireshark.org/review/32280
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-01 02:26:08 +00:00
Guy Harris
8ecb42ae0d Have separate routines to dissect an FCS and TI CC24xx metadata.
Those fields have nothing in common.

Change-Id: Ida29ce36a8a3e311b58a900a5631e314ebc39662
Reviewed-on: https://code.wireshark.org/review/32279
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-01 00:19:42 +00:00
Guy Harris
371c71ac1e Don't use a global variable for the FCS length.
Use local variables and parameters instead.

Change-Id: If491ef9c4e961848bb59f48d107157372f93e43f
Reviewed-on: https://code.wireshark.org/review/32278
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-01 00:01:34 +00:00
Guy Harris
f5164e6eff Don't use the same variable for the configured FCS type and the tap FCS type.
There's the value the user configured, which should neither be used nor
modified by the 802.15.4 TAP dissector; that dissector should just set
the FCS length variable.  It should also call the common dissector, as
most of the other top-level dissectors do.

That lets us have separate types for the "configured FCS type" and "tap
FCS type" variables; do so.

Speaking of calling the common dissector, the "non-ASK" dissector should
do so as well.  Make it so.

While we're at it, fail if there's an unknown FCS type in the tap
header.

Change-Id: Ib0de81764670302c771be3851e9717f0a8399ac6
Reviewed-on: https://code.wireshark.org/review/32277
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-28 23:46:02 +00:00
Guy Harris
65ca4b4da7 Clean up ITU-T vs. CCITT, fix some comments.
The CCITT was part of the ITU, and was renamed the ITU-T:

	https://en.wikipedia.org/wiki/ITU-T#History

so just say ITU-T.  As for whose idea those particular 16-bit and 32-bit
CRC generator polynomials originally were, I don't know. 802.15.4 speaks
of "a 32-bit CRC equivalent to ANSI X3.66-1979", but there ain't no
32-bit CRC in that standard, and its 16-bit CRC is Yet Another
x^16 + x^12 + x^5 + 1 CRC that they claim came from CCITT/ITU-T V.41;
V.42 has both 16-bit and 32-bit CRCs.

Clean up more comments about the TI CC24xx metadata trailer.

The "non-ASK PHY" name may have made sense when the type was created, as
all the PHYs other than ASK, at the time, may have had the same
preamble/SFD/PHR, but that's no longer true.  List, in a comment, the
ones to which it applies, all of which have 16-bit CRCs.

Change-Id: Ie509dc06d06aec9738447f8da254c4edc5971a92
Reviewed-on: https://code.wireshark.org/review/32276
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-28 23:05:40 +00:00
Guy Harris
7bf2fbf85a Replace another tvb_new_subset_length_caplen() call.
tvb_new_subset_length() is sufficient, and correctly calculates the
captured length of the tvbuff, rather than possibly setting it too large
by setting it based on the length of the TLV header.

Change-Id: I510ee6742fcbc08ae7331585a65c768e98e6b3d9
Reviewed-on: https://code.wireshark.org/review/32271
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-28 18:48:29 +00:00
Guy Harris
bf8ca6a605 Replace a tvb_new_subset_length_caplen() call with tvb_new_subset_remaining().
It's simpler, and is not incorrectly using the *captured* length to set
the *reported* length.

Change-Id: If4b7f1c431f4c39dcc568698358667a1b4fc1a12
Reviewed-on: https://code.wireshark.org/review/32268
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-28 18:42:01 +00:00
Guy Harris
c6781b6385 Remove FCS length checks from code that's handed a tvbuff without an FCS.
Data handed to dissect_ieee802154_decrypt() should have, and does, have
the FCS stripped off, so we don't need to use the FCS length.

While we're at it:

Update more comments for CC24xx metadata not being an FCS.

Do the header IE processing loop with a "data remaining" counter,
explain why we're doing a "data remaining" check and why it includes the
MIC length, and note that we should use the "data remaining" counter to
do more checks for invalid frames.

Change-Id: I928dbf6142b5876b6a25b954f798936c9e97ac0d
Reviewed-on: https://code.wireshark.org/review/32267
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-28 18:27:31 +00:00
James Ko
6ce7509223 Add IEEE 802.15.4 TAP link type
New link type for IEEE 802.15.4 with pseudo-header and optional
meta-data TLVs, PHY payload exactly as it appears in the spec (no
padding, no nothing), and FCS if specified by FCS Type TLV.
Specification at https://github.com/jkcko/ieee802.15.4-tap

Bug: 15429
Change-Id: I67bd154891ad5818be9a1630aa5cbb863b55509a
Reviewed-on: https://code.wireshark.org/review/32141
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-28 17:55:14 +00:00
Gerald Combs
a0c93f426b CMake: Don't build Windows package targets by default.
Explicitly exclude our various Windows package targets from the Visual
Studio default build. This will hopefully keep the 32-bit Windows builder
from trying to build the portableapps_runtime target when it shouldn't.

Change-Id: Id8481e92abda9b1a4784b8c8e8b5a1b3f1b4647e
Reviewed-on: https://code.wireshark.org/review/32256
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-02-28 16:37:07 +00:00
Anders Broman
41c566b48d ISUP(ANSI) Backwards Call Indicators decoded incorrectly
Add ANSI decoding for BCI.

Bug: 9564
Change-Id: I4a9396473abf13b798377a17de2bd87468deb4a1
Reviewed-on: https://code.wireshark.org/review/32261
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-28 15:59:06 +00:00
Alexis La Goutte
1cff40a60a .mailmap: update of November, December (2018) and start of 2019
(January and February 2019)

Change-Id: I25a146c94868b7ec96d5910d9515778dec41e444
Reviewed-on: https://code.wireshark.org/review/32242
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-28 11:44:12 +00:00
Nikita Ryaskin
5ea759974a ZBEE ZCL: updated ZCL Metering dissection.
Updated payload dissectors.

Change-Id: Ia800bba9f0b0d747a0926afb9bd833b2f3dc3666
Reviewed-on: https://code.wireshark.org/review/32144
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-28 11:43:44 +00:00
Guy Harris
8fad9ba447 Fix the FCS handling.
All the complicated stuff to see whether the captured data includes all
of, some of, or none of the FCS is necessary, and should not have been
removed.  The previous code would sometimes dissect packet data at the
end as both payload *and* FCS.

This also means that the decryption code doesn't have to worry about the
FCS, and expects the payload handed to it *not* to have the FCS.  Update
callers to handle that.

This puts back the changes from
e4d3916530, for which the comment was:

    Clean up the way we handle the FCS.

    For the "802.15.4 with FCS" link-layer type, strip what FCS we find,
    if any, off and use that new tvbuff for all dissection except for
    checking and dissection of the FCS itself.

    For the "802.15.4 without FCS" link-layer type, don't fake an
    uncaptured FCS by increasing the reported length, just use the
    tvbuff as is.

    This means we handle 802.15.4 the same way we handle other
    link-layer types where the FCS might, or might not, appear as
    part of the captured data.

"Handling stuff at the ends of packets is hard, let's go shopping!"

Change-Id: Iaf3e8392efec9d1c35f73966e22f2a3ae91317a1
Reviewed-on: https://code.wireshark.org/review/32254
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-27 23:35:06 +00:00
Alexis La Goutte
4194678a1c QUIC: update ref draft url to draft-18
Change-Id: Iaa10528a061f3feef4a213eb6d872586677a0ba4
Reviewed-on: https://code.wireshark.org/review/32241
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-27 21:59:51 +00:00
Guy Harris
a4c8b2d4e6 Fix a comment.
There's no MIC at the end of an unencrypted packet, and thus we're not
removing any MIC.

Change-Id: Ie19790afc573b66f5dd09a4f8afc0fe69895eabe
Reviewed-on: https://code.wireshark.org/review/32249
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-27 21:20:08 +00:00
Guy Harris
179d872565 Fix subset-tvbuff creation.
Use tvb_new_subset_length(), rather than (incorrectly) attempting to
calculate the captured length ourselves.

Change-Id: I9f608ee5bf59f261111b2a75900dddad12fb5554
Reviewed-on: https://code.wireshark.org/review/32245
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-27 21:11:20 +00:00
Guy Harris
ec6cdc81bd More "It's not a CRC, it's metadata".
Also ask, in a comment, how long the CRC is if we *do* have a CRC
rather than metadata.

Change-Id: I92da4d3ade9b69f65b39ea058915f3ee4530b786
Reviewed-on: https://code.wireshark.org/review/32237
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-27 17:38:52 +00:00
Anders Broman
e3ecc0692c ANSI ISUP: Dissect Transit Network Selection and Carrier Identification.
Bug: 15532
Change-Id: Id24150a2143473754853497ecbca0a7ef5511a24
Reviewed-on: https://code.wireshark.org/review/32233
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-27 16:44:38 +00:00
Dario Lombardo
2f048c932d rpcap: check conversation existence before dereferencing it.
Bug: 15536
Change-Id: I370b7f4b3f647243490cbfadc120f0198c62b09b
Reviewed-on: https://code.wireshark.org/review/32232
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-27 16:44:06 +00:00
Guy Harris
812afa8065 More "it's not an FCS, it's metadata" comment updates.
Change-Id: I2c0be3fe7cd900cd93d9fb64475a911e5bb3f9ac
Reviewed-on: https://code.wireshark.org/review/32230
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-27 09:52:00 +00:00
Guy Harris
5ab0bc2a3c The TI CC24xx chips put metadata, not an FCS, at the end of the packet.
Don't call it an "FCS" in the CC24xx case.  It's not an FCS; it's not
even just an "FCS OK" bit.

Display the metadata in question in bit order, from the "CRC OK" bit
downwards.

Change-Id: I8da29bbb1f8b5ef3905af75dd34c1563b904a4d8
Reviewed-on: https://code.wireshark.org/review/32228
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-27 09:47:29 +00:00
Stig Bjørlykke
15f2402a33 pcap: Update link_type_vals
Change-Id: I39e7434af7fed5ed0ecb0f6041aa2ac761f07426
Reviewed-on: https://code.wireshark.org/review/32225
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-02-27 09:33:09 +00:00
James Ko
8ee96f4ccb Add IEEE 802.15.4 ACK tracking
Add flag to protocol configuration to enable ACK tracking.
Fix duplicate strings in dissector.

Change-Id: I245f2f2c9aad408a8e8429e8ac5ea5dac37a4f69
Reviewed-on: https://code.wireshark.org/review/32140
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-27 05:07:45 +00:00
James Ko
8f77202943 Add support for IEEE 802.15.4 32-bit FCS
Make FCS length a variable.
Modify protocol configuration to include FCS type option.

Change-Id: I1e08f5b6b43907833464c20d798163343ce67a76
Reviewed-on: https://code.wireshark.org/review/32139
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-27 05:06:51 +00:00
James Ko
0a035b1410 Fix ieee802.15.4 wpan-zboss abbreviations
Change-Id: Iab6e71938003e4088d0290df103ea78ade82a89f
Reviewed-on: https://code.wireshark.org/review/32213
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-27 05:06:28 +00:00
Gerald Combs
f398a0e267 MS Proxy: Initialize a variable.
Zero-initialize a variable. This should fix bug 15534, although I can't
reproduce it here.

Bug: 15534
Change-Id: I7ee685e99e225d054386ead998cb4de681a2e759
Reviewed-on: https://code.wireshark.org/review/32211
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-27 03:05:17 +00:00
Guy Harris
a302d531e8 The non-flag arguments to tshark aren't necessarily a capture filter.
They're a capture filter if you're capturing live traffic; they're a
display (read) filter if you're reading a capture file.

Change-Id: Ia2f5bcdb0098bf3c2b4a3d99da5bfe768e09b5a0
Reviewed-on: https://code.wireshark.org/review/32207
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-26 22:17:26 +00:00
Stig Bjørlykke
54417ed16a Qt: Info label fixes in the Profile dialog
When copying from another profile which has been renamed:
show the new profile name in the info label "Created from".

When copying from another profile which is later deleted:
append "(deleted)" to the info label to indicate that the origin
profile is not in the list.

Do not show "Renamed from" when a profile name if renamed back to
it's original name.

Change-Id: I0bf0c868c5dfd150a23b2ef887e7c70030b48d05
Reviewed-on: https://code.wireshark.org/review/32201
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-02-26 22:02:11 +00:00
James Ko
54b678f9f8 IEEE 802.15.4 Fix duplicate strings
RX Wait is duplicated hf_register_info table for
hf_ieee802154_tsch_timeslot_ack_wait and
hf_ieee802154_tsch_timeslot_turnarount

Change-Id: Ib519491d8baca6ef1e6ada1e53bb39d879eb39ee
Reviewed-on: https://code.wireshark.org/review/32202
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-02-26 20:39:45 +00:00
Dario Lombardo
07bb974bcd netscaler: fix multiple out-of-bounds reads.
Multiple bugs have been found in the provided bug. Some of them have
been fixed in gefe920a, others here. The main problem is when malformed
files give wrong lenghts to the code, that casts and dereference it
without checking, causing oob reads. The fix introduces a check function
that prevents to go beyond the limits, early returning with a malformed
file message.

Other bugs have been fixed by forcing the string terminator that allows
the use of strlen() and MIN() that prevent wrong reads.

Bug: 15497
Change-Id: I8411208b5ea0f1a0720a17b882f704d03296d1c4
Reviewed-on: https://code.wireshark.org/review/32194
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-02-26 19:41:02 +00:00