]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
IPsec: Include Curve 25519 in default proposal
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Apr 2017 11:16:52 +0000 (12:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Apr 2017 11:16:52 +0000 (12:16 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/vpnmain.cgi

index dfd5bfa8ea451c53161cd5ad5f87c6197a9467f4..cc891c9f50c8b015ea3d75424780c566ddbcf4c2 100644 (file)
@@ -1898,11 +1898,11 @@ END
        #use default advanced value
        $cgiparams{'IKE_ENCRYPTION'}    = 'aes256gcm128|aes256gcm96|aes256gcm64|aes256|aes192gcm128|aes192gcm96|aes192gcm64|aes192|aes128gcm128|aes128gcm96|aes128gcm64|aes128'; #[18];
        $cgiparams{'IKE_INTEGRITY'}             = 'sha2_512|sha2_256'; #[19];
-       $cgiparams{'IKE_GROUPTYPE'}             = '4096|3072|2048'; #[20];
+       $cgiparams{'IKE_GROUPTYPE'}             = 'curve25519|4096|3072|2048'; #[20];
        $cgiparams{'IKE_LIFETIME'}              = '3'; #[16];
        $cgiparams{'ESP_ENCRYPTION'}    = 'aes256gcm128|aes256gcm96|aes256gcm64|aes256|aes192gcm128|aes192gcm96|aes192gcm64|aes192|aes128gcm128|aes128gcm96|aes128gcm64|aes128'; #[21];
        $cgiparams{'ESP_INTEGRITY'}             = 'sha2_512|sha2_256'; #[22];
-       $cgiparams{'ESP_GROUPTYPE'}             = '4096|3072|2048'; #[23];
+       $cgiparams{'ESP_GROUPTYPE'}             = 'curve25519|4096|3072|2048'; #[23];
        $cgiparams{'ESP_KEYLIFE'}               = '1'; #[17];
        $cgiparams{'COMPRESSION'}               = 'on'; #[13];
        $cgiparams{'ONLY_PROPOSED'}             = 'on'; #[24];