pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ssldump More decoding of TLS values, especial...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67c0caeb4fb0
branches:  trunk
changeset: 457130:67c0caeb4fb0
user:      manu <manu%pkgsrc.org@localhost>
date:      Wed Aug 18 13:34:07 2021 +0000

description:
More decoding of TLS values, especially TLSv1.3 ciphers

Not submitted upstream, as it is an abandonware.

diffstat:

 security/ssldump/Makefile              |     4 +-
 security/ssldump/distinfo              |     5 +-
 security/ssldump/patches/patch-ciphers |  1330 --------------------------------
 3 files changed, 5 insertions(+), 1334 deletions(-)

diffs (truncated from 1364 to 300 lines):

diff -r 09c55295c169 -r 67c0caeb4fb0 security/ssldump/Makefile
--- a/security/ssldump/Makefile Wed Aug 18 09:53:33 2021 +0000
+++ b/security/ssldump/Makefile Wed Aug 18 13:34:07 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2020/01/18 21:50:48 jperkin Exp $
+# $NetBSD: Makefile,v 1.34 2021/08/18 13:34:07 manu Exp $
 #
 
 DISTNAME=      ssldump-0.9b3
-PKGREVISION=   16
+PKGREVISION=   17
 CATEGORIES=    security
 #MASTER_SITES= http://www.rtfm.com/ssldump/
 
diff -r 09c55295c169 -r 67c0caeb4fb0 security/ssldump/distinfo
--- a/security/ssldump/distinfo Wed Aug 18 09:53:33 2021 +0000
+++ b/security/ssldump/distinfo Wed Aug 18 13:34:07 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/04 01:18:10 agc Exp $
+$NetBSD: distinfo,v 1.13 2021/08/18 13:34:07 manu Exp $
 
 SHA1 (ssldump-0.9b3.tar.gz) = a633a9a811a138eac5ed440d583473b644135ef5
 RMD160 (ssldump-0.9b3.tar.gz) = 941cf8f2ef8459ec4f9ce65772e134505d46566f
@@ -8,4 +8,5 @@
 SHA1 (patch-ab) = b56510f59ad2b3d520a9b0378c2502cac247268a
 SHA1 (patch-ad) = 585454408e6460b5215054be8682a9240570350a
 SHA1 (patch-aes) = 75180402f5a8d775dd27049700717d30063f3de9
