Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Eicke Herbertz <wolletd@posteo.de>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Invalid handshake initiation after peer reboot: bug?
Date: Sat, 22 Aug 2020 21:11:01 +0200	[thread overview]
Message-ID: <CAHmME9pC+M1Wh-NCa5XAUAVFhT5hnJA2Rdnfj+DWdmxk5S5rLA@mail.gmail.com> (raw)
In-Reply-To: <e120a0a3-2170-4d2f-eaf5-878b09a0ab61@posteo.de>

Hi Eicke,

It could be a customer's network is mangling packets or something,
though that seems least likely. More probably, if you're dealing with
tiny devices, might it be that they don't have a real time clock
battery? WireGuard relies on a timestamp counter always moving
forward. It doesn't have to be accurate, but it just can't move
backwards. So you might try syncing your OpenWRT router to some
network time server of sorts before initiating a WireGuard handshake.

Jason

  reply	other threads:[~2020-08-22 19:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21 20:42 Eicke Herbertz
2020-08-22 19:11 ` Jason A. Donenfeld [this message]
2020-08-24 18:19   ` Eicke Herbertz

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=CAHmME9pC+M1Wh-NCa5XAUAVFhT5hnJA2Rdnfj+DWdmxk5S5rLA@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    --cc=wolletd@posteo.de \
    /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).