Date: Thu, 22 Feb 2018 19:34:38 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Misak Khachatryan <kmisak@gmail.com> Cc: freebsd-net@freebsd.org, Eugene Grosbein <eugen@grosbein.net> Subject: Re: Racoon and setkey problems Message-ID: <300530ba-f2b2-f31c-881e-4841c9c8ec12@yandex.ru> In-Reply-To: <CABfKv0kbqYCPXk%2B2xxX2tOx%2BhaB3NQTur6Lrrm3rTOANz5W=WQ@mail.gmail.com> References: <CABfKv0mYX2ouQ1k6M2Bd90yp=eQXP6HcHL7%2BdE2AZQ9afQ%2Bc2g@mail.gmail.com> <5A8A97EC.4040103@grosbein.net> <CABfKv0ntGt6TCP7v9xa=MSSZqHwYbZtYtVd6s0gZ-Mbdu2qk5A@mail.gmail.com> <16e6d695-6961-bc17-6ff0-e2affcd5df3b@yandex.ru> <CABfKv0kvTLJjv7F6y7DTXxE-oXspOHTJti%2Bj0Ftqv5xVpqQQRQ@mail.gmail.com> <5A8BB836.2010501@grosbein.net> <5e13deb9-0d83-5f43-195c-f6797ed36a7b@yandex.ru> <CABfKv0mavVUqFsecAAa6-6RjzfBQ9qoGp7sUw8EEyXEkVQ5Onw@mail.gmail.com> <5A8E7642.2020509@grosbein.net> <CABfKv0=wV0_W2eWRkgcWKwwUxiNigR7NKXCdRyCSwVXhGrQKZw@mail.gmail.com> <ddf4d736-d071-4ddb-2237-001cdac8992f@yandex.ru> <CABfKv0kX70wV3isxxADq3xoNN5P-Y2_tN3iuyXvYzH0dntgo1A@mail.gmail.com> <CABfKv0ms1Aw_g4DHWGskxMmi7tHczeEQBMBch6MphG7NcSa3Cg@mail.gmail.com> <182ad344-6d2d-418f-02c6-1ba11dd3c2cd@yandex.ru> <CABfKv0=n9TnezVZSbTLyYV%2Bndk4mPJrgo%2BHvsFno=wMazrf7fg@mail.gmail.com> <9db09caa-010f-facb-778b-4a1a82cbb0b7@yandex.ru> <CABfKv0kbqYCPXk%2B2xxX2tOx%2BhaB3NQTur6Lrrm3rTOANz5W=WQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --z2K2N4zY0bvK21nRhWdsWcwOBSvFRtQZC Content-Type: multipart/mixed; boundary="ZxdVqSwfCia7zv4bwY5gi9neEIKio8lUN"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Misak Khachatryan <kmisak@gmail.com> Cc: freebsd-net@freebsd.org, Eugene Grosbein <eugen@grosbein.net> Message-ID: <300530ba-f2b2-f31c-881e-4841c9c8ec12@yandex.ru> Subject: Re: Racoon and setkey problems References: <CABfKv0mYX2ouQ1k6M2Bd90yp=eQXP6HcHL7+dE2AZQ9afQ+c2g@mail.gmail.com> <5A8A97EC.4040103@grosbein.net> <CABfKv0ntGt6TCP7v9xa=MSSZqHwYbZtYtVd6s0gZ-Mbdu2qk5A@mail.gmail.com> <16e6d695-6961-bc17-6ff0-e2affcd5df3b@yandex.ru> <CABfKv0kvTLJjv7F6y7DTXxE-oXspOHTJti+j0Ftqv5xVpqQQRQ@mail.gmail.com> <5A8BB836.2010501@grosbein.net> <5e13deb9-0d83-5f43-195c-f6797ed36a7b@yandex.ru> <CABfKv0mavVUqFsecAAa6-6RjzfBQ9qoGp7sUw8EEyXEkVQ5Onw@mail.gmail.com> <5A8E7642.2020509@grosbein.net> <CABfKv0=wV0_W2eWRkgcWKwwUxiNigR7NKXCdRyCSwVXhGrQKZw@mail.gmail.com> <ddf4d736-d071-4ddb-2237-001cdac8992f@yandex.ru> <CABfKv0kX70wV3isxxADq3xoNN5P-Y2_tN3iuyXvYzH0dntgo1A@mail.gmail.com> <CABfKv0ms1Aw_g4DHWGskxMmi7tHczeEQBMBch6MphG7NcSa3Cg@mail.gmail.com> <182ad344-6d2d-418f-02c6-1ba11dd3c2cd@yandex.ru> <CABfKv0=n9TnezVZSbTLyYV+ndk4mPJrgo+HvsFno=wMazrf7fg@mail.gmail.com> <9db09caa-010f-facb-778b-4a1a82cbb0b7@yandex.ru> <CABfKv0kbqYCPXk+2xxX2tOx+haB3NQTur6Lrrm3rTOANz5W=WQ@mail.gmail.com> In-Reply-To: <CABfKv0kbqYCPXk+2xxX2tOx+haB3NQTur6Lrrm3rTOANz5W=WQ@mail.gmail.com> --ZxdVqSwfCia7zv4bwY5gi9neEIKio8lUN Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 22.02.2018 18:28, Misak Khachatryan wrote: > # dtrace -s key.d > dtrace: script 'key.d' matched 14 probes > CPU ID FUNCTION:NAME So, what I can say: > 4 25400 soreserve:entry 8192 8192 > kernel`raw_attach+0x2a > kernel`key_attach+0x57 > kernel`socreate+0x1af First of try to increase both values of net.raw: # sysctl net.raw net.raw.recvspace: 65535 net.raw.sendspace: 65535 >=20 > 4 24460 sbappendaddr_locked:return 0 > kernel`sbappendaddr+0x61 > kernel`key_sendup0+0xee > kernel`key_sendup_mbuf+0x1e6 >=20 > 4 12872 sbappendaddr:return 0 > kernel`key_sendup0+0xee > kernel`key_sendup_mbuf+0x1e6 > kernel`key_parse+0x87f >=20 Then probably this output will be changed. --=20 WBR, Andrey V. Elsukov --ZxdVqSwfCia7zv4bwY5gi9neEIKio8lUN-- --z2K2N4zY0bvK21nRhWdsWcwOBSvFRtQZC 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/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlqO8R4ACgkQAcXqBBDI oXpyUQf+LnrpNo6G43Vh26uXPLa6dn11a8BiP907sOyMuUtHp5CZfwYsIBmdTWAS qk+8ZI5p/72i8wFckHECwMhAwW+lLQ48/tWKvbkzdz6mYDt9wcXY5qynodwV0xkf Qf6vcyC7rCrbZ1IZoovDXox233W4t1BHGhDXBSAgbfD5DGlhAngPwXx6/lDMmBHf PLHkCHDUZ79KnpAVcY1c59L0aLIPnPzsu06RPVvxX9laF4/XEfAZISPFOaGuDxHP aRFZ9mPzbRUYFLRYYQZ6H29fnGZggXQZ6l0NecGBvmXQqbVuyiS7NThP5LDwO1B0 5oVs2VLcrrV/IX90BQiXaJpNRg1WKA== =dZe9 -----END PGP SIGNATURE----- --z2K2N4zY0bvK21nRhWdsWcwOBSvFRtQZC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?300530ba-f2b2-f31c-881e-4841c9c8ec12>