Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp72771lqt; Wed, 5 Jun 2024 18:00:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU87Z/7sYZQJu9xxj4XjQqw2mfvTha3y8g3r2hLuxuIx+9BhcLHx8m+c1aN7BDXgPVuMgxhfQvWKdyUKcKQddttD1kQmToLacaj+WKCPQ== X-Google-Smtp-Source: AGHT+IHaGF1IDrpWVvPCGG1PIEbhuINzYUYThJtZtrgCFuannrULi+p2DF3KP3G90VZraN6FQnb+ X-Received: by 2002:a05:6000:1562:b0:34d:963a:12cc with SMTP id ffacd0b85a97d-35e8ef662d3mr4167921f8f.53.1717635637033; Wed, 05 Jun 2024 18:00:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717635637; cv=pass; d=google.com; s=arc-20160816; b=ff/5xN/HZt0jLQgxSLiiX0bA6ckwFoWOu5ERNnAn4tlS9ocTH2eMxnq3eMhYccSA5N +L8QJoIQgyMdo6UIhvdpkeidnhrbmfrnJ1VLwwnryVyjME8ADjoMjltVzsH/mdIwjzv6 9UbclgiwudQy7zZPj2eqOon8DhEhZO2k8DqQdE5yq6N9vHwoMsWu0k5eqjQXkwOVliE9 i0X1JMlh2QYcmzPXYWwaqFfwVnJ7ImRD2XWcHoPVNnUC0Lx3oJNDERPRgwQLugGZwkU4 9lQ7JoK4TdORizXE8JuzGE5SBZwtIB2csPMa1QG6nseNSPzkIacdHDghYBUCGAAFSNgw tXFQ== 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=jYhywdZ0sGy++H25vvnvIXxsD+ECGfx85j2P0yulvxTvr94LP5HWX56DJotlt4FQA5 iPc8i4kAiGGeL7gazPKZyt58hwkWednidRYGMAhZkUWXI7iluy1+hrbZztyVWTqAQbak k39hWiwhqRhTYrSf+Sgdq6CCf9GfKp7CQapoH4A7ZPu/9sC1CYJsNVHmppBVBI04BzZd RSvQz121gwMTonLUAaSxx51gIcRX1YNQw4TJtZKtgTCE9NQPq+2l15l5mC0QncIrfa2r E+QUY33wbbqhYnrRePE33AVd69WE0iQBOEU+pUtK5zGfPJ7Cy47wFuR1gvdvPQjKQvSF yR7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mJil99qE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203484-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c8072a355si10163166b.888.2024.06.05.18.00.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 18:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mJil99qE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203484-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 BA9411F2448D for ; Thu, 6 Jun 2024 01:00:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 504793A8F7; Thu, 6 Jun 2024 00:58:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mJil99qE" 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 8BB151119A; Thu, 6 Jun 2024 00:58:31 +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=1717635511; cv=none; b=olyP1nYDl3lj4t4KR3eVYQm/nVjNsO0G8WjIIi+XCPJyi4LRwPA7BH2IrVk4r3wgO80Om53N/7QLLGE/U0bhGJQ8xFmhsfKIMTFcD1pgeeU+n6d9Fe96hmw+jUIZGwP/KZ95w7uSrNPlL8JLoBVasfzDRCoNtCSVnABRm0dUAe8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717635511; c=relaxed/simple; bh=RJxbRfrwSVRgqNfS+0yMIlRN2XvFthWU7xqbwkPAwrc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qSeF0k1EYmnjd6x5PlZ9fJjBPAnSrNlzJGk8mc6S5sGmRTJlpdlR79+fijqfUTT0LRcaTMRDpA49NyR/xbyd1mkyY8b6mxoYpy/Pw219PuskKRasGTHcg+OY/BQIxBanmpvhA8nKKVcvfza5lo9GexylqGY3Kq4iYv+nRkNW0sM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mJil99qE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id EE884C4AF17; Thu, 6 Jun 2024 00:58:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717635511; bh=RJxbRfrwSVRgqNfS+0yMIlRN2XvFthWU7xqbwkPAwrc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=mJil99qEScGbOydj4pAbYDB9P2e10ZgBPSjwz2+zZzp1vGvFd07vlQLMc93097yLP nLw4twQnpga1Ov495xVrlL1YbZxZcRggzx0pMfubbeDDcuA+wSEC58NNEe7Ueqr7uf 9WbRFRGIly+DWPKv16jlkEpy6q0khZ7j5XguAHVrFBcM21qv6H6DxTiDmzdLqAMnsK m6vTNuMhsrAXCdIySOXBwr5SXFTDW1h5xxDLbxMTFIjVq/KSmSXdnAbA6Hi2/GA8L2 kTjp7hdRV2VpUJs/SgEa88jMFrDIvdh2ihCH3Vy3/w9q2M2V37a7ELEiw8uiait20n 8UQVzug9Lp+Qw== 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 E1187C27C53; Thu, 6 Jun 2024 00:58:30 +0000 (UTC) From: Dmitry Safonov via B4 Relay Date: Thu, 06 Jun 2024 01:58:23 +0100 Subject: [PATCH net-next v3 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: <20240606-tcp_ao-tracepoints-v3-6-13621988c09f@gmail.com> References: <20240606-tcp_ao-tracepoints-v3-0-13621988c09f@gmail.com> In-Reply-To: <20240606-tcp_ao-tracepoints-v3-0-13621988c09f@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=1717635508; l=1312; i=0x7f454c46@gmail.com; s=20240410; h=from:subject:message-id; bh=YTvLVmZiUq3+/gRlZqmFldpsbcd2Jw9oBAFB4f9XdXg=; b=spAE96jwHq10U5eIzCVaOaXRNUwYiydfcrtFMVOVm6V4AiROo4dFYanfAII8rodHFLA5CeInBo6b nPCW4jnmCOANbWV48zCP0lwAckHfHAnnkz3PYjaq/2lfyEcKtCpf 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