Commit Graph

74293 Commits

Author SHA1 Message Date
Swapnil Roy e774aa6044 NAS 5Gs: Updated SM cause
Change-Id: Ic09c8206fe5a35b173c16209d0bc5e10caf9c4c9
Reviewed-on: https://code.wireshark.org/review/31700
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 20:15:49 +00:00
Peter Wu d4913bd5ba SDP: fix memleak of "trace_id"
The string value is stored in the conversation, so use file-scoped
memory instead of g_strdup. Convert to union to save space.

Bug: 15440
Change-Id: Ie2dabfc67ac1db1cc8f864601b8395dcdec7caf8
Fixes: v2.9.0rc0-2719-g8bd0616621 ("SDP: Show callid from all call legs with the same RTP cpnversation.")
Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11845
Reviewed-on: https://code.wireshark.org/review/31704
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 20:15:23 +00:00
Peter Wu e8f6a90a85 SMB2: fix memleak of tids hash table
Caught by ASAN:

    Direct leak of 88 byte(s) in 1 object(s) allocated from:
        #0 0x564bccf83549 in malloc (run/tshark+0x1b0549)
        #1 0x7f8dd1d488d1 in g_malloc glib/glib/gmem.c:99:13
        #2 0x7f8dd1d29094 in g_slice_alloc glib/glib/gslice.c:1024:11
        #3 0x7f8dd1d64cde in g_hash_table_new_full glib/glib/ghash.c:717:16
        #4 0x7f8dde889de6 in smb2_get_session epan/dissectors/packet-smb2.c:1135:15
        #5 0x7f8dde89258e in dissect_smb2_session_setup_response epan/dissectors/packet-smb2.c:3356:16
        #6 0x7f8dde8867cd in dissect_smb2_command epan/dissectors/packet-smb2.c:9189:12
        #7 0x7f8dde87fb6e in dissect_smb2 epan/dissectors/packet-smb2.c:9543:27

Change-Id: I33586e8d27263a8e546efb2ee3a3054eb9a66893
Reviewed-on: https://code.wireshark.org/review/31702
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-23 18:29:21 +00:00
Peter Wu 8ce3450b24 SDP: remove unused setup_proto field to fix memleaks
Bug: 15440
Change-Id: I2a543eef23e1b006928edef353e88b0612c5cdb7
Fixes: v2.9.0rc0-2676-gd68b7bc505 ("Add sip_call_id filter to RTP stream.")
Fixes: v2.9.0rc0-2720-g228da02fda ("RTP: Restructure call id handling.")
Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11845
Reviewed-on: https://code.wireshark.org/review/31701
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 17:23:36 +00:00
Joerg Mayer ca28f41d7e Small update up LLDP sub-tlvs
Change-Id: I33ed38d4819236e2d6f6b7384650fa182233ce30
Reviewed-on: https://code.wireshark.org/review/31706
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2019-01-23 17:22:44 +00:00
Joerg Mayer 81694c8498 Update BGP capabilities list
Change-Id: I4085b4e3ed4ea587b757e64068995e155eabc543
Reviewed-on: https://code.wireshark.org/review/31705
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2019-01-23 17:20:39 +00:00
Peter Wu 064a5c90ca QUIC: correct order of Fixed bit and Packet Type in long header
Change-Id: I1ef1918ed934abdb588e2b01558597df50903830
Reviewed-on: https://code.wireshark.org/review/31694
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 16:40:40 +00:00
Peter Wu c43958cc92 QUIC: update preferred_address TP dissection (draft -18)
Draft -18 uses fixed fields to include both addresses, see
https://tools.ietf.org/html/draft-ietf-quic-transport-17#page-94
https://tools.ietf.org/html/draft-ietf-quic-transport-18#page-96

Bug: 13881
Change-Id: I267d5e6c3045996b7ab9bfc77d7cec619facff8e
Reviewed-on: https://code.wireshark.org/review/31689
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 16:40:21 +00:00
Dylan Ulis 4d8d7bca9f CIP Motion: Add more attributes
1. Add more Motion attributes
2. Pull out some copy-paste code into functions
3. Add some units to existing data

