Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Janne Johansson <icepic.dz@gmail.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: MacOS and wg 1.0.11 issues (for me)
Date: Fri, 18 Dec 2020 16:59:51 +0100	[thread overview]
Message-ID: <CAA6-MF-fXL58SWcr6ct+iKLutObvM7xNoRTUW=iwfXUjcPsUGQ@mail.gmail.com> (raw)

I waited until 1.0.11 was out to not have to workaround the 1.0.10
issue if you didn't have DNS in the [Interface] section, and got a
"reverse" of it. I could not connect tunnels which did have DNS
entries in the interface section. As soon as I tried removing DNS =
the tunnels worked fine.

After MUCH back and forth with Jason, I have ended up where I can
either have DNS set in resolv.conf only and not ask wg to set any, OR,
I can have a local resolver running on 127.0.0.1, and ask wg via the
tunnel interface config to set this one and it will work for me. If my
localhost resolver is not running, the tunnel also doesn't come up.

I have no idea why my Mac is this weird, and we have tried a lot in
order to replicate this at his end without luck, so if anyone out
there upgrades to .11, has issues as long as DNS= is in the interface
section, please reach out to jason (and/or me) so we can figure why
this happens and what the conditions to trigger/reproduce this is.

In my case, the gui quickly shows the local udp port, then it goes
away. Data sent show some 146 bytes, but it doesn't show any received
data or a timestamp for last handshake.

wg logs have lines looping like this when it doesn't work:
2020-12-18 16:32:35.876 [NET] peer(kU2O…g42s) - Sending handshake initiation
2020-12-18 16:32:35.877 [NET] peer(kU2O…g42s) - Failed to send
handshake initiation no bind
2020-12-18 16:32:41.042 [NET] peer(kU2O…g42s) - Handshake did not
complete after 5 seconds, retrying (try 2)

Macbook pro, Big Sur 11.1, wg 1.0.11(20) from app store, and configs
that used to run ok in the 2019 wg from app store.

-- 
May the most significant bit of your life be positive.

             reply	other threads:[~2020-12-18 16:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 15:59 Janne Johansson [this message]
2020-12-18 16:19 ` Jason A. Donenfeld
2020-12-19 11:10   ` Laura Smith
2020-12-19 11:48     ` Jason A. Donenfeld
2020-12-19 12:08       ` Alex Burke
     [not found]       ` <C1A15065-7B91-437F-8B83-FF2EB10DD33E@kloenk.de>
2020-12-19 18:48         ` Janne Johansson
2020-12-19 19:13       ` Laura Smith

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='CAA6-MF-fXL58SWcr6ct+iKLutObvM7xNoRTUW=iwfXUjcPsUGQ@mail.gmail.com' \
    --to=icepic.dz@gmail.com \
    --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).