Commit Graph

72595 Commits

Author SHA1 Message Date
João Valverde f2c74b7dbd vagrant: Run test suite
Change-Id: If4df6e98ec39b6517fd441d48b4a00c2ca2c43c6
Reviewed-on: https://code.wireshark.org/review/29358
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:52:01 +00:00
Gerald Combs ef01359849 Add support for protocol aliases. Switch BOOTP to DHCP.
Add support for aliasing one protocol name to another and for filtering
using aliased fields. Mark aliased fields as deprecated.

Rename the BOOTP dissector to DHCP and alias "bootp" to "dhcp". This
lets you use both "dhcp.type" and "bootp.type" as display filter fields
without having to duplicate all 500+ DHCP/BOOTP fields.

To do:
- Add checks to proto.c:check_valid_filter_name_or_fail?
- Transition SSL to TLS.
- Rename packet-bootp.c to packet-dhcp.c?

Change-Id: I29977859995e8347d80b8e83f1618db441b10279
Ping-Bug: 14922
Reviewed-on: https://code.wireshark.org/review/29327
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>
2018-08-31 05:25:17 +00:00
Uli Heilmeier 9a71ec042e MySQL: decode responses for more requests in a row
Capture file of Bug 15074 lists two requests in a row. Only the first
response gets dissected. The second one not.

This commit defaults to mysql_dissect_result_header() for response packets.
The documentation [1] doesn't provide any useful information how to
handle this.

[1]: https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_PROTOCOL.html

Ping-Bug: 15074
Change-Id: I77c269dd95859bc26e12c6b89cedaac9b6047d9f
Reviewed-on: https://code.wireshark.org/review/29349
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:24:50 +00:00
Stig Bjørlykke 5c36f6166c epan: Detect trailing stray characters in strings
Trailing stray characters will not show up in the packet tree item
when the string is correctly null terminated. This expert info
will indicate when this occurs, typically from wrongly implemented
protocol encoders.

This will warn about cases like:

  tvb = "foo\0bar"
  proto_tree_add_item(..., tvb, 0, 7, ...)

Change-Id: I66b9d3ba7bb3e45f1f6e492fa6916b29c9ee9ca4
Reviewed-on: https://code.wireshark.org/review/29310
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:22:09 +00:00
Stig Bjørlykke 888684e861 lwm2mtlv: Register resource subtree array
Create a unique subtree for each registered resource.

Change-Id: Ia24f640597d87fee38ba628d3ad2069c7258c7a3
Reviewed-on: https://code.wireshark.org/review/29346
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:20:49 +00:00
Gerald Combs 50b9da7bc2 Add a systemd Journal Export Format parser and dissector.
Add a file parser and dissector that can handle the output of
`journalctl -o export`. From here we can add a systemd journal extcap
and possibly support for the JSON and binary formats.

Change-Id: I01576959b2c347ce7ac9aa57cdb5c119c81d61e9
Reviewed-on: https://code.wireshark.org/review/29311
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:20:27 +00:00
João Valverde 94735eb2bc vagrant: Use debian-setup.sh
Change-Id: Idb6c9281d050e89dc8eb564fe9d35ce1d4a27d8a
Reviewed-on: https://code.wireshark.org/review/29356
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 04:10:52 +00:00
João Valverde 1d3548fb6d IPv6: Make ipv6_pinfo code less convoluted
Change-Id: I35655cad672f4f90ccad478c1fd690dc69860669
Reviewed-on: https://code.wireshark.org/review/29345
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-30 23:30:08 +00:00
Pascal Quantin 942bb3ea7c DPLAY: fix heuristic check
Regression introduced in 9c3be9d5

Bug: 15092
Change-Id: If52b1dfe05c8093d93ef6ed52cd38f3b2263e9e3
Reviewed-on: https://code.wireshark.org/review/29351
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30 15:29:59 +00:00
Anders 20c41b689b GTPv2: Add expert info for wrong length IEs
Change-Id: I1d6f5198ec7ae39d870e5d4ad4630b29d0016f21
Reviewed-on: https://code.wireshark.org/review/29350
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30 15:29:25 +00:00
Stig Bjørlykke abc1f64576 coap: Use proto_tree_add_item for strings in the packet
Change from proto_tree_add_string() to proto_tree_add_item() for strings
which is fetched from the packet.

Change-Id: Iae6538977b2ecf69f83c62b47ac02198f5f09d54
Reviewed-on: https://code.wireshark.org/review/29348
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30 12:07:59 +00:00
Jiri Novak db37b664fb RTP, ED-137: Added decoding of additional ED-137B and ED-137C headers
Changes:
- changed processing to allow multibyte headers
- added CLIMAX headers from ED-137A
  - added generated information about type of DDC message
