components/openssh/patches/045-remove_unacceptable_algs.patch
author Tomas Kuthan <tomas.kuthan@oracle.com>
Tue, 20 Sep 2016 03:54:40 -0700
changeset 6930 31ef2580c45d
parent 6543 b5c03b086e6d
child 7649 69d7508f0d66
permissions -rw-r--r--
24525860 upgrade OpenSSH to 7.3p1 24320031 problem in UTILITY/OPENSSH 24461706 problem in UTILITY/OPENSSH
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6543
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     1
#
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     2
# In order for OpenSSH to comply with Oracle Software Security Assurance
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     3
# Standards (OSSA), completely remove support for unacceptable arcfour* ciphers
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     4
# and hmac-md5 Messages Authentication Codes (MACs). Besides that, disable
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     5
# deprecated 3des-cbc by default on client (already disabled on the server).
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     6
#
6930
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
     7
# Update Aug 29, 2016:
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
     8
# Disabling arcfour used to be implemented by Solaris specific macro
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
     9
# WITHOUT_ARCFOUR, but now upstream OPENSSL_NO_RC4 is used instead.
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
    10
#
6543
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    11
# Patch source: in-house
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    12
#
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    13
diff -pur old/mac.c new/mac.c
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    14
--- old/mac.c
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    15
+++ new/mac.c
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    16
@@ -87,8 +87,10 @@ static const struct macalg macs[] = {
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    17
 	{ "hmac-sha2-256",			SSH_DIGEST, SSH_DIGEST_SHA256, 0, 0, 0, 0 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    18
 	{ "hmac-sha2-512",			SSH_DIGEST, SSH_DIGEST_SHA512, 0, 0, 0, 0 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    19
 #endif
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    20
+#ifndef WITHOUT_HMAC_MD5
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    21
 	{ "hmac-md5",				SSH_DIGEST, SSH_DIGEST_MD5, 0, 0, 0, 0 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    22
 	{ "hmac-md5-96",			SSH_DIGEST, SSH_DIGEST_MD5, 96, 0, 0, 0 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    23
+#endif
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    24
 	{ "hmac-ripemd160",			SSH_DIGEST, SSH_DIGEST_RIPEMD160, 0, 0, 0, 0 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    25
 	{ "[email protected]",		SSH_DIGEST, SSH_DIGEST_RIPEMD160, 0, 0, 0, 0 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    26
 	{ "[email protected]",		SSH_UMAC, 0, 0, 128, 64, 0 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    27
@@ -101,8 +103,10 @@ static const struct macalg macs[] = {
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    28
 	{ "[email protected]",	SSH_DIGEST, SSH_DIGEST_SHA256, 0, 0, 0, 1 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    29
 	{ "[email protected]",	SSH_DIGEST, SSH_DIGEST_SHA512, 0, 0, 0, 1 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    30
 #endif
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    31
+#ifndef WITHOUT_HMAC_MD5
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    32
 	{ "[email protected]",		SSH_DIGEST, SSH_DIGEST_MD5, 0, 0, 0, 1 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    33
 	{ "[email protected]",	SSH_DIGEST, SSH_DIGEST_MD5, 96, 0, 0, 1 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    34
+#endif
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    35
 	{ "[email protected]",	SSH_DIGEST, SSH_DIGEST_RIPEMD160, 0, 0, 0, 1 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    36
 	{ "[email protected]",		SSH_UMAC, 0, 0, 128, 64, 1 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    37
 	{ "[email protected]",		SSH_UMAC128, 0, 0, 128, 128, 1 },
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    38
diff -pur old/myproposal.h new/myproposal.h
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    39
--- old/myproposal.h
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    40
+++ new/myproposal.h
6930
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
    41
@@ -140,14 +140,14 @@
6543
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    42
 	AESGCM_CIPHER_MODES
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    43
 
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    44
 #define KEX_CLIENT_ENCRYPT_DFLT KEX_SERVER_ENCRYPT_DFLT "," \
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    45
-	"aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc"
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    46
+	"aes128-cbc,aes192-cbc,aes256-cbc"
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    47
 
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    48
 #define KEX_SERVER_ENCRYPT_FIPS \
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    49
 	"aes128-ctr,aes192-ctr,aes256-ctr" \
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    50
 	AESGCM_CIPHER_MODES
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    51
 
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    52
 #define KEX_CLIENT_ENCRYPT_FIPS KEX_SERVER_ENCRYPT_FIPS "," \
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    53
-	"aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc"
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    54
+	"aes128-cbc,aes192-cbc,aes256-cbc"
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    55
 
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    56
 #define KEX_SERVER_MAC_DFLT \
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    57
 	"[email protected]," \
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    58
diff -pur old/ssh_config.5 new/ssh_config.5
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    59
--- old/ssh_config.5
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    60
+++ new/ssh_config.5
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    61
@@ -470,12 +470,6 @@ [email protected]
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    62
 .It
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    63
 [email protected]
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    64
 .It
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    65
-arcfour
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    66
-.It
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    67
-arcfour128
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    68
-.It
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    69
-arcfour256
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    70
-.It
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    71
 blowfish-cbc
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    72
 .It
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    73
 [email protected]
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    74
@@ -486,7 +480,7 @@ The default is:
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    75
 [email protected],
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    76
 aes128-ctr,aes192-ctr,aes256-ctr,
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    77
 [email protected],[email protected],
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    78
-aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    79
+aes128-cbc,aes192-cbc,aes256-cbc
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    80
 .Ed
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    81
 .Pp
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    82
 The following ciphers are FIPS-140 approved and are supported in FIPS-140 mode:
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    83
diff -pur old/sshd.8 new/sshd.8
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    84
--- old/sshd.8
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    85
+++ new/sshd.8
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    86
@@ -310,12 +310,12 @@ For protocol 2,
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    87
 forward security is provided through a Diffie-Hellman key agreement.
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    88
 This key agreement results in a shared session key.
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    89
 The rest of the session is encrypted using a symmetric cipher, currently
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    90
-128-bit AES, Blowfish, 3DES, Arcfour, 192-bit AES, or 256-bit AES.
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    91
+128-bit AES, Blowfish, 3DES, 192-bit AES, or 256-bit AES.
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    92
 The client selects the encryption algorithm
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    93
 to use from those offered by the server.
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    94
 Additionally, session integrity is provided
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    95
 through a cryptographic message authentication code
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    96
-(hmac-md5, hmac-sha1, umac-64, umac-128, hmac-ripemd160,
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    97
+(hmac-sha1, umac-64, umac-128, hmac-ripemd160,
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    98
 hmac-sha2-256 or hmac-sha2-512).
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    99
 .Pp
b5c03b086e6d PSARC/2016/441 Remove unacceptable arcfour* ciphers and hmac-md5* MACs from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
   100
 Finally, the server and the client enter an authentication dialog.
6930
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   101
diff -pur old/sshd_config.5 new/sshd_config.5
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   102
--- old/sshd_config.5
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   103
+++ new/sshd_config.5
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   104
@@ -471,12 +471,6 @@ [email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   105
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   106
 [email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   107
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   108
-arcfour
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   109
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   110
-arcfour128
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   111
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   112
-arcfour256
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   113
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   114
 blowfish-cbc
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   115
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   116
 [email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   117
@@ -1009,10 +1003,6 @@ The supported MACs are:
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   118
 .Pp
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   119
 .Bl -item -compact -offset indent
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   120
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   121
-hmac-md5
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   122
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   123
-hmac-md5-96
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   124
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   125
 hmac-ripemd160
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   126
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   127
 hmac-sha1
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   128
@@ -1027,10 +1017,6 @@ [email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   129
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   130
 [email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   131
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   132
[email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   133
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   134
[email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   135
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   136
 [email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   137
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6543
diff changeset
   138
 [email protected]