On ons, 2008-04-02 at 17:58 -0400, [EMAIL PROTECTED]
wrote:
> Actually, it's a fully functional e-mail address; it's "sacrificial"
> in that it gets a lot of spam due to being publicly archived.
> 

Apparently, my other emails haven't been visible enough to stand out...

Please have a look at what I've written before at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404956


> Degging back in my memory...
> 
> Behaviour before the change: "ip rule flush" would leave the default
>       100:    from all lookup main 
> rule in place and working.  After the change, "ip rule flush" would
> delete that rule, resulting in the routing set up in the "main"
> table being completely ineffective.

The default rules looks like this:

$ ip rule sh
0:      from all lookup local 
32766:  from all lookup main 
32767:  from all lookup default 

Only the "0" rule is special and can't be deleted. This is clearly
documented in "man ip":

              Rule 0 is special. It cannot be deleted or overridden.

All ip commands you can flush means "delete everything", not "restore
defaults". 

I've tried alot of old iproute versions and couldn't find any other
behaviour then "delete everything" when I did "ip rule flush".

If there has ever been any other behaviour, I thus have to draw the
conclusion that something changed /inside the kernel/.
As the behaviour is documented, I'd also say that if it has ever worked
differently it was a bug that has since been fixed.

Because of this I'm leaving the bug closed (and please CC it on
followups). As usual, if you disagree - feel free to reopen and provide
additional information.


-- 
Regards,
Andreas Henriksson




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to