lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZgShpYf158Yc7ivH@calendula>
Date: Wed, 27 Mar 2024 23:45:57 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Donald Hunter <donald.hunter@...il.com>
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
	Jiri Pirko <jiri@...nulli.us>,
	Jacob Keller <jacob.e.keller@...el.com>,
	Stanislav Fomichev <sdf@...gle.com>, donald.hunter@...hat.com
Subject: Re: [PATCH net-next v1 0/2] netlink: Add nftables spec w/ multi
 messages

Please, Cc netfilter-devel@...r.kernel.org for netfilter related stuff.

On Wed, Mar 27, 2024 at 06:16:58PM +0000, Donald Hunter wrote:
> This series adds a ynl spec for nftables and extends ynl with a --multi
> command line option that makes it possible to send transactional batches
> for nftables.
> 
> An example of usage is:
> 
> ./tools/net/ynl/cli.py \
>  --spec Documentation/netlink/specs/nftables.yaml \
>  --multi batch-begin '{"res-id": 10}' \
>  --multi newtable '{"name": "test", "nfgen-family": 1}' \
>  --multi newchain '{"name": "chain", "table": "test", "nfgen-family": 1}' \
>  --multi batch-end '{"res-id": 10}'
> 
> Donald Hunter (2):
>   doc/netlink/specs: Add draft nftables spec
>   tools/net/ynl: Add multi message support to ynl
> 
>  Documentation/netlink/specs/nftables.yaml | 1264 +++++++++++++++++++++
>  tools/net/ynl/cli.py                      |   22 +-
>  tools/net/ynl/lib/ynl.py                  |   47 +-
>  3 files changed, 1315 insertions(+), 18 deletions(-)
>  create mode 100644 Documentation/netlink/specs/nftables.yaml
> 
> -- 
> 2.44.0
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