From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 43445a86 for ; Mon, 13 Aug 2018 06:29:28 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 79f8b16b for ; Mon, 13 Aug 2018 06:29:28 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id f4b3f6f0 for ; Mon, 13 Aug 2018 06:28:14 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id d46816c9 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Mon, 13 Aug 2018 06:28:14 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id d189-v6so25465998oib.6 for ; Sun, 12 Aug 2018 23:41:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Jason A. Donenfeld" Date: Sun, 12 Aug 2018 23:40:59 -0700 Message-ID: Subject: Re: Fragmentation on UDP layer possible? To: coder@poorlab.com Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , WireGuard's socket.c calls udp_tunnel_xmit with the DF bit set to 0, which means if the underlying endpoint's path has an MTU that is too small, the UDP packet will simply be fragmented, not dropped.