d48d28a
--- xen-4.1.0-orig/tools/hotplug/Linux/vif-bridge	2008-08-22 10:49:07.000000000 +0100
d48d28a
+++ xen-4.1.0-new/tools/hotplug/Linux/vif-bridge	2008-08-29 11:29:38.000000000 +0100
a36066c
@@ -96,8 +96,6 @@ case "$command" in
77513e5
         ;;
77513e5
 esac
77513e5
 
a36066c
-handle_iptable
77513e5
-
c9994c1
 call_hooks vif post
c9994c1
 
d48d28a
 log debug "Successful vif-bridge $command for $dev, bridge $bridge."
befec2e
--- xen-3.3.0-orig/tools/hotplug/Linux/xen-network-common.sh	2008-08-22 10:49:07.000000000 +0100
befec2e
+++ xen-3.3.0-new/tools/hotplug/Linux/xen-network-common.sh	2008-08-29 11:29:38.000000000 +0100
77513e5
@@ -99,6 +99,13 @@ create_bridge () {
8d5f5c2
 	brctl addbr ${bridge}
8d5f5c2
 	brctl stp ${bridge} off
8d5f5c2
 	brctl setfd ${bridge} 0
8d5f5c2
+	# Setting these to zero stops guest<->LAN traffic
8d5f5c2
+	# traversing the bridge from hitting the *tables
8d5f5c2
+	# rulesets. guest<->host traffic still gets processed
8d5f5c2
+	# by the host's iptables rules so this isn't a hole
8d5f5c2
+	sysctl -q -w "net.bridge.bridge-nf-call-arptables=0"
8d5f5c2
+	sysctl -q -w "net.bridge.bridge-nf-call-ip6tables=0"
8d5f5c2
+	sysctl -q -w "net.bridge.bridge-nf-call-iptables=0"
8d5f5c2
     fi
8d5f5c2
 }
8d5f5c2