Commit Graph

74688 Commits

Author SHA1 Message Date
Guy Harris fd7ff6916c Ask in a comment whether we should test HAVE_STRUCT_STAT_ST_BLKSIZE.
We're defining it now based on whether there's an st_blksize member of
struct stat.  We're currently testing _STATBUF_ST_BLKSIZE, but that's
not guaranteed to be defined on platforms that have an st_blksize member
of struct stat (it's not defined on macOS, for example).

Change-Id: I4e6011a7668da94cf1ca6328e29c50924dd1d8b0
Reviewed-on: https://code.wireshark.org/review/32381
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-10 18:12:42 +00:00
Michael McTernan e901d722e0 GSM A RR: fix Frequency List Variable Bitmap IE dissection
Bug: 15549
Change-Id: Iacd69b718cef2a26084fbb3e34c1e51f7424cf2b
Reviewed-on: https://code.wireshark.org/review/32377
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-03-10 18:06:59 +00:00
Uli Heilmeier 929829797f DHCP: more details for PXE fields
Dissect more details for PXE suboption.

Used references:
https://tools.ietf.org/id/draft-henry-remote-boot-protocol-00.txt
https://web.archive.org/web/20111226190846/http://download.intel.com:80/design/archives/wfm/downloads/pxespec.pdf
https://www.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.networkcomm/tcpip_dhcpv6_pxevendor.htm

File to test:
https://www.cloudshark.org/captures/1fd97aede26b

Change-Id: I6353c064e46e8512f261791afc039b7b7069c94e
Reviewed-on: https://code.wireshark.org/review/32376
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-10 14:35:43 +00:00
Anders Broman a55111610a Dumpcap: Set a bigger IO buffer (64KiB).
Set a bigger IO buffer to avoid syscall overhead.
See https://github.com/the-tcpdump-group/libpcap/issues/792

Change-Id: If370da5ab2b70a9d0c925dd7c4c5c135c675c3f6
Reviewed-on: https://code.wireshark.org/review/31326
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-10 12:34:55 +00:00
Anders Broman 101fed9420 Cmake: Make it possible to check on HAVE_STRUCT_STAT_ST_BLKSIZE.
Change-Id: Id84adc85c1fbdef8e39240f55128cdec4ee9ca2f
Reviewed-on: https://code.wireshark.org/review/31324
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-10 12:34:41 +00:00
Gerald Combs fea16b4aee [Automatic update for 2019-03-10]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I9ae41229a8527daac0daa3bcae90d771de1b4377
Reviewed-on: https://code.wireshark.org/review/32372
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-03-10 08:33:21 +00:00
Dario Lombardo 433464a2a5 nbap: add sanity checks when accessing arrays via num_items.
Bug: 14685
Change-Id: I32eacbe21e60ea151700920792b1b1bd5b6bb9c1
Reviewed-on: https://code.wireshark.org/review/32369
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-10 06:55:26 +00:00
Guy Harris 4273d0b170 Allow %D and %T in date/time formats.
1) They're both required, for both strftime() and strptime(), by the
Single UNIX Specification.

2) They're both supported by MSVC's strftime(), at least as of VS 2015.

3) With MSVC, we use our own strptime(), which is based on the GNU libc
one and which supports both of them.

So we don't have to worry about them not working and either giving a
bogus value or throwing an exception or anything such as that.

Bug: 15565
Change-Id: I72b7798f35c4461855298cfcfa84732c1297d5fe
Reviewed-on: https://code.wireshark.org/review/32370
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-09 23:30:22 +00:00
Dario Lombardo e451ea0a4d Qt: fix compilation with old compilers.
Error:
../ui/qt/wireless_frame.h:63:25: error: in-class initialization of non-static data member is a C++11 extension [-Werror,-Wc++11-extensions]
    int iface_timer_id_ = -1;
                        ^
1 error generated.
ninja: build stopped: subcommand failed.

Compilers that complain: gcc-4, gcc-5, clang-5.

Change-Id: I48d3cafa633a762ed31bf4b25acd47b7495b07dc
Reviewed-on: https://code.wireshark.org/review/32359
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-03-09 15:27:32 +00:00
Mikael Kanstrup 0e25e898ea nl80211: Parse some signal level attributes as signed value
Change-Id: I6ac67a21b9af4533e1500dcfd1a73ad232397cee
Reviewed-on: https://code.wireshark.org/review/32366
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-09 13:08:55 +00:00
Pantar Ana 04eb6cd30b ebhscr: add nmea support, update of eth link and master/slave bits
Change-Id: Ibc24f8c19179f5bc2cd0711da99596a8c9cb04d6
Reviewed-on: https://code.wireshark.org/review/32330
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2019-03-09 09:53:15 +00:00
Mikael Kanstrup e2143e93eb nl80211: Fix HT/VHT capability attribute parsing
The NL80211_ATTR_HT_CAPABILITY and NL80211_ATTR_VHT_CAPABILITY
attributes does not contain the full information element tlv
making the dissector fail to parse the attribute values.

Add a tag dissector function that dissects a numbered tag using
the 802.11 tag dissector table and use it to dissect HT/VHT
capability attributes properly.

The HE capabily tag is among the extended tags so must be handled
in some other way. For now leave the attribute undissected.

Change-Id: Ie85918634bafc2b39000a34b01e7a7dbaf6bd80d
Reviewed-on: https://code.wireshark.org/review/32365
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-09 08:52:57 +00:00
Mikael Kanstrup dfb98b8458 nl80211: Parse FRAME attribute using 802.11 dissector
The NL80211_ATTR_FRAME attribute value contains a full 802.11
frame with header. Let the 802.11 dissector dissect this.

Change-Id: I2e97644d142b510deaf75a1c922dcac4a12e0a27
Reviewed-on: https://code.wireshark.org/review/32364
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-09 08:52:28 +00:00
Mikael Kanstrup 34175de076 nl80211: Dissect wiphy name and alpha2 attributes as strings
Change-Id: Icdab0164426110da6c2edde62c2a93e0f660a69c
Reviewed-on: https://code.wireshark.org/review/32363
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-09 07:45:34 +00:00
Mikael Kanstrup 1d5eb1c5d0 nl80211: Let generic attribute parser handle 64 bit values
Quite many nl80211 attributes are declared u64 so let the
generic attibute parser treat data of 8 bytes length as 64 bit
values.

Change-Id: I511fe8467fe950e019457a1552de280528272b70
Reviewed-on: https://code.wireshark.org/review/32362
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-09 07:43:53 +00:00
Dario Lombardo 81daef4129 u3v: reorder pixel_format_names to prevent '-G values' warning.
Warning:
** (process:13685): WARNING **: 23:48:34.135: Extended value string 'pixel_format_names' forced to fall back to linear search:
  entry 114, value 35520758 [0x21e00f6] < previous entry, value 36700405 [0x23000f5]

This is causing test failures due to clopts testsuite getting
unexpected data in stderr.

Change-Id: I6fcc7315f0b99530da4f6dceda60e2da803972f5
Reviewed-on: https://code.wireshark.org/review/32367
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-09 06:44:36 +00:00
Anders Broman 9c04f07f88 GSM RR: Align Channel mode text.
Change-Id: I83fd6306f7fed85389ccdaab55082658065d580b
Reviewed-on: https://code.wireshark.org/review/32357
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 14:12:04 +00:00
Anders Broman 7208e60274 BSSAP/BSSAP+ have different "decode as" for BSSAP and BSSAP+
Bug: 15578
Change-Id: I2e60363a9b3ce2b0347854b7969929567af20502
Reviewed-on: https://code.wireshark.org/review/32356
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 13:50:13 +00:00
Stig Bjørlykke ae367d9b9b lwm2mtlv: Format string when used in header
Use format_text() on strings when used in the TLV header.

Bug: 15572
Change-Id: Ia9dc585deff3d21782e552a018c80e63c700c73d
Reviewed-on: https://code.wireshark.org/review/32355
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-03-08 13:33:29 +00:00
Anders Broman 5fa5014cdc SCCP: Only show associated IMSI if present.
Change-Id: I310fef1be83045ecbbc3f2d9c1b2b4a5466e306d
Reviewed-on: https://code.wireshark.org/review/32354
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 13:05:45 +00:00
Anders Broman 325287765c GSM A RR:Update channel mode interpretation to TS 44.018
v15.4.0(2018-12)

Bug: 15581
Change-Id: I462a49b8b069748c8621f3d664ac94f305545b80
Reviewed-on: https://code.wireshark.org/review/32353
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 11:24:53 +00:00
Stefan Battmer d5dc30fa00 u3v: Added support for the U3V_STATUS_DATA_OVERRUN error code
and a couple of pixel formats that where not properly decoded before

