From owner-freebsd-net@freebsd.org Mon Apr 23 11:15:03 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 648EAFB23F3 for ; Mon, 23 Apr 2018 11:15:03 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C59B57F599 for ; Mon, 23 Apr 2018 11:15:02 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 2DE5C424B5; Mon, 23 Apr 2018 14:14:51 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id B9Uyno1BYe-EoQOUKp7; Mon, 23 Apr 2018 14:14:51 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1524482091; bh=2u4zUia/Uj4w7VZ2S10WpEy8vRye8wyQbHclHky+PVg=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=W2Dtt+zmC+HQ9TaNlN9FE+ZyU8xB75tiyP/hroPsPyjwmajj8yu3q2JgUagYW4VUO mEene9jw7eaM8uehNxNZ4JaEBFA+HpWTmyL7C+O1KnZhgiBDvRQFbOS7Guim+M9ckB 0fC+IRCqm0N+UCoCjqxuxryCOy6QPZfp0tE+Uzmo= Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id yGessISd3s-EnRGYqsE; Mon, 23 Apr 2018 14:14:50 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1524482090; bh=2u4zUia/Uj4w7VZ2S10WpEy8vRye8wyQbHclHky+PVg=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=gFgYlbYgO7y5IM+Plr0kCPj0g/fykl2jySDdjzdEL0lcZqBIoRjYioksmwayTAaKK mQsM/1G6VZYdA5AB1Vtpv/3H3vV/EZTsewjjjeAAxfDq4tSqHNQ8UxQ3Me1tzc821y qOB49f+/gHa9HM60polkR1ZuVd2NzE4nedsgE+eQ= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: multiple if_ipsec To: Victor Gamov , freebsd-net@freebsd.org References: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> <77c37ff9-8de3-dec0-176a-2b34db136bc5@otcnet.ru> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= xsBNBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvAB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EJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <92930ba6-828d-ecb5-ce37-36794ec80ef7@yandex.ru> Date: Mon, 23 Apr 2018 14:13:00 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <77c37ff9-8de3-dec0-176a-2b34db136bc5@otcnet.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LSbERtPFN0wsQAq0TWWNdbpNl8fk3Q5Ei" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 11:15:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LSbERtPFN0wsQAq0TWWNdbpNl8fk3Q5Ei Content-Type: multipart/mixed; boundary="MojZ1Byxkja8MWuf10zkndsNFEdtq8wsa"; protected-headers="v1" From: "Andrey V. Elsukov" To: Victor Gamov , freebsd-net@freebsd.org Message-ID: <92930ba6-828d-ecb5-ce37-36794ec80ef7@yandex.ru> Subject: Re: multiple if_ipsec References: <5e36ac3f-39ce-72c5-cd97-dd3c4cf551a7@yandex.ru> <30d1c5f9-56e7-c67b-43e1-e6f0457360a8@otcnet.ru> <77c37ff9-8de3-dec0-176a-2b34db136bc5@otcnet.ru> In-Reply-To: <77c37ff9-8de3-dec0-176a-2b34db136bc5@otcnet.ru> --MojZ1Byxkja8MWuf10zkndsNFEdtq8wsa Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 21.04.2018 19:16, Victor Gamov wrote: > When I change ipsec-interfaces creation order then only last created > interface worked fine again and previously configured interfaces does > not work. >=20 >=20 > And very interesting fact: when I ping from remote 10.10.98.5 for > example to FreeBSD 10.10.98.6 then no ICMP-request coming over > ipsec-interface but ICMP-reply outgoing via this ipsec-interface (but > not delivered to 10.10.98.5) >=20 >=20 > Any ideas? I'm lack of any ideas. For further debugging I need to see the output of # sysctl net. | grep ipsec # setkey -DP # setkey -D # ifconfig And probably racoon's logs. --=20 WBR, Andrey V. Elsukov --MojZ1Byxkja8MWuf10zkndsNFEdtq8wsa-- --LSbERtPFN0wsQAq0TWWNdbpNl8fk3Q5Ei Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlrdv8AACgkQAcXqBBDI oXp0Bwf/e3Ch360VMuzK2bX+Bcbl3YLiAjDXbMzw80IMMSokXZJTblxFzCt+I9A7 JL/bOSoJIoIHaFlgFBqP6h2f/ii+GQvq+/DCjhDUk/bXD3UZcV8r1aCV1FKIj7hl elnPBj61vKiJKBOg+j1jBwdDWziLutfL+IzKf/C4JMIoOgEAcR03WxQXfoKAMdi2 G03PCrYEEx3vytQHRjmoD/lY/+6fWf3m5XPnv+LBqGKN5hGbHDPUTbvBlj6oq5Rd PMf29lmlMxz7MkIjQgX/9MTsZTDfvgRuA9fpF5TCC13vDDr+3BUh7SFYqpbbTmZf igpKXA9GjXFKAOL7/9kS7vP1Mb/JCw== =m8C1 -----END PGP SIGNATURE----- --LSbERtPFN0wsQAq0TWWNdbpNl8fk3Q5Ei--