Research
.
Skip Search Box

SELinux Mailing List

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

From: Paul Moore <paul.moore_at_hp.com>
Date: Mon, 17 Dec 2007 15:48:19 -0500


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@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Mon 17 Dec 2007 - 15:49:24 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service