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]
Date:	Tue, 20 Oct 2015 10:45:48 +0200
From:	Thomas Graf <tgraf@...g.ch>
To:	Richard Laing <Richard.Laing@...iedtelesis.co.nz>
Cc:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Routing Policy Database Rule 0

On 10/20/15 at 01:58am, Richard Laing wrote:
> Hi,
> 
> We recently found a bug in our code which resulted in rule 0 in the 
> routing policy database being deleted, this is a bad thing and the man 
> page documentation for "ip rule" indicates
> 
> Rule 0 is special. It cannot be deleted or overridden.
> 
> which seems entirely reasonable. The code in net/core/fib_rules.c does 
> not seem to protect against deletion of this rule and I was wondering if 
> there is a reason for this. If not I will submit a patch to address it.

This behaviour was changed in commit 5adef1809
("net: fib_rules: allow to delete local rule") so it seems the manual
page is outdated. Feel free to send a patch.

> Simply running "ip rule del" shows the issue .

This however looks like a bug.
--
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