From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuxmealux@protonmail.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c409ff62 for ; Tue, 13 Mar 2018 09:09:17 +0000 (UTC) Received: from mail3.protonmail.ch (mail3.protonmail.ch [185.70.40.25]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id e618eb09 for ; Tue, 13 Mar 2018 09:09:17 +0000 (UTC) Date: Tue, 13 Mar 2018 05:19:18 -0400 To: Matthias Urlichs From: Gianluca Gabrielli Subject: Re: TCP Wireguard with socat Message-ID: <2LLzGYJnMQQE8ZVLLI49kcqDj8mQIdytgKD08XsZHwPaBjfN8f3WkcJZA3j4XFXW6sS1UnXfCY2GyS2PIUSGJOfPUZweZQa-tnWcUcPKzFM=@protonmail.com> In-Reply-To: <5e7ded44-d128-ed3a-c9e2-0b0480b4d89f@urlichs.de> References: <88b9e6e0-1f38-1a20-3fac-372e96f847a3@urlichs.de> <5e7ded44-d128-ed3a-c9e2-0b0480b4d89f@urlichs.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: "wireguard@lists.zx2c4.com" Reply-To: Gianluca Gabrielli List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Thanks Matthias, now I see your point. I'm wondering why we should prepend a length to each datagram. On the datag= ram's header the payload length is already present, should not be enough to= reconstruct the original datagram after the stream has been unwrapped? Cheers, Gianluca