Change-Id: I82f112e2f8595eb904076ee758b2e7e034354243
Reviewed-on: https://code.wireshark.org/review/31680
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 16:40:04 +00:00
Peter Wu 1fcb321487 nettrace: fix potential buffer overflow in time parsing
sscanf can consume less than 19 characters (e.g. given time format
1-1-1T1:1:1), be sure to reject such input. Fix some dead store warning
while at it.

Change-Id: I6148599048f1e89ea7aafdbdd6450574a97b22fd
Fixes: v2.9.1rc0-372-gd38f6025b0 ("nettrace: Handle beginTime with fractions of seconds.")
Reviewed-on: https://code.wireshark.org/review/31699
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 16:38:46 +00:00
Peter Wu ccf37e3905 CMake: fix failure to locate zlib (and possibly libssh)
Include directories are no longer globally included, be explicit with
the required include directories or else function checks will fail.

Change-Id: I72d88f94854fcfe6529554f84e49d1dba696e9df
Fixes: v2.9.1rc0-436-ga3991874eb ("CMake: Replace PACKAGELIST magic")
Reviewed-on: https://code.wireshark.org/review/31693
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-23 15:43:38 +00:00
Alexis La Goutte 9681df7983 mpls: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I300792018de00d8a923b4fc0a4c364f282647bd4
Reviewed-on: https://code.wireshark.org/review/31695
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Uli Heilmeier <openid@heilmeier.eu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-23 15:24:38 +00:00
Joakim Karlsson c8dc4b691b gprscdr: Display CSGId as unsigned int
TS 32.298 reference TS 29.274 for decoding of CSGId,
which describes the CSGId as a unsigned int.

Change-Id: I79e7ae2ac2e997ba64e10a7351a04b421da1fc86
Reviewed-on: https://code.wireshark.org/review/31692
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 15:03:10 +00:00
Pascal Quantin 32c54ef846 Windows: upgrade Npcap to 0.99-r9
Change-Id: Ie2b90a448415d7b8637aac03cee07fa9e5ab217f
Reviewed-on: https://code.wireshark.org/review/31691
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>
2019-01-23 14:46:38 +00:00
zhongweisitu 57fd0a3be2 Add support for two more metadata fields in the tzsp header
Change-Id: I7a186a5763c74fb79a14eb5c0a5ca9a91a7934bd
Reviewed-on: https://code.wireshark.org/review/31562
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 14:15:27 +00:00
Paul Zander f3e27b8a3e Show manufacturer specific cluster
When the ZCL cluster id is in the range 0xFC00 .. 0xFFFF the cluster is a manufacturer specific cluster.
The information shown was 'Unknown' and should be 'Manufacturer Specific'.

Change-Id: Id3ae90aea65c6049c38df2029871fdcfc41ce565
Reviewed-on: https://code.wireshark.org/review/31668
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 14:15:13 +00:00
Peter Wu f535a6318b QUIC: update ACK Frame fields and merge ECN fields (draft -18)
Rename ACK Block to ACK Range, merge the ACK(0x03) frame with the
ACK(0x02) frame by special casing the ECN Blocks addition. Update field
names and descriptions to match the current spec.

Bug: 13881
Change-Id: I9fb9d1f19d82bbd8323396627b773fd548a12a4c
Reviewed-on: https://code.wireshark.org/review/31688
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 12:42:15 +00:00
Peter Wu efe16e4cf1 QUIC: rename Final Offset to Final Size (draft -18)
Bug: 13881
Change-Id: Ic06af8de2a0df2cf16bc05b14fca017f61341ac5
Reviewed-on: https://code.wireshark.org/review/31687
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 12:37:11 +00:00
Peter Wu 2b87d0156b QUIC: add draft -18 version number (draft -18)
Bug: 13881
Change-Id: I17c58e8eb5224a1df022bd66eea9c439a9462597
Reviewed-on: https://code.wireshark.org/review/31686
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 12:36:36 +00:00
Peter Wu d486593ce3 QUIC: rename 0-RTT Protected to 0-RTT (draft -18)
Bug: 13881
Change-Id: I1ea274ffa7b741bec6c8b1d42b90daf05c6016ed
Reviewed-on: https://code.wireshark.org/review/31685
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 12:36:17 +00:00
Dario Lombardo 1e1c761842 print: fix memleak in ek output.
Memleak found & fixed by Shinya Sasaki.

