Development discussion of WireGuard
 help / color / mirror / Atom feed
* Some questions about the protocol
@ 2017-03-15  3:25 sopium
  2017-03-15  5:52 ` sopium
  2017-03-15 16:34 ` Jason A. Donenfeld
  0 siblings, 2 replies; 5+ messages in thread
From: sopium @ 2017-03-15  3:25 UTC (permalink / raw)
  To: wireguard

Hi,

These are some questions about some corner cases and details of
the protocol, that the paper does not seem to clearly specify:

* Do we send cookie reply messages in response to handshake
  _response_ messages? My guess is YES? The figure in 5.4.1 only
  shows the case that the responder chooses to reply with a
  cookie message.

* Shall we start handshake in case the _previous_ session is not
  alive, or too old? My guess is NO?

* When padding packets, how to avoid getting larger than MTU,
  because we don't seem to know the MTU?

* When we receive a valid handshake init message, a secure
  transport is session is created. Do we start sending with this
  session immediately, in case there is still a valid previous
  session? Because if the handshake response we send is lost, the
  peer won't be able to decrypt our transport messages. The
  problem should eventually go away, but the peer may experience
  a brief blackout.

  So, shall we wait until successfully receiving a transport
  message with the new session, before start sending with
  it? (When the previous session is still valid, of course.)

Regards,
Sopium

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-20 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15  3:25 Some questions about the protocol sopium
2017-03-15  5:52 ` sopium
2017-03-15 16:34 ` Jason A. Donenfeld
2017-03-20  5:06   ` sopium
2017-03-20 15:18     ` Jason A. Donenfeld

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).