- ED-137 branch code cleanup
- ED-137A/B variable naming cleanup
- lower/upper case filter syntax cleanup
- Added support for ED-137C headers
  - MAM
  - Test PTT

Change-Id: I9706ce5d783299d5cd1a4506dd452b45086427c6
Reviewed-on: https://code.wireshark.org/review/29129
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30 11:13:00 +00:00
Dario Lombardo 67a73b4152 gitlab-ci: update apt list files.
Change-Id: I7a9dfec200d64c327e1d12bb691a310295a8c1ff
Reviewed-on: https://code.wireshark.org/review/29316
Tested-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-08-30 07:16:01 +00:00
Peter Wu 3fea3c3709 tcp: fix OoO reassembly when the first data packet is OoO
OoO reassembly assumed that the stream starts with the first data
segment, but this can already be OoO. Use the hint from SYN instead.
The test capture is based on a local capture, post-processed with scapy
to introduce an OoO condition and fixup the frame time.

Bug: 15078
Change-Id: Id0e312bb3d0e7c7f8f1b243a2be9f15c9851c501
Fixes: v2.9.0rc0-1097-gca42331437 ("tcp: add support for reassembling out-of-order segments")
Reviewed-on: https://code.wireshark.org/review/29305
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30 04:07:01 +00:00
Jaap Keuter 28524f1abf ESP: improve IPv6 address matching
Current IPv6 address expansion function has trouble with certain
classes of addresses, returning errors for valid addresses. The
expression to determine address validity is based on an unknown
assumption, now replaced by one without false negatives.

Bug: 15056
Change-Id: Ic52f8e944f86a2b4d6838846795735df77cba56d
Signed-off-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-on: https://code.wireshark.org/review/29290
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30 04:06:36 +00:00
Paul Zander d1749f7c02 Support of ZCL enhancements
The following ZCL enhancements are supported:
OnOff cluster, attribute 0x4003 (StartupOnOff)
Level cluster, attribute 0x4000 (StartupCurrentLevel)
Color cluster, attribute 0x4010 (StartUp-ColorTemperature-Mireds)

Change-Id: I19665c8c921522e742c282b073231d1151aabe4e
Reviewed-on: https://code.wireshark.org/review/29331
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>
2018-08-30 04:03:06 +00:00
Kenneth Soerensen 81392814ef ZigBee: Correct field name in SE LocalChangeSupply
Change-Id: I6e57963cff381878de13daec5c33f80bcb39d268
Reviewed-on: https://code.wireshark.org/review/29294
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30 04:01:22 +00:00
Peter Wu b55c20a1b1 CMake: fix dmg_package target since CMake 3.12
The Resources directory was removed a while back. Since CMake 3.12, the
copy_directory command will fail when the source directory is missing.
Reported by anta_tw in the #wireshark IRC channel at Freenode.

Change-Id: I4de087dd2833e79a806c8a0c9a28024848e1e03f
Fixes: v2.1.0rc0-2347-g4aa049019a ("OS X: Remove GTK+ packaging.")
Reviewed-on: https://code.wireshark.org/review/29304
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-08-29 23:51:10 +00:00
João Valverde 267d0a3196 IPv6: Fix indentation
Change-Id: I3b7b4d2de3889902de26482fea74c4a0705a3a20
Reviewed-on: https://code.wireshark.org/review/29344
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-29 23:23:05 +00:00
João Valverde 8eddb1650d epan: Remove unnecessary all protocols registration callback
We are exporting a registration function from libwireshark just
to have it passed back as a callback. Seems unnecessary.

Change-Id: I7621005c9be11691d319102326824c5e3520a6f3
Reviewed-on: https://code.wireshark.org/review/29328
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-29 23:22:44 +00:00
João Valverde b6ba314466 IPv6: Add comment explaining frag_plen
Change-Id: Id1a7e667c1a31901422e13f632c6ccb21a48fa99
Reviewed-on: https://code.wireshark.org/review/29343
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-29 21:02:21 +00:00
Kenneth Soerensen 105b4584a2 ZigBee: Dissect remaining SE Metering cluster client commands and a few server commands
Bug: 13360
Change-Id: I5a002dd45989b8ac1a492e527e22d764cf229a1b
Reviewed-on: https://code.wireshark.org/review/29293
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-29 20:20:10 +00:00
Tomas Konecny e87f9e8eac ASTERIX: fix dissection of 021/90 Quality Indicators item
The third extension is not decoded correctly because bad description of the second extension.
Spare bits 8 and 7 were missing in I021_090_PARTS[] structure.

Bug: 15076
Change-Id: I68b644b15177016e075c87004281b76b5c6f19e2
Reviewed-on: https://code.wireshark.org/review/29335
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-29 20:17:46 +00:00
Martin Kaiser efb84bb308 ppp: disable USB heuristic subdissector by default
Disable the PPP over USB heuristic subdisector by default.

