Message-ID: <20041111041355.49748.qmail@web51509.mail.yahoo.com> Date: Wed, 10 Nov 2004 20:13:55 -0800 (PST) From: Park Lee Subject: Re: SELinux with IPSec - something going on ? To: Trent Jaeger Cc: sds@epoch.ncsc.mil, SELinux@tycho.nsa.gov In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2099750849-1100146435=:49179" Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov --0-2099750849-1100146435=:49179 Content-Type: text/plain; charset=us-ascii On Wed, 10 Nov 2004 at 22:00, Trent Jaeger wrote: > Yes, this is the same idea. > > We add the packet security context to the xfrm_state structure > (sa) and authorize the socket's ability to send/receive these > contexts to achieve the tuple. Thanks, Do you only add packet security context to SA? But, On Tue, 09 Nov 2004 at 10:39, Mr. Stephen Smalley sds@epoch.ncsc.mil wrote in the letter "Re: Issue on getting security context of socket and message " : > Remember that most of the LSM networking security fields and > hooks were rejected by the mainline kernel, so only limited > support exists in the current SELinux and there is no message > labeling at all. Then, Is SELinux now really support the packet security context for packet ? If it support, where could we store the packet security context, when it is associated with a package ? In the package itself ? And, as for the ( source socket security context, destination socket security context, packet security context ) tuple, we can obtain the security context of a socket via the security field of its associated inode. but how can we decide on the destination socket security context and the packet security context ? Thanks a lot, -- Best Regards, Park Lee --------------------------------- Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com --0-2099750849-1100146435=:49179 Content-Type: text/html; charset=us-ascii
On Wed, 10 Nov 2004 at 22:00, Trent Jaeger wrote:
> Yes, this is the same idea.
>
> We add the packet security context to the xfrm_state structure
> (sa) and authorize the socket's ability to send/receive these
> contexts to achieve the tuple.
Thanks,
Do you only add packet security context to SA?
 
But, On Tue, 09 Nov 2004 at 10:39, Mr. Stephen Smalley sds@epoch.ncsc.mil  wrote in the letter "Re: Issue on getting security context of socket and message " :
>  Remember that most of the LSM networking security fields and
> hooks were rejected by the mainline kernel, so only limited
> support exists in the current SELinux and there is no message
> labeling at all.
 
Then, Is SELinux now really support the packet security context for packet ?
If it support, where could we store the packet security context, when it is associated with a package ? In the package itself ?   
And, as for the ( source socket security context, destination socket security context, packet security context ) tuple, we can obtain the security context of a socket via the security field of its associated inode. but how can we decide on the destination socket security context and the packet security context ?
 
Thanks a lot,


--
Best Regards,
Park Lee <parklee_sel@yahoo.com>
 


Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com --0-2099750849-1100146435=:49179-- -- 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.