Skip to contentSkip to conversation

SELinux with IPSec - something going on ?

DISCUSSION Park Lee 2 participants 3 messages Nov 11, 2004 SELinux security module

lore
Share & tools
lore

Park Lee

author
#0 lore raw
Quoted 2 lines · Trent Jaeger

We hook into the xfrm subsystem and/or use the xfrm data structures to leverage IPSec security associations.

Then, what items should we add to IPsec security association? Is it still ( source socket security context, destination socket security context, packet security context ) tuple as described in IMPLEMENTING MANDATORY NETWORK SECURITY IN A POLICY-FLEXIBLE SYSTEM (http://www.cs.utah.edu/flux/papers/ajay-thesis-abs.html) .

Thank you.

--
Best Regards,
Park Lee <[email protected]>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw

Hi,

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.

Regards,
Trent.
------------------------------------------------------------
Trent Jaeger
IBM T.J. Watson Research Center
19 Skyline Drive, Hawthorne, NY 10532
(914) 784-7225, FAX (914) 784-7225

Park Lee <[email protected]>
11/10/2004 09:45 PM

To: Trent Jaeger/Watson/IBM@IBMUS
cc: [email protected], [email protected]
Subject: Re: SELinux with IPSec - something going on ?

Quoted 2 lines · Trent Jaeger

We hook into the xfrm subsystem and/or use the xfrm data structures to leverage IPSec security associations.

Then, what items should we add to IPsec security association? Is it still ( source socket security context, destination socket security context, packet security context ) tuple as described in IMPLEMENTING MANDATORY NETWORK SECURITY IN A POLICY-FLEXIBLE SYSTEM (
http://www.cs.utah.edu/flux/papers/ajay-thesis-abs.html) .

Thank you.

--
Best Regards,
Park Lee <[email protected]>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

author
#2 lore raw
Quoted 5 lines · Trent Jaeger

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 [email protected] wrote in the letter "Re: Issue on getting security context of socket and message " :

Quoted 4 lines

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 <[email protected]>

---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com