Clarify the comment about "compressed" address and control fields. Compressed
means absent in this case. Therefore, the heuristic check for PPP over USB
comes down to checking that the first byte is 0x7e. This is too weak and produces
lots of false positives.

Change-Id: Idf2fa41ac2b9e46ec982c9d0ebbea0e72ec0e21b
Reviewed-on: https://code.wireshark.org/review/29322
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-29 20:15:03 +00:00
Martin Kaiser bf025370e9 ppp: remove a variable that is always 0
Change-Id: Id398c4a89562c1d9f444f6d444b1a27c131ef3f1
Reviewed-on: https://code.wireshark.org/review/29321
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
2018-08-29 20:14:41 +00:00
Martin Kaiser fb3df8b6a8 ppp: remove some more unnecessary NULL checks
Change-Id: Icc6a798565d74fa84dae975e424762db9963c1b2
Reviewed-on: https://code.wireshark.org/review/29320
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-29 19:47:17 +00:00
João Valverde 9d9a873d9a Make AT_VINES a built-in type
Change-Id: I5c11cf4c7bee1b2b7072a6a0db5344a6b8a569ac
Reviewed-on: https://code.wireshark.org/review/29326
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-29 19:36:43 +00:00
João Valverde 389339cab2 debian: Fix library installation path.
Blind fix for bug 15084 (needs testing).

CMake GNUInstallDirs module supports Debian multiarch (all supported
CMake versions?).

Bug: 15084
Change-Id: I477bf252a3faf3dd0fd2ad648a0059bf88d2211a
Reviewed-on: https://code.wireshark.org/review/29330
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-29 13:22:52 +00:00
Martin Mathieson 8d51cf1364 NR MAC: Use static config of DRB channel settings across all UEs.
This is similar to what LTE did before RRC was doing detailed
bearer configuration.

Change-Id: Ieee735ad1269f9ce962137c97c2c18431b6a1d48
Reviewed-on: https://code.wireshark.org/review/29315
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2018-08-28 15:14:09 +00:00
Martin Mathieson 5eb9a5ff7f LTE MAC: fix range check for DRB LCIDs.
Note that set_mac_lte_channel_mapping() only sets mappings
in this range.

Change-Id: I78048ed9b15af3992d813208fbe0fd4ed76e25cd
Reviewed-on: https://code.wireshark.org/review/29314
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2018-08-28 09:23:36 +00:00
Swapnil Roy d1da5a9cd2 NAS 5GS: 5Gs TAI list IE fix
Change-Id: If225b88992d4fc31a0f50a0ab534981d42a55c99
Reviewed-on: https://code.wireshark.org/review/29308
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-27 17:25:40 +00:00
slavka fe88d79562 PFCP: Flags in UP Function Features joined into one group.
It is clearer and more consistent with other IEs.

Change-Id: I1afc8ddb0f30605cb6bc7eb12ea38ec9b2bbcb54
Reviewed-on: https://code.wireshark.org/review/29272
Reviewed-by: Joakim Karlsson <oakimk@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-27 13:05:51 +00:00
Pascal Quantin b43e7b5e6f DTLS: use col_append_sep_(f)str() functions
Change-Id: I0e9b55d79d99c63d8486a0f3d1ee24579e930772
Reviewed-on: https://code.wireshark.org/review/29300
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-27 12:19:35 +00:00
Pascal Quantin 1bf27192c9 Proxy: fix heuristic dissector
Ensure that at least 12 bytes were captured before trying to check the magic.
Otherwise it can trigger an exception and prevent other heuristic dissectors
from being called.

Change-Id: Ib90febc208a69ae4e10c5c971e7cddfa7157c8a4
Reviewed-on: https://code.wireshark.org/review/29298
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-08-27 08:46:03 +00:00
Pascal Quantin 281936a5be SSL: use col_append_sep_str() to add heartbeat to info column
Bug: 15079
Change-Id: I97e5179f1385d24b38a0537a91bc73a9eb3a241b
Reviewed-on: https://code.wireshark.org/review/29299
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-08-27 08:43:33 +00:00
Stig Bjørlykke 68e7f51d0e epan: Use UTF8 horizontal ellipsis to indicate truncation
Use UTF8_HORIZONTAL_ELLIPSIS to indicate string truncation in
bytestring_to_str() and bytes_to_str().

We also use UTF8_HORIZONTAL_ELLIPSIS in the Packet List.

