Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Luis Ressel <aranea@aixah.de>
To: xtus <xtus@nexmanti.net>
Cc: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: Re: wg set fail to update endpoint if traffic is flowing
Date: Fri, 10 Apr 2020 08:01:12 +0000
Message-ID: <20200410080112.qyltsntafey7asdy@vega> (raw)
In-Reply-To: <i2UwKoKpd7CcDmlKuf5GHwFTjVhsyWaKbbI_QaLQ5yjGbpBkH7klwefEhR8B7TICn7B4uguk3sK23sExHYpQFUX9txdU-RDQR7w0bCuNj4E=@nexmanti.net>

On Tue, Mar 31, 2020 at 08:36:52AM +0000, xtus wrote:
> The set endpoint works only if no traffic is flowing.
> 
> Is this expected behavior?

Yes, it is. It's not that wg set fails to update the endpoint; rather,
the endpoint you've set is immediately overwritten again -- to support
seamless roaming, wg updates the endpoint every time it receives an
authenticated packet from a peer.


Luis

      reply	other threads:[~2020-04-10  8:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31  8:36 xtus
2020-04-10  8:01 ` Luis Ressel [this message]

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=20200410080112.qyltsntafey7asdy@vega \
    --to=aranea@aixah.de \
    --cc=wireguard@lists.zx2c4.com \
    --cc=xtus@nexmanti.net \
    /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

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git