Re: [RFC PATCH v8 06/18] LSM: Add inet_sys_snd_skb() LSM hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 17 December 2007 2:45:50 pm Stephen Smalley wrote:
> On Fri, 2007-12-14 at 16:50 -0500, Paul Moore wrote:
> > Add an inet_sys_snd_skb() LSM hook to allow the LSM to provide packet
> > level access control for all outbound packets.  Using the existing
> > postroute_last netfilter hook turns out to be problematic as it is can be
> > invoked multiple times for a single packet, e.g. individual IPsec
> > transforms, adding unwanted overhead and complicating the security
> > policy.
>
> None of the netfilter hooks works for this purpose?

None that we have found, no.  Although if you can prove me wrong I'd be very 
happy.  The problem is that the existing netfilter hooks can get hit multiple 
times in the case of labeled IPsec which was decided to be a no-no.

> Obviously this one needs to get seen on netdev.

Yep.  I just wanted to make sure we were all in agreement on what we 
wanted/needed before I tried to make our case to the netdev folks.

-- 
paul moore
linux security @ hp

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux