summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-07-12 23:08:45 -0700
committerBen Pfaff <blp@nicira.com>2012-07-18 10:25:50 -0700
commit3d52c4850f2b8755562c45db18be3ecf067aaf72 (patch)
tree8d8251f10b7e55c78d5bb3935785dab848bfc22e
parent302a5e9334c2aa26674b66c699a2c77723644f9e (diff)
downloadopenvswitch-3d52c4850f2b8755562c45db18be3ecf067aaf72.tar.gz
debian: Do not change iptables rules by default.
Debian kernel maintainer Bastian Blank writes, at http://bugs.debian.org/680537: The netfilter rules are a shared resource. There is no synchronization, so the admin have the last word. As kernel maintainer, I see it similar to a configuration file, so ยง10.7 policy applies. The purpose of openvswitch is to provide support for switching, not to setup filter rules. This means it violates the principle of least surprise. I believe that the argument by analogy to configuration files is weak, given that the Debian policy section in question is very specifically about files, not about general principles. On the other hand, Debian does not install any firewall by default, so the presence of a rule that blocks GRE traffic is a sign that the administrator has taken an explicit action to install a firewall that blocks GRE, and therefore it is rather rude to override this. Therefore, this patch simply turns off this behavior on Debian, given that in ordinary Debian installations it will have no adverse effect on Open vSwitch. Debian bug #680537. CC: 680537@bugs.debian.org Reported-by: Bastian Blank <waldi@debian.org> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Simon Horman <horms@verge.net.au>
-rwxr-xr-xdebian/openvswitch-switch.init2
1 files changed, 0 insertions, 2 deletions
diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init
index 36dd5f928..c1cf430e3 100755
--- a/debian/openvswitch-switch.init
+++ b/debian/openvswitch-switch.init
@@ -69,8 +69,6 @@ start () {
set "$@" --force-corefiles="$FORCE_COREFILES"
fi
"$@" || exit $?
-
- ovs_ctl --protocol=gre enable-protocol
}
stop () {