[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080901093827.24eec86f@lxorguk.ukuu.org.uk>
Date: Mon, 1 Sep 2008 09:38:27 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Stephen Hemminger <stephen.hemminger@...tta.com>
Cc: Stephen Hemminger <shemminger@...tta.com>,
David Miller <davem@...emloft.net>,
Dushan Tcholich <dusanc@...il.com>,
Francois Romieu <romieu@...zoreil.com>,
Robert Hancock <hancockr@...w.ca>, netdev@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
bridge@...ts.linux-foundation.org
Subject: Re: [RFC] bridge: STP timer management range checking
> > Seems bogus extra code to me - stops things working that should be
> > allowed too.
> >
> The timer configuration is propagated in network protocol, so
> misconfigured Linux box
> could survive but effect other devices on the network that are less
> robust. Maybe the
That would be irrelevant. CAP_NET_ADMIN lets you make that size mess
anyway.
> small values would cause some other bridge to crash, go infinite loop, ...
> More likely robust devices might ignore our packets (because values out
> of range), leading to
> routing loops and other disasters.
Spamming tree isn't secure, news at 11.
> The kernel does need to stop administrative settings from taking out a
> network.
If you have CAP_NET_ADMIN you can trivially take out the network unless
it is properly switched.
Now you might want your pretty little GUI and/or config tools to warn
people that their configuration is outside 802 specs but that is a
different matter altogether
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists