[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173941983999.756055.3251715310058890855.git-patchwork-notify@kernel.org>
Date: Thu, 13 Feb 2025 04:10:39 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Florian Westphal <fw@...len.de>
Cc: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
donald.hunter@...il.com
Subject: Re: [PATCH v2 net-next] netlink: specs: add conntrack dump and stats dump
support
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 10 Feb 2025 16:21:52 +0100 you wrote:
> This adds support to dump the connection tracking table
> ("conntrack -L") and the conntrack statistics, ("conntrack -S").
>
> Example conntrack dump:
> tools/net/ynl/pyynl/cli.py --spec Documentation/netlink/specs/conntrack.yaml --dump get
> [{'id': 59489769,
> 'mark': 0,
> 'nfgen-family': 2,
> 'protoinfo': {'protoinfo-tcp': {'tcp-flags-original': {'flags': {'maxack',
> 'sack-perm',
> 'window-scale'},
> 'mask': set()},
> 'tcp-flags-reply': {'flags': {'maxack',
> 'sack-perm',
> 'window-scale'},
> 'mask': set()},
> 'tcp-state': 'established',
> 'tcp-wscale-original': 7,
> 'tcp-wscale-reply': 8}},
> 'res-id': 0,
> 'secctx': {'secctx-name': 'system_u:object_r:unlabeled_t:s0'},
> 'status': {'assured',
> 'confirmed',
> 'dst-nat-done',
> 'seen-reply',
> 'src-nat-done'},
> 'timeout': 431949,
> 'tuple-orig': {'tuple-ip': {'ip-v4-dst': '34.107.243.93',
> 'ip-v4-src': '192.168.0.114'},
> 'tuple-proto': {'proto-dst-port': 443,
> 'proto-num': 6,
> 'proto-src-port': 37104}},
> 'tuple-reply': {'tuple-ip': {'ip-v4-dst': '192.168.0.114',
> 'ip-v4-src': '34.107.243.93'},
> 'tuple-proto': {'proto-dst-port': 37104,
> 'proto-num': 6,
> 'proto-src-port': 443}},
> 'use': 1,
> 'version': 0},
> {'id': 3402229480,
>
> [...]
Here is the summary with links:
- [v2,net-next] netlink: specs: add conntrack dump and stats dump support
https://git.kernel.org/netdev/net-next/c/23fc9311a526
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists