Commit Graph

77429 Commits

Author SHA1 Message Date
Pascal Quantin 2ba42a047e CMake: fix detection of Lua development package
See https://www.wireshark.org/lists/wireshark-dev/202003/msg00054.html

Change-Id: I10a854a4dcd5320fce8ca3e6ff5722225c56c5d9
Reviewed-on: https://code.wireshark.org/review/36494
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-19 08:50:29 +00:00
Stefan Metzmacher e59c89b58f packet-kerberos: split out a decrypt_krb5_data_asn1() helper function
If decrypt_krb5_data_private() is available we use it directly in order
to pass down kerberos_private_data_t.

Change-Id: I864d3e7d9adda454c96384d7b146ec774cd05d5f
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36491
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-19 07:57:44 +00:00
Stefan Metzmacher 1579ad0d24 packet-kerberos: split out a decrypt_krb5_data_private() function
This allows passing 'kerberos_private_data_t' down to
used_encryption_key(). This will be used in order
to implement Kerberos FAST decryption.

For now we'll pass a zeroed kerberos_private_data_t,
but in future code can use decrypt_krb5_data_private()
directly and pass in the result of
kerberos_get_private_data(actx).

Change-Id: Iffdd3c3168eca3ed90cfa0a924248df9fac98a0c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36490
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-19 07:34:08 +00:00
Peter Wu 1716352f6f travis: remove redundant jobs, update to xcode11.3
* Remove amd64+gcc-8 NOPCAP in favor of the faster clang NOPCAP. GitLab
  CI builds showed that both builds would catch the same issues.
* Remove NOPCAP macOS, it is very uncommon so do not waste cycles on it.
* Remove amd64+gcc-8 as amd64+gcc-9 covers the same plus more.
* Remove unnecessary PPA, gcc-8 is included with bionic by default.
* Remove Xcode10.3 build to save resources.
* Update Xcode11.2 to the latest Xcode11.3, no compiler changes.

Change-Id: Iddaa20b865fe16380844f266fc68d394f979a14c
Reviewed-on: https://code.wireshark.org/review/36478
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-18 22:39:57 +00:00
Stefan Metzmacher ef8f915c9d packet-kerberos: rename some generated fields to avoid name conflicts
The following changes would otherwise create conflicts.

Change-Id: I80bf9270aa1bdc1b92602ef68c9bfbf2b2b7ee37
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36471
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 20:53:05 +00:00
Stefan Metzmacher 68087ab776 packet-kerberos: dissect PA_REQ_ENC_PA_REP
Change-Id: Ib0adf5a74e0872c6fc84dbd1dae27d0622f797ef
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36470
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 19:43:50 +00:00
Stefan Metzmacher 55c068bd0b packet-kerberos: dissect new RFC6113 errors messages
Change-Id: I2b95bc257762cc8734386171da1bf574220c4530
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36469
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 19:21:35 +00:00
Stefan Metzmacher 17dcfb213a packet-kerberos: remove unused line '#EncryptedData/etype encryptedData_etype'
Change-Id: I544e22bfd7977021bd40b88df8bd549201f97a36
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36468
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 19:21:05 +00:00
Stefan Metzmacher 8f00b7011f packet-kerberos: dissect names of new PAC_* types
For now we don't dissect the details, but it's already useful,
if they are not unknown elements.

Change-Id: I38b521262b688ba0afbbb9c58b99c3b50dbd2b24
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36467
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 18:30:37 +00:00
Stefan Metzmacher fa7584898d packet-kerberos: Encrypted{AuthorizationData,Authenticator} are not the same
We need to dissect them differently...

Change-Id: Idb6d65800b1787b9cb6fca2630373547b9b7b1bc
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36466
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 18:30:12 +00:00
Stefan Metzmacher 95d0ab1e01 packet-kerberos: we only need PA-PAC-REQUEST once
Change-Id: I6c3d3810456d30877802fbd5d8d8ee64df2417f7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36465
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 18:29:46 +00:00
Stefan Metzmacher 5e1aa48d56 packet-kerberos: decrypt PAC_CREDENTIAL_INFO from [MS-PAC]
In future we could further dissect the details, but seeing
the decrypted bytes is already very useful.

Change-Id: Id03664513e66b089e2815140a061ec90b9a49232
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36464
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 15:32:09 +00:00
Stefan Metzmacher f2dfcebd09 packet-kerberos: dissect AD_GSS_API_ETYPE_NEGOTIATION
Change-Id: Ic4f0e92847151c467f7cc5fca3495e51586d8fd8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36463
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 15:31:38 +00:00
Stefan Metzmacher 3bf7bfb69e packet-kerberos: dissect AD_TARGET_PRINCIPAL from [MS-KILE]
This is not yet within [MS-KILE], but I'll dochelp@microsoft.com
to document this in the next version.

