From: Daniel J Walsh <dwalsh@redhat.com>
To: SE Linux <selinux@tycho.nsa.gov>
Subject: ipsec, netlabels, secmark- How about a little usability?
Date: Thu, 14 Sep 2006 08:52:34 -0400 [thread overview]
Message-ID: <45095092.6080603@redhat.com> (raw)
We have been having some meetings to discuss how we can use this stuff
in the real world (IE Non MLS), and I think the current implementation
is coming up short. The discussions I have seen have talked about using
getpeercon to look at the other end of the connections, but this is not
in the spirit of SELinux where modification of the applications should
not be necessary to secure the environment.
Lets look at some real world situations where having better controls on
the network would work and someone explain to me how Joe Average
SysAdmin will set them up.
1. By default httpd has to be able to talk to itself in order to do
gracefull shutdown,
service httpd graceful.
So I end up adding a rule allowing httpd to name_connect to the
httpd_port_t. But I really only want to allow this for localhost. IE
I don't want to allow my httpd to name_connect to other machines httpd
ports? I can't do this now.
2. I as a sysadm have setup a apache web site that allows connections
from the outside and needs to connect to three mysql servers on my
internal network. So I need to allow it to connect to those three
machines on the internal network only. How am I as the Sysadm going to
set this up.
3. I want to setup two machines in my environment with bind running on
them. One, Machine A, is a bind master the other, Machine B, is a
bind slave. I want to allow bind zone transfer from Machine A to
Machine B, but I want to guarantee that the process kicking off the zone
transfer on Machine A is running as named_t and the process receiving
the zone transfer on Machine B is running as named_t.
How do I do that?
4. I have a machine that is running two bind domains, one on my
internal network needs to listen on eth0, the other on the externel
network needs to listen on eth1. How do I set this up?
=======================================================
If someone was to pass a law and make me the King of SELinux, The way
this would happen is that iptables would be extended to add a -t
SecurityContext flag, which I then could simple SELinux rules to set
this up in a lanquage that most Sysadmins of Linux boxes could readily
understand.
--
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 reply other threads:[~2006-09-14 12:52 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 12:52 Daniel J Walsh [this message]
2006-09-14 13:50 ` ipsec, netlabels, secmark- How about a little usability? Joshua Brindle
2006-09-14 13:55 ` Joshua Brindle
2006-09-14 14:43 ` Stephen Smalley
2006-09-15 15:36 ` Daniel J Walsh
2006-09-14 16:02 ` James Antill
2006-09-14 16:49 ` Stephen Smalley
2006-09-14 17:24 ` James Antill
2006-09-14 19:45 ` Stephen Smalley
2006-09-19 20:13 ` Karl MacMillan
2006-09-19 20:35 ` Christopher J. PeBenito
2006-09-19 21:12 ` Karl MacMillan
2006-09-19 20:47 ` Karl MacMillan
2006-09-20 13:30 ` Christopher J. PeBenito
2006-09-20 13:45 ` James Morris
2006-09-20 14:27 ` Christopher J. PeBenito
2006-09-20 14:45 ` James Morris
-- strict thread matches above, loose matches on Subject: below --
2006-09-14 14:52 Stuart James
2006-09-14 22:52 Venkat Yekkirala
2006-09-15 9:00 ` Stuart James
2006-09-19 21:19 Venkat Yekkirala
2006-09-20 1:35 ` Joshua Brindle
2006-09-20 13:02 Venkat Yekkirala
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=45095092.6080603@redhat.com \
--to=dwalsh@redhat.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.