Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
SuSEfirewall2
0001-fix-reverse-direction-of-forwarding-rules-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fix-reverse-direction-of-forwarding-rules-bnc-679192.diff of Package SuSEfirewall2
From f07a42007176a521c6e59cb618af304048074b99 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel <ludwig.nussel@suse.de> Date: Wed, 6 Apr 2011 09:14:50 +0200 Subject: [PATCH] fix reverse direction of forwarding rules (bnc#679192) --- SuSEfirewall2 | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SuSEfirewall2 b/SuSEfirewall2 index 886005c..e9e68a1 100755 --- a/SuSEfirewall2 +++ b/SuSEfirewall2 @@ -1987,7 +1987,7 @@ forwarding_rules() fi for zone in $forward_zones; do chain=forward_$zone - set -- $iptables -A $chain -s $net1 -d $net2 $proto $more_args_in + set -- $iptables -A $chain $proto $more_args_in if [ -z "$zonein" -o "$zonein" = "$zone" ]; then if [ -n "$zoneout" ]; then create_cond_chain "$target" "out" "$zoneout" @@ -1995,9 +1995,9 @@ forwarding_rules() else jt="$target" fi - $LAC "$@" ${LOG}"-`rulelog $chain`-${target:0:3}-FORW " $port -m conntrack --ctstate NEW $more_args_in - $LAA "$@" ${LOG}"-`rulelog $chain`-${target:0:3}-FORW " $port $more_args_in - "$@" -j "$jt" -m conntrack --ctstate NEW,ESTABLISHED,RELATED $port + $LAC "$@" -s $net1 -d $net2 ${LOG}"-`rulelog $chain`-${target:0:3}-FORW " $port -m conntrack --ctstate NEW $more_args_in + $LAA "$@" -s $net1 -d $net2 ${LOG}"-`rulelog $chain`-${target:0:3}-FORW " $port $more_args_in + "$@" -s $net1 -d $net2 -j "$jt" -m conntrack --ctstate NEW,ESTABLISHED,RELATED $port fi if [ -z "$zoneout" -o "$zoneout" = "$zone" ]; then if [ -n "$zonein" ]; then @@ -2006,7 +2006,7 @@ forwarding_rules() else jt="$target" fi - "$@" -j "$jt" -m conntrack --ctstate ESTABLISHED,RELATED $rport + "$@" -s $net2 -d $net1 -j "$jt" -m conntrack --ctstate ESTABLISHED,RELATED $rport fi if [ -n "$more_args_out" ]; then if [ -z "$zonein" -o "$zonein" = "$zone" ]; then -- 1.7.3.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor