From e40dd6219bc14f41fcf7fd55ac2c1b85fd0e9ac0 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Wed, 18 Jan 2017 20:10:43 -0600 Subject: [PATCH] Bugfix - Libreswan 3.19 removed MODP1024 from the ike= default list, which breaks compatibility with Android 5.x and others - This commit explicitly adds MODP1024 back to the ike= list - Fixes #101. Thanks @keijodputt! --- docs/ikev2-howto-zh.md | 4 ++-- docs/ikev2-howto.md | 4 ++-- extras/vpnupgrade.sh | 8 +++++++- extras/vpnupgrade_centos.sh | 8 +++++++- vpnsetup.sh | 2 +- vpnsetup_centos.sh | 2 +- 6 files changed, 20 insertions(+), 8 deletions(-) diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index 86dbf4f..2848062 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -58,8 +58,8 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来 ikev2=insist rekey=no fragmentation=yes - ike=3des-sha1,aes-sha1,aes256-sha2_256;modp1024,aes256-sha2_256;modp2048 - phase2alg=3des-sha1,aes-sha1,aes256-sha2_256 + ike=3des-sha1,3des-sha1;modp1024,aes-sha1,aes-sha1;modp1024,aes256-sha2_512,aes256-sha2_512;modp1024,aes256-sha2_256,aes256-sha2_256;modp1024 + phase2alg=3des-sha1,aes-sha1,aes256-sha2_512,aes256-sha2_256 EOF ``` diff --git a/docs/ikev2-howto.md b/docs/ikev2-howto.md index 9031087..0b99e68 100644 --- a/docs/ikev2-howto.md +++ b/docs/ikev2-howto.md @@ -58,8 +58,8 @@ Before continuing, make sure you have successfully