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: Wed, 5 Jun 2024 11:28:17 +0800
From: Jianguo Wu <wujianguo106@....com>
To: Hangbin Liu <liuhangbin@...il.com>, wujianguo <wujianguo@...natelecom.cn>
Cc: netdev@...r.kernel.org, kuba@...nel.org, edumazet@...gle.com,
 contact@...elbtn.com, pablo@...filter.org, dsahern@...nel.org,
 pabeni@...hat.com
Subject: Re: [PATCH net v2 2/3] selftests: add selftest for the SRv6 End.DX4
 behavior with netfilter

Hi, Hangbin

On 2024/6/5 10:32, Hangbin Liu wrote:
> Hi,
> On Tue, Jun 04, 2024 at 10:49:48PM +0800, wujianguo wrote:
>> From: Jianguo Wu <wujianguo@...natelecom.cn>
>>
>> this selftest is designed for evaluating the SRv6 End.DX4 behavior
>> used with netfilter(rpfilter), in this example, for implementing
>> IPv4 L3 VPN use cases.
>>
>> Signed-off-by: Jianguo Wu <wujianguo@...natelecom.cn>
> 
> When run your test via vng, I got
> 
> sysctl: cannot stat /proc/sys/net/netfilter/nf_hooks_lwtunnel: No such file or directory
> Warning: Extension rpfilter revision 0 not supported, missing kernel module?
> iptables v1.8.9 (nf_tables):  RULE_APPEND failed (No such file or directory): rule in chain PREROUTING
> 

What is your kernel version? The file was introduced from v5.15-rc1

> Looks we are missing some config in selftest net/config.
> 

Sorry, I can't find what config to add, please tell me.

Thanks.

>> ---
>>  tools/testing/selftests/net/Makefile               |   1 +
>>  .../selftests/net/srv6_end_dx4_netfilter_test.sh   | 335 +++++++++++++++++++++
>>  2 files changed, 336 insertions(+)
>>  create mode 100644 tools/testing/selftests/net/srv6_end_dx4_netfilter_test.sh
> 
> The file mode is 644. Although kselftest install will fix the mode.
> It would be good if you can set it to 755 directly.
> 
> Thanks
> Hangbin


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