Change-Id: Ie7017fe31125edc0315653c13831373ac3e67be8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36462
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 15:31:14 +00:00
Joakim Karlsson 60378b1071 NAS-5GS: PDU session reactivation result error cause wrong PDU type
Change-Id: I14552a44ef5d7dc4557d7a7ea4624c6f5299f5fa
Reviewed-on: https://code.wireshark.org/review/36488
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 15:30:54 +00:00
Stefan Metzmacher b7c11bfaa4 packet-kerberos: dissect AD_AP_OPTIONS from [MS-KILE]
Change-Id: Ic0c69dab9db66c967741a82cb25d2c9fe19137ce
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36461
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 13:47:48 +00:00
Stefan Metzmacher 11acf0d40c packet-kerberos: dissect KERB-AD-RESTRICTION-ENTRY from [MS-KILE]
Change-Id: Ib5b000927343e091ada10caf786d7af5277455b6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36460
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 13:00:20 +00:00
Stefan Metzmacher 7a6aa7bb99 packet-kerberos: dissect PA_SUPPORTED_ENCTYPES from [MS-KILE]
Change-Id: I20e09b33ef7a15dd5f5faa4e224de459f0040309
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36459
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 12:59:16 +00:00
JimSchaettle 04d2d01d98 Added RDMnet protocol
Transmit RDM packet over Ethernet using ACN protocol.
http://rdmprotocol.org/rdm/rdmnet/

Change-Id: I5bc1819e05b0d7a3c207b57cf2d86dc08aa9d1c3
Reviewed-on: https://code.wireshark.org/review/36194
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 11:15:54 +00:00
Stefan Metzmacher 3d8cf862cc packet-kerberos: dissect PA_ENC_TIMESTAMP messages
Change-Id: I4a2ec6793f6a85f46455bcbfdbcca746d00ad883
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36458
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 10:52:30 +00:00
Stefan Metzmacher 7eb872d627 packet-kerberos: add more AUTHDATA-TYPE values and generate AUTHDATA_TYPE_vals
The new AUTHDATA-TYPE values are from RFC6113 and MS-KILE.

Change-Id: I269e498f6d0e7f707b5c45fab848114b2d57df03
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36457
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 10:51:56 +00:00
Stefan Metzmacher 62039fd1c4 packet-{kerberos,pkinit}: Add support for Windows based PKINIT
Change-Id: I472884ed84f7d630aede5a2bb65e87c5ad1e76a4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36456
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 10:50:59 +00:00
Stefan Metzmacher bc5a7061a2 packet-kerberos: more PADATA-TYPE values/generate kerberos_PADATA_TYPE_vals
The new PADATA-TYPE values taken from rfc6113.txt

Change-Id: I42e50996c5694c34fc4714189b2e004bbbd501cf
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36453
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 10:49:10 +00:00
Stefan Metzmacher b970a6bf51 packet-kerberos: always remember the toplevel msg_type in MESSAGE-TYPE
This will be useful in the following commits.
In the end there will be some recursion when dissecting FAST messages
and we'll need to know if the toplevel message.

Change-Id: I20f7ea81a8328c422785a44e3647ae2f749b89cc
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36455
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 07:52:36 +00:00
Stefan Metzmacher 85147a17d1 packet-kerberos: avoid using actx->private_data for two different things
Let's always use kerberos_private_data_t and give it a pointer
to the optional callbacks.

Change-Id: I521bc62b98a5294ae7c307a47b64d2bd117a810e
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36473
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-18 07:49:57 +00:00
Guy Harris c38f97aa22 Add support for more monitor opcodes.
Support more of what current Linux kernels generate.  We don't yet
dissect control event payloads.

While we're at it:

Opcodes are defined in the kernel source in decimal; define and show
them as decimal.

Use #defines for a bunch of enumerated values, such as opcodes

Show the opcode's numerical value in the Info column if it's not one we
know about.

Change-Id: I915981a46d1a4a544a5e036e69d9a9de8cb8cb30
Reviewed-on: https://code.wireshark.org/review/36487
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-18 06:56:22 +00:00
Jason Cohen ac82fd6353 f5ethtrailer: Add support for version 4 of low noise trailer
Change-Id: Ibdcfdd675f5c1e86b15f36f9a6c28b73e13c1616
Reviewed-on: https://code.wireshark.org/review/36480
Reviewed-by: Jason Cohen <kryojenik2@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-17 12:09:51 +00:00
Dylan Ulis ae2e83f2d8 CIP Safety: Change MacID to NodeID
This matches the wording in the Spec.

Change-Id: I566da78e88ff5aaa832c657dd74b5c590ee6b4aa
Reviewed-on: https://code.wireshark.org/review/36479
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-17 10:19:30 +00:00
Dario Lombardo fbca66fc8d rtcp: extend mantissa and bitrate to 64 bit.
This is required to allow the maximum valid exponent (63) to
be used.

