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: <87h6qrh7sv.fsf@toke.dk>
Date:   Wed, 28 Jun 2023 18:26:40 +0200
From:   Toke Høiland-Jørgensen <toke@...hat.com>
To:     Florian Westphal <fw@...len.de>, bpf@...r.kernel.org
Cc:     ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
        martin.lau@...ux.dev, netdev@...r.kernel.org,
        Florian Westphal <fw@...len.de>
Subject: Re: [PATCH bpf-next v4 2/2] selftests/bpf: Add
 bpf_program__attach_netfilter helper test

Florian Westphal <fw@...len.de> writes:

> Call bpf_program__attach_netfilter() with different
> protocol/hook/priority combinations.
>
> Test fails if supposedly-illegal attachments work
> (e.g., bogus protocol family, illegal priority and so on) or if a
> should-work attachment fails.  Expected output:
>
>  ./test_progs -t netfilter_link_attach
>  #145/1   netfilter_link_attach/allzero:OK
>  #145/2   netfilter_link_attach/invalid-pf:OK
>  #145/3   netfilter_link_attach/invalid-hooknum:OK
>  #145/4   netfilter_link_attach/invalid-priority-min:OK
>  #145/5   netfilter_link_attach/invalid-priority-max:OK
>  #145/6   netfilter_link_attach/invalid-flags:OK
>  #145/7   netfilter_link_attach/invalid-inet-not-supported:OK
>  #145/8   netfilter_link_attach/attach ipv4:OK
>  #145/9   netfilter_link_attach/attach ipv6:OK
>
> Signed-off-by: Florian Westphal <fw@...len.de>

Reviewed-by: Toke Høiland-Jørgensen <toke@...hat.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