WireGuard Archive on lore.kernel.org
 help / color / Atom feed
From: Thomas Sattler <sattler@med.uni-frankfurt.de>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: PostDown 0.0.20191127
Date: Thu, 28 Nov 2019 13:27:01 +0100
Message-ID: <9cefaab6-d3f8-25f0-34da-754e59c7c4d4@med.uni-frankfurt.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

Hi there ...

in 0.0.20191127 PostDown invocation can fail
as remove_iptables() can return non-zero. A
patch is attached.

Thomas

[-- Attachment #2: wg-quick.20191127-fix.patch --]
[-- Type: text/x-patch, Size: 285 bytes --]

--- /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-save)
 		[[ $found -eq 1 ]] && echo "$restore" | cmd $iptables-restore -nw
 	done
+	return 0
 }
 
 HAVE_SET_IPTABLES=0

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-28 12:27 Thomas Sattler [this message]
2019-11-28 12:51 ` Jason A. Donenfeld
2019-11-28 13:07   ` Nico Schottelius
2019-11-28 13:32   ` Thomas Sattler
2019-11-28 17:14     ` Jason A. Donenfeld

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cefaab6-d3f8-25f0-34da-754e59c7c4d4@med.uni-frankfurt.de \
    --to=sattler@med.uni-frankfurt.de \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git