X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fmtu.texi;h=00aa7e7e94e14d68941021aa08b27a8e7a2b67d7;hb=a11b0bda178937e6891770f40f800d69b5640313;hp=ef0db05ebc6343fb7ff403eccf09983ad6afd952;hpb=296f3d2e9197b76209a4e86ed8856aea9195d94c;p=govpn.git diff --git a/doc/mtu.texi b/doc/mtu.texi index ef0db05..00aa7e7 100644 --- a/doc/mtu.texi +++ b/doc/mtu.texi @@ -1,12 +1,11 @@ @node MTU -@section Maximum Transmission Unit +@subsection Maximum Transmission Unit -MTU command line argument is maximum allowable size of outgoing GoVPN's -packets. It varies and depends on your environment, so probably has to -be tuned. By default MTU equals to 1452 bytes: 40 bytes per IPv6 and 8 -bytes per UDP. +MTU option tells what maximum transmission unit is expected to get from +TUN/TAP interface. It is per-user configuration. Incoming packets of bigger +sizes (including the padding byte) will be ignored. If either +@ref{Noise, noise}, @ref{Encless, encryptionless mode} or @ref{CPR} are +enabled, then all outgoing packets are filled up to that MTU value. -Underlying TAP interface has lower MTU value -- 42 bytes smaller: 26 -bytes overhead on transport message and 14 bytes for Ethernet frame. -Client and server will print what MTU value should be used on TAP -interface. +Default MTU equals to 1515 bytes (1500 bytes of Ethernet payload, 15 +bytes of Ethernet header).