From owner-freebsd-net@freebsd.org Fri Dec 20 18:44:41 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66BBA1E0C28 for ; Fri, 20 Dec 2019 18:44:41 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fd2c5PYqz4H6S for ; Fri, 20 Dec 2019 18:44:40 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=Ce3EHVDe5StGcipo3L6nDcWZDdpQRPo79Sbd2BE9A0k=; b=XWd6XEDOAQOYx4r0CvdkDVN/2B kFe6K25g+SZUtjfPct6oa3eVIkjhqExatOLnZ8GqaF6H3lSfuXEgSBZEhXukePUH/RnkY+pl+oNzk s9k8GQ7gxNOhXSqS8MjQi8GMc164bIHPLBfWVmaYxsoBycd2atMVtWnHVsobrBzycIbk=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iiNGR-000G6R-Cw for freebsd-net@freebsd.org; Sat, 21 Dec 2019 01:44:39 +0700 Date: Sat, 21 Dec 2019 01:44:39 +0700 From: Victor Sudakov To: freebsd-net@freebsd.org Subject: Re: IPSec transport mode, mtu, fragmentation... Message-ID: <20191220184439.GA61856@admin.sibptus.ru> References: <20191220152314.GA55278@admin.sibptus.ru> <20191220160357.GB56081@admin.sibptus.ru> <20191220165615.GA57281@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20191220165615.GA57281@admin.sibptus.ru> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47fd2c5PYqz4H6S X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=XWd6XEDO; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.41)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-2.16), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 18:44:41 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: >=20 > I need to figure out why IPsec tunnel mode is always generating ESP > packets with the DF flag set. Therefore they just don't get through the > interface and never leave the host. >=20 > I cannot even "scrub out proto 50 no-df" them because they never go > through any f*cking interface, that's what I think is happening. Don't > tell me it's by design. I've created a PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242744 if anyone is interested you are welcome to discuss. Maybe my theory of what's happening is incorrect. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJd/RaXAAoJEA2k8lmbXsY0efYH/i0TH6ezWaM8Syzx8sBD6Psf aQmJlzzrEsm981I3lq81uqoQXlN51VLiWqYhsCXQky47i9gL5OCPa/0X0IHErsSy ST9DM477g0wO886fJMNaD6l9bvuCj6v+Ervidw+guYdBpDdK2V4yba3GfkBrF92U YGJvqH8nabfXJdB/lKIWxju8CQc0TqoceKj9gAJxwMtA70y8kbMWwH1hD79NYRdC PEpfDw7V6cnI4hplrzU7Hk0uHRz20kxUdVOo9o1m1BaBrBIeojtWeTHj9ps8cZSW Wy2NCHyJgrxpu2wBb6SS8A5JtBazyj34iqVlsl0WjrCaeabW5JRrCH0Lc0brC5g= =gs51 -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--