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: <8653ac99-4c5a-b596-7109-7622c125088a@wifirst.fr>
Date:   Tue, 10 May 2022 08:54:47 +0200
From:   Florent Fourcot <florent.fourcot@...irst.fr>
To:     David Ahern <dsahern@...nel.org>, netdev@...r.kernel.org
Cc:     Eric Dumazet <edumazet@...gle.com>,
        Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH v2 net-next] net: neigh: add netlink filtering based on
 LLADDR for dump

Hello,

On 10/05/2022 03:38, David Ahern wrote:
> that is done by a GET without the NLM_F_DUMP flag set; doing a table
> dump and filtering to get the one entry is wrong.

GET command takes a L3/IP address and one interface index. It returns 
unique entry matching this tuple.

This patch is for reverse lookup: you have one link layer address, and 
you need entries matching this link layer address. You can receive 
several results, since:

  * One link layer address can be used for several IP addresses on the 
same interface
  * One link layer address can be found on several interfaces

Best regards,

-- 
Florent Fourcot

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