warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 5473685396668e081a29508c6790f74fdba0d270
parent 955660f7641a787e8267d1c10a3c7bf8dde8a376
Author: sin <sin@2f30.org>
Date:   Thu, 14 Apr 2016 09:00:24 +0100

lower payload len to accomodate for v4 over v6

1440 - noncelen - taglen - hdrlen is typically slightly larger
than 1404.

Diffstat:
Mstun.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stun.h b/stun.h @@ -7,7 +7,7 @@ #define AUTHTIMEO 10 /* in seconds */ #define RECONNECTTIMEO 60 /* in seconds */ #define HDRLEN 2 -#define MAXPAYLOADLEN 1424 +#define MAXPAYLOADLEN 1404 #define NROUNDS 100000 #define DEFPORT "12080" #define DEFCIPHER "chacha20-poly1305"