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]
Date: Tue, 26 Sep 2023 12:19:18 +0100
From: Quentin Monnet <quentin@...valent.com>
To: Daniel Borkmann <daniel@...earbox.net>, bpf@...r.kernel.org
Cc: netdev@...r.kernel.org, martin.lau@...nel.org, razor@...ckwall.org,
 ast@...nel.org, andrii@...nel.org, john.fastabend@...il.com
Subject: Re: [PATCH bpf-next 6/8] bpftool: Extend net dump with meta progs

On 26/09/2023 06:59, Daniel Borkmann wrote:
> Add support to dump BPF programs on meta via bpftool. This includes both
> the BPF link and attach ops programs. Dumped information contain the attach
> location, function entry name, program ID and link ID when applicable.
> 
> Example with tc BPF link:
> 
>   # ./bpftool net
>   xdp:
> 
>   tc:
>   meta1(22) meta/peer tc1 prog_id 43 link_id 12
> 
>   [...]
> 
> Example with json dump:
> 
>   # ./bpftool net --json | jq
>   [
>     {
>       "xdp": [],
>       "tc": [
>         {
>           "devname": "meta1",
>           "ifindex": 18,
>           "kind": "meta/primary",
>           "name": "tc1",
>           "prog_id": 29,
>           "prog_flags": [],
>           "link_id": 8,
>           "link_flags": []
>         }
>       ],
>       "flow_dissector": [],
>       "netfilter": []
>     }
>   ]
> 
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>

Reviewed-by: Quentin Monnet <quentin@...valent.com>

Thanks!


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