From: Bruno Wolff III <bruno@wolff.to>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [WireGuard] [ANNOUNCE] Snapshot `experimental-0.0.20160708.1` Available
Date: Fri, 8 Jul 2016 11:23:37 -0500 [thread overview]
Message-ID: <20160708162337.GA5566@wolff.to> (raw)
In-Reply-To: <278721635a23c243@frisell.zx2c4.com>
On Fri, Jul 08, 2016 at 16:37:23 +0200,
"Jason A. Donenfeld" <Jason@zx2c4.com> wrote:
>
>== Changes ==
>
> * persistent keepalive: start sending immediately -- the previously released
> feature was not useful without this extra commit. So, getting this in here
> now so that people can actually test this out. Sorry for the churn. Don't
> bother packaging the previous snapshot.
I tried this an noticed a problem. The keep alive packets don't set the
reply IP address and port for the endpoint. (Which makes sense since they
aren't authenticated.) So in the case of nat, where you won't know what
the port is (and in some cases the IP address as well) you still can't
connect to the end point behind the nat until there is some authenticated
data sent from the end point.
So if nat changes the port at some point, in order to reestablish a path,
you need to send authenticated data. I am not thinking of an obvious way
to tell when you just need to hold the port mapping via nat open versus
when you need to send authenticated data to rebuild a connection after
a port or IP address change from nat.
next prev parent reply other threads:[~2016-07-08 16:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-08 14:37 [WireGuard] [ANNOUNCE] Snapshot `experimental-0.0.20160708.1` Available Jason A. Donenfeld
2016-07-08 16:23 ` Bruno Wolff III [this message]
2016-07-08 17:55 ` Jason A. Donenfeld
2016-07-08 18:49 ` Jason A. Donenfeld
2016-07-08 19:55 ` Bruno Wolff III
2016-07-08 20:21 ` Jason A. Donenfeld
2016-07-08 20:44 ` Bruno Wolff III
2016-07-08 20:54 ` Bruno Wolff III
2016-07-08 21:45 ` 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=20160708162337.GA5566@wolff.to \
--to=bruno@wolff.to \
--cc=Jason@zx2c4.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.