Change-Id: Iaf5c2de97fa71369a8f29ac65fa81f71ed814752
Reviewed-on: https://code.wireshark.org/review/29291
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-08-27 08:07:11 +00:00
Swapnil Roy 80d22e6906 NAS 5GS: PDU session release command msg fix
Change-Id: I8bff7a77872ceae6545b4e3378f2a22db4923df5
Reviewed-on: https://code.wireshark.org/review/29275
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-27 07:46:16 +00:00
Guy Harris 0fa2b0bfa3 A timestamp has seconds and nanoseconds; you must set both.
Bug: 15075
Change-Id: Ie18c1a04adac1d42d78fa86d289c659566a81891
Reviewed-on: https://code.wireshark.org/review/29295
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-26 21:54:49 +00:00
Darien Spencer 3906a788cc AT: Add CPIN command
Change-Id: Ib92ceabf9699da0ee202a086d1a24464e552ebbd
Reviewed-on: https://code.wireshark.org/review/29279
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-26 19:14:04 +00:00
Uli Heilmeier 6242d1cfa1 MySQL: fix server status bit-mask
MySQL-Server 5.7 has introduced SERVER_SESSION_STATE_CHANGED with a
0x4000 bitmask.

This commit updates the server status bitmask field to the current
implementation as documented at
https://github.com/mysql/mysql-server/blob/8.0/include/mysql_com.h
https://dev.mysql.com/doc/dev/mysql-server/latest/mysql__com_8h.html

Furthermore response code field is now exposed.

Bug: 15074
Change-Id: If87a3c2efb82488e8f2e771f077fb7b88c702393
Reviewed-on: https://code.wireshark.org/review/29292
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-26 19:12:50 +00:00
Darien Spencer 6f0e29054c AT: Correct dissection func for +CLAC
Change-Id: I2efc1151ce27138a4360c7dba75d916ecb8dc270
Reviewed-on: https://code.wireshark.org/review/29284
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-26 19:11:31 +00:00
Gerald Combs 3ece395410 [Automatic update for 2018-08-26]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I0ca45da7320d8ffb947977f5d2a1fd5c21396871
Reviewed-on: https://code.wireshark.org/review/29286
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-08-26 08:28:51 +00:00
Craig Jackson 27ecae3548 TDS: Improve handling of SYBLONGBINARY
Use FT_UINT_BYTES to handle SYBLONGBINARY cleanly.

Change-Id: Ie88c19bb788670190113c8c1e962660162ce3780
Reviewed-on: https://code.wireshark.org/review/29273
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-26 08:10:55 +00:00
João Valverde ca339d7e7f Remove weird use of volatile qualifier
Change-Id: I47232912aea16f27ebdbd61940526dbcec5a387c
Reviewed-on: https://code.wireshark.org/review/29285
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-26 00:44:19 +00:00
João Valverde d0b97a420d CMake: Modernize config-file package support
A CMake config-file package provides support for downstreams using
CMake and Wireshark libraries to easily configure the libwireshark
dependency with:
  find_package(Wireshark CONFIG [REQUIRED])
  target_link_libraries(foo epan)

The FindWireshark.cmake file is no longer needed.

See cmake-package(7) for more details on CMake's package system.

Change-Id: Ie8af1d44417a99dd08d37959f7b2ffca88572ec2
Reviewed-on: https://code.wireshark.org/review/29208
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-25 18:07:21 +00:00
João Valverde e75905a583 CMake: Add dumpcap group option to installation
Change-Id: I2718776a908ae5f9c6c475a110f9170b812b392d
Reviewed-on: https://code.wireshark.org/review/29282
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-25 18:06:56 +00:00
João Valverde e09c9a8e46 CMake: Format for readability
Change-Id: I6c3ba0f09c9eb59abc24798930ffa5e51feb2cf1
Reviewed-on: https://code.wireshark.org/review/29281
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-25 18:01:46 +00:00
Anders ed0957dc8a GTP: Don't display next header twice.
Change-Id: I30f03e1a619bda9b0782e089b3ab2b1ca371ef24
Reviewed-on: https://code.wireshark.org/review/29280
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-25 15:13:24 +00:00
Stig Bjørlykke 9f7c7e19e9 gtp: Remove extra ';' outside of a function
Change-Id: Ibe786b608aa11909f00a9a5225be600eb7d10299
Reviewed-on: https://code.wireshark.org/review/29278
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-08-24 21:17:40 +00:00
Kevin A. Noll 7208f3a71c OAMPDU: fix dissection of DPOE TLV
When dissecting a DPOE TLV, dissector incorrectly attempts to
read a value when the value length is set to zero. This causes
the dissector to throw a malformed packet error. Added a check
for length zero and skip adding the value if length is zero.
Created an expert info output indicating that the TLV value is
zero length.

Change-Id: I313e20f6f436b9f0af3e6f82044964fe7c502485
Reviewed-on: https://code.wireshark.org/review/29270
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-24 19:48:32 +00:00