diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-16 04:01:05 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-17 19:26:07 +0200 |
commit | f22eb0b01ca40db8361300acde09e465704a9810 (patch) | |
tree | b9390f42bc08ba55c5014d85bf3889c7aedf48ba | |
parent | tools: add pass example to wg-quick man page (diff) | |
download | wireguard-monolithic-historical-f22eb0b01ca40db8361300acde09e465704a9810.tar.xz wireguard-monolithic-historical-f22eb0b01ca40db8361300acde09e465704a9810.zip |
netns: disable accept_dad for all interfaces
Upstream's a2d3f3e33853ef52e5f66b41c3e8ee5710aa3305 broke things in
strange and confusing ways.
-rwxr-xr-x | src/tests/netns.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/netns.sh b/src/tests/netns.sh index 375868e..2d77479 100755 --- a/src/tests/netns.sh +++ b/src/tests/netns.sh @@ -271,6 +271,8 @@ ip2 link add dev wg0 type wireguard configure_peers ip1 link add veth1 type veth peer name veth2 ip1 link set veth2 netns $netns2 +n1 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/all/accept_dad' +n2 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/all/accept_dad' n1 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/veth1/accept_dad' n2 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/veth2/accept_dad' n1 bash -c 'printf 1 > /proc/sys/net/ipv4/conf/veth1/promote_secondaries' |