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: <d83d3013-0a06-b633-fded-b563fa52b200@gmail.com>
Date:   Tue, 16 Nov 2021 21:15:57 -0700
From:   David Ahern <dsahern@...il.com>
To:     Hangbin Liu <liuhangbin@...il.com>,
        Cong Wang <xiyou.wangcong@...il.com>
Cc:     Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [Patch net v3 2/2] selftests: add a test case for rp_filter

On 11/16/21 8:19 PM, Hangbin Liu wrote:
> On Sun, Nov 14, 2021 at 09:08:41PM -0800, Cong Wang wrote:
>>> Hi Wang Cong,
>>>
>>> Have you tried this test recently? I got this test failed for a long time.
>>> Do you have any idea?
>>>
>>> IPv4 rp_filter tests
>>>     TEST: rp_filter passes local packets                                [FAIL]
>>>     TEST: rp_filter passes loopback packets                             [FAIL]
>>
>> Hm, I think another one also reported this before, IIRC, it is
>> related to ping version or cmd option. Please look into this if
>> you can, otherwise I will see if I can reproduce this on my side.
> 
> I tried both iputils-s20180629 and iputils-20210722 on 5.15.0. All tests
> failed. Not sure where goes wrong.
> 

no idea. If you have the time can you verify that indeed the failure is
due to socket lookup ... ie., no raw socket found because of the bind to
device setting. Relax that and it should work which is indicative of the
cmsg bind works but SO_BINDTODEVICE does not.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