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 [thread overview]
Message-ID: <20180424132728.42D501081DF2@git01.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2729 bytes --]
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 <michael.tremer(a)ipfire.org>
Date: Tue Apr 24 14:25:55 2018 +0100
core120: Regenerate IPsec configuration
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit ef623d3e68fdf97d2f96a5b9d1c22de771e05d49
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Apr 19 15:36:37 2018 +0100
Revert "IPsec: Try to restart always-on tunnels immediately"
This reverts commit a261cb06c6cdd3ba14ad0163c8c9e714ae94fc5b.
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
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
+# Regenerate IPsec configuration
+sudo -u nobody /srv/web/ipfire/cgi-bin/vpnmain.cgi
+if grep -q "ENABLED=on" /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
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=$inactivity_timeout\n";
}
-
- # Restart the connection immediately when it has gone down
- # unexpectedly
- if ($start_action eq 'start') {
- print CONF "\tcloseaction=restart\n";
- }
}
# Fragmentation
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2018-04-24 13:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180424132728.42D501081DF2@git01.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox