Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2183550pxb; Fri, 24 Sep 2021 23:45:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzonG49q/l28RchY3iLfeffa4jg6/Z6RB0l0aR4bTC8SpGz0QGjlzXuhAtLpBD6shdPrVcl X-Received: by 2002:a50:e141:: with SMTP id i1mr9790476edl.157.1632552304918; Fri, 24 Sep 2021 23:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632552304; cv=none; d=google.com; s=arc-20160816; b=qUAmAoxhMTFsiMg/ZL1zxhLiOjpjFE86R7RQZjqhsByRz8vyHVy5IiSoGpfa7BjvN9 DpTyZ1RYBGt8pFX11BN/yh2eK5a1kA7cT2WiPpi66WryjRUrKZ62lSkpdWTqjxk3mdEk g+ZX6lDC+GEu12y1g3P/o5YFy/e0xBMD4F1dDLgp7OiHHSMo3gxd9EcCyIhfX/wttgzZ L2edeYIMuk9ReI9GTnIDLiyiakX1cuT7pgr1e2+Ls9Ucpyct5q9nJFz/G/Q0YdQummgj 5QpLuN2+wdeZwTni+EznYcXIDjjeMqKsgm3vK+ipZalq3HlX9iOoeskPtlUEoGmOIvwb EiLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Cpa/Eb47JNf6PfSYR9n7chIq/QRBhzZP64CmCksOOpI=; b=wD67FcS3J9KAf85qEt7BSMY9FSbB9cN0++OdBQCWWcBt7j6sqagfMQHO8JDzGv0tuY vr6L9dCIognodMOJK54VcbyB2OuTvaF8R5u7LNO6fYhxLNtUXLx8aIbiusSTmioEv+JL Aci6L6tBt7n4eBTnx0oYdm1X+WExjP/WOzDsBa+gUIKEUXxMksS7KGJRPPLgnmUEdWvy NLLXq66/Ko1pjrDCJcHf1XeSnfl8nobHp2TFHpGDVyrct+vgwBJrb3I6hT30VM7XQ3/X TjIZ35cp0z88EnAr5Ox1k3LZwTBBcdQTkDlWb13kk3IR8K7XOMLinmp6jA8WEnjaYbNM 68sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iuwqA6Xa; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si1576082edv.149.2021.09.24.23.44.25; Fri, 24 Sep 2021 23:45:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iuwqA6Xa; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232151AbhIYBgn (ORCPT + 99 others); Fri, 24 Sep 2021 21:36:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232003AbhIYBgm (ORCPT ); Fri, 24 Sep 2021 21:36:42 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B59BCC061571; Fri, 24 Sep 2021 18:35:08 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id 24so17097722oix.0; Fri, 24 Sep 2021 18:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Cpa/Eb47JNf6PfSYR9n7chIq/QRBhzZP64CmCksOOpI=; b=iuwqA6XagR8MHbJ89FJZMHClU+dLE7ihVnJy7DyXFeeP6nEWcsIGThrz5GEhRqgpJ8 8UUIXlU1w/TNr7arCG0N+qhW2fqd0Rq1bvwL4fwAwJjXxqOWrJAGmXyj4l8QJReHKfUc 9hFQehZuNGQT1/pl3z16PJk6zZs1PedqqxfEtqOeKM7ZRrXQP4zxLEYtNQ32n1eLMsJF VWhSo7vXluT+RSaQ2UnQnuU9sgpchriwPjZaC8bSugH8kDcmCKfpYgUz4rI/qozuw3+e O2PMLQ03B76QxANqjVBeG63J+ZDmYfmjxe04c1pZ0NdjwFxb+XMbHPAfuvKYDZbnagr3 2/sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Cpa/Eb47JNf6PfSYR9n7chIq/QRBhzZP64CmCksOOpI=; b=MaLoiBRZDmdIRVtN/gP0+uUBZqNNNZk7+lUZKHy+9KyV0KgyiXuR84auXQcGTMTg0R Y7rc3rflVrnUjKwRaV40aDxEGRBD+pIq9YF5y+r1Yeb4IavNdQxWMds+Dp6bOoCRfsCG /TCINMY0KpYG7NNgzr03+KyNjZWkkvWzkoq8sGOKeL2bVQBClWjAbKs2UKu83UJyXwxG n/8qXoy5GZe3PKxYnJ3q+GVmHrNhbM7GECMBbSPzV+2NP/yLY4hQ5NfybdZMwQvfFr/R nd+pBb9/ZsXxhxkSonWPGHBFB6kimCITP0WnFTOnFKhGKRKJ+U+R95n9rwoDOEyYu7iL JQow== X-Gm-Message-State: AOAM533Apy8qQuE9aKidxoo5LwKzWGO8g0vr55Ts5Ct/VJP+PNsHWdvz +3ToQcjAf2QLEjOReA1N9saguoZwxsF90g== X-Received: by 2002:aca:d686:: with SMTP id n128mr3837577oig.144.1632533707735; Fri, 24 Sep 2021 18:35:07 -0700 (PDT) Received: from Davids-MacBook-Pro.local ([8.48.134.50]) by smtp.googlemail.com with ESMTPSA id r20sm2592363oot.16.2021.09.24.18.35.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Sep 2021 18:35:06 -0700 (PDT) Subject: Re: [PATCH 00/19] tcp: Initial support for RFC5925 auth option To: Leonard Crestez , Francesco Ruggeri Cc: Dmitry Safonov <0x7f454c46@gmail.com>, David Ahern , Shuah Khan , Eric Dumazet , "David S. Miller" , Herbert Xu , Kuniyuki Iwashima , Hideaki YOSHIFUJI , Jakub Kicinski , Yuchung Cheng , Mat Martineau , Christoph Paasch , Ivan Delalande , Priyaranjan Jha , Menglong Dong , netdev , linux-crypto@vger.kernel.org, linux-kselftest@vger.kernel.org, open list References: <6505b7d2-7792-429d-42a6-d41711de0dc1@gmail.com> From: David Ahern Message-ID: Date: Fri, 24 Sep 2021 19:35:04 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <6505b7d2-7792-429d-42a6-d41711de0dc1@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 9/23/21 1:38 AM, Leonard Crestez wrote: > On 9/22/21 11:23 PM, Francesco Ruggeri wrote: >> On Tue, Sep 21, 2021 at 9:15 AM Leonard Crestez >> wrote: >>> * Sequence Number Extension not implemented so connections will flap >>> every ~4G of traffic. >> >> Could you expand on this? >> What exactly do you mean by flap? Will the connection be terminated? >> I assume that depending on the initial sequence numbers the first flaps >> may occur well before 4G. >> Do you use a SNE of 0 in the hash computation, or do you just not include >> the SNE in it? > > SNE is hardcoded to zero, with the logical consequence of incorrect > signatures on sequence number wrapping. The SNE has to be included > because otherwise all signatures would be invalid. > > You are correct that this can break much sooner than 4G of traffic, but > still in the GB range on average. I didn't test the exact behavior (not > clear how) but if signatures don't validate the connection will likely > timeout. > This is for BGP and LDP connections. What's the expected frequency of rollover for large FIBs? Seems like it could be fairly often.