On Monday 26 June 2006 7:05 pm, Venkat Yekkirala wrote:
> USER REQUIREMENTS:
>
> The broad user requirements for labeled networking would be that of
> information labeling and flow control. Specifically,
>
> 1. Data labeling:
>       a. data must be labeled where it originates.
>       b. data must retain that label (or its interpretation in a given domain)
>          when conveyed in a trustworthy manner.

{snip}

> PROPOSED DESIGN:
>
> Given the above requirements the following design is proposed:
>
> On the outbound (OTBND):
>
> The following applies to locally-generated (OUTPUT) as well as forwarded
> (FORWARD) traffic.
>
> 1.    OUTPUT ONLY:
>       a. Set secmark of the packet to the label of the socket unless its a
>          datagram, the process is privileged and is allowed to specify
>          a different label for the datagram per policy (R1a, R3a, R3c).
>
>       b. If there's no real socket to take the label from, and this packet is
>          in response to a received packet, use the level from the received
>          packet, taking the TE portion of the context from the pseudo-socket
>          on whose behalf the packet is being sent.
>

Keeping in mind (R1a), I wonder if it makes more sense for (OTBND1a) to take 
the label of the process/domain which sends the data to the socket?  After 
all, the process/domain is the "origin" of the data.  This seems to be 
particularly important in the case of fork()-then-exec() where you could have 
a socket created at a different context from the domain currently writing to 
it.

-- 
paul moore
linux security @ hp
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to