Bug: 15406
Change-Id: I2d982a7876c1cd595cabe18ee0dc00db576a5837
Reviewed-on: https://code.wireshark.org/review/31669
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-01-23 10:14:13 +00:00
Dario Lombardo 8ab0932aa1 stats_tree: use the right modifier for int values.
Ping-Bug: 15416
Change-Id: I24593bdc9f2399085926724176b1a0a8197d7e1a
Reviewed-on: https://code.wireshark.org/review/31662
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 08:01:35 +00:00
Andrii Vladyka 5ec0c98bf9 docsis: Not only REG-REQ-MP MMM can be encrypted
Change-Id: I93e90cf409f0d4463e272d9a7f75975df34d51b0
Reviewed-on: https://code.wireshark.org/review/31663
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 08:01:21 +00:00
Christopher Farman 2352fe66e8 Update couchbase set/del_with_meta option flags
Update the flag descriptors for options inside a set_with_meta and
del_with_meta message, whilst also adding a new flag, IS_EXPIRATION,
for only del_with_meta.

Change-Id: I2f97c5aecb618e90783a39ce026ae0feba110dfd
Reviewed-on: https://code.wireshark.org/review/31675
Reviewed-by: Jim Walker <jim@couchbase.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 08:01:03 +00:00
Pascal Quantin dbb8f54cd4 ULP: upgrade dissector to OMA-TS-ULP-V2_0_4-20181213-A
Change-Id: I03e907be07d8d1117d5c7e86d2d3ac19e83d8034
Reviewed-on: https://code.wireshark.org/review/31679
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-23 06:01:25 +00:00
Pascal Quantin b78831a1a5 ILP: upgrade dissector to OMA-TS-ILP-V2_0_4-20181213-A
Change-Id: Iac1cdff29085517208ef2f94d367f05233f1f3a4
Reviewed-on: https://code.wireshark.org/review/31678
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2019-01-22 22:01:37 +00:00
Alexis La Goutte 75690ce5f7 mint: fix conflict on value_string
Field 'Src port' (mint.header.srcport) has a conflicting entry in its value_string: 133 is at indices 63 (trouble/dgram) and 64 (trouble/stream)

Change-Id: Ic0033e2fad7cc8338aafec6f4a32df0fbe4c3d9d
Reviewed-on: https://code.wireshark.org/review/31630
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-22 19:01:54 +00:00
Aurelien Aptel 3eb94b0e4f smb2: implement generation of SMB3.1.1 decryption keys
* implement preauth hashing

keep hash state in conversation object

- preauth_hash_con for connection hash state
- preauth_hash_ses for session preauth hash state
- preauth_hash_current points to either one of the above depending
  on where we are in the connection state
- store final session preauth hash in session object

store per-packet hash in the saved packet data
object (smb2_saved_info_t) and display it as generated field.

since request and responses share the same pointer, make a hash buffer
for each (preauth_hash_req, preauth_hash_res).

* implement 3.1.1 key derivation

use session preauth hash to generate the keys

* sample

Sample from https://wiki.wireshark.org/SampleCaptures#SMB3.1.1_encryption
can be loaded as follows:

    tshark -ouat:smb2_seskey_list:690000ac1c280000,b25a135fc3dc14269f20d7cbc8716b6b -r smb311-aes-128-ccm-filt.pcap

To obtain the session id and key you can compile your kernel with
CIFS_DEBUG_KEYS enabled and all the info should be printed on the
console when cifs.ko generates keys. The patch that adds this
config option merged in Linux 4.13 kernel.

Change-Id: Iee41ef9e2dd93795a0c7953fdd1f5256fe477dd2
Reviewed-on: https://code.wireshark.org/review/31659
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-22 18:57:27 +00:00
Peter Wu 0751504db7 test: enable GUI tests on Linux, headless
This will enable four tests in case_wireshark_capture on Linux, two of
them require --capture-interface to be specified.