Bug: 16445
Change-Id: I1473cebbe74a59785f03a882e3bc1af4b881d444
Reviewed-on: https://code.wireshark.org/review/36451
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-17 10:19:10 +00:00
Moshe Kaplan 4a8da5fbde wslua: Fix crash on TvbRange:__tostring for a zero-length TVB
Fields such as 'frame.time_delta' have no byte selection, they are added
with offset 0 and length 0, and evidently 'ws_tvb' is NULL. As
tvb_bytes_to_str expects a non-NULL tvb, explicitly check for this and
add a dummy placeholder. This is intended to be a human-readable string,
so prefer `<EMPTY>` over an empty string.

Change-Id: I32efe4cbefc6bcf0fa9fb94fcf25d7bf1628f3a7
Reviewed-on: https://code.wireshark.org/review/36440
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-16 22:42:03 +00:00
Peter Wu 2b50d124ec tools: do not install doxygen
Most people will never generate API documentation by running the
'wsar_html' target and will not notice any feature degradation.

On Ubuntu 18.04, doxygen depends on libclang1-6.0 (and indirectly
libllvm6.0), 108M can be saved by not installing these.

Change-Id: I51b58f4106696b5475c48afcdaed256f9a97cc81
Reviewed-on: https://code.wireshark.org/review/36416
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-16 21:55:32 +00:00
Stefan Metzmacher 5cb8343fb9 packet-dcerpc-netlogon: dissect and verify NETWORK_LOGON messages
We try to dissect the NTLMv2 blob and
verify the nthash against our keytab.

Change-Id: Ia33e91bcd89f72e7468f61756f0eafe9df92356d
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36406
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-16 10:37:39 +00:00
Stefan Metzmacher c67b8c4f29 packet-dcerpc-netlogon: remove unused '#ifdef HAVE_KERBEROS'
get_md4pass_list() is always available, it just returns 0
if HAVE_KERBEROS is not available.

