Re: PostDown 0.0.20191127

2019-11-28 Thread Jason A. Donenfeld
Ahhh, that's what's up. Thanks! Will address. Jason ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard

Re: PostDown 0.0.20191127

2019-11-28 Thread Thomas Sattler
Am 28.11.19 um 13:51 schrieb Jason A. Donenfeld: Thanks. Fixed this way: https://git.zx2c4.com/WireGuard/commit/?id=57854fb710160f567cf776b65080a9ce5afdf02c But: why is your remove_iptables failing in the first place? If I understand correctly, the implicit return value of remove_iptables() i

Re: PostDown 0.0.20191127

2019-11-28 Thread Nico Schottelius
Follow up question from my side Jason: what do you think about replacing "$2" in the script with a shifted "$@" and allowing multiple devices to be specified? i.e. wg-quick up wgungleich wgplace4 wgplace11 is something I would like to do in one call and it would potentially be easy to just loop

Re: PostDown 0.0.20191127

2019-11-28 Thread Jason A. Donenfeld
Thanks. Fixed this way: https://git.zx2c4.com/WireGuard/commit/?id=57854fb710160f567cf776b65080a9ce5afdf02c But: why is your remove_iptables failing in the first place? ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/

PostDown 0.0.20191127

2019-11-28 Thread Thomas Sattler
Hi there ... in 0.0.20191127 PostDown invocation can fail as remove_iptables() can return non-zero. A patch is attached. Thomas --- /usr/bin/wg-quick.vanilla 2019-11-28 13:23:36.898460985 +0100 +++ /usr/bin/wg-quick 2019-11-28 13:19:59.402907478 +0100 @@ -192,6 +192,7 @@ done < <($iptables-sa