Change-Id: I43008e6f498f9f67dcd103486fb32c8885034ddf
Reviewed-on: https://code.wireshark.org/review/32086
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 07:31:47 +00:00
David Aggeler 2c058466c0 DCM: Improved COL_INFO
- Fixed re-assembly of two PDU in single frame (was optimized out in last commit)
- Improved COL_INFO for C-FIND
- Improved COL_INFO for multiple PDUs in one frame

Change-Id: Ie4ba5023594f3ce65f55584631731ee9f9d0506b
Reviewed-on: https://code.wireshark.org/review/32087
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 07:31:21 +00:00
Gerald Combs 7fbee2640c Docs: Mention Npcap in our man pages.
Mention Npcap whereever we mention WinPcap.

Change-Id: I6ee295ca88302e2516d5658a5d528f9675209da8
Reviewed-on: https://code.wireshark.org/review/32352
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 07:30:24 +00:00
Mikael Kanstrup b08003309b Remove the periodic interface update in wireless toolbar
The wireless toolbar retrieves the full list of network interfaces
every 1.5 seconds to keep its list of interfaces updated. This
not only adds unnecessary load on the system it also generates
plenty of netlink traffic. When capturing packets on nlmon
interfaces they are flooded with packets generated by Wireshark
itself making it hard to understand the traffic that's really present
on the system.

Remove the periodic interface update and instead listen to network
interface change events and update only when something has changed.

The wireless toolbar need to know all when wireless interfaces are
added/removed, not only whether an interface is 'up' or not so
iface_monitor changes were also necessary.

Bug: 15576
Change-Id: I8fb19fd919dfef1b6b35bf48790b105ecd2b60a8
Reviewed-on: https://code.wireshark.org/review/32350
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 07:30:04 +00:00
Atli Guðmundsson 28c5b73545 Updates and bugfixes of ASTERIX
Generic fixes
- subfields with small number of bits that belong to large
  bit fields are not being decoded correctly (they all become zero).

Generic update
- removed ett_[X] entries that were never being used

asterix bugfixes
- asterix.SAC bitmask not aligned
- asterix.SIC bitmask not aligned
I019 bugfixes
- I019/552 bitmask not aligned
I020 bugfixes
- I020/042 incorrect filter
- I020/170 too many spare bits
- I020/170 incorrect filter
- I020/230 incorrect filter
- I020/500#01.DOPy incorrect filter
- I020/500#03 incorrect filter
- I020/RE sub field names not in line with other CATs
- I020/RE.GVV.TA is signed (should be unsigned)
- I020/RE.GVA.TASD is signed (should be unsigned)
- I020/RE.PA#02 incorrect filter
- I020/RE.DA#04 incorrect filter
I021 bugfixes
- I021/110#01 is not a FIXED size field (it is an FX field)
- I021/260 bitmask not aligned
- I021/RE.MES#02 bitmask not aligned
- I021/RE.MES#03 bitmask not aligned
- I021/RE.MES#06 bitmask not aligned
I034 bugfixes
- I034/050 subfield indexes are missing
- I034/050#04 bitmask not aligned
- I034/060 subfield indexes are missing
I048 bugfixes
- I048/050 bitmask not aligned
- I048/060 bitmask not aligned
- I048/070 bitmask not aligned
- I048/080 bitmask not aligned
- I048/100 bitmask not aligned
- I048/120 bitmask not aligned
- I048/230 bitmask not aligned
- I048/RE.MD5 subfield indexes are followed by a comma
- I048/RE.MD5#02 bitmask not aligned
- I048/RE.MD5#05 bitmask not aligned
- I048/RE.M5N subfield indexes are followed by a comma
- I048/RE.M5N#02 bitmask not aligned
- I048/RE.M5N#05 bitmask not aligned
- I048/RE.RPC subfield indexes are followed by a comma
I062 bugfixes
- I062/060 bitmask not aligned
- I062/080.DUPF incorrect filter
- I062/110#02 bitmask not aligned
- I062/340#05 bitmask not aligned
- I062/380#10 bitmask not aligned
- I062/380#11 bitmask not aligned
- I062/390#03 bitmask not aligned
- I062/390#09.RWY is now a string instead of 3 different fields
- I062/390#12 bitmask not aligned
- I062/390#17 bitmask not aligned
- I062/510 bitmask not aligned
- I062/RE.CST bitmask not aligned

