Research
.
Skip Search Box

SELinux Mailing List

RE: [redhat-lspp] Re: RHEL5 Kernel with labeled networking

From: Joshua Brindle <jbrindle_at_tresys.com>
Date: Thu, 05 Oct 2006 10:49:21 -0400


On Wed, 2006-10-04 at 14:41 -0400, Venkat Yekkirala wrote: <snip>
> > >
> > > Received: Hello, root:system_r:semanage_t:s0-s0:c0.c255 from
> > > root:system_r:semanage_t:s0-s0:c0.c255
>
> Is the context after Hello, the context returned by getpeercon?
>
> Also, where are you getting the "from" context from?
>

Ok, the client connects to the server, the server responds with "Hello, %s" where %s is what is returned from getpeercon(). The client takes that response and adds "from %s" where %s is what is returned from getpeercon() so the end result is:

"Hello, %s from %s", client_con, server_con

> > >
> > > no matter what context the server is running in.
>
> Likely because you are running in permissive mode. ANY process can now
> "sendto" the same SA.
>

Once Eric rolls a new kernel with the changes from yesterday I'll try it again in enforcing to see how it works. (net-2.6 is being moody with me :\ )

--
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.
Received on Thu 5 Oct 2006 - 10:49:43 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service