From: Casey Schaufler <casey@schaufler-ca.com>
To: Paul Moore <paul.moore@hp.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: Question on networking accesses
Date: Mon, 21 May 2007 09:07:21 -0700 (PDT) [thread overview]
Message-ID: <598964.83843.qm@web36606.mail.mud.yahoo.com> (raw)
In-Reply-To: <200705211122.25948.paul.moore@hp.com>
--- Paul Moore <paul.moore@hp.com> wrote:
> On Monday, May 21 2007 9:48:52 am Casey Schaufler wrote:
> > I have what I hope is a fairly straitforward question on the SELinux
> > networking model. Let's pretend that I have a process A that sends a
> > UDP packet P to a second process B. From the viewpoint of access control
> > is this:
> >
> > - process A writing to process B
> > - process B reading from process A
> > - process A creating packet P, and process B reading packet P
> >
> > some combination of the above, or something else entirely?
>
> >From 10,000 feet up in the air that sounds roughly about right. Although if
>
> you are talking about labeled networking it can be a bit more involved,
> especially if you are using labeled IPsec.
>
> Can you be a bit more specific?
How about if I throw out an example. The evaluation team loved this
one back in '92.
I have a tic-tac-toe server that does little but maintain a tic-tac-toe
board. It allows two connections, one for the "X" player and one for the
"O" player. Player X invokes the tictacclient program, which sends a
UDP packet to tictacserver. The client may be local or remote. What
access control decisions are made, where, and using what information?
The decision may be different if it's seen as a write from tictacclient
to tictacserver than if it's seen as a read from tictacclient by
tictacserver. The decision may have another outcome entirely if the
packet is treated as a named object that is created by tictacclient.
So, what should the creator of this tic-tac-toe system expect on an
selinux system? Will the access decision be based on a write from the
client, a read by the server, the attribues associated with a packet
object, or something else entirely?
Historical MLS systems treated the access as a write by the client to
the server (well, the server's socket) but the MLS rules typically
limited the communications to matching labels. SELinux is much more
likely to encounter a situation where the client might be able to write
to the server but the server might not be allowed to read the client
(or the other way around). It may matter if it is a read or a write.
Casey Schaufler
casey@schaufler-ca.com
--
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.
next prev parent reply other threads:[~2007-05-21 16:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 13:48 Question on networking accesses Casey Schaufler
2007-05-21 15:22 ` Paul Moore
2007-05-21 16:07 ` Casey Schaufler [this message]
2007-05-21 18:20 ` Paul Moore
2007-05-21 20:18 ` Casey Schaufler
2007-05-21 20:30 ` Paul Moore
2007-05-21 21:06 ` Casey Schaufler
2007-05-22 3:46 ` Paul Moore
2007-05-22 4:59 ` Casey Schaufler
2007-05-22 12:39 ` Steve G
2007-05-22 14:13 ` Paul Moore
2007-05-22 14:56 ` Casey Schaufler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=598964.83843.qm@web36606.mail.mud.yahoo.com \
--to=casey@schaufler-ca.com \
--cc=paul.moore@hp.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.