components/openssh/patches/033-without_cast128.patch
author Tomas Kuthan <tomas.kuthan@oracle.com>
Wed, 11 Jan 2017 12:12:15 -0800
changeset 7562 2adf9e2cdc69
parent 6930 31ef2580c45d
child 7649 69d7508f0d66
permissions -rw-r--r--
25044066 sshd error: session_by_pid: unknown pid when root ssh session exits
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5026
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     1
#
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     2
# Removes cast128-cbc support.
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     3
#
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     4
# At this moment this algorithm is not listed in Approved Security
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     5
# Technologies: Standards Details at all. Eventually it will be added as
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     6
# deprecated.
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     7
#
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     8
# SunSSH did not support cast128-cbc. In this respect removing cast128-cbc from
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
     9
# OpenSSH doesn't constitute a regression in functionality from SunSSH.
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    10
#
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    11
# Interoperability gain provided by cast128-cbc is negligible, because all
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    12
# relevant ssh implementations also provide several more common encryption
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    13
# algorithms (aes256-ctr, aes128-cbc, ...) on top of cast128-cbc.
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    14
#
6930
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    15
# Update Aug 29, 2016:
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    16
# This used to be implemented by Solaris specific macro WITHOUT_CAST,
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    17
# but now upstream OPENSSL_NO_CAST is used instead. This patch now just
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    18
# removes cast references from manpages.
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    19
#
5026
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    20
# This is a Solaris specific patch and it is not likely to be accepted upstream.
12114fad0da4 22018764 remove cast128-cbc from OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents:
diff changeset
    21
#
6930
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    22
--- orig/ssh_config.5	Mon Aug 15 17:22:20 2016
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    23
+++ new/ssh_config.5	Mon Aug 15 17:25:28 2016
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    24
@@ -478,8 +478,6 @@
5223
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    25
 .It
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    26
 blowfish-cbc
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    27
 .It
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    28
-cast128-cbc
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    29
-.It
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    30
 [email protected]
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    31
 .El
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    32
 .Pp
6930
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    33
--- orig/sshd_config.5	Mon Aug 15 17:22:29 2016
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    34
+++ new/sshd_config.5	Mon Aug 15 17:25:58 2016
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    35
@@ -479,8 +479,6 @@
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    36
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    37
 blowfish-cbc
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    38
 .It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    39
-cast128-cbc
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    40
-.It
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    41
 [email protected]
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    42
 .El
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    43
 .Pp
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    44
--- orig/sshd.8	Mon Aug 15 17:22:36 2016
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    45
+++ new/sshd.8	Mon Aug 15 17:26:48 2016
31ef2580c45d 24525860 upgrade OpenSSH to 7.3p1
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5819
diff changeset
    46
@@ -307,7 +307,7 @@
5223
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    47
 forward security is provided through a Diffie-Hellman key agreement.
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    48
 This key agreement results in a shared session key.
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    49
 The rest of the session is encrypted using a symmetric cipher, currently
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    50
-128-bit AES, Blowfish, 3DES, CAST128, Arcfour, 192-bit AES, or 256-bit AES.
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    51
+128-bit AES, Blowfish, 3DES, Arcfour, 192-bit AES, or 256-bit AES.
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    52
 The client selects the encryption algorithm
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    53
 to use from those offered by the server.
66bb65945d8f 22389801 OpenSSH: remove cast from ssh(1), sshd(8), ssh_config(5) and sshd_config(5)
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 5026
diff changeset
    54
 Additionally, session integrity is provided