Commit Graph

75206 Commits

Author SHA1 Message Date
Alexis La Goutte 11110ae11e rawshark: fix parameter 'pd' not found in the function declaration [-Wdocumentation]
Change-Id: If23bd6e9c4d89ecb078b0a974d87eb50f3173aa8
Reviewed-on: https://code.wireshark.org/review/33009
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-15 11:26:23 +00:00
Alexis La Goutte ff9189ef92 ieee802154: empty paragraph passed to '@param' command [-Wdocumentation]
Change-Id: I76f7a20a7a8f019a9b99404e08a3249cdc6ea6ef
Reviewed-on: https://code.wireshark.org/review/33008
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-15 11:26:10 +00:00
Joakim Karlsson e8e1463c6f diameter: Added 3GPP AVP "Presence-Reporting-Area-Node"
Change-Id: I32347af7eb9b1b3ebc0dd1bc08c0be345e9305a8
Reviewed-on: https://code.wireshark.org/review/33201
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 11:04:17 +00:00
Tomasz Moń 47a39b06ef Qt: Delete extcap option dialog when it is closed
Prior to this change the extcap option dialog destructor was called only
when the main Wireshark window closed.

Besides that, fix the NULL pointer dereference that would happen if
device name was not a valid extcap device.

Change-Id: I84334e3a83c66557d961771f74c39447d30a6875
Reviewed-on: https://code.wireshark.org/review/33197
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 06:58:40 +00:00
Benjamin Aschenbrenner fbe08109c7 Change 'Measurement Report Mode field' strings according to IEEE 802.11-2016
Bits named according to IEEE 802.11-2016, p.836, Figure 9-192

Change-Id: I4e0a6c90796d80ebbdc31c32a3ea2d9da4db8885
Reviewed-on: https://code.wireshark.org/review/33193
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 06:58:15 +00:00
Joakim Karlsson c1220ec0c7 gprscdr: Update to 3GPP TS 32.298 V15.6.0
Change-Id: Iec680f2f2ac9b0149ad9933cb2e805dc9aa00d32
Reviewed-on: https://code.wireshark.org/review/33202
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 05:34:47 +00:00
Peter Wu 7b43c480f6 Qt: do not expose a UAT record if the update callback fails
The default chk callbacks for individual fields only catches basic
errors such as invalid, too large numbers. Many dissectors perform
additional validation in the update_cb which is invoked for a record as
a whole. If this check fails, then the UAT must not be marked as valid
or else invalid records (like NULL pointers) could be exposed.

Thanks to Uli Heilmeier for noticing this.

Bug: 15709
Change-Id: I1cc4c6925322011a561ad6df840fbac67796e5b2
Fixes: v2.3.0rc0-1002-g1cd22559a8 ("Qt: convert UatDialog to model/view pattern, improve UX")
Reviewed-on: https://code.wireshark.org/review/33157
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Uli Heilmeier <openid@heilmeier.eu>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 05:31:47 +00:00
Gerald Combs 276d62b639 mmdbresolve: Improve our main loop check.
Check the return value of fscanf() instead of relying on feof(). This
should help ensure that we exit correctly.

Bug: 15777
Change-Id: I8b5985f6015cb6a85378db5135b29bb2c3de1e90
Reviewed-on: https://code.wireshark.org/review/33196
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 05:28:40 +00:00
Martin Kaiser 7f58286aee iso14443: dissect the CID in the attrib message
For type B cards, the PCD assigns a card identifier (CID)
in the attrib message it sends to the card. The card sends
the assigned CID back in its response.

We already dissect the CID in the response. Dissect it in the
attrib message as well.

Change-Id: Ic0bd200f0e40496d8fe3121aa9ad601a269de36c
Reviewed-on: https://code.wireshark.org/review/33183
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 05:26:06 +00:00
Joakim Karlsson cff013f202 pfcp: Update to 3GPP TS 29.244 V15.5.0
Change-Id: I8374086e19743c432f6a2aa90fad2cfb215eb115
Reviewed-on: https://code.wireshark.org/review/33199
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 05:24:40 +00:00
Joakim Karlsson f8d228d1b0 diameter: fix for validations script
Change-Id: I7cf362ba4c772953be0ed212b8ecb1af0a7fbaa2
Reviewed-on: https://code.wireshark.org/review/33200
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-15 05:24:22 +00:00
Guy Harris 2dd1a8a99f Fix comment.
Change-Id: I8adeddc4de0bf0bf7837004c45bd706044b301d8
Reviewed-on: https://code.wireshark.org/review/33195
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-14 16:45:53 +00:00
Dario Lombardo 91bbc58402 elastic: make fields all the same.
The outputs of -T ek and -G elastic-mapping don't match. To be effective
the fields in the mapping report and the fields in the traffic output must
be the same.

