Skip to contentSkip to conversation

A question on integrating IPSec to Selinux

DISCUSSION Wei Shen 3 participants 4 messages Nov 2, 2005 – Nov 3, 2005 SELinux security module

lore
Share & tools
lore

Wei Shen

author
#0 lore raw

Greedings,

I read "Leveraging IPSec for Mandatory Access Control of Linux Network Communication" by Mr. Trent Jaeger. I learned that when a security association is built, the initiator is responsible for adding its MAC label as an attribute of the SA, and the responder then use the label received to decide the label of the SA in the responder endpoint.

To my understandings, in this implementation a remote client can only act passively - it provide its authorization information, and can only accept the label the server give it in the server side. Is it possible for a remote process (assuming that it knows the policy configuration in the peer side) to specify a label (e.g. a security level in MLS) it expects to have in the peer side, and wait for a approval?

I think such a function is useful. For instance, if a user is allowed to access remote service under different security levels, he can specify a wanted level in one request, but not change authorization information to meet the corresponding requirement every time. And we then need not to change each application level servers (such as telnet, ftp) to realize similar features.

I also think by adding a optional wanted remote label together with a local label to a proposal payload when negotiating a SA, it is not hard to implement.

Is my comprehension any wrong?

Thanks!
Wei

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

#1 lore raw

Dear Wei,

You need to backtrack to the bowels of the origin of the TCP/IP protocol!

A payload inside an IP packet can get as small as a datagram...

The datagram may be a very significant public or private key in a 2, 3 or 4 way constellation.

Of course the protocol is important, but equally so are the peers behind the handshakes.

Good luck, Remmolt

'Communication is only achieved when 2 wise men are comitted to understand each other'

( Transcription from Tao Te Ching by Lao Tsu, about 350 BC )

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Wei Shen
Sent: woensdag 2 november 2005 17:30
To: [email protected]
Subject: A question on integrating IPSec to Selinux

Greedings,

I read "Leveraging IPSec for Mandatory Access Control of Linux Network

Communication" by Mr. Trent Jaeger. I learned that when a security

association is built, the initiator is responsible for adding its MAC

label as an attribute of the SA, and the responder then use the label

received to decide the label of the SA in the responder endpoint.

To my understandings, in this implementation a remote client can only

act passively - it provide its authorization information, and can only

accept the label the server give it in the server side. Is it possible

for a remote process (assuming that it knows the policy configuration

in the peer side) to specify a label (e.g. a security level in MLS) it

expects to have in the peer side, and wait for a approval?

I think such a function is useful. For instance, if a user is allowed

to access remote service under different security levels, he can

specify a wanted level in one request, but not change authorization

information to meet the corresponding requirement every time. And we

then need not to change each application level servers (such as

telnet, ftp) to realize similar features.

I also think by adding a optional wanted remote label together with a

local label to a proposal payload when negotiating a SA, it is not

hard to implement.

Is my comprehension any wrong?

Thanks!

Wei

--

This message was distributed to subscribers of the selinux mailing list.

If you no longer wish to subscribe, send mail to [email protected] with

the words "unsubscribe selinux" without quotes as the message.

author
#2 lore raw

Dear Remmolt,

I do not quite understand your reply. Do you mean the space in a playload is too precious to insert in any other information?

I know the contents of a payload. Now that a local MAC label is already added in current implementation, why will an "optional" remote label cause significant problems? If one desires not to request a expected label, the responder just chooses a default one for him as in current way.

In fact, I think it's a cheap method comparing to in which a client must prepare different payloads to meet the requirement of his expected label in the server side (he then must know more details about the IPSec policy configuration of the server), or modifying each application protocol and server individually.

Thanks!

Wei

Quoted 11 lines · Remmolt Zwartsenberg

You need to backtrack to the bowels of the origin of the TCP/IP protocol!

A payload inside an IP packet can get as small as a datagram...

The datagram may be a very significant public or private key in a 2, 3 or 4 way constellation.

Of course the protocol is important, but equally so are the peers behind the handshakes.

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

#3 lore raw

The current implementation does not accommodate for MLS, in regards to your example of different levels. But I do think someone is looking into it.

Regards,
Joy

Quoted 30 lines · Wei Shen

Dear Remmolt,

I do not quite understand your reply. Do you mean the space in a playload is too precious to insert in any other information?

I know the contents of a payload. Now that a local MAC label is already added in current implementation, why will an "optional" remote label cause significant problems? If one desires not to request a expected label, the responder just chooses a default one for him as in current way.

In fact, I think it's a cheap method comparing to in which a client must prepare different payloads to meet the requirement of his expected label in the server side (he then must know more details about the IPSec policy configuration of the server), or modifying each application protocol and server individually.

Thanks!

Wei

Quoted 8 lines · Remmolt Zwartsenberg

You need to backtrack to the bowels of the origin of the TCP/IP protocol!

A payload inside an IP packet can get as small as a datagram...

The datagram may be a very significant public or private key in a 2, 3 or 4 way constellation.

Quoted 8 lines
Quoted 3 lines

Of course the protocol is important, but equally so are the peers behind the handshakes.

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

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