Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp24500lqr; Tue, 4 Jun 2024 19:22:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURfyB6Q7SOj7er37je66qrOVWh3mGP5bTHn5NT0Ml/kcRKCAZ0s9a+dMTdF/4JSMvEeO76kXbd/jx4nyKn4wJxx6kEF97rIy+QtJpCrQ== X-Google-Smtp-Source: AGHT+IHdCF09Bx5G+/Q2FfPBKSDzXGXZLSi5Llr/IIevOdn7zvPkE5ZRhFTeKmN+gBQGfLsWOuAV X-Received: by 2002:a17:906:6b8a:b0:a68:fb7f:47c1 with SMTP id a640c23a62f3a-a69a0022dc4mr68812966b.60.1717554138814; Tue, 04 Jun 2024 19:22:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717554138; cv=pass; d=google.com; s=arc-20160816; b=cOXCj5H5wsLYuPecscRXDmyl7GR/WCvZ6C4zDAW0bh0d17bCRJ6+D1a5Sod+Pzzuzy Zu1YRVo7V7cZu+qPq/+/GE0qsUrTXJEveq0DJluEfFuozJBrp/XS/9zoP6Fitq3eOfvW EEI9D/8AVY4Up6I9athr7sjIbYdhCayC8B2bEIxGWoBEUHCsbfKKLb8NtbV2pZGVPgfu bzBYqNdT6A/9thRh+LX2T9i+hziNzUaw9sCH0ccG7JNalT5lGG/9FSKT7m663NceZR04 wedx/KbXD/JRhyfXwhmmAE4OOy3mUSjyRZLd0d2uG4+ujYDHu6LTlp3IF2gJZJ2rsjMQ gITQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=V99LVwI1X6LSbW6E48ypzIEJHi7egnEWuhB59uezJvI=; fh=Nedj/Vrt7g720fea/k+6nmkVAb0uLutxfpisOQ2NqiQ=; b=oyFwgx9r+WToK15HOfdBNuCZQH4swo7UfaYFkR2MzPWwRoBcThkxzj7aCIfwGo264Z jP4vObwJtJ004L4eXxqWZogk7d9Uwrx0zXpZYHnxP60WSjmGaQmwzkGOkZs0S6tS9W7t FRj/wX2VVk3GYxb6xF+6SZNMXu3nEFBrIJqBTYyrWJyr3ULPuoz61p+QFr0GwWYqXAdL yxedEcsU6tg6GUSL5Zm2juRbFcOEAGFpIcANjXKYo5bvbPoN1ei4wTfnuhxxN5oVncGX sfpUiBX3GrIQjniis57UprlChyU7XgZ8+tyKyVE6d4418OFgI7+sP7uL3x3Oye0cGf9L 7Ljg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mCeOoo/E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6877ac34b7si527976866b.187.2024.06.04.19.22.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 19:22:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mCeOoo/E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 893CC1F25E4C for ; Wed, 5 Jun 2024 02:22:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4599C13AD1E; Wed, 5 Jun 2024 02:20:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mCeOoo/E" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5979F61FEC; Wed, 5 Jun 2024 02:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717554032; cv=none; b=JCrzu86onUukqhUC77e3GP3jvxS18iHKy1Yt91ggar+dA72se3drfKQ4sUOOw6cl0avYM65PgM+MJRgOntwljeUGEDxrGe6qG0cxNprU0BmVW7U/57a6ZGN9Z49Km1m2q5axQMy44gQTYg/cmZb7qZuGgZdEFiCrI/vyQVZ1zkA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717554032; c=relaxed/simple; bh=RJxbRfrwSVRgqNfS+0yMIlRN2XvFthWU7xqbwkPAwrc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UAgEfmhon2YKNxxAp3VukYzWNDK/H3G2LvLrCoR0RRI2Duz7MZFglHxK25KNJqgrKlo8W5LLb9DiNGjsHRdN4nLpul5oktF8oe78DIJ7Bq0i9D/6bls34TPrYhyxDJup5nY7zztOcrz6ZutcNTJPCxYAF1LjaK1pQnbGXGJMOd8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mCeOoo/E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id EE1F0C4AF49; Wed, 5 Jun 2024 02:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717554032; bh=RJxbRfrwSVRgqNfS+0yMIlRN2XvFthWU7xqbwkPAwrc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=mCeOoo/EC6kwpsdT9kN/H6mgXQnj7UUHDkbkYKCyTH/vqtIJUft2iHe/nmUmY5cV9 RdwVV28jPohhE1q51YkSl9o3J5/WgGeDZY+8IFCeQixf+n1LLTTlUTWzmKzlQBt+I0 FRwr4GS88yU6Z4nYDljMYaSD/2BHZEODlYboSAwvjqStBJOcdH0iUMiXCXeZzM7PYe IN8+F9DBCAgpMkNre8xoj2gIm+zqr9ku7r4XeTGRr4kGDrwntrdE2Ayypj2I9WZ2kf aQDA5qleF3/NEOImH7LqFZb0MLhQ3Zok/b0R0fb/QwVOw2ICaYuCFJg7mdGfPELjje Xx1qmfNKt7Pmg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2E94C27C55; Wed, 5 Jun 2024 02:20:31 +0000 (UTC) From: Dmitry Safonov via B4 Relay Date: Wed, 05 Jun 2024 03:20:07 +0100 Subject: [PATCH net-next v2 6/6] Documentation/tcp-ao: Add a few lines on tracepoints Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240605-tcp_ao-tracepoints-v2-6-e91e161282ef@gmail.com> References: <20240605-tcp_ao-tracepoints-v2-0-e91e161282ef@gmail.com> In-Reply-To: <20240605-tcp_ao-tracepoints-v2-0-e91e161282ef@gmail.com> To: Eric Dumazet , "David S. Miller" , Jakub Kicinski , Paolo Abeni , David Ahern , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Jonathan Corbet Cc: Mohammad Nassiri , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717554029; l=1312; i=0x7f454c46@gmail.com; s=20240410; h=from:subject:message-id; bh=YTvLVmZiUq3+/gRlZqmFldpsbcd2Jw9oBAFB4f9XdXg=; b=RsSaCGXsj/jPHoR99Jtp1W5cn2z9hTlKuGseFZRWBrjpDHbnkYvmAQoTdQ2gab432wl0lJZpXbKq 3bSuBg/UAW6PgkFv7AsJgMTpHAzCkqnU6C12t8cCkJU8XnmmkoHp X-Developer-Key: i=0x7f454c46@gmail.com; a=ed25519; pk=cFSWovqtkx0HrT5O9jFCEC/Cef4DY8a2FPeqP4THeZQ= X-Endpoint-Received: by B4 Relay for 0x7f454c46@gmail.com/20240410 with auth_id=152 X-Original-From: Dmitry Safonov <0x7f454c46@gmail.com> Reply-To: 0x7f454c46@gmail.com From: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com> --- Documentation/networking/tcp_ao.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/networking/tcp_ao.rst b/Documentation/networking/tcp_ao.rst index 8a58321acce7..e96e62d1dab3 100644 --- a/Documentation/networking/tcp_ao.rst +++ b/Documentation/networking/tcp_ao.rst @@ -337,6 +337,15 @@ TCP-AO per-socket counters are also duplicated with per-netns counters, exposed with SNMP. Those are ``TCPAOGood``, ``TCPAOBad``, ``TCPAOKeyNotFound``, ``TCPAORequired`` and ``TCPAODroppedIcmps``. +For monitoring purposes, there are following TCP-AO trace events: +``tcp_hash_bad_header``, ``tcp_hash_ao_required``, ``tcp_ao_handshake_failure``, +``tcp_ao_wrong_maclen``, ``tcp_ao_wrong_maclen``, ``tcp_ao_key_not_found``, +``tcp_ao_rnext_request``, ``tcp_ao_synack_no_key``, ``tcp_ao_snd_sne_update``, +``tcp_ao_rcv_sne_update``. It's possible to separately enable any of them and +one can filter them by net-namespace, 4-tuple, family, L3 index, and TCP header +flags. If a segment has a TCP-AO header, the filters may also include +keyid, rnext, and maclen. SNE updates include the rolled-over numbers. + RFC 5925 very permissively specifies how TCP port matching can be done for MKTs:: -- 2.42.0