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
| ||
|
Message-ID: <69af34f8-2984-1dca-147f-f99ab5bc4f4d@kernel.org> Date: Thu, 11 May 2023 09:04:31 -0600 From: David Ahern <dsahern@...nel.org> To: Guillaume Nault <gnault@...hat.com>, David Miller <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Eric Dumazet <edumazet@...gle.com> Cc: netdev@...r.kernel.org Subject: Re: [PATCH v2 net-next 4/4] selftests: fcnal: Test SO_DONTROUTE on raw and ping sockets. On 5/11/23 8:39 AM, Guillaume Nault wrote: > Use ping -r to test the kernel behaviour with raw and ping sockets > having the SO_DONTROUTE option. > > Since ipv4_ping_novrf() is called with different values of > net.ipv4.ping_group_range, then it tests both raw and ping sockets > (ping uses ping sockets if its user ID belongs to ping_group_range > and raw sockets otherwise). > > With both socket types, sending packets to a neighbour (on link) host, > should work. When the host is behind a router, sending should fail. > > Signed-off-by: Guillaume Nault <gnault@...hat.com> > --- > tools/testing/selftests/net/fcnal-test.sh | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists