wireshark/debian
Peter Wu d7187e0b1b wsutil: Add Curve25519 ECDH (X25519) using Gcrypt
The WireGuard dissector will need X25519 to enable decryption, add a
Gcrypt implementation that implements the NaCl/Sodium interface.

While inspired by the MPI example in t-cv25519.c, note subtle but
important correctness/interoperability fixes: add a check for infinity
(gcry_mpi_ec_get_affine) and handle short values from gcry_mpi_print.
The last issue is ugly, perhaps the high level API (gcry_pk_decrypt)
should be used instead (which < 2% slower than this MPI implementation).
(Both issues were found through fuzzing.)

As for alternative options, Sodium is superior but would be a new
dependency. For some older performance and usability notes (comparing
crypto_scalarmult_curve25519_base (note "_base") against others), see
https://lists.gnupg.org/pipermail/gcrypt-devel/2018-July/004532.html

Performance comparison on Ubuntu 18.04 (i7-3770) between Sodium 1.0.16
against Gcrypt 1.8.3 and Gcrypt 86e5e06a (git master, future 1.9.x) by
computing 65536 times X25519(1, 8) via crypto_scalarmult_curve25519:

    Sodium (sandy2x):   1.4x faster than ref10
    Sodium (ref10):     1 (baseline)
    Gcrypt (git):       5x slower than ref10, 7x slower than sandy2x
    Gcrypt (1.8.3):     17x ref10, 24x sandy2x (took 65 seconds)

Change-Id: Ia54e73cc3cc469a6697554729aff4edd19f55630
Ping-Bug: 15011
Reviewed-on: https://code.wireshark.org/review/28987
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-08 11:23:55 +00:00
..
patches Remove autotools build system. 2018-04-18 03:46:17 +00:00
po [Automatic update for 2018-05-20] 2018-05-20 08:17:39 +00:00
source debian: Bump standards version to 3.9.7 used in Ubuntu 16.04 2016-10-17 15:30:05 +00:00
README.Debian Give more detailed information about capture permissions on Debian. 2018-06-11 18:41:11 +00:00
README.Debian.security Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
changelog 2.5 → 2.9. 2018-04-02 19:30:15 +00:00
compat Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
control Debian: More GNUTLS updates. 2018-06-05 16:50:26 +00:00
copyright Remove inet_aton() usage everywhere 2017-10-25 19:10:57 +00:00
dirs Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
ethereal-common.NEWS Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
headers-check.c debian: use SPDX identifiers. 2018-02-08 16:15:31 +00:00
libwireshark-data.install Transition from GeoIP Legacy to MaxMindDB. 2018-03-06 18:02:21 +00:00
libwireshark-dev.install Move the protocol registration routines back into libwireshark 2017-11-21 20:21:50 +00:00
libwireshark0.install Refactor plugin registration and loading 2017-12-14 08:43:57 +00:00
libwireshark0.lintian-overrides debian: add lintian-overrides for libwireshark0 (spelling-error-in-binary) 2018-07-27 06:57:00 +00:00
libwireshark0.symbols Revert "Have find_or_create_conversation() use pinfo->conv_endpoint if present." 2018-08-01 02:55:18 +00:00
libwiretap-dev.install Don't ship libfiletap in the .deb packages yet 2014-06-08 15:33:05 +00:00
libwiretap0.docs Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
libwiretap0.install usbdump: Add usbdump wiretap plugin as functional example 2018-01-30 05:44:38 +00:00
libwiretap0.symbols Fix the calculation of a file's "basename". 2018-07-06 09:07:52 +00:00
libwscodecs0.install L16_mono: Add L16 monaural codec plugin as functional example 2018-02-28 12:04:29 +00:00
libwscodecs0.symbols Refactor plugin registration and loading 2017-12-14 08:43:57 +00:00
libwsutil-dev.install debian: add ws_compiler_tests.h to libwsutils-dev.install 2017-10-27 08:52:25 +00:00
libwsutil0.install Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
libwsutil0.symbols wsutil: Add Curve25519 ECDH (X25519) using Gcrypt 2018-08-08 11:23:55 +00:00
license-text-about-dialog Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
maxmind_db_paths Transition from GeoIP Legacy to MaxMindDB. 2018-03-06 18:02:21 +00:00
postinst
rules Fix handling of DEB_BUILD_OPTIONS=nocheck 2018-07-01 04:33:03 +00:00
templates debian: Use debconf messages instead of "echo" in postinst/postrm 2017-08-07 22:39:06 +00:00
tshark.docs Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
tshark.install Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
tshark.lintian-overrides debian: Update lintian-overrides to cover updated manpages 2016-10-18 04:06:12 +00:00
tshark.manpages Add doc/CMakeLists.txt 2016-03-10 11:19:09 +00:00
wireshark-common.config debian: Merge multiple small packaging fixes from Debian 2015-12-06 20:35:54 +00:00
wireshark-common.install debian: Move icon and mime info file to wireshark-common 2015-11-11 04:47:30 +00:00
wireshark-common.lintian-overrides debian: Override some lintian warnings 2016-02-26 08:31:10 +00:00
wireshark-common.manpages Compile sshdump and ciscodump for Windows 2016-04-25 07:22:28 +00:00
wireshark-common.postinst debian: Use debconf messages instead of "echo" in postinst/postrm 2017-08-07 22:39:06 +00:00
wireshark-common.postrm debian: Use debconf messages instead of "echo" in postinst/postrm 2017-08-07 22:39:06 +00:00
wireshark-dev.docs Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
wireshark-dev.install Rewrite make-dissector-reg.py in C 2017-11-20 06:03:08 +00:00
wireshark-dev.manpages Add doc/CMakeLists.txt 2016-03-10 11:19:09 +00:00
wireshark-dev.prerm Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
wireshark-doc.docs debian: Don't ship unused duplicated images for guides 2015-11-17 19:14:20 +00:00
wireshark-qt.docs Sync .deb packaging from Debian 2014-06-08 15:32:10 +00:00
wireshark-qt.install cmake: install icons and .desktop files 2016-11-18 20:15:23 +00:00
wireshark-qt.lintian-overrides debian: Update lintian-overrides to cover updated manpages 2016-10-18 04:06:12 +00:00
wireshark-qt.manpages Add doc/CMakeLists.txt 2016-03-10 11:19:09 +00:00

README.Debian.security

 Handling security fixes in source package wireshark

Wireshark is a network protocol analyzer and it's ability to perform deep
packet inspection in live traffic may encourage users to use Wireshark/Tshark
as a part of an intrusion detection or traffic monitoring system.
In that case, please note that Wireshark/Tshark may contain remotely
triggerable bugs causing crashes or allowing code injection.

Bugs allowing code injection will be fixed in regular Debian Security
Advisories, but fixes for pure crash bugs may be delayed.

 -- Balint Reczey <balint@balintreczey.hu> Fri, 10 Jul 2009 15:38:33 +0200