To enable headless mode, QT_QPA_PLATFORM=minimal is set. Unfortunately
this option causes a null pointer dereference crash on macOS and it also
fails on Windows (cause not investigated). So limit it to Linux for now.

Change-Id: Id05364571b2c9da38434e611d92642a1177700df
Reviewed-on: https://code.wireshark.org/review/31664
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-22 17:45:58 +00:00
Swapnil Roy d90eab1240 NAS 5Gs: Updated MM cause, MM capability, request type
Change-Id: If77c77b859c70a19bf69ae12f5ab883451dd55cf
Reviewed-on: https://code.wireshark.org/review/31674
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-22 17:17:22 +00:00
Anders Broman c803e820cc NAS-5GS: Update IE's to v15.2.1.
Change-Id: Idcad163dbe4e1042a22ebc4d86152e353d59dedb
Reviewed-on: https://code.wireshark.org/review/31676
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-22 16:55:46 +00:00
Aurelien Aptel fa2623dd4a smb2: factor out session lookup&create
* factor out duplicated code to lookup and create sessions
* we now create (potentially dummy) session object all the time, no
  need for null checks.
* stash session key in session object in preparation of SMB3.1.1
  decryption

Change-Id: I5499c6363abc1356fd35f22b1b8bc363dd5ec347
Reviewed-on: https://code.wireshark.org/review/31658
Reviewed-by: ronnie sahlberg <ronniesahlberg@gmail.com>
2019-01-22 16:26:15 +00:00
Dario Lombardo d70bc0c40e extcap: remove dependencies from ui.
ui is required by randpkt_core, move it to its deps.

Bug: 15401
Change-Id: Ia8cfaddd220a22c1cf03ec6bf8f83f068f8d94ba
Reviewed-on: https://code.wireshark.org/review/31670
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-01-22 15:38:10 +00:00
Aurelien Aptel 7898405797 smb2: correct small typos
Change-Id: I140040e3bdac8b15880d8fb1b6ee8857bde6b2ce
Reviewed-on: https://code.wireshark.org/review/31671
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2019-01-22 14:45:28 +00:00
Gerald Combs 6fc342234c TLS: Fix an allocator mismatch.
secrets_rsa_decrypt returns GLib-allocated memory. Free it using g_free.

Change-Id: Icf0a3a1fc53c112511f9e7024714b6596569e737
Reviewed-on: https://code.wireshark.org/review/31665
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-22 10:04:17 +00:00
Anders Broman dcaa429a34 NGAP: Handle vnd.3gpp.ngap content-type (TS 39.502)
Change-Id: I35044ede286a2013ad04dc817892f9ff788da6a5
Reviewed-on: https://code.wireshark.org/review/31661
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-22 09:31:36 +00:00
Aurelien Aptel c2eef8f888 smb2: stash dialect in conversation stuct
in preparation for SMB3.1.1 decryption we need to know the dialect
when generating the keys.

Change-Id: I68a75bfe6f85b1941a201f8f261de16dbba3dc37
Reviewed-on: https://code.wireshark.org/review/31657
Reviewed-by: ronnie sahlberg <ronniesahlberg@gmail.com>
2019-01-22 08:40:57 +00:00
Aurelien Aptel 07ebe8325f smb2: factor out generated session info
factor out duplicated code in decrypted and plain packet to display
generated session informations.

Change-Id: Id6d1d862da753cb5dc4111ec61d1c55c6f6fd760
Reviewed-on: https://code.wireshark.org/review/31656
Reviewed-by: ronnie sahlberg <ronniesahlberg@gmail.com>
2019-01-22 08:40:29 +00:00
Guy Harris d3eb10c2c1 Fix error checking for --inject-secrets argument.
If there was no secrets type specified, say so.  Otherwise, if the
secrets type wasn't valid, report the correct string as the invalid
secrets type.

Change-Id: I3cd7d419ce3577fc176a256069456c5b49e81608
Reviewed-on: https://code.wireshark.org/review/31667
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-01-22 05:26:19 +00:00
Peter Wu 079fbb8b82 editcap: document --inject-secrets in --help
Change-Id: Icc027f3c53e1da580c2e49042134b1075ad65cf2
Reviewed-on: https://code.wireshark.org/review/31666
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-01-22 04:58:53 +00:00
Stig Bjørlykke a468623720 Qt: Include current word in filter completion list
Include the current word in the filter completion list to give the
user a more complete picture of what constitutes a valid single-token
protocol name.

Bug: 15431
Change-Id: I77cfc78f19623d9aefd4441a67ed3ae72068034e
Reviewed-on: https://code.wireshark.org/review/31654
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-22 04:27:06 +00:00
Aurelien Aptel 6513ded460 smb2: replace magic value by macro
Change-Id: I61326264f6b94b02fa2fcce21c934e41de7b1625
Reviewed-on: https://code.wireshark.org/review/31655
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-22 04:26:05 +00:00
João Valverde 4f46a2af88 CMake: Set a direct rpath for libraries
Instead of using "$ORIGIN/../lib" just use "$ORIGIN".

Also be explicit in configuring the relative RPATH. We don't want
to assume a default relative path, in case more targets are addded,
out of caution.

Change-Id: I3b7f5e8de7be8bb30aca3b433212113d876c4163
Reviewed-on: https://code.wireshark.org/review/31647
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-22 00:55:40 +00:00
Jaap Keuter 020c90fd36 Text Import: update code comments and help texts
From the updates to text2pcap take the updates to the code comments and
apply them here as well. This also applies to the User Guide help texts.

Change-Id: I4e73fb1372ea0c1866c6d0fee7c14bc645fbe1b1
Signed-off-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-on: https://code.wireshark.org/review/31636
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-21 21:03:49 +00:00
Anders Broman f98f8bd0f5 nas5gs: Update to v 15.2
Change-Id: I485d6f331461fdfffb87140dbf80100a525e35eb
Reviewed-on: https://code.wireshark.org/review/31652
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-21 18:12:09 +00:00
Peter Wu 0971d20452 test: fail tests when programs are missing
Building only a subset of programs is not a very common situation, it is
more likely that some feature was accidentally disabled. For that
reason, fail tests by default unless a program is explicitly permitted
to be missing.

The '-v' test is now dropped from the Travis tests, the sole reason of
adding it was to see which tests got (accidentally) skipped.

Change-Id: I725f4508541d8ed980e17d69fb7aee1ad2875d73
Reviewed-on: https://code.wireshark.org/review/31660
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-21 16:46:17 +00:00
Joakim Karlsson 70d9bfbf33 QUIC: fix build error without LIBGCRYPT_AEAD
Change-Id: I37a0cd4bb6ee419873ab05a131279c36c68a8c13
Reviewed-on: https://code.wireshark.org/review/31653
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-21 16:14:25 +00:00
Anders Broman b585a50aeb NGAP: Handle id-NASC NAS-PDU
Treat all other ids as NAS5GS-PDU

Change-Id: Id821a9eecbe7437ba7dcd215cc94d93af70426d4
Reviewed-on: https://code.wireshark.org/review/31649
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Joakim Karlsson <oakimk@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2019-01-21 14:45:09 +00:00
Peter Wu bdba8e3829 release-notes: add developer/distribution-specific updates
Mention some changes to aid developers and distributors.

Change-Id: Ifd33796fd3b4883275c034021d25ae9b35eef1a5
Reviewed-on: https://code.wireshark.org/review/31651
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-21 14:16:58 +00:00
Peter Wu 6a7865e969 CMake: strip directory prefixes from __FILE__ macros
Depending on the build location, the full source and/or build directory
is currently visible in error messages (for example, DISSECTOR_ASSERT).
Remove these to help with reproducible builds and have shorter messages.

A similar option (-fdebug-prefix-map) is also needed, but it affects
external debugging tools and is therefore better left to distributors
(Debian and Arch Linux do this for example).

Bug: 15163
Change-Id: Icd8559bef2035f295aefbfc57ba6a342bfe76a41
Reviewed-on: https://code.wireshark.org/review/31645
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-21 13:29:41 +00:00