Commit Graph

72522 Commits

Author SHA1 Message Date
João Valverde bb25d64a2a IP: Use pinfo for session IP addresses
The pinfo structure is sufficent for providing the src/dst address.
The pinfo address data is strictly the same as the tap data, even for
IP over IP.

Besides the trivial code simplification we prioritize the use of pinfo
over a tap, for increased type-safety and on the presumption of having
a more stable implementation (in the mutability sense).

Change-Id: Idcfc8c762f9af934e4612522b7472b35a01042ca
Reviewed-on: https://code.wireshark.org/review/29238
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-22 05:01:43 +00:00
Gerald Combs ca355b8905 WSDG: Miscellaneous fixups.
Change occurrences of GIT to Git. Fix a couple of URLs. Other changes.

Change-Id: I9eb69ee16f692c2bf71b62e7a2db4b762d9ab4bf
Reviewed-on: https://code.wireshark.org/review/29237
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-22 04:07:40 +00:00
Stig Bjørlykke a6a915abcc Qt: Enable "Resolve Names" for boolean without TFS
Boolean field types will default to tfs_true_false if not having
a TFS set, so this should always be enabled for resolve.

Remove FT_FRAMENUM from this check because they will probably never
have a TFS or VALS setting.

Change-Id: I6295f8b7c9db7295eab1750e9c2cf0ee7382d43d
Reviewed-on: https://code.wireshark.org/review/29218
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-22 03:58:16 +00:00
Anders c57a52f68c UAT: HEX Values should be allowed the full uint32 range e.g allow 0xffffffff
Change-Id: I13ec13646271bd9de543d02de5c7cbc0d6d02019
Reviewed-on: https://code.wireshark.org/review/29219
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-22 03:57:55 +00:00
João Valverde 7d76d0ce28 Revert "CMake: Clean up plugin dirs"
Broke system (global) binary plugin path.

This reverts commit 450ff674a6.

Change-Id: I5353d2f3acf4450aed243040ef71425a71542a08
Reviewed-on: https://code.wireshark.org/review/29240
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-22 00:49:16 +00:00
Gerald Combs 60e87794c4 WSUG: Update the main and filter toolbar sections.
Update the images and text to match the current main and display filter
toolbars.

Change-Id: I4d23a3ece35c3b9186b4fff170f6c391f4d157c9
Reviewed-on: https://code.wireshark.org/review/29234
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-08-21 23:13:11 +00:00
João Valverde 6b9beb6ca1 Fix comment.
Change-Id: Ib41b9a84333a3d3d34ae9c0797dbae10141f9e53
Reviewed-on: https://code.wireshark.org/review/29235
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-21 23:11:04 +00:00
João Valverde 450ff674a6 CMake: Clean up plugin dirs
Change-Id: Ie41366205db19b8a9714ad5259c3f958e1e9ee95
Reviewed-on: https://code.wireshark.org/review/29233
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-21 23:06:38 +00:00
Gerald Combs 2e7cae3fd4 WSUG: Fixup the "Internals" section.
The Internals menu items were moved under the View menu a while back.
Fix an internals dialog title.

Change-Id: I78d61bf4f52bf9eb86cf7ff59fc036b9f7e846f5
Reviewed-on: https://code.wireshark.org/review/29228
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-08-21 22:57:12 +00:00
João Valverde 65d9c473f0 plugins: Minor interface improvement
Change the plugin compatibility check to make it more convenient to
define and check the major.minor Wireshark version.

Change-Id: I2a6d2a746682c29504311cce5c457e0a852c3daf
Reviewed-on: https://code.wireshark.org/review/29224
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-21 19:56:12 +00:00
João Valverde 0410a522d5 Regenerate ASN.1 dissectors
Change-Id: I1b7fb95df061e97de2e236d19221b8e2a5da0d92
Reviewed-on: https://code.wireshark.org/review/29226
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-21 19:54:12 +00:00
Guy Harris ad3367e169 Use the standard test/[ command.
We use it elsewhere; use it here, as FreeBSD's /bin/sh doesn't support
[[ as a test operator.

Change-Id: I183b10cc6f4aceec9725027474848061e8ea4fd9
Reviewed-on: https://code.wireshark.org/review/29232
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 19:21:34 +00:00
Guy Harris e8c3075bb6 Clean up includes for SIOCGIFDESCR.
Change-Id: Ib92f7d85355540cff23f7bb08db911f200541f5f
Reviewed-on: https://code.wireshark.org/review/29231
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 19:09:23 +00:00
Guy Harris 1efc9234ea We use errno, so we need to include <errno.h>.
Change-Id: Ic6d88c508594aa9daf36bd0a6a9f2fe4f0db71bd
Reviewed-on: https://code.wireshark.org/review/29230
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 19:03:24 +00:00
Guy Harris 5a3c6cb3fc Wrong snprintf() wrapper.
Change-Id: I7d8d83cd1829bed8cc940fa3d9c86cdc94f361af
Reviewed-on: https://code.wireshark.org/review/29229
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 19:00:48 +00:00
Guy Harris 15bf0ea437 We need sys/sockio.h to define SIOCGIFDESCR.
Change-Id: Ief8830d7a5ce47ea7f486a4700f49859003519db
Reviewed-on: https://code.wireshark.org/review/29225
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 18:57:55 +00:00
João Valverde 319186125c plugins: Fix CMake build example
Fix combination of pkg-config and CMake variables for feature
detection.

Remove non-system installation option. Just copy it manually for now.

Change-Id: Ia80c703c6ec3df0a49f8d56f1bd6da69471c523f
Reviewed-on: https://code.wireshark.org/review/29223
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-21 17:55:12 +00:00
Anders d99ef1f9fa GTP: Only put "T-PDU" in the top level tree.
Change-Id: I94db5692320daddf67faa5f38f7e132e9edbb2fa
Reviewed-on: https://code.wireshark.org/review/29222
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 16:29:20 +00:00
Gerald Combs 6ee559efd1 Fuzz: Reduce the Valgrind packet limit to 10,000.
Limit Valgrind to the first 10,000 packets in each file.

Change-Id: I27be212ddb437c643ffb413bb9d1c809dbe98a55
Reviewed-on: https://code.wireshark.org/review/29210
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-08-21 15:06:48 +00:00
Stig Bjørlykke 4b3745e6ef nordic_ble: Set PHY display type to BASE_DEC
Change-Id: I4a2e2142bbaf08e11a735d125a201c8651cdc857
Reviewed-on: https://code.wireshark.org/review/29217
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-08-21 14:08:35 +00:00
Stig Bjørlykke 04dbbb15c6 Qt: Pop field status when closing a file
Ensure we remove the info status for a selected field when closing
a capture file to bring the text back to "Ready to load or capture".

Change-Id: I2946675b2c0bc47cb8c05c1d391ff8a0875e8c7f
Reviewed-on: https://code.wireshark.org/review/29216
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 13:51:35 +00:00
Stig Bjørlykke f435c36423 CMake: Remove a debug message
Remove what appears to be a debug message from CMake.

Change-Id: If6d12ca07d3c3b5f012a7e7ee530f7db18c813e5
Reviewed-on: https://code.wireshark.org/review/29215
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 11:04:01 +00:00
Guy Harris ea515c5f2d Don't assume Bash.
At least on my OpenBSD 6.3 VM, there's no Bash installed; just use
/bin/sh.

Fix two places that use csh-style ">& /dev/null" to use
"> /dev/null 2>&1" instead.

Change-Id: I48656c47e89b3ad09f3c2d9e3c90dfad7afabb71
Reviewed-on: https://code.wireshark.org/review/29214
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 09:38:24 +00:00
Darien Spencer 5673a58bfa AT: Fix suffix length checks, add no suffix case
Change-Id: I20a7e52635cf95ea1b5d1c85cd0ae6e8619ebff8
Reviewed-on: https://code.wireshark.org/review/29189
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 07:26:37 +00:00
Guy Harris 92b4cd586e Fix search for pkg-config on FreeBSD.
1) At least with FreeBSD's "pkg search", the search does *not* do a
prefix match, so if you look for "pkg-config", you can find packages
whose name is *not* pkg-config but that has "pkg-config" in the middle
of the name.  This means that we think we have a "pkg-config" package,
but we don't, and fail when we try to install it.

So we force a prefix match.

2) FreeBSD 11 doesn't have a "pkg-config" packate, but has a "pkgconf"
package.  If we don't find "pkg-config", look for "pkgconf".

Change-Id: Iad5ef9d5630981958830c03e4cb90fe2d01ce1d0
Reviewed-on: https://code.wireshark.org/review/29213
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 06:38:45 +00:00
Guy Harris 76ada76427 Remove an unused true_false_string.
The field that used it was removed in
I5092d19b99fc6b9b5c870cafec2990dd67012ab1.

Change-Id: Ia358f475b8fbfeaf1fe10df79e9094ac837e3dd2
Reviewed-on: https://code.wireshark.org/review/29212
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 06:26:13 +00:00
Guy Harris 4a5484eaf1 Bash is not guaranteed to be in /usr/pkg/bin/bash.
On my FreeBSD 11 VM, it's the standard FreeBSD package, which installs
it in /usr/local/bin/bash.

Change-Id: Ic6427a88efd963de8909a2d333c2c3bf8586e559
Reviewed-on: https://code.wireshark.org/review/29211
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21 05:02:21 +00:00
Bruno Verstuyft 3d2d1cb31e XRA: Added decoding for SC-QAM TLVs
Change-Id: I40cecd0b6ea0f3d84f36bb6d5fe3dc416c1befff
Reviewed-on: https://code.wireshark.org/review/29196
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 04:07:30 +00:00
Johannes Singler d47d445a87 Calculate RTP delta time even if clock rate is unknown.
Change-Id: If61c3166774a25f2c22b68c1e06c372088cae575
Reviewed-on: https://code.wireshark.org/review/29199
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 04:06:27 +00:00
ValdikSS 712b2df7c9 Fix SBC packet Loudness/SNR information wrong byte compatison
Change-Id: I05b551ccdbc0630a1d24862e6121d2385c33550e
Reviewed-on: https://code.wireshark.org/review/29198
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 04:05:58 +00:00
ValdikSS 1f1c9c9af1 SBC: Fix DUAL CHANNEL SBC packet dissection
Change-Id: I51f3a052d2eec67e757cc5ac5eeb2cba2c47b327
Reviewed-on: https://code.wireshark.org/review/29197
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 04:05:14 +00:00
Alexis La Goutte e831d07fc0 ISIS(LSP): Add sub tlv Prefix SID from TLV 149
from draft-ietf-isis-segment-routing-extensions-19

Bug: 15015
Change-Id: Ib64f716b60d40735553b91fd601a7e27edf64335
Reviewed-on: https://code.wireshark.org/review/29207
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 04:02:56 +00:00
Alexis La Goutte e3f7e2edcc ISIS(lsp): Remove not longer supported sub-TLV (from TLV 149)
Next patch will add new supported TLV

Bug: 15015
Change-Id: I5092d19b99fc6b9b5c870cafec2990dd67012ab1
Reviewed-on: https://code.wireshark.org/review/29206
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 04:02:00 +00:00
Alexis La Goutte 9a183e84d2 ISIS(lsp): Enhance Flag of TLV 149
Add missing flag from TLV 149 (from draft-ietf-isis-segment-routing-extensions-19#section-2.4.1)

Bug: 15015
Change-Id: Icf1fe3ef3d8b82b9451d9aed40c552bc854c5c01
Reviewed-on: https://code.wireshark.org/review/29205
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21 04:01:09 +00:00
João Valverde e928a866f9 Increase PROTO_PRE_ALLOC_HF_FIELDS_MEM
Required to pass the test suite.

28: Process output for suite_unittests.case_unittests.test_unit_fieldcount:
28: -- Begin stdout for command ('run/tshark', '-G', 'fieldcount') --
28: There are 205013 header fields registered, of which:
28: 	0 are deregistered
28: 	2468 are protocols
28: 	15147 have the same name as another field
28:
28: 205000 fields were pre-allocated.
28: * * Please increase PROTO_PRE_ALLOC_HF_FIELDS_MEM (in epan/proto.c)! * *
28:
28: The header field table consumes 1609 KiB of memory.
28: The fields themselves consume 14414 KiB of memory.
28: -- End stdout for command ('run/tshark', '-G', 'fieldcount') --
28: -- Begin stderr for command ('run/tshark', '-G', 'fieldcount') --
28: -- End stderr for command ('run/tshark', '-G', 'fieldcount') --
28/29 Test #28: suite_unittests .....................***Failed   12.72 sec

Change-Id: I694ed42dbd5bef99df9d2037d505d71901afd2dd
Reviewed-on: https://code.wireshark.org/review/29209
Reviewed-by: João Valverde <j@v6e.pt>
2018-08-20 23:12:28 +00:00
Emmanuel Grumbach ce93346bcb ieee80211: dissect the TWT Element
It is still not very clear how to parse the element, so
focus only on the Unicast TWT for now.
This should be useful for the short term.

Ping-Bug: 15009
Change-Id: Ia589b170966e329ce051845553841a9fb80fcd5f
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-on: https://code.wireshark.org/review/28857
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2018-08-20 19:38:11 +00:00
Pascal Quantin 99df34848e E.212: fix 255 04 and 255 06 PLMN names
This fixes commit g2c89e6c448

Bug: 15068
Change-Id: Ieec7ffb039af48903f9ee3f91800f603203f811e
Reviewed-on: https://code.wireshark.org/review/29201
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-20 14:22:54 +00:00
Anders f63e3535c5 gtp: T-PDU heuristic - don't call the PPP dissector as "else" branch.
Change-Id: Ibb3038f9aba5fa3dab098ec50e7c4070d3f1c534
Reviewed-on: https://code.wireshark.org/review/29200
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-20 14:13:07 +00:00
AndersBroman a956069961 gtp: Header extesion dissector table enhancements.
- Make it possible to append text to the extension header decoding
- Make it clarer that the T-PDU decoding is an heuristic
- Prettify presentation of data.

Change-Id: I874f3f500e4c5c3c7f88cd6bf2370fbf6a4dc8a1
Reviewed-on: https://code.wireshark.org/review/29158
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-20 12:08:00 +00:00
Alexis La Goutte 66997107b2 lldp: 802.3 BT add missing Autoclass and Power Down fields
Bug: 15035
Change-Id: If76fc996508a9e4a09665dcee985d8e14bc72450
Reviewed-on: https://code.wireshark.org/review/29187
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-20 07:59:23 +00:00
Swapnil Roy 509322adfc NAS 5GS: Partial service area element count fix
Change-Id: I2c6493c7e32c908f9719cd4a3e5519e22923e338
Reviewed-on: https://code.wireshark.org/review/29183
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>
2018-08-20 07:58:55 +00:00
Peter Wu 2ec1d363aa appveyor.yml: add integration with AppVeyor CI
Many dependencies (Git, MSVC2015, etc.) are already installed. The only
missing ones are HTMLHelp and Doxygen, but these are not used.

The AppVeyor free plan has one concurrent job with 2 cores, starting
with the first item in the test matrix. As everyone likely develops on
64-bit, 32-bit is more likely to break, thus prioritize it for VS2015.
For testing artifacts, do create a VS2017 x64 build before that though.

Cloning git and installing deps takes about 2-3 minutes. cmake takes
2-3 minutes. Wireshark.sln and test-programs build in about 11-12
minutes, tests run in about 3 minutes, nsis packages in 3-4 minutes.
A single job takes 21-28 minutes (depending on environment).

Change-Id: If0c738743ce3ccd7ddfb5d9e77cdb2d3a5354ac7
Reviewed-on: https://code.wireshark.org/review/28967
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-08-20 05:28:17 +00:00
Peter Wu 4e6a80f3e3 NSIS: try harder to find VS2015/VS2017 vcredist
The vcredist version (directory name) has changed. Instead of listing
all possible versions, just glob for it. I only observed a single
directory anyway.

As CMake can find compilers without vcvarsall.bat, it is possible that
env var VCINSTALLDIR is not set. Fallback to querying the location from
the registry (as was done in VS2015).

The MSVC_VERSION/VS/VCRT table is partially based on
https://blogs.msdn.microsoft.com/vcblog/2017/11/15/side-by-side-minor-version-msvc-toolsets-in-visual-studio-2017/

Change-Id: I58107597c5037ab597a0d620925cb870e6ef7793
Reviewed-on: https://code.wireshark.org/review/28980
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-08-20 05:28:05 +00:00
Alexis La Goutte 5f816562b8 h265: fix no newline at end of file [-Wnewline-eof]
Change-Id: I05ecc82f939e140fd6b4304b19bc0d6a301b0be9
Reviewed-on: https://code.wireshark.org/review/29190
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-20 05:01:50 +00:00
Vasil Velichkov b7a6a11376 Qt: fix several crashes in the SCTP Dialogs
Store the association id instead of a pointer to the volatile
"sctp_assoc_info_t" structure because it gets freed after a rescan.

Bug: 14970
Change-Id: Id8fe2dfe3549bd711fc8ddef0770b217e83c2088
Fixes: v1.11.3-rc1-604-g796bf409b0 ("Add dialogs and graphs to analyse SCTP behavior similar to the GTK version.")
Reviewed-on: https://code.wireshark.org/review/28711
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-20 05:01:11 +00:00
Gerald Combs aef6223409 [Automatic update for 2018-08-19]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: Iaec2f34b94bfec3b4203daad7ec7bfd10b1a8ae7
Reviewed-on: https://code.wireshark.org/review/29191
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-08-19 16:42:36 +00:00
Darien Spencer 4b4f644afc AT: Add CLAC command
Change-Id: I84dbc146fe4300e22dfed21572b97e57b449af54
Reviewed-on: https://code.wireshark.org/review/29186
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-19 06:45:34 +00:00
Vasil Velichkov f7d4b2ca35 kerberos: Fix several memory leaks
valgrind --tool=memcheck --leak-check=full ./run/tshark \
    -r ../test/captures/krb-816.pcap.gz \
    -o "kerberos.decrypt:TRUE" \
    -o "kerberos.file:../test/keys/krb-816.keytab" \
    -Tfields -e kerberos.keyvalue

24 bytes in 2 blocks are definitely lost in loss record 37 of 117
   at 0x4C2EBAB: malloc (vg_replace_malloc.c:299)
   by 0xCB9FE1F: krb5_ktfileint_internal_read_entry.isra.5 (kt_file.c:1359)
   by 0xCBA1436: krb5_ktfileint_read_entry (kt_file.c:1409)
   by 0xCBA1436: krb5_ktfile_get_next (kt_file.c:510)
   by 0x7A55A4F: read_keytab_file (packet-kerberos-template.c:324)
   by 0x7A55922: read_keytab_file_from_preferences (packet-kerberos-template.c:249)
   by 0x7A55EC4: decrypt_krb5_data (packet-kerberos-template.c:383)

141 (80 direct, 61 indirect) bytes in 2 blocks are definitely lost in loss record 99 of 117
   at 0x4C2EBAB: malloc (vg_replace_malloc.c:299)
   by 0xCB9F9D9: krb5_ktfileint_internal_read_entry.isra.5 (kt_file.c:1237)
   by 0xCBA1436: krb5_ktfileint_read_entry (kt_file.c:1409)
   by 0xCBA1436: krb5_ktfile_get_next (kt_file.c:510)
   by 0x7A55A4F: read_keytab_file (packet-kerberos-template.c:324)
   by 0x7A55922: read_keytab_file_from_preferences (packet-kerberos-template.c:249)
   by 0x7A55EC4: decrypt_krb5_data (packet-kerberos-template.c:383)

8,343 (24 direct, 8,319 indirect) bytes in 1 blocks are definitely lost in loss record 116 of 117
   at 0x4C30B06: calloc (vg_replace_malloc.c:711)
   by 0xCB9F129: krb5_ktfile_resolve (kt_file.c:198)
   by 0xCB9DE82: krb5_kt_resolve (ktbase.c:175)
   by 0x7A559BC: read_keytab_file (packet-kerberos-template.c:310)
   by 0x7A55922: read_keytab_file_from_preferences (packet-kerberos-template.c:249)
   by 0x7A55EC4: decrypt_krb5_data (packet-kerberos-template.c:383)

Change-Id: Ia6f62d8576f3812e8832acc747eac84de8383756
Reviewed-on: https://code.wireshark.org/review/29146
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-19 06:44:19 +00:00
Gerald Combs 3bb4ee5aaf Docs: AUTHORS formatting updates.
Switch the AUTHORS heading markup from underscores to equals. This makes
it easier to transform to Pod headings.

Update the AUTHORS-SHORT-FORMAT output so that the author lists are
verbatim paragraphs. Add a style for the author lists instead of
wrapping everything in a <pre>.

The AUTHORS files are UTF-8 and wireshark.pod sets "=encoding utf8".
There's no need to translate characters.

Change-Id: I43cf18ff86774421b08edb84d968a9410be177fe
Reviewed-on: https://code.wireshark.org/review/29181
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-18 21:44:00 +00:00
Darien Spencer 1b97441da0 AT: Add CGSN/GSN Commands
Change-Id: Ie383c0de07e4114f00e6c8833b6c18fcbaa4a07f
Reviewed-on: https://code.wireshark.org/review/29185
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>
2018-08-18 21:42:03 +00:00