web_client_domain
At the moment I am experimenting with a new attribute web_client_domain for every domain that is allowed to connect to web server type processes.
Web servers include apache, squid (proxy server), cups (http administration interface), and probably lots of other things we haven't written policy for yet.
Web clients include netscape (running in user_netscape_t and other domains), lynx (running in user_t etc - maybe it should be changed to run in the netscape domain), squid, and it will only increase.
Having every web server (or application with a web-based configuration interface) require separate ifdef rules for each of netscape, and squid, and having a regular rule for userdomain gets to be a bit complex.
I've put a new policy.tgz on my web site for anyone who wants to try this out.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.