From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, core120, updated. 39f4488a62cc97a1a60573e57eb8a14a7743f5e3 Date: Tue, 24 Apr 2018 14:27:27 +0100 Message-ID: <20180424132728.42D501081DF2@git01.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4060700884974676825==" List-Id: --===============4060700884974676825== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, core120 has been updated via 39f4488a62cc97a1a60573e57eb8a14a7743f5e3 (commit) via ef623d3e68fdf97d2f96a5b9d1c22de771e05d49 (commit) from 196b9090f96064d5772e01b875106397a9c898da (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 39f4488a62cc97a1a60573e57eb8a14a7743f5e3 Author: Michael Tremer Date: Tue Apr 24 14:25:55 2018 +0100 core120: Regenerate IPsec configuration =20 Signed-off-by: Michael Tremer commit ef623d3e68fdf97d2f96a5b9d1c22de771e05d49 Author: Michael Tremer Date: Thu Apr 19 15:36:37 2018 +0100 Revert "IPsec: Try to restart always-on tunnels immediately" =20 This reverts commit a261cb06c6cdd3ba14ad0163c8c9e714ae94fc5b. =20 Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: config/rootfiles/core/120/update.sh | 6 ++++++ html/cgi-bin/vpnmain.cgi | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) Difference in files: diff --git a/config/rootfiles/core/120/update.sh b/config/rootfiles/core/120/= update.sh index 1ba9df96f..c465d315b 100644 --- a/config/rootfiles/core/120/update.sh +++ b/config/rootfiles/core/120/update.sh @@ -83,6 +83,12 @@ done /etc/init.d/apache restart /etc/init.d/unbound restart =20 +# Regenerate IPsec configuration +sudo -u nobody /srv/web/ipfire/cgi-bin/vpnmain.cgi +if grep -q "ENABLED=3Don" /var/ipfire/vpn/settings; then + /etc/init.d/ipsec restart +fi + # Remove deprecated SSH configuration option sed -e "/UsePrivilegeSeparation/d" -i /etc/ssh/sshd_config =20 diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index a52b4d64d..378acb326 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -436,12 +436,6 @@ sub writeipsecfiles { if ($start_action eq 'route' && $inactivity_timeout > 0) { print CONF "\tinactivity=3D$inactivity_timeout\n"; } - - # Restart the connection immediately when it has gone down - # unexpectedly - if ($start_action eq 'start') { - print CONF "\tcloseaction=3Drestart\n"; - } } =20 # Fragmentation hooks/post-receive -- IPFire 2.x development tree --===============4060700884974676825==--