Change-Id: Ieefb53a10728205f2cefac718ac8668df29f1f8a
Reviewed-on: https://code.wireshark.org/review/32300
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-08 05:28:34 +00:00
Stig Bjørlykke e327892d09 ieee802154: Show header fields
Add a new subtree with Header fields Version, Reserved and Length.
Include padding length in the TLV entry.

Change-Id: I7c39253f4d2f5f3b2d5721d10af3f8b563ea0d04
Reviewed-on: https://code.wireshark.org/review/32346
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-03-07 11:11:31 +00:00
Guy Harris 3267f3641f We need more pre-allocated fields.
Change-Id: I17affbd71b89d5fa9615ca1984ef6c38d21e8baf
Reviewed-on: https://code.wireshark.org/review/32345
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-07 03:32:00 +00:00
Fabrice Fontaine 020e25b660 packet-gtp.c: remove unneeded named structures
In uclibc, _header is already in sigcontext.h:

packet-gtp.c:2361:16: error: redefinition of 'struct _header'
 typedef struct _header {
                ^~~~~~~
In file included from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/bits/sigcontext.h:30:0,
                 from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/signal.h:311,
                 from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0/glib/gbacktrace.h:36,
                 from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0/glib.h:34,
                 from ../../epan/proto.h:28,
                 from ../../epan/packet.h:14,
                 from packet-gtp.c:43:
/home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/asm/sigcontext.h:173:8: note: originally defined here
 struct _header {

To fix this issue, transform _header and other named structures (with
the exception of gtp_conv_info_t) into unnamed structures

Fixes:
 - http://autobuild.buildroot.org/results/c41d42fe3489bc63c42e7ce7a9eccb1b4ca7b9b2

Change-Id: I78116233c2a8dd7c54723b7cb558254bd5143bd2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-on: https://code.wireshark.org/review/32335
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-06 22:57:16 +00:00
Dario Lombardo 52203676cc couchbase: check shift value before use.
Bug: 15439
Change-Id: I5bd702333795f2ed705eadb665516cb27b6e0371
Reviewed-on: https://code.wireshark.org/review/32311
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-06 15:16:33 +00:00
Dario Lombardo 67b1db7815 ieee80211: add expert info for invalid control_id.
Change-Id: I660f486a2e77b2659f0b1ff273fc7ca28d73941e
Reviewed-on: https://code.wireshark.org/review/32338
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-06 15:16:03 +00:00
Dario Lombardo 8f1751ce40 ieee80211: check offset before using it.
If we go over 31, we get an invalid shift. It's due to malformed
packets. Add an expert info and exit the loop.

Bug: 14770
Change-Id: Icc17831ee23395ed2b0d414af09d86d1d1a6444c
Reviewed-on: https://code.wireshark.org/review/32316
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-06 15:15:50 +00:00
Guy Harris d7a3764475 Some cleanups.
hdr_ethernet is a flag indicating whether we should add a fake Ethernet
header or not; make it a Boolean.

Move number_of_padding_bytes() closer to where it is in
ui/text_import.c, and make it more like the version there.

Shift the direction flag to put it in the right bit position - or, at
least, throw in the shift constant to clarify that we're trying to put
it there, even if it's already in the right position (i.e., the shift
constant happens to be 0, as it happens to be in the low-order bits).

Fix a comment.

Change-Id: Ia643d9ab2188951a682bf773239d0175c0d578c2
Reviewed-on: https://code.wireshark.org/review/32337
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-06 10:47:06 +00:00
Dario Lombardo 8f15ebed65 srvloc: check buffer index to prevent heap overflow.
Bug: 15546
Change-Id: I35eee1f6e1127db74339ec7218d7681bd93de59c
Reviewed-on: https://code.wireshark.org/review/32285
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-06 09:24:35 +00:00
Guy Harris b8b582af3d Fix up size calculations.
The elements in the tables listing UTF-8 and Boolean properties are
guints, which are *not* the same size as guint16's.  (This isn't a
PDP-11 or a 68k-based machine with a compiler that has 16-bit ints or a
machine running 16-bit x86 code or....)

Bug: 15556
Change-Id: I14076584fea74c9c04e2d6b647212e7a2603c275
Reviewed-on: https://code.wireshark.org/review/32336
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-03-05 21:27:39 +00:00
Aurelien Aptel 4651b48d98 smb2: add support for SMB3.1.1 multiple error context responses
This change adds dissectors for all error responses types up to
SMB3.1.1.

It also fixes "Malformed Packet" errors when dissecting error response
within compounded packet responses.

SMB2 Error responses are a bit convoluted. Error data can be a list
of error contexts which themselves can hold an error data field.
See [MS-SMB2] 2.2.2.1.

Pseudo-grammar summary:

ERROR_RESP := ERROR_DATA

ERROR_DATA := ( ERROR_CONTEXT + )
            | ERROR_STATUS_STOPPED_ON_SYMLINK
	    | ERROR_SHARE_ID_SHARE_REDIRECT
	    | ERROR_BUFFER_TOO_SMALL

ERROR_CONTEXT := ... + ERROR_DATA
               | ERROR_SHARE_ID_SHARE_REDIRECT

Change-Id: Ic601bfe53e0495e73736d6b00a5b8ce4d2517edc
Reviewed-on: https://code.wireshark.org/review/32314
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-05 14:00:46 +00:00
nbertin f2c77a4265 uaudp: added support for StartSig/StartSig ACK messages (DTLS feature)
Change-Id: Id98c7deff520af032efa3d62f9508a33baeb2f07
Reviewed-on: https://code.wireshark.org/review/32315
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-05 12:56:35 +00:00
Uli Heilmeier f6f048361f IEEE802154: Fixing some implicit conversations
Fixing some "implicit conversion loses integer precision" warnings
reported by clang with -Wshorten-64-to-32 option

Change-Id: Ica92971e689c28c6d1ea995e821d648a19186c09
Reviewed-on: https://code.wireshark.org/review/32331
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-05 12:50:32 +00:00
Aurelien Aptel dfa2c06e79 smb2: pass down payload length
in the case of compounded packets, there might be more packets after
the reparse data.

Change-Id: Ife820271be3f7443b352b4c0f75f10d1a0624699
Reviewed-on: https://code.wireshark.org/review/32312
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-05 11:46:31 +00:00
Aurelien Aptel daf29e2bde smb2: cleanup sockaddr dissector and make more generic
* make the following return post-dissect offset:
  - dissect_windows_sockaddr_in
  - dissect_windows_sockaddr_in6
  - dissect_windows_sockaddr_storage

* expose 'len' optional argument to dissect padded data

Change-Id: I83f0981b5aeb6a6f1f08df63fd1513d4b1dcbcef
Reviewed-on: https://code.wireshark.org/review/32313
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-05 04:50:53 +00:00
Gerald Combs 69460d44ea maxmind_db: Work around an apparent GLib bug.
g_async_queue_timeout_pop can return immediately on macOS and possibly
other OSes when using older versions of GLib. Replace it with
g_async_queue_pop and a "stop" sentinel value.

Bug: 15545
Change-Id: Id0bfacd4a94ec9645d2d27ba92d3a2f48e7d5f37
Reviewed-on: https://code.wireshark.org/review/32289
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-03-04 18:35:41 +00:00
Gerald Combs 9887fe3d15 WSDG: Describe our tag naming conventions.
Change-Id: Icb8ba1be843b8a109713df9260330df5b215bf0b
Reviewed-on: https://code.wireshark.org/review/32318
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-03-04 18:35:06 +00:00
nbertin 00318b3267 noe: updated decoding of messages
display True/False if a property is of type "bool"
display string if a property is of type "utf-8"

Change-Id: I3655b401298fc4cca9bcf5388707c90c4c1540bb
Reviewed-on: https://code.wireshark.org/review/31934
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-04 15:37:55 +00:00
Nikita Ryaskin b4f4804741 ZBEE ZCL: Fixed errors in dissectors.
Changed fields to correct. Fixed bug with encoding for tunneling fields.

Change-Id: If2e48693b9174184aabaa1d3157982130460e6f6
Reviewed-on: https://code.wireshark.org/review/32310
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-04 13:01:57 +00:00
Nikita Ryaskin 94e676d578 ZBEE ZCL: updated Energy Management Cluster dissection.
Implemented commands payload dissectors.

Change-Id: Ic1141cacf60754c97cb8e455d85e63239ecc7c79
Reviewed-on: https://code.wireshark.org/review/32307
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-04 13:01:15 +00:00
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