From owner-freebsd-net@freebsd.org Fri Jan 17 15:11:02 2020 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 B4BE21F0DFB for ; Fri, 17 Jan 2020 15:11:02 +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 47zkz96tFnz4bJs; Fri, 17 Jan 2020 15:11:01 +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=eNWNuoMby9Cwh6Q85VNnq57yT3A278QJ4dm6X+A21sc=; b=k10NSYKrTpEg/bUQ8wAIQaYzg3 fBCqKFyAuKctW+UuHfL2hXr3eqTWLJoxTsKCZ/SYKGa7VQGZyDhP1jc74Xix9peHS0JMBiw17DQde hYdGVhOqqmlkaH5E2ne/EJ/ROOB4rkrq5hY1wDFqVf3YaNlJ5RJgbSQy2DjgLlANkw6g=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1isTH1-000HQi-4x; Fri, 17 Jan 2020 22:10:59 +0700 Date: Fri, 17 Jan 2020 22:10:59 +0700 From: Victor Sudakov To: "Andrey V. Elsukov" Cc: Eugene Grosbein , freebsd-net@freebsd.org, Michael Tuexen Subject: Re: IPSec transport mode, mtu, fragmentation... Message-ID: <20200117151059.GC66677@admin.sibptus.ru> References: <20191220152314.GA55278@admin.sibptus.ru> <4cc83b85-dd30-8c0d-330e-aa549ce98c98@yandex.ru> <20200116155305.GA465@admin.sibptus.ru> <55f7bafa-24c4-9810-0d21-f82cb332ee2d@grosbein.net> <20200116160745.GA1356@admin.sibptus.ru> <97b07801-da80-0665-aaa9-57184a52ce0f@yandex.ru> <6ace842b-69b7-7f0f-43ed-7f7df5c640d5@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pAwQNkOnpTn9IO2O" Content-Disposition: inline In-Reply-To: <6ace842b-69b7-7f0f-43ed-7f7df5c640d5@yandex.ru> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 47zkz96tFnz4bJs X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=k10NSYKr; 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.42 / 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)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.32)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.72), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[yandex.ru]; 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, 17 Jan 2020 15:11:02 -0000 --pAwQNkOnpTn9IO2O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andrey V. Elsukov wrote: > On 16.01.2020 19:36, Andrey V. Elsukov wrote: > > For transport mode inner and outer headers will be the same. > > I guess the problem can be reproduced in the lab using the following co= nfig: > >=20 > > [Host A] <--> [Router] <--> [Host B] > >=20 > > IPsec should be configured between hosts A and B. Then you need to > > reduce MTU on the router. This should lead to ICMP NEEDFRAG messages > > from the router, and then host should correctly handle them. >=20 > I have tested this scenario, and it doesn't work. So, I will report back > when there will be some working solution. By "it doesn't work" you mean everything is suddenly fine and good? :-) --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --pAwQNkOnpTn9IO2O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeIc6DAAoJEA2k8lmbXsY0n5IH/iSuFJK7Y0mPoTRRb2Ju/2eh Zaig9o99NKwdMGLanBOJ4hzrmngbdqmp372j9Nv5ia5BKINmCpuRcUWJKA+yA5mi Koz8n25Ubrnsc9aZtn/tpa2WDttc618xTZZNx47c8OlOYUelQgLDgFaCMwqQdSJt spJMELCdSkDeIXwGcU695jtsaUb0ImIOuBJUNmuJXt64PoI2993AOnzZkIEtYLFJ jabLLeHCXMwlaUxDhoCN0pYdWgyjO3z+0IUfdZts3Qoc7nPKgBinPyJrO46o1Ie/ eRAkM/GImYxISC2fkxEOpP+lINNb3nD68jD5Px0nDvNuY/WMcdDBip76PSKnXzo= =fl1B -----END PGP SIGNATURE----- --pAwQNkOnpTn9IO2O--