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] [day] [month] [year] [list]
Message-ID: <SJ0PR84MB208895DD86DE621AE337CAB2D8DD2@SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM>
Date: Wed, 3 Jul 2024 19:46:36 +0000
From: "Muggeridge, Matt" <matt.muggeridge2@....com>
To: Stephen Hemminger <stephen@...workplumber.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: "ip route show dev enp0s9" does not show all routes for enp0s9

> From: Stephen Hemminger <stephen@...workplumber.org>
> Sent: Wednesday, July 3, 2024 3:50 PM
> To: Muggeridge, Matt <matt.muggeridge2@....com>
> Cc: netdev@...r.kernel.org
> Subject: Re: "ip route show dev enp0s9" does not show all routes for enp0s9
> 
> On Wed, 3 Jul 2024 04:00:44 +0000
> "Muggeridge, Matt" <matt.muggeridge2@....com> wrote:
> 
> > > On Sun, Jun 30, 2024 at 09:23:08AM -0700, Stephen Hemminger wrote:
> > > >  Good catch, original code did not handle multipath in filtering.
> > > >
> > > >  Suggest moving the loop into helper function for clarity
> > >
> > > Thanks, looks good. Do you want to submit it?
> > >
> > > You can add:
> > >
> > > Reviewed-by: Ido Schimmel mailto:idosch@...dia.com
> >
> > Just wondering which repo this will find its way into.  I sleuthed
> > your repos and the iproute2 repo but could not find it.
> >
> > Thanks,
> > Matt.
> >
> >
> 
> It would go in iproute2 but was not an official patch since it was not tested.
> Since you are doing multipath routing, could you please make sure it works.
> 
> Suppose a test with dummy devices is possible, but somewhat artificial

I have tested it, and it worked.

# Using my distros "ip" command
$ ip -6 r show dev enp0s9
2001:2:0:1000::/64 proto ra metric 2048 expires 65480sec pref medium
fe80::/64 proto kernel metric 256 pref medium

# Using the patched version of "./ip" command
~/work/iproute2/ip (main)$ ./ip -6 r show dev enp0s9
2001:2:0:1000::/64 proto ra metric 2048 expires 65478sec pref medium
fe80::/64 proto kernel metric 256 pref medium
default proto ra metric 2048 expires 538sec pref medium
        nexthop via fe80::200:10ff:fe10:1060 dev enp0s9 weight 1 
        nexthop via fe80::200:10ff:fe10:1061 dev enp0s9 weight 1

All the best!
Matt.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