Development discussion of WireGuard
 help / color / mirror / Atom feed
* CodeBlue WireGuard Talk Now Online
@ 2016-12-15 16:09 Jason A. Donenfeld
  2016-12-18  5:33 ` MTU John Huttley
  0 siblings, 1 reply; 3+ messages in thread
From: Jason A. Donenfeld @ 2016-12-15 16:09 UTC (permalink / raw)
  To: noise, WireGuard mailing list

Hey folks,

My talk on WireGuard is finally online!

Video: https://www.youtube.com/watch?v=eYztYCbV_8U
Slides: https://www.wireguard.io/talks/codeblue2016-slides-en.pdf

This has a general overview of NoiseIK in addition to WireGuard.

Enjoy!
Jason

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

* MTU
  2016-12-15 16:09 CodeBlue WireGuard Talk Now Online Jason A. Donenfeld
@ 2016-12-18  5:33 ` John Huttley
  2016-12-18 18:04   ` MTU Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: John Huttley @ 2016-12-18  5:33 UTC (permalink / raw)
  To: wireguard

Hi,
Did we have to configure our interfaces with a reduced MTU (1417) after
this last  update?

I've getting results reminiscent of the need for MSS clamping.
Connects ok, timeouts on transfer etc.

--John

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

* Re: MTU
  2016-12-18  5:33 ` MTU John Huttley
@ 2016-12-18 18:04   ` Jason A. Donenfeld
  0 siblings, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2016-12-18 18:04 UTC (permalink / raw)
  To: John Huttley; +Cc: WireGuard mailing list

Hey John,

The old WireGuard gave you a default MTU of 1423. The new one gives
you a default MTU of 1420. That's your minus 3. From your email, it
looks like you subtracted twice!

If you're not using IPv6 as the outer endpoint IP address, then you
can make this 1440. The breakdown of the wireguard packet is:

20 byte IPv4 header or 40 byte IPv6 header
8 byte UDP header
1 byte type
3 byte reserved
4 byte index
8 byte nonce
CIPHERTEXT
16 byte authtag

So either you wind up with 20+8+1+3+4+8+16 bytes of overhead, or you
wind up with 40+8+1+3+4+8+16 bytes of overhead.

Regards,
Jason

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

end of thread, other threads:[~2016-12-18 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-15 16:09 CodeBlue WireGuard Talk Now Online Jason A. Donenfeld
2016-12-18  5:33 ` MTU John Huttley
2016-12-18 18:04   ` MTU 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).