iptables and assertions
allow iptables_t bin_t:file { execute execute_no_trans };
The above line has been in the iptables policy for ages (I think since it was ipchains_t). Is it still needed? My tests seem to indicate that it is not needed any more.
If we remove the above line we can add the following to assert.te:
ifdef(iptables.te', assert_execute(iptables)')
Also the following seems appropriate for assert.te:
ifdef(ifconfig.te', assert_execute(ifconfig)')
Signature · 9 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.
Quoted 2 lines · Russell Coker
allow
iptables_tbin_t:file { executeexecute_no_trans};
I've removed this rule for now.
Quoted 9 lines
The above line has been in the iptables policy for ages (I think since it was
ipchains_t). Is it still needed? My tests seem to indicate that it is not needed any more.If we remove the above line we can add the following to assert.te:
ifdef(iptables.te',assert_execute(iptables)')Also the following seems appropriate for assert.te:
ifdef(ifconfig.te',assert_execute(ifconfig)')
Signature · 7 lines
James Carter <[email protected]> National Security Agency -- 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.