2 issues have been fixed. The elastic-mapping requires the parent protocol
to be prepended to the field to match the traffic output. The field "dns.a"
has been changed to "dns_dns_a".
The traffic output prints some fields with a leading "text_". This happens
for some fields that have been created under a text only field. One example
is "dns.a", that was printed as "text_dns_a". This has been fixed by accessing
the parent hfinfo resulting in "dns_dns_a" as other fields for the dns
protocol.

Bug: 15759
Change-Id: Ibd000c865102ca49bb6a6394019a475483eae4cc
Reviewed-on: https://code.wireshark.org/review/33099
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Eneko Gómez <eneko.gomez.tecnalia@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-05-14 16:16:57 +00:00
Andrii Vladyka 07aa2a8e49 docsis: fix for encrypted DOCSIS PDU packets do not match the filter 'eth.dst'
Bug: 15731
Change-Id: I6c9dd8ca722679dd6e4cc91e6f3ca81162307f56
Reviewed-on: https://code.wireshark.org/review/33042
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-14 14:57:53 +00:00
Anders Broman 88096e1fc5 GSM MAP: Fix dissection of authenticationSet in SentParameterList
Ber choice called with a non FT_UINT hf variable. Work around by
duplicating ASN1 code.

Change-Id: I71b38e25288f222058793110eb43c122c012dcca
Reviewed-on: https://code.wireshark.org/review/33191
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-14 11:48:56 +00:00
Pascal Quantin fed0e7c2d0 PROFINET DCP: fix dissection of an empty DHCP option
Bug: 15774
Change-Id: Ief2588e5d6f43da708ef071a4490f5f881268820
Reviewed-on: https://code.wireshark.org/review/33186
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Mehmet Oguz Sakaoglu <mehmet.oguz.mnz@gmail.com>
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-05-14 11:13:03 +00:00
Guy Harris 7e8a58e1e1 Explain that not handling byte-swapped pcap files breaks the tests.
No, not every machine on which Wireshark is built, run, and tested is
little-endian.  See bugs 15772 and 15754.

Change-Id: Ice1d012e1a788f6a7bb031bdf0e2f01f523a91ec
Reviewed-on: https://code.wireshark.org/review/33192
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-14 09:21:01 +00:00
Guy Harris 3234152bec Fix SMB2 decryption on big-endian machines.
Convert the host-endian session ID passed to seskey_find_sid_key()
before comparing it with the little-endian session IDs in the UAT.

While we're at it, tag session ID fields in various structures with the
byte order.

Bug: 15772
Change-Id: Ib1e7323bad1dfdb1ac24a08998205650f2744097
Reviewed-on: https://code.wireshark.org/review/33188
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-14 01:30:34 +00:00
Martin Mathieson 736052b3f1 RLC-NR: Attempt reassembly of UM PDUs.
Controlled by a preference (off by default).

Change-Id: If2fafb1d0b94faf4e42c3e9bb4bef010f1a9be0b
Reviewed-on: https://code.wireshark.org/review/33056
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2019-05-13 17:43:28 +00:00
Dario Lombardo ccf9820ea7 elastic: change 'pcap_file' into 'doc' in the mapping.
Newer versions of elastic are using 'doc' as type. Change the code
according to that.

Fix point (4) of the linked bug.

Bug: 15763
Change-Id: Ia28102a0914c6308eb3516daa57af2e49ce9a4e5
Reviewed-on: https://code.wireshark.org/review/33111
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Eneko Gómez <eneko.gomez.tecnalia@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-05-13 17:25:15 +00:00
Tomasz Moń 9f875e98e3 USB Audio: Dissect USB Audio Interface Subclass
Change-Id: I2e2a84b07a6d9cb17b6a12c8129e909d21a6a1d6
Reviewed-on: https://code.wireshark.org/review/33173
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-13 13:20:39 +00:00
Tomasz Moń 70128148a6 USB Audio: Dissect Audio Streaming Endpoint descriptor
Dissect version 1 and 2 of Audio Streaming General Endpoint descriptor.

Ping-Bug: 15503
Change-Id: I2b9dfdc22db0c75a0e736738c2d6ca72e7f8d9af
Reviewed-on: https://code.wireshark.org/review/33172
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-13 13:20:34 +00:00
Tomasz Moń 5c50163680 USB Audio: Dissect MIDI Bulk Data Endpoint descriptor
Ping-Bug: 15503
Change-Id: Ia984b39ec3ea7192f33a1ca7ddf8fd4c65bfacdf
Reviewed-on: https://code.wireshark.org/review/33171
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-13 13:20:24 +00:00
Dario Lombardo 719d8d6a81 elastic: change 'template' into 'index_patterns' in the mapping.
This is the new standard in recent Elastic versions.

Fix point (3) of the linked bug.

Bug: 15763
Change-Id: I64ef085c2a8ad9d25ced30a337287c8cb77903e4
Reviewed-on: https://code.wireshark.org/review/33112
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Eneko Gómez <eneko.gomez.tecnalia@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-05-13 09:43:46 +00:00
Dario Lombardo ebcc9157c3 elastic: use correct elastic field types in mapping.
Elastic integer fields are:
integer: signed 32 bit
long: signed 64 bit

Fix values in mapping. uint64 is not handled by elastic, but still
mapped on 'long'.

Fix point (2) of the linked bug.

Bug: 15763
Change-Id: I14afa1cb7fcb6ad98d44707a8b506420e29ceb83
Reviewed-on: https://code.wireshark.org/review/33109
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13 07:22:38 +00:00
Tomasz Moń 4f599be06d USB Audio: Do not group MIDI Events under USB Audio
Each MIDI Event creates its own protocol tree and thus the generic USB
Audio tree is not needed.

Ping-Bug: 15503
Change-Id: I83ab01e340fce72e8ab824a2ee77ae37c033daae
Reviewed-on: https://code.wireshark.org/review/33160
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-05-13 07:19:49 +00:00
Tomasz Moń 2923ba19e6 USB Audio: Add USB Midi Event type to headline
This is especially useful when there are multiple USB Midi Events in frame.

Ping-Bug: 15503
Change-Id: I92ab73d5ff33f5a227f4433ba22792ca791e38e7
Reviewed-on: https://code.wireshark.org/review/33159
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-05-13 07:19:40 +00:00
Tomasz Moń 858fae9f1d USB Audio: Dissect MIDI OUT Jack descriptor
Ping-Bug: 15503
Change-Id: Ib3795e0bd6650319e2552ccf907b10716f1859fa
Reviewed-on: https://code.wireshark.org/review/33170
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13 07:19:17 +00:00
Tomasz Moń e7c0855375 USB Audio: Dissect MIDI IN Jack descriptor
Ping-Bug: 15503
Change-Id: I9b3c7ac6683cc8249278dd7f037b8bbf2e146721
Reviewed-on: https://code.wireshark.org/review/33169
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13 07:18:23 +00:00
Tomasz Moń fcf5c1a512 USB Audio: Dissect MIDI Streaming header descriptor
Extend audio conversation info to include the major version of USB MIDI.
The major version in Audio Control header can be different than the
major version in MIDI Streaming header.

Ping-Bug: 15503
Change-Id: I7ef7c15b4fcab21cfaf380f46085a1a3a13021b5
Reviewed-on: https://code.wireshark.org/review/33168
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13 07:17:34 +00:00
Tomasz Moń 2ea553ecbe USB Audio: Recognize MIDI Streaming descriptors
Prior to this change the MIDI Streaming descriptors were labeled as
UNKNOWN DESCRIPTOR.

Actual contents of MIDI Streaming descriptors are not dissected yet.

Ping-Bug: 15503
Change-Id: Ie55431bd89a09770ed832d7d0838eb8c2268d531
Reviewed-on: https://code.wireshark.org/review/33161
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-13 07:16:11 +00:00
Solganik Alexander b06dcb32c7 nvme-tcp: Add nvme-tcp dissector
This patch adds support of NVMe/TCP (NVM Express over Fabrics for TCP).
to wireshark.

NVM Express is high speed interface for accessing solid state drives.
NVM Express specifications are maintained by NVM Express industry
association at https://nvmexpress.org/.

NVMe/TCP is the TCP transport binding specification
which recently ratified (Technical Proposal 8000) and is a part
of NVMe-oF spec version 1.1.

Reference can be found here:
https://lwn.net/Articles/772556/
and protocol specification:
https://nvmexpress.org/welcome-nvme-tcp-to-the-nvme-of-family-of-transports/

Supported commands are
*) NVMe/TCP ICREQ, ICRESP.
*) NVMe Fabrics commands
*) NVMe commands that are supported by packet-nvme dissector.

Testing is done with Linux 5.0 nvme-tcp host and target drivers.
H2C and C2H termination PDU`s are not supported as Linux NVMe/TCP driver
does not support them as well in kernel 5.0

Bug: 15735
Change-Id: I63ae7aa2a42ff843b9832110830fd345f30d9170
Reviewed-on: https://code.wireshark.org/review/32640
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-13 06:11:52 +00:00
Dario Lombardo 23744c9be7 tools: add speexdsp to debian-setup.
Internal support of libspeexdsp has been removed in favour of system
one in g186f985793. Add it to the list of optional debian packages.

Change-Id: Ie15c367c2a113349614351da8bbcc26ef6353028
Reviewed-on: https://code.wireshark.org/review/33180
Reviewed-by: João Valverde <j@v6e.pt>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-05-13 05:44:04 +00:00
Guy Harris 87deef63c6 Clean up some things.
Have separate expert info items for the PDU length field being too
short, the PDU length field being too long, a CLV being too short, and a
CLV being too long.

Do the PDU length checks when we add the PDU length field, and add the
expert infos to the length item; remember the results of the checks for
future use.

Use DISSECTOR_ASSERT for the tests in osi_check_and_get_checksum() that
make sure the checksum field is contained within the data to be
checksummed, so that's reported as a dissector bug to the user.

That means that osi_check_and_get_checksum() only returns FALSE if we
don't have all the data available to checksum; that already gets
reported as an indication that the checksum is unverified, so we don't
need to put confusing and misleading expert infos about the PDU
length - whatever PDU length errors need to be reported have already
been reported, as per the above.

Make expert info names more consistent, and fix one expert info variable
name.

Make the length argument to isis_dissect_clvs() unsigned.

Clean up white space.

Change-Id: I0ce799c766dc427602d155c5b48099df8bf51c67
Reviewed-on: https://code.wireshark.org/review/33179
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-12 21:50:11 +00:00
Guy Harris beed21b038 Fix the length of the item added for the value field of undissected CLVs.
The length variable is the length of the value, not the length of the
entire CLV, so there's no need to subtract the length of the C and the
L from the length - it covers just the V.

Change-Id: I711657e4e0b76e2aac9d58efd88f45201b9c2c5b
Reviewed-on: https://code.wireshark.org/review/33174
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-12 18:21:09 +00:00
Jaap Keuter c135fb1308 K12: reverse use after free
When composing the error string to return to the UAT handling,
the proto name string is already free'd. Reverse the two calls
so that the string is free'd _after_ the error string composition.

Change-Id: I11615c07f6b00e59007e0c85c84283d486cc478c
Reviewed-on: https://code.wireshark.org/review/33167
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-12 15:01:44 +00:00
Gerald Combs 3e8d9074ed [Automatic update for 2019-05-12]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: Ibfaff1cfc4974aae825bd177d8b94be177529255
Reviewed-on: https://code.wireshark.org/review/33162
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-05-12 08:34:29 +00:00
Pascal Quantin 3586da308f Windows: upgrade Npcap to 0.995
Change-Id: I9e1bea5daf8aa49e4de4efa070819da8d3844fc1
Reviewed-on: https://code.wireshark.org/review/33156
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-05-11 13:17:00 +00:00
Dario Lombardo c95e83d9a9 gitlab-ci: fix pytest execution.
pytest-3 is the executable name on the docker image (ubuntu derivated).

Remove pip and pytest installation while here, since they're
provided by the docker image.

Change-Id: Iad2e9cafc42cd1e83b2868126abb91d5ee7bbd92
Reviewed-on: https://code.wireshark.org/review/33145
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-11 13:05:54 +00:00
Tomasz Moń 267d81148f SysEx: Add special System ID codes
Change-Id: I1382f6a2de6f765e12dfa6119cc8c8f11d02bf96
Reviewed-on: https://code.wireshark.org/review/33147
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-05-11 04:55:39 +00:00
Guy Harris ac66f39727 Small cleanups.
Rename a variable to reflect the final name given to the option to get
rid of decryption secrets stored in the file.

Fix whitespace.

Change-Id: I19ea14fa205369500790adaa00244a15412548eb
Reviewed-on: https://code.wireshark.org/review/33154
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-11 04:00:47 +00:00
Guy Harris 16ca1b5aca Fill in the packet flags for *Peek classic and tagged files.
Change-Id: I0f075c5bc7bb177a23be11e23e3701a7412a6e3d
Reviewed-on: https://code.wireshark.org/review/33153
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-10 23:14:44 +00:00
Guy Harris c2dc13873f Clean up processing of RTMP data.
If the purported first tuple has a net of 0, it's a 3-octet version
indicator, not a tuple containing route information; the third octet is
a version number.  Display the version number and skip it before
displaying the tuples.

If the first tuple is an extended network tuple, the sixth octet is a
version number; display it as such.

Change-Id: I7ffb8b9df025dd75eb43eba24a37ce6bd26e8019
Reviewed-on: https://code.wireshark.org/review/33152
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-05-10 20:16:05 +00:00
Dario Lombardo 2ca8b14525 dumpcap: remove legacy code.
Change-Id: Ifd25d8fb0a299378273ade94ac0f1fd1d313fd6e
Reviewed-on: https://code.wireshark.org/review/33149
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-10 20:09:22 +00:00
Dario Lombardo 25e19aefcf req_resp_hdrs: add initializer (CID: 1445004).
Change-Id: I827efe9aa9d7c8342df6d356e4caa12dbe74d095
Reviewed-on: https://code.wireshark.org/review/33148
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-10 20:08:06 +00:00
Anders Broman faf191edc1 SBc-AP:Update to 3GPP TS 29.168 V15.1.0 (2018-09).
Change-Id: Ie1418deda58046e48419be252a41c4e1cf9593b8
Reviewed-on: https://code.wireshark.org/review/33144
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-10 11:26:18 +00:00
Harald Welte 9ddb50f33f BSSMAP: Further decode the GCR (Global Call Reference) field
The BSSMAP LCLS GCR field is specified in 3GPP TS 29.205, which
in turn was originally created to augment the ITU-T Q.190x BICC
with Mobile specific information elements.  Let's add the latter
decoding function as a new packet-bicc_mst.c, so it can be used
also from other dissectors.  For example, GSM MAP also includes
GCRs and hence should be modified to use this new decoder.

Change-Id: I247d2ccd2d16e996f4fe5d5952ba8a4091a4ffd0
Reviewed-on: https://code.wireshark.org/review/33117
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-10 10:44:19 +00:00
Harald Welte 32fa74c08f GSUP: Add dissection of BSSMAP, RR and SM cause values
This is achieved by calling the respective dissector functions
from other dissectors, which requires them to be exported.

Change-Id: Ifd01da8e5ff4ac3f3f3179b842e3a7223629b234
Reviewed-on: https://code.wireshark.org/review/33121
Reviewed-by: fixeria <axilirator@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-05-10 07:19:09 +00:00
Neels Hofmeyr a521497fa4 GSUP: add E-interface messages (Inter-MSC hand-over)
The Osmocom GSUP protocol was recently extended with additional
message types and information elements to support the use case
at the GSM "E Interface", which is the signaling interface between two
MSCs during Inter-MSC-Handover procedures.

This patch adds the bulk of the E interface decoding, leaving only
the dissection of RR/BSSAP/SM cause values for follow-up patches,
as this requires modifications to those respective dissectors.

Change-Id: I0ef2fe4eac108de6804ede152cddac8551d4918e
Reviewed-on: https://code.wireshark.org/review/33120
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-05-10 07:17:48 +00:00
Pascal Quantin fd2f439e33 Revert "Windows: upgrade Npcap to 0.994"
This reverts commit 2f82518f72.

Npcap 0.994 introduced a crash that will be fixed in next version:
https://github.com/nmap/nmap/issues/1591

Change-Id: Iff9a29e6d28c57774844d25f2990e0f8c214bf75
Reviewed-on: https://code.wireshark.org/review/33143
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-05-10 05:38:32 +00:00