]> git.ipfire.org Git - people/ms/network.git/commitdiff
ipsec: Allow using no encryption
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Aug 2017 12:04:16 +0000 (14:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Aug 2017 12:04:16 +0000 (14:04 +0200)
Fixes #11461

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.vpn-security-policies

index a74d3886b88ef76e11d4587ec506d7de00c95811..cdd4e838ea7b475b083cdbd0f199d8fd9f4d102e 100644 (file)
@@ -91,6 +91,9 @@ declare -A VPN_SUPPORTED_CIPHERS=(
        [CAMELLIA256-CCM64]="256 bit CAMELLIA-CCM with 64 bit ICV"
        [CAMELLIA192-CCM64]="192 bit CAMELLIA-CCM with 64 bit ICV"
        [CAMELLIA128-CCM64]="128 bit CAMELLIA-CCM with 64 bit ICV"
+
+       # No Encryption
+       [NULL]="No Encryption"
 )
 
 declare -A CIPHER_TO_STRONGSWAN=(
@@ -160,6 +163,9 @@ declare -A CIPHER_TO_STRONGSWAN=(
        [CAMELLIA256-CCM64]="camellia256ccm64"
        [CAMELLIA192-CCM64]="camellia192ccm64"
        [CAMELLIA128-CCM64]="camellia128ccm64"
+
+       # No Encryption
+       [NULL]="null"
 )
 
 declare -A VPN_SUPPORTED_INTEGRITY=(