summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2016-03-11 00:23:10 +0000
committerdes <des@FreeBSD.org>2016-03-11 00:23:10 +0000
commitba453f42f3c1044974096e29cb9098cb78db20e5 (patch)
tree98f72e25491cb0731e1b80367228fc8b1ab82ea8 /crypto
parentbb6f58c772c321121b8148fe7726de90f90e1dec (diff)
downloadFreeBSD-src-ba453f42f3c1044974096e29cb9098cb78db20e5.zip
FreeBSD-src-ba453f42f3c1044974096e29cb9098cb78db20e5.tar.gz
Re-add AES-CBC ciphers to the default cipher list on the server.
PR: 207679
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/FREEBSD-upgrade8
-rw-r--r--crypto/openssh/myproposal.h5
-rw-r--r--crypto/openssh/sshd_config.53
3 files changed, 12 insertions, 4 deletions
diff --git a/crypto/openssh/FREEBSD-upgrade b/crypto/openssh/FREEBSD-upgrade
index 7acd51f..43e2a74 100644
--- a/crypto/openssh/FREEBSD-upgrade
+++ b/crypto/openssh/FREEBSD-upgrade
@@ -1,4 +1,3 @@
-
FreeBSD maintainer's guide to OpenSSH-portable
==============================================
@@ -166,6 +165,13 @@
ignore HPN-related configuration options to avoid breaking existing
configurations.
+A) AES-CBC
+
+ The AES-CBC ciphers were removed from the server-side proposal list
+ in 6.7p1 due to theoretical weaknesses and the availability of
+ superior ciphers (including AES-CTR and AES-GCM). We have re-added
+ them for compatibility with third-party clients.
+
This port was brought to you by (in no particular order) DARPA, NAI
diff --git a/crypto/openssh/myproposal.h b/crypto/openssh/myproposal.h
index 7a8b432..d286691 100644
--- a/crypto/openssh/myproposal.h
+++ b/crypto/openssh/myproposal.h
@@ -113,10 +113,11 @@
#define KEX_SERVER_ENCRYPT \
"chacha20-poly1305@openssh.com," \
"aes128-ctr,aes192-ctr,aes256-ctr" \
- AESGCM_CIPHER_MODES
+ AESGCM_CIPHER_MODES \
+ ",aes128-cbc,aes192-cbc,aes256-cbc"
#define KEX_CLIENT_ENCRYPT KEX_SERVER_ENCRYPT "," \
- "aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc"
+ "3des-cbc"
#define KEX_SERVER_MAC \
"umac-64-etm@openssh.com," \
diff --git a/crypto/openssh/sshd_config.5 b/crypto/openssh/sshd_config.5
index baed664..cc43aad 100644
--- a/crypto/openssh/sshd_config.5
+++ b/crypto/openssh/sshd_config.5
@@ -482,7 +482,8 @@ The default is:
.Bd -literal -offset indent
chacha20-poly1305@openssh.com,
aes128-ctr,aes192-ctr,aes256-ctr,
-aes128-gcm@openssh.com,aes256-gcm@openssh.com
+aes128-gcm@openssh.com,aes256-gcm@openssh.com,
+aes128-cbc,aes192-cbc,aes256-cbc
.Ed
.Pp
The list of available ciphers may also be obtained using the
OpenPOWER on IntegriCloud