Skip to contentSkip to conversation

Labeling traffic over loopback

DISCUSSION Venkat Yekkirala 1 participant 1 message Dec 12, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

In thinking more about this, we shouldn't actually need to use the single bit in skbuff. We should just be able to use the variable that denotes if xfrm over loopback is in use. Any time xfrm over loopback isn't in use (the default), we could use sp to hold the secid.

Quoted 18 lines

-----Original Message-----
From: Venkat Yekkirala [mailto:[email protected]]
Sent: Tuesday, December 12, 2006 10:01 AM
To: '[email protected]'
Cc: '[email protected]'; '[email protected]'
Subject: Labeling traffic over loopback

The following describes a proposal to label traffic over loopback by using a bit in the sk_buff structure. We have:

struct sk_buff {
...

        struct  sec_path        *sp;
...
        __u8                    pkt_type:3,
                                fclone:2,
                                ipvs_property:1;
Quoted 8 lines

...
}

We could use an additional bit (local_label) to denote that "sp" holds the source label sid (no blob, so no lifecycle mgmt).

What do people think?

--
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.