setools
I have just uploaded setools to Debian.
I have a few suggestions for new features for apol (the only part of setools that I've used so far):
It should take a command line parameter of a policy.conf file. I want to type "apol /tmp/policy.conf" and save the effort of going through a GUI to specify a file to load.
The "search using type" option in "Roles" displays types that are not domains (and therefore can't be in any role). The drop-down would contain much less data if it only listed viable options.
There seems to be no way to say "tell me all interactions between staff_t and sshd_t". Maybe I'm missing something here.
Anyway apol is good, I recommend that you all try it 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.
Quoted 3 lines
It should take a command line parameter of a policy.conf file. I want to type "apol
/tmp/policy.conf" and save the effort of going through a GUI to specify a file to load.
Yup, and we have code to do that but it had a problem and we never got around to fixing it. We'll try to address this in the December release.
Quoted 3 lines
The "search using type" option in "Roles" displays types that are not domains (and therefore can't be in any role). The drop-down would contain much less data if it only listed viable options.
The reason is we don't want to imply semantics within the tool; in this case we don't want to assume that there is a attribute with an identifier of "domain" and that this means types that allowed to be associated with roles. However, on other tabs we have allowed you to select an attribute to constrain what types are displayed in the drop down box. Thus can enable the "constrain by attribute" box, select "domain" attribute, and then have the drop down box only show those types that have that attribute. We'll work that in the December release.
Quoted 2 lines
There seems to be no way to say "tell me all interactions between
staff_tandsshd_t". Maybe I'm missing something here.
Yes you're probably correct in terms of a single place where all interactions between two types, especially two domain types, are identified. Might be another type of analysis for us to do. The main interactions would be type rules (which you can search in the TE Rules tab), though you might need to do two searched (making each source and target), and domain transition analysis to find transition paths. Possibly also shared role assignments and such. It is starting to feel like a separate analysis we can do, and inventory all the interactions in one place. Any idea of the complete list of "interactions" two types might have (besides the above)?
This will have to be put on the future enhancement list for possible inclusion in the next version.
Quoted 1 line
Anyway apol is good, I recommend that you all try it out.
The December release will have improve information flow analysis, though we're still a couple of releases from achieving our goal as outlined in my ACM presentation. Also the underlying libraries have been re-structure to allow non-X (non-TCL/TK) applications to use them. For example, we'll have a couple of command line tools that do some of the apol searches from command line for quick and dirty look ups.
Frank
--
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.