Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Darren VanBuren <onekopaka@theoks.net>
To: wireguard@lists.zx2c4.com
Subject: WireGuardNT with a peer with a v6 endpoint address
Date: Tue, 3 Aug 2021 18:51:19 -0700	[thread overview]
Message-ID: <cfb04d23-8e07-53e6-1fca-2db52693eb84@theoks.net> (raw)

Hello WireGuard list,

I was very excited to see that WireGuardNT was available to test with 
the WireGuard Windows 0.4 release and I jumped right on it. I have 
upgraded to 0.4.1 since then.

However, both from my desktop and laptop, where the laptop is on Windows 
10 build 19043 and the desktop is on Windows 10 build 19042, I'm not 
seeing even a handshake go out on the wire / air when I use a v6 
endpoint address for a peer, in my simple single peer configuration.
When I switch down to a v4 endpoint address for the peer, it does work. 
wireguard-go worked fine with the v6 endpoint address, and continues to 
work fine. Has anyone else seen this?

Thanks so much to the developers for the tremendous work on WireGuard in 
all its forms.

Here's the log from my laptop trying to handshake for a bit, I have 
censored my VPS' IP and cut the log after the 20 attempts to handshake:

2021-08-03 18:23:58.478: [TUN] [MainVPS] Starting WireGuard/0.4.1 
(Windows 10.0.19043; amd64)
2021-08-03 18:23:58.478: [TUN] [MainVPS] Watching network interfaces
2021-08-03 18:23:58.483: [TUN] [MainVPS] Resolving DNS names
2021-08-03 18:23:58.527: [TUN] [MainVPS] Creating network adapter
2021-08-03 18:23:58.532: [TUN] [MainVPS] WireGuardCreateAdapter: 
Creating adapter
2021-08-03 18:23:58.656: [TUN] [MainVPS] SelectDriver: Using existing 
driver 0.2
2021-08-03 18:23:59.170: [TUN] [MainVPS] Using WireGuardNT/0.2
2021-08-03 18:23:59.170: [TUN] [MainVPS] Enabling firewall rules
2021-08-03 18:23:59.170: [TUN] [MainVPS] Interface created
2021-08-03 18:23:59.178: [TUN] [MainVPS] Dropping privileges
2021-08-03 18:23:59.178: [TUN] [MainVPS] Peer 1 created
2021-08-03 18:23:59.190: [TUN] [MainVPS] Monitoring MTU of default v4 routes
2021-08-03 18:23:59.198: [TUN] [MainVPS] Setting device v4 addresses
2021-08-03 18:23:59.210: [TUN] [MainVPS] Monitoring MTU of default v6 routes
2021-08-03 18:23:59.210: [TUN] [MainVPS] Interface up
2021-08-03 18:23:59.210: [TUN] [MainVPS] Setting device v6 addresses
2021-08-03 18:23:59.270: [TUN] [MainVPS] Startup complete
2021-08-03 18:24:02.495: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:07.664: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 2)
2021-08-03 18:24:07.664: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:12.753: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 3)
2021-08-03 18:24:12.753: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:17.876: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 2)
2021-08-03 18:24:17.876: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:22.923: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 3)
2021-08-03 18:24:22.923: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:28.089: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 4)
2021-08-03 18:24:28.089: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:33.197: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 5)
2021-08-03 18:24:33.197: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:38.280: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 6)
2021-08-03 18:24:38.280: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:43.373: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 7)
2021-08-03 18:24:43.373: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:48.482: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 8)
2021-08-03 18:24:48.482: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:53.484: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 9)
2021-08-03 18:24:53.484: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:24:58.567: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 10)
2021-08-03 18:24:58.567: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:03.672: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 11)
2021-08-03 18:25:03.672: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:08.760: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 12)
2021-08-03 18:25:08.760: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:13.828: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 13)
2021-08-03 18:25:13.828: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:18.913: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 14)
2021-08-03 18:25:18.913: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:23.940: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 15)
2021-08-03 18:25:23.940: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:29.096: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 16)
2021-08-03 18:25:29.096: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:34.110: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 17)
2021-08-03 18:25:34.110: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:39.244: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 18)
2021-08-03 18:25:39.244: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:44.387: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 19)
2021-08-03 18:25:44.387: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:49.455: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 5 seconds, 
retrying (try 20)
2021-08-03 18:25:49.455: [TUN] [MainVPS] Sending handshake initiation to 
peer 1 ([2605:6400:20:xx:xxxx::1]:56780)
2021-08-03 18:25:54.502: [TUN] [MainVPS] Handshake for peer 1 
([2605:6400:20:xx:xxxx::1]:56780) did not complete after 20 attempts, 
giving up


             reply	other threads:[~2021-08-04  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  1:51 Darren VanBuren [this message]
2021-08-04 11:15 ` Jason A. Donenfeld

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=cfb04d23-8e07-53e6-1fca-2db52693eb84@theoks.net \
    --to=onekopaka@theoks.net \
    --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).