[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <922fe343-c867-62ff-14b8-3d84ed2e1b76@gmail.com>
Date: Tue, 24 Aug 2021 22:18:05 -0700
From: David Ahern <dsahern@...il.com>
To: Leonard Crestez <cdleonard@...il.com>,
Dmitry Safonov <0x7f454c46@...il.com>,
David Ahern <dsahern@...nel.org>, Shuah Khan <shuah@...nel.org>
Cc: Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
Herbert Xu <herbert@...dor.apana.org.au>,
Kuniyuki Iwashima <kuniyu@...zon.co.jp>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Jakub Kicinski <kuba@...nel.org>,
Yuchung Cheng <ycheng@...gle.com>,
Francesco Ruggeri <fruggeri@...sta.com>,
Mat Martineau <mathew.j.martineau@...ux.intel.com>,
Christoph Paasch <cpaasch@...le.com>,
Ivan Delalande <colona@...sta.com>,
Priyaranjan Jha <priyarjha@...gle.com>,
Menglong Dong <dong.menglong@....com.cn>,
netdev@...r.kernel.org, linux-crypto@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFCv3 09/15] selftests: tcp_authopt: Test key address binding
On 8/24/21 2:34 PM, Leonard Crestez wrote:
> By default TCP-AO keys apply to all possible peers but it's possible to
> have different keys for different remote hosts.
>
> This patch adds initial tests for the behavior behind the
> TCP_AUTHOPT_KEY_BIND_ADDR flag. Server rejection is tested via client
> timeout so this can be slightly slow.
>
> Signed-off-by: Leonard Crestez <cdleonard@...il.com>
> ---
> .../tcp_authopt_test/netns_fixture.py | 63 +++++++
> .../tcp_authopt/tcp_authopt_test/server.py | 82 ++++++++++
> .../tcp_authopt/tcp_authopt_test/test_bind.py | 143 ++++++++++++++++
> .../tcp_authopt/tcp_authopt_test/utils.py | 154 ++++++++++++++++++
> 4 files changed, 442 insertions(+)
> create mode 100644 tools/testing/selftests/tcp_authopt/tcp_authopt_test/netns_fixture.py
> create mode 100644 tools/testing/selftests/tcp_authopt/tcp_authopt_test/server.py
> create mode 100644 tools/testing/selftests/tcp_authopt/tcp_authopt_test/test_bind.py
> create mode 100644 tools/testing/selftests/tcp_authopt/tcp_authopt_test/utils.py
>
This should be under selftests/net as a single "tcp_authopt" directory
from what I can tell.
Powered by blists - more mailing lists