Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Matthias Urlichs <matthias@urlichs.de>
To: wireguard@lists.zx2c4.com
Subject: Re: Bug report: WireGuard iOS prioritizes IPv4 over IPv6
Date: Sun, 23 Feb 2020 11:41:59 +0100	[thread overview]
Message-ID: <fdeba97e-f753-803b-0ee3-57570a81840e@urlichs.de> (raw)
In-Reply-To: <AM0PR03MB4354F7720F30995B3615664DDC160@AM0PR03MB4354.eurprd03.prod.outlook.com>

On 17.02.20 16:44, Maurice Walker wrote:
> The Android (v0.0.20200206) and Windows (v0.0.38) clients have the same bug.

It's not a ("simple") bug, but a general problem with peers with
multiple addresses – wireguard only stores one in the kernel, it doesn't
do multipath, by design.

Thus the frontend needs to remember all addresses, send one to the
driver, wait a bit, check whether a link could be established, then try
with another peer address. Repeat until success. Bonus points for
repeating the host name lookup.

-- 
-- Matthias Urlichs

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

  reply	other threads:[~2020-02-23 10:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 15:44 Maurice Walker
2020-02-23 10:41 ` Matthias Urlichs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-23 16:25 Maurice Walker
2020-02-20 21:24 Maurice Walker
2020-01-02  8:40 Siyuan Ren

Reply instructions:

You may reply publicly 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=fdeba97e-f753-803b-0ee3-57570a81840e@urlichs.de \
    --to=matthias@urlichs.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).