Change-Id: I7fd8613b48c5b02f8693fa6ee15f5f38ed10643e
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/36447
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2020-03-16 08:30:34 +00:00
Guy Harris 8e76178fcd Fix reporting of interface-list-fetching errors.
If the attempt to fetch the list of local interfaces failed, the model
will be empty, so "model is empty" doesn't imply "no interfaces found".
First, check whether there was an error, and report the error string;
otherwise, if the list is empty, report "No interfaces found." (and fix
the capitalization while we're at it) and, otherwise, return an empty
string.

Also, if pcap support wasn't configured in at compile time, skip all
that, and just return a string indicating that.

Change-Id: I498226888272e1bdede2355cc902f8a74b0cce72
Reviewed-on: https://code.wireshark.org/review/36446
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-16 06:51:50 +00:00
Tomasz Moń eb7774e4c1 Qt: Improve tcptrace graph drag responsiveness
Subclass QCPErrorBars with implementation that never accepts clicks.
This prevents a lot of square root computations in QCustomPlot
mousePressEvent handle and results in usable tcptrace graph.

An alternative solution to the poor performance problem could be using
QCP::srmCustom SelectionRectMode. I don't know how to implement graph
drag with QCP::srmCustom, and thus I went with simple subclass approach.

Bug: 16281
Change-Id: Id4178e59bdbd2222db4669d0635ff741ebde839f
Reviewed-on: https://code.wireshark.org/review/36413
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-16 05:05:48 +00:00
Dario Lombardo d87bce7c4f capture-wpcap: gracefully exit when has_wpcap is false.
Fix rawshark crash.

Bug: 16442
Change-Id: Id65f160d86a4ab204eedd1369e3ed9fa36f9c9e0
Reviewed-on: https://code.wireshark.org/review/36445
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-15 23:27:29 +00:00
Guy Harris 5b4af5b65b Remove unwanted newline.
The error message is included in parentheses as part of a larger error
message, so you don't want a newline at the end.

Change-Id: Iabff74941972504770c45b94b124e25d124b512c
Reviewed-on: https://code.wireshark.org/review/36441
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-15 21:06:16 +00:00
Filipe Laíns c14a887b2e USB HID: add missing usage pages
- Haptics
- Eye and Head Tracker
- Sensor
- Brailie Display
- Lighting and Illumination
- Gaming Device
- FIDO Alliance

Change-Id: I1e90bd8544b8327f376143226c7a1ea427c01277
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Reviewed-on: https://code.wireshark.org/review/36410
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-03-15 19:23:32 +00:00
Balint Reczey b5593553d4 debian: Ship codecs libraries in libwireshark0
Bug: 16430
Change-Id: I2f9b07be780d39c75898bba06fa6fb66b9895c88
Signed-off-by: Balint Reczey <balint.reczey@canonical.com>
Reviewed-on: https://code.wireshark.org/review/36433
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Petri-Dish: Balint Reczey <balint@balintreczey.hu>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-15 16:55:31 +00:00
Guy Harris 6bd6b1df78 More modeline fixes to put HT tab stops every 8 characters.
Change-Id: If3ea65f24e33b89784b3d9a1e7009d09728d4f7a
Reviewed-on: https://code.wireshark.org/review/36437
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-15 16:14:49 +00:00
Gerald Combs d77a8669df WSUG: Update the Service Response Time section.
Update the Service Response Time section of the User's Guide. The sample
captures page had a nice SMB2 capture file, so use that for the example.

Use title case for "Diameter" to match the RFCs.

Change-Id: Icff510dbe2d77db9cd42548ad58439d17282e851
Reviewed-on: https://code.wireshark.org/review/36421
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-15 16:12:57 +00:00
Mikael Kanstrup 16c315ca32 dot11decrypt: Let libgcrypt handle AES unwrap
From version 1.5.0 of libgcrypt there's support for AES unwrap. Use the
libcrypt function when available.

While at it also make AES_unwrap a static function of dot11decrypt.c

Change-Id: I4f69a766df3ea19ce25122e8d2fd1086f440995b
Reviewed-on: https://code.wireshark.org/review/36431
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-15 14:55:01 +00:00
Tomasz Moń 1d20a875e4 Qt: Fix bug causing hidden columns to be displayed
Set capture file for model and header before columnsChanged() is called
to prevent skipping model reset in PacketListModel::resetColumns() due
to cap_file_ being NULL.

Do not strech last section in packet list header. This prevents
QHeaderViewPrivate::resizeSections() from messing up the column sizes
via resize events. For some reason (unknown to me) underlying
QHeaderView implementation has different idea about the number of
visible columns than our code.

Ping-Bug: 16063
Change-Id: I482c1080adb418b7922ee99d357d4962dc086026
Reviewed-on: https://code.wireshark.org/review/36120
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-03-15 12:07:06 +00:00
Guy Harris 0039505dd1 Tab stops are always always always always always every 8 spaces.
That is the rule of UN*X, engraved on stone by Ken and Dennis, and
there's plenty of software used to display and edit Wireshark source
that hardwires the tab stops there.(including Boring Old cat And more).

Pick any indent you want, but do *not* put tab stops every 4 spaces,
even if putting them every 8 spaces requires you to hit your IDE over
the head to accept that.

Change-Id: I58f7c459ce2d72096f67e650afe74f2637f38649
Reviewed-on: https://code.wireshark.org/review/36434
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-15 11:31:24 +00:00
Guy Harris 0f0e486b91 Put common code into get_interface_list_findalldevs_ex().
Remove duplication of code.

Change-Id: I7cd1bd73ee9eda962a37468cadb72de291f1ec6a
Reviewed-on: https://code.wireshark.org/review/36432
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-15 10:13:39 +00:00
Filipe Laíns c939ef8246 USB HID: update modelines to match the current code style
Change-Id: Id106b1cc94038879a17970b5e9722f04bfb35df2
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Reviewed-on: https://code.wireshark.org/review/36423
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-03-15 09:53:53 +00:00
Guy Harris 8cac5c0a3a Check for "is wpcap.dll loaded"? when getting the remote interface list.
That check is required for remote capture just as it's required for
local capture.

Change-Id: I9341ef4aeeef706db9728c8abb8531bec8306bdc
Reviewed-on: https://code.wireshark.org/review/36430
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-03-15 09:41:49 +00:00
Gerald Combs ee39cd988f [Automatic update for 2020-03-15]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: Ib60abbe864e82b50de408d4b89236f022cae6ffc
Reviewed-on: https://code.wireshark.org/review/36426
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-03-15 08:17:19 +00:00
Filipe Laíns b4da2c09d2 USB HID: fix incorrect format string when annotating top level rdesc items
Change-Id: Iaac5f85e75e93278e2c485bd2e52756ac23f6e9a
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Reviewed-on: https://code.wireshark.org/review/36390
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-03-15 07:30:03 +00:00
Tony Ciavarella 9567bf0595 packet-dis: fix dissection of Entity State Update PDUs
The dissector for Distributed Interactive Simulation reports malformed packets
for Entity State Update PDUs because the offset for the Number of Variable
Records field is off-by-one.  The Padding field dissection is also off-by-one.

This change fixes the problem by not incrementing the offset returned by the
parseField_Entity function which is already past the Entity ID field.  The
offset must be incremented after dissecting the Number of Variable Records
field to get to the start of the Entity Linear Velocity.

Change-Id: I942123be7a1d4e4e4fc587f757cb030a3daf8ef2
Reviewed-on: https://code.wireshark.org/review/36420
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-03-15 06:08:54 +00:00