Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id j6PIaqgA025781 for ; Mon, 25 Jul 2005 14:36:52 -0400 (EDT) Received: from mx1.redhat.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id j6PIUiAP021553 for ; Mon, 25 Jul 2005 18:30:44 GMT Subject: Re: Iptables discussion From: Ivan Gyurdiev Reply-To: gyurdiev@redhat.com To: "Christopher J. PeBenito" Cc: Daniel J Walsh , James Morris , Casey Schaufler , Joshua Brindle , Karl MacMillan , selinux@tycho.nsa.gov In-Reply-To: <1122315868.13068.200.camel@sgc> References: <20050724152822.95995.qmail@web34310.mail.mud.yahoo.com> <42E50756.5030302@redhat.com> <1122315868.13068.200.camel@sgc> Content-Type: text/plain Date: Mon, 25 Jul 2005 14:28:56 -0400 Message-Id: <1122316136.2997.69.camel@celtics.boston.redhat.com> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov > So you could have: > > can_network(apache_t) > > and then to change it to only use eth0, > > can_network(apache_t,eth0_netif_t) I think automatic policy editing has to occur post-m4 - it doesn't make sense to me to be generating pre-m4 macros - this is going to be very hard to validate, and require a long time to compile and process. Your 1-line change expands to several hundred rules in policy. -- 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.