From owner-freebsd-net@freebsd.org Sun Dec 11 12:20:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B711C6FB7F for ; Sun, 11 Dec 2016 12:20:00 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from butcher-nb.yandex.net (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 3D43FC4A; Sun, 11 Dec 2016 12:19:59 +0000 (UTC) (envelope-from ae@FreeBSD.org) Subject: Re: [RFC/RFT] projects/ipsec To: Slawa Olhovchenkov References: <2bd32791-944f-2417-41e9-e0fe1c705502@FreeBSD.org> <584D18D1.8090400@grosbein.net> <36fa749c-f284-1d96-704c-b7118a574dd0@FreeBSD.org> <20161211115802.GD31311@zxy.spb.ru> <4f8ad6e3-8028-8656-d286-caa391960632@FreeBSD.org> <20161211121515.GE31311@zxy.spb.ru> Cc: freebsd-net@FreeBSD.org, Eugene Grosbein From: "Andrey V. Elsukov" Message-ID: Date: Sun, 11 Dec 2016 15:19:24 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161211121515.GE31311@zxy.spb.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9KAPLNeNr92J9KNrioIB36OTBN89TQiol" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 12:20:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9KAPLNeNr92J9KNrioIB36OTBN89TQiol Content-Type: multipart/mixed; boundary="4DT7ETlMixknbAu8Uc44TvtcFhPMkB6IC"; protected-headers="v1" From: "Andrey V. Elsukov" To: Slawa Olhovchenkov Cc: freebsd-net@FreeBSD.org, Eugene Grosbein Message-ID: Subject: Re: [RFC/RFT] projects/ipsec References: <2bd32791-944f-2417-41e9-e0fe1c705502@FreeBSD.org> <584D18D1.8090400@grosbein.net> <36fa749c-f284-1d96-704c-b7118a574dd0@FreeBSD.org> <20161211115802.GD31311@zxy.spb.ru> <4f8ad6e3-8028-8656-d286-caa391960632@FreeBSD.org> <20161211121515.GE31311@zxy.spb.ru> In-Reply-To: <20161211121515.GE31311@zxy.spb.ru> --4DT7ETlMixknbAu8Uc44TvtcFhPMkB6IC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11.12.2016 15:15, Slawa Olhovchenkov wrote: >> IPsec is a set of protocol handlers - ESP/AH/IPcomp. Inbound packets a= re >> handled by security association with given destination address and SPI= =2E >> If returned packets aren't destined to your address, protocol handlers= >> will not handle them. >=20 > SA can't contains not may address? Surpised to me. > Or I missunderstund you. You can specify what you want, but this just will not work as you expect. A router usually must not handle all TCP sessions that it forwards. It routes IP packets, but it doesn't invoke tcp_input() for each TCP packet that it sees. --=20 WBR, Andrey V. Elsukov --4DT7ETlMixknbAu8Uc44TvtcFhPMkB6IC-- --9KAPLNeNr92J9KNrioIB36OTBN89TQiol 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/ iQEsBAEBCAAWBQJYTURMDxxhZUBmcmVlYnNkLm9yZwAKCRABxeoEEMihesDmB/9B kaDYY8KKV0YOICCG2bjn18qN4F/OoBi4jamEJzCRGgkDME8+H3LE/Ox7YUdJ80Qm BI2hivhwZmWwa9zpA+dnVJI8YwF2tGewS9ZrLTp2b2aDM4FyOt8JmnQ7wOebQz5G 3/y6XsvtplFjS3svumgNFIxm4T+qgLG8VNjZEANU/g0j9qwI7HIc7I8Hr+4wUGj3 5GhbcxuYhOTZiGW5+kVOh8mbD//MjJGTJ0a7e6dGOnXoHZpGFV+sROkGddq1jAXO XwqoDcvbniUP6XaXdoWDSz0gsU/E7Zai6cAE/bdUrhA5YemcsrK1dpmU2uLnkDh1 Bu6sIn8xmyAoT8Ut6bX/ =EtxY -----END PGP SIGNATURE----- --9KAPLNeNr92J9KNrioIB36OTBN89TQiol--