-SHA1 (patch-ciphers) = cab4debc30f993521b5ba4312f1ca1ecdf92ad5a
+SHA1 (patch-ssl_ssl_enum.c) = 84758d9404326c7c6d4c009d4aeea8f4bbfa4c67
+SHA1 (patch-ssl_ssl_enums.c) = 62427f95a447193813ca8e7f1f97e1935574b8ab
diff -r 09c55295c169 -r 67c0caeb4fb0 security/ssldump/patches/patch-ciphers
--- a/security/ssldump/patches/patch-ciphers    Wed Aug 18 09:53:33 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1330 +0,0 @@
-$NetBSD: patch-ciphers,v 1.1 2015/07/24 13:22:28 manu Exp $
-
-All ciphers from IANA registry:
-https://www.iana.org/assignments/tls-parameters/tls-parameters.txt
-
---- ssl/ssl.enums.c.orig       2015-07-24 15:07:06.000000000 +0200
-+++ ssl/ssl.enums.c    2015-07-24 15:07:45.000000000 +0200
-@@ -502,8 +502,12 @@
- };
- 
- decoder cipher_suite_decoder[]={
-       {
-+              0,
-+              "TLS_NULL_WITH_NULL_NULL",
-+              0       },
-+      {
-               1,
-               "TLS_RSA_WITH_NULL_MD5",
-               0       },
-       {
-@@ -610,55 +614,183 @@
-               27,
-               "TLS_DH_anon_WITH_3DES_EDE_CBC_SHA",
-               0       },
-       {
--              47,
--              "TLS_RSA_WITH_AES_128_CBC_SHA",
--              0       },
--      {
--              48,
--              "TLS_DH_DSS_WITH_AES_128_CBC_SHA",
--              0       },
--      {
--              49,
--              "TLS_DH_RSA_WITH_AES_128_CBC_SHA",
--              0       },
--      {
--              50,
--              "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
--              0       },
--      {
--              51,
--              "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
--              0       },
--      {
--              52,
--              "TLS_DH_anon_WITH_AES_128_CBC_SHA",
--              0       },
--      {
--              53,
--              "TLS_RSA_WITH_AES_256_CBC_SHA",
--              0       },
--      {
--              54,
--              "TLS_DH_DSS_WITH_AES_256_CBC_SHA",
--              0       },
--      {
--              55,
--              "TLS_DH_RSA_WITH_AES_256_CBC_SHA",
--              0       },
--      {
--              56,
--              "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
--              0       },
--      {
--              57,
--              "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
--              0       },
--      {
--              58,
--              "TLS_DH_anon_WITH_AES_256_CBC_SHA",
--              0       },
-+              30,
-+              "TLS_KRB5_WITH_DES_CBC_SHA",
-+              0       },
-+      {
-+              31,
-+              "TLS_KRB5_WITH_3DES_EDE_CBC_SHA",
-+              0       },
-+      {
-+              32,
-+              "TLS_KRB5_WITH_RC4_128_SHA",
-+              0       },
-+      {
-+              33,
-+              "TLS_KRB5_WITH_IDEA_CBC_SHA",
-+              0       },
-+      {
-+              34,
-+              "TLS_KRB5_WITH_DES_CBC_MD5",
-+              0       },
-+      {
-+              35,
-+              "TLS_KRB5_WITH_3DES_EDE_CBC_MD5",
-+              0       },
-+      {
-+              36,
-+              "TLS_KRB5_WITH_RC4_128_MD5",
-+              0       },
-+      {
-+              37,
-+              "TLS_KRB5_WITH_IDEA_CBC_MD5",
-+              0       },
-+      {
-+              38,
-+              "TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA",
-+              0       },
-+      {
-+              39,
-+              "TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA",
-+              0       },
-+      {
-+              40,
-+              "TLS_KRB5_EXPORT_WITH_RC4_40_SHA",
-+              0       },
-+      {
-+              41,
-+              "TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5",
-+              0       },
-+      {
-+              42,
-+              "TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5",
-+              0       },
-+      {
-+              43,
-+              "TLS_KRB5_EXPORT_WITH_RC4_40_MD5",
-+              0       },
-+      {
-+              44,
-+              "TLS_PSK_WITH_NULL_SHA",
-+              0       },
-+      {
-+              45,
-+              "TLS_DHE_PSK_WITH_NULL_SHA",
-+              0       },
-+      {
-+              46,
-+              "TLS_RSA_PSK_WITH_NULL_SHA",
-+              0       },
-+      {
-+              47,
-+              "TLS_RSA_WITH_AES_128_CBC_SHA",
-+              0       },
-+      {
-+              48,
-+              "TLS_DH_DSS_WITH_AES_128_CBC_SHA",
-+              0       },
-+      {
-+              49,
-+              "TLS_DH_RSA_WITH_AES_128_CBC_SHA",
-+              0       },
-+      {
-+              50,
-+              "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
-+              0       },
-+      {
-+              51,
-+              "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
-+              0       },
-+      {
-+              52,
-+              "TLS_DH_anon_WITH_AES_128_CBC_SHA",
-+              0       },
-+      {
-+              53,
-+              "TLS_RSA_WITH_AES_256_CBC_SHA",
-+              0       },
-+      {
-+              54,
-+              "TLS_DH_DSS_WITH_AES_256_CBC_SHA",
-+              0       },
-+      {
-+              55,
-+              "TLS_DH_RSA_WITH_AES_256_CBC_SHA",
-+              0       },
-+      {
-+              56,
-+              "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
-+              0       },
-+      {
-+              57,
-+              "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
-+              0       },
-+      {
-+              58,
-+              "TLS_DH_anon_WITH_AES_256_CBC_SHA",
-+              0       },
-+      {
-+              59,
-+              "TLS_RSA_WITH_NULL_SHA256",
-+              0       },
-+      {
-+              60,
-+              "TLS_RSA_WITH_AES_128_CBC_SHA256",
-+              0       },
-+      {
-+              61,
-+              "TLS_RSA_WITH_AES_256_CBC_SHA256",
-+              0       },
-+      {
-+              62,
-+              "TLS_DH_DSS_WITH_AES_128_CBC_SHA256",
-+              0       },
-+      {
-+              63,
-+              "TLS_DH_RSA_WITH_AES_128_CBC_SHA256",
-+              0       },
-+      {
-+              64,
-+              "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
-+              0       },
-+      {
-+              65,
-+              "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA",
-+              0       },
-+      {
-+              66,
-+              "TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA",
-+              0       },
-+      {
-+              67,
-+              "TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA",
-+              0       },
-+      {
-+              68,
-+              "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA",
-+              0       },
-+      {
-+              69,
-+              "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA",
-+              0       },
-+      {
-+              70,
-+              "TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA",
-+              0       },
-+      {
-+              72,
-+              "TLS_ECDH_ECDSA_WITH_RC4_128_SHA",
-+              0       },
-+      {
-+              73,
-+              "TLS_ECDH_ECDSA_WITH_DES_CBC_SHA",
-+              0       },
-+      {
-+              74,
-+              "TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA",
-+              0       },
-       {
-               96,
-               "TLS_RSA_EXPORT1024_WITH_RC4_56_MD5",
-               0       },
-@@ -690,62 +822,1050 @@
-               103,
-               "TLS_DHE_DSS_WITH_NULL_SHA",
-               0       },
-       {
--              65664,
--              "SSL2_CK_RC4",
-+              103,
-+              "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256",
-               0       },
-       {
--              131200,
--              "SSL2_CK_RC4_EXPORT40",
-+              104,
-+              "TLS_DH_DSS_WITH_AES_256_CBC_SHA256",



Home | Main Index | Thread Index | Old Index