All of lore.kernel.org
 help / color / mirror / Atom feed
* Labeling traffic over loopback
@ 2006-12-12 16:00 Venkat Yekkirala
  2006-12-12 16:36 ` Paul Moore
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Venkat Yekkirala @ 2006-12-12 16:00 UTC (permalink / raw)
  To: selinux; +Cc: jmorris, sds

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

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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Labeling traffic over loopback
@ 2006-12-12 16:03 Venkat Yekkirala
  0 siblings, 0 replies; 11+ messages in thread
From: Venkat Yekkirala @ 2006-12-12 16:03 UTC (permalink / raw)
  To: Venkat Yekkirala, selinux; +Cc: jmorris, sds

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.

> -----Original Message-----
> From: Venkat Yekkirala [mailto:vyekkirala@trustedcs.com]
> Sent: Tuesday, December 12, 2006 10:01 AM
> To: 'selinux@tycho.nsa.gov'
> Cc: 'jmorris@namei.org'; 'sds@tycho.nsa.gov'
> 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;
> ...
> }
> 
> 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-12-13 15:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 16:00 Labeling traffic over loopback Venkat Yekkirala
2006-12-12 16:36 ` Paul Moore
2006-12-12 17:02   ` Venkat Yekkirala
2006-12-12 17:26     ` Paul Moore
2006-12-12 17:45       ` Venkat Yekkirala
2006-12-13  3:34         ` James Morris
2006-12-13 14:29           ` Venkat Yekkirala
2006-12-13 15:24             ` James Morris
2006-12-12 17:07 ` Joy Latten
2006-12-12 17:23 ` Casey Schaufler
  -- strict thread matches above, loose matches on Subject: below --
2006-12-12 16:03 Venkat Yekkirala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.