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, master has been updated via 841f013e264d21dd6d3a725325623dbc21aac4f9 (commit) from 9c3b24502ab3b29f67301248527341aaa8d69d27 (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 841f013e264d21dd6d3a725325623dbc21aac4f9 Author: Christian Schmidt christian.schmidt@ipfire.org Date: Sun Jun 20 20:15:08 2010 +0200
Fixed guardian gateway detection - this fixes bug #0000665
-----------------------------------------------------------------------
Summary of changes: config/guardian/guardian.pl | 5 +++-- lfs/guardian | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)
Difference in files: diff --git a/config/guardian/guardian.pl b/config/guardian/guardian.pl index 5c42186..b5c3f9c 100644 --- a/config/guardian/guardian.pl +++ b/config/guardian/guardian.pl @@ -34,12 +34,13 @@ if ($hostipaddr !~ /\d+.\d+.\d+.\d+/) {
$networkaddr = $hostipaddr; $networkaddr =~ s/\d+$/0/; -$gatewayaddr = $hostipaddr; -$gatewayaddr =~ s/\d+$/$hostgatewaybyte/; +$gatewayaddr = `cat /var/ipfire/red/remote-ipaddress 2>/dev/null`; $broadcastaddr = $hostipaddr; $broadcastaddr =~ s/\d+$/255/; &build_ignore_hash;
+print "My gatewayaddess is: $gatewayaddr\n"; + # This is the target hash. If a packet was destened to any of these, then the # sender of that packet will get denied, unless it is on the ignore list..
diff --git a/lfs/guardian b/lfs/guardian index f3118f6..e08a469 100644 --- a/lfs/guardian +++ b/lfs/guardian @@ -30,7 +30,7 @@ THISAPP = guardian-$(VER) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = guardian -PAK_VER = 3 +PAK_VER = 4
DEPS = ""
hooks/post-receive -- IPFire 2.x development tree