From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 51cf3f8be548e3bb3bff19bab7c27dbb56e6e426
Date: Fri, 21 Mar 2014 13:39:36 +0100 [thread overview]
Message-ID: <20140321123936.C01FC2079E@argus.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2061 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 51cf3f8be548e3bb3bff19bab7c27dbb56e6e426 (commit)
via f98bb538e59279bb0768a15fc7d95267f4d61c74 (commit)
from c0ce920610c15e9a3639dbaadb29feea1747ac34 (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 51cf3f8be548e3bb3bff19bab7c27dbb56e6e426
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Fri Mar 21 13:39:03 2014 +0100
firewall: rules.pl: Honour time constraints for NAT rules as well.
commit f98bb538e59279bb0768a15fc7d95267f4d61c74
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Fri Mar 21 13:33:08 2014 +0100
firewall: rules.pl: Catch invalid configurations.
-----------------------------------------------------------------------
Summary of changes:
config/firewall/rules.pl | 6 ++++++
1 file changed, 6 insertions(+)
Difference in files:
diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl
index d9c9b5c..f25983c 100755
--- a/config/firewall/rules.pl
+++ b/config/firewall/rules.pl
@@ -322,6 +322,7 @@ sub buildrules {
}
push(@nat_options, @source_options);
push(@nat_options, ("-d", $nat_address));
+ push(@nat_options, @time_options);
my $dnat_port;
if ($protocol_has_ports) {
@@ -337,6 +338,11 @@ sub buildrules {
# Use iptables DNAT
} else {
+ if ($destination_is_firewall && !$destination) {
+ $destination = &fwlib::get_external_address();
+ }
+ next unless ($destination);
+
my ($dnat_address, $dnat_mask) = split("/", $destination);
@destination_options = ("-d", $dnat_address);
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2014-03-21 12:39 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=20140321123936.C01FC2079E@argus.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