netlink: specs: nftables: allow decode of tailscale ruleset
Subsystems (4)
Donald Hunter
maintainerPATCH 1/1 netlink: specs: nftables: allow decode of tailscale ruleset
Fill another small gap in the nftables spec so that it is possible to dump a tailscale ruleset with:
tools/net/ynl/cli.py --spec \
Documentation/netlink/specs/nftables.yaml --dump getruleThis adds support for the 'target' expression.
Signed-off-by Donald Hunter <[email protected]>
--- Documentation/netlink/specs/nftables.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
Documentation/netlink/specs/nftables.yaml +16 -0
@@ -1027,6 +1027,19 @@ attribute-sets: - name: icmp-code type: u8 + - + name: expr-target-attrs + attributes: + - + name: name + type: string + - + name: rev + type: u32 + byte-order: big-endian + - + name: info + type: binary - name: expr-tproxy-attrs attributes:
@@ -1113,6 +1126,9 @@ sub-messages: - value: reject attribute-set: expr-reject-attrs + - + value: target + attribute-set: expr-target-attrs - value: tproxy attribute-set: expr-tproxy-attrs
Signature · 1 line
2.45.2
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Wed, 4 Sep 2024 10:10:24 +0100 you wrote:
Fill another small gap in the nftables spec so that it is possible to dump a tailscale ruleset with:
tools/net/ynl/cli.py --spec \ Documentation/netlink/specs/nftables.yaml --dump getruleThis adds support for the 'target' expression.
[...]
Here is the summary with links:
- [net-next,v1] netlink: specs: nftables: allow decode of tailscale ruleset
https://git.kernel.org/netdev/net-next/c/e10034e38e9d
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html