From patchwork Thu May 28 17:58:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3142 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 49XwSK506Dz43xD for ; Thu, 28 May 2020 17:59:13 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 49XwSG2QxTz38H; Thu, 28 May 2020 17:59:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 49XwSG0nHnz303m; Thu, 28 May 2020 17:59:10 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 49XwSB0FvNz2yvt for ; Thu, 28 May 2020 17:59:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 49XwS95FPnzJJ; Thu, 28 May 2020 17:59:05 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1590688745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jwM6oXWFi3DS61OqO40R/eTwWadcztO0Kv2IsGKYvkU=; b=k1wvNDk2husolefZAlzYXVzeJ2ZlpilVof1vYqduKc3urtDnD7EUNDfA0QbTUq4Ozbx1IE 4l7JxPzQqCR/sLBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1590688745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jwM6oXWFi3DS61OqO40R/eTwWadcztO0Kv2IsGKYvkU=; b=XOZzjgmJ7cc+DU9IGkoyFwWKe/HapVCPT10Jrh820aDXIruyH2+HXEwN96Bjk3omOXQOYg G549FqEZwp+nrf1aiP5CyNK0JnQvkMhkaemLYEmXz4VVVjLAHmuX4hr9jjXk7faPpXS8A/ oBVCfjYM3alkIPjUz2gFJYb18RcK7Ekh+k8nebcUFCTQY/D1c4FijMMVczCAHKm38rd8q7 pZmrOgn7I65v5o1sK615/Ih+wnzvoXr83vNZx5PcvhZzaKJJef0xrLdRl/onybUYyj0OSx 90+bWCgiFkKzeP61ihR3rBMgSbRYynn2z34ZjVckBn6Dx4t933gwDhUps2bgqg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 07/16] IPsec: Apple: Enable PFS on client when enabled Date: Thu, 28 May 2020 17:58:41 +0000 Message-Id: <20200528175850.12638-8-michael.tremer@ipfire.org> In-Reply-To: <20200528175850.12638-1-michael.tremer@ipfire.org> References: <20200528175850.12638-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- html/cgi-bin/vpnmain.cgi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index f5b1186a8..816136c92 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -1257,6 +1257,13 @@ END print " RemoteAddress\n"; print " $endpoint\n"; + # PFS + my $pfs = $confighash{$key}[28]; + if ($pfs eq "on") { + print " EnablePFS\n"; + print " \n"; + } + # Left ID if ($confighash{$key}[9]) { print " LocalIdentifier\n";