wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Reid Rankin <reidrankin@gmail.com>
To: Derrick Lyndon Pallas <derrick@pallas.us>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>,
	WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Interest in adding multicast support to Wireguard?
Date: Tue, 22 Sep 2020 15:38:27 -0400	[thread overview]
Message-ID: <CAMaqUZ0pUO-UBbJn3jED4HG-t5HiR3MLRBDrkSMz3fv_qpVsNg@mail.gmail.com> (raw)
In-Reply-To: <f344814f-034e-4e37-06f5-85e74a0ba582@pallas.us>

While I'm all for multicast support, I don't think this is it. TunSafe
only has that option to allow you to turn off an extra anti-multicast
filter that's on by default and drops anything incoming from ff00::/8
or 224.0.0./3, even if it's from a peer with those ranges in its
AllowedIPs. (Actually, 224.0.0.0/3 is technically the wrong range for
IPv4 multicast; that's 224.0.0.0/4. The upper half of that space,
240.0.0.0/4, has been "reserved for future addressing modes" since
1989.)

TunSafe was available long before the official WireGuard
implementation on Windows, largely because Jason insisted on
implementation of a proper Windows tunnel driver that operated at L3
(Wintun). TunSafe instead used the TAP-Windows driver from OpenVPN,
which shows up to Windows as an L2 device. It can do this because it
pretends that its peers have "MAC addresses" and uses a built-in
ARP/ND responder to fake the associated L2 traffic needed to bootstrap
L3 communication. I'm pretty sure this extra multicast filter was
added specifically because it prevents peers from interacting with
this internal ARP/ND machinery, either maliciously or through
misconfiguration.

--Reid


On Tue, Sep 22, 2020 at 2:54 PM Derrick Lyndon Pallas <derrick@pallas.us> wrote:
>
> On 9/21/20 8:16 AM, Derrick Lyndon Pallas wrote:
>
> >
> As an aside, it looks like at least one Wireguard (protocol)
> implementation [1] actually does implement all-or-nothing
> multicast/broadcast in their client: note the AllowMulticast option in
> [2]. They also explicitly enable ICMPv6 Neighbor Solicitation.
>
>
> [1] https://github.com/TunSafe/TunSafe/
>
> [2] https://tunsafe.com/user-guide/config
>
>

  reply	other threads:[~2020-09-22 19:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21  7:13 Interest in adding multicast support to Wireguard? Derrick Lyndon Pallas
2020-09-21  9:57 ` Toke Høiland-Jørgensen
2020-09-21 15:16   ` Derrick Lyndon Pallas
2020-09-21 11:17 ` AW: " Florian Werner
2020-09-21 15:16   ` Derrick Lyndon Pallas
2020-09-21 11:24 ` Jason A. Donenfeld
2020-09-21 15:04   ` Reid Rankin
2020-09-21 15:16     ` Derrick Lyndon Pallas
2020-09-22 18:54       ` Derrick Lyndon Pallas
2020-09-22 19:38         ` Reid Rankin [this message]
2020-09-22 20:26           ` Derrick Lyndon Pallas
2020-09-21 15:17   ` Derrick Lyndon Pallas
2020-09-27 17:50 ` Derek Fawcus

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=CAMaqUZ0pUO-UBbJn3jED4HG-t5HiR3MLRBDrkSMz3fv_qpVsNg@mail.gmail.com \
    --to=reidrankin@gmail.com \
    --cc=Jason@zx2c4.com \
    --cc=derrick@pallas.us \
    --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).