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:	Tue, 10 Mar 2015 10:37:13 -0700
From:	Alexander Duyck <alexander.h.duyck@...hat.com>
To:	Sabrina Dubroca <sd@...asysnail.net>
CC:	netdev@...r.kernel.org
Subject: Re: ipv4 route dump broken with multiple subnets

On 03/10/2015 10:07 AM, Sabrina Dubroca wrote:
> With this setup (no other address assigned):
>
> ip link add type dummy
> ip link set dummy0 up
> ip a a 10.0.0.1/24 dev dummy0
>
> route dump works:
>
> # ip r
> 10.0.0.0/24 dev dummy0 proto kernel scope link src 10.0.0.1
>
>
> If I add another address:
>
> ip a a 10.0.1.1/24 dev dummy0
>
> or a route:
>
> ip r a 10.0.1.0/24 via 10.0.0.2
>
> # ip r
> <empty>
>
> It's the same with /proc/net/route instead of ip route.
>
> But with a default route the table appears again.
>
>
> This patch seems to fix the problem, but I'm not sure it is correct.

It looks like I can reproduce it as well if I just add dummy, and then 
drop the default route.  I will look into it and should be able to tell 
you what is going on in the next hour or two.

- Alex
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