From: Reid Rankin <reidrankin@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Are cookie-required handshakes at least REKEY_TIMEOUT long?
Date: Wed, 7 Aug 2019 17:30:39 -0400 [thread overview]
Message-ID: <CAMaqUZ3z8i2TVPgO6iuGrALueX2kvHLufH7AXCFDXW3T6fBTLA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 415 bytes --]
Quick question: I've been looking at the code in
wg_cookie_message_consume() and wg_receive_handshake_packet(), and as far
as I can tell there's no mechanism that re-initiates a handshake after
receiving a cookie reply to a first handshake other than the REKEY_TIMEOUT
+ jitter timer.
Is this correct, and do, therefore, all handshakes involving cookies take
at least 5 seconds to complete?
Thanks,
Reid Rankin
[-- Attachment #1.2: Type: text/html, Size: 716 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next reply other threads:[~2019-08-25 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-07 21:30 Reid Rankin [this message]
2019-08-25 15:47 ` Are cookie-required handshakes at least REKEY_TIMEOUT long? 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=CAMaqUZ3z8i2TVPgO6iuGrALueX2kvHLufH7AXCFDXW3T6fBTLA@mail.gmail.com \
--to=reidrankin@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).