Re: Real networking namespace

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Casey Schaufler
Date: Saturday, October 10, 2009 - 11:14 am

Paul Moore wrote:

As I'll mention later, getting agreement on what qualifies as an
object in the networking stack ain't going to happen anytime soon.
Sure, routing tables are important components of the system's
state, but they don't qualify as objects under any definition of
objects with which I'm familiar. Similarly, a network device is
more like a disk controller than a directory, and no one I know
of wants to start doing access checks based on the disk controller
(file system, yes, controller, no) that a file resides on.

The ad hoc security mechanisms for networking include firewalls,
netfilter, and routing schemes. These are very interesting and
useful things, but they don't have anything to do with the
"subject accesses object" mindset. Trying to shoehorn them in
always results in tears.



Paul is correct. A security model that includes network interface
devices as policy components has all the tools it needs at its
disposal. The Smack model does not consider network interface devices
as policy components. Certainly there are data import/export issues
that get raised with the Smack model, but they center around the
question of whether sending a packet on the network is in fact an
export and whether receiving a packet is an import. You can argue
it either way, and the implications are kind of painful whichever
way you choose. You really only want network interface devices as
policy components if you consider network traffic as import/export,
in which case you have serious work to do explaining why it is
acceptable to do multi-label import/export over that media.

Smack treats incoming packets as IPC messages from subjects that
may be elsewhere. The label on the packet, which may be based on
the host the packet came from, is the only information that Smack
cares about.



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Real networking namespace, Stephen Hemminger, (Fri Oct 9, 8:38 am)
Re: Real networking namespace, Stephen Smalley, (Fri Oct 9, 9:37 am)
Re: Real networking namespace, Stephen Smalley, (Fri Oct 9, 9:44 am)
Re: Real networking namespace, Paul Moore, (Fri Oct 9, 3:12 pm)
Re: Real networking namespace, Stephen Hemminger, (Fri Oct 9, 7:08 pm)
Re: Real networking namespace, Casey Schaufler, (Sat Oct 10, 11:14 am)