From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. a3452c90307aa6fd2b8543c17c15638c2ffda15e
Date: Tue, 24 Apr 2018 10:51:49 +0100 [thread overview]
Message-ID: <20180424095149.D01961081DF2@git01.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 3534 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, next has been updated
via a3452c90307aa6fd2b8543c17c15638c2ffda15e (commit)
via 637eee2607c015947778523be13cce1c1ed938c6 (commit)
from f529ad213f52c5dc6d4eb0a8d0988e9f23fde5e5 (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 a3452c90307aa6fd2b8543c17c15638c2ffda15e
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Tue Apr 24 10:47:16 2018 +0100
ipsec: Open ports in outgoing direction
When the firewall policy is blocked, no outgoing IPsec connections
can be established. That is slightly counter-intuitive since we
open ports in the incoming direction automatically.
Fixes: #11704
Reported-by: Oliver Fuhrer <oliver.fuhrer(a)bluewin.ch>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 637eee2607c015947778523be13cce1c1ed938c6
Author: Ersan Yildirim <ersan73(a)gmail.com>
Date: Tue Apr 24 10:46:52 2018 +0100
Fix mistakes in Turkish translation
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
langs/tr/cgi-bin/tr.pl | 2 +-
src/misc-progs/ipsecctrl.c | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
Difference in files:
diff --git a/langs/tr/cgi-bin/tr.pl b/langs/tr/cgi-bin/tr.pl
index 6eb3a7e03..53f0afc7a 100644
--- a/langs/tr/cgi-bin/tr.pl
+++ b/langs/tr/cgi-bin/tr.pl
@@ -1762,7 +1762,7 @@
'off' => 'kapalı',
'ok' => 'TAMAM',
'older' => 'Eski',
-'on' => 'üstünde',
+'on' => 'açık',
'one hour' => 'Bir Saat',
'one month' => 'Bir Ay',
'one week' => 'Bir Hafta',
diff --git a/src/misc-progs/ipsecctrl.c b/src/misc-progs/ipsecctrl.c
index 204753640..9afc409ca 100644
--- a/src/misc-progs/ipsecctrl.c
+++ b/src/misc-progs/ipsecctrl.c
@@ -63,6 +63,10 @@ void open_physical (char *interface, int nat_traversal_port) {
safe_system(str);
sprintf(str, "/sbin/iptables --wait -A IPSECINPUT -p udp -i %s --dport 500 -j ACCEPT", interface);
safe_system(str);
+ sprintf(str, "/sbin/iptables --wait -D IPSECOUTPUT -p udp -o %s --dport 500 -j ACCEPT >/dev/null 2>&1", interface);
+ safe_system(str);
+ sprintf(str, "/sbin/iptables --wait -A IPSECOUTPUT -p udp -o %s --dport 500 -j ACCEPT", interface);
+ safe_system(str);
if (! nat_traversal_port)
return;
@@ -71,6 +75,10 @@ void open_physical (char *interface, int nat_traversal_port) {
safe_system(str);
sprintf(str, "/sbin/iptables --wait -A IPSECINPUT -p udp -i %s --dport %i -j ACCEPT", interface, nat_traversal_port);
safe_system(str);
+ sprintf(str, "/sbin/iptables --wait -D IPSECOUTPUT -p udp -o %s --dport %i -j ACCEPT >/dev/null 2>&1", interface, nat_traversal_port);
+ safe_system(str);
+ sprintf(str, "/sbin/iptables --wait -A IPSECOUTPUT -p udp -o %s --dport %i -j ACCEPT", interface, nat_traversal_port);
+ safe_system(str);
}
void ipsec_norules() {
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2018-04-24 9:51 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=20180424095149.D01961081DF2@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