From: "Christopher J. PeBenito" <cpebenito@tresys.com>
To: Richard Haines <richard_c_haines@btinternet.com>,
<selinux@tycho.nsa.gov>, <setools-bugs@tresys.com>
Subject: Re: [PATCH 0/4] APOL Enhancements to support additional policy features
Date: Tue, 8 Apr 2014 11:38:44 -0400 [thread overview]
Message-ID: <53441804.9060408@tresys.com> (raw)
In-Reply-To: <1396968778-19260-1-git-send-email-richard_c_haines@btinternet.com>
On 04/08/2014 10:52 AM, Richard Haines wrote:
> These four patches will update setools-3.3.8.tar.bz2 available from
> http://oss.tresys.com/projects/setools/wiki/download
>
> I know this is not being fully supported but as I use APOL frequently
> I thought I would update it to support the latest policy version 29 (I
> could be the only user!!!). Tested on latest Fedora 20 x86_64
Thanks, we'll take a look at these. You're not the only user, as we use it internally at Tresys a lot. Actually, we're in the process of prototyping SETools 4. There are a few things that have been a challenge for maintaining SETools over the years:
* Libsepol is only designed for building the policy, not analyzing the policy: It doesn't have an API that's conducive to querying the policy (it didn't even exist when SETools started). SETools' source policy parsers have to be copied from checkpolicy/checkmodule.
* It's over 10 years old and has been very evolutionary in its development (hence tk and gtk toolkits, for example)
* A (nearly) full C implementation is fast, but we have our own implementations of functions/structures come built-in on OO languages.
So we're looking at the possibility of reimplementing SETools in Python. That brings in a huge amount of capability. For example, libapol has it's own vector implementation, which can be replaced with Python lists (or sets) and all their functions. Similarly, we're evaluating the NetworkX graph library as a basis for the information flow and domain transition analyses.
Additionally, we'd like to see if some form of the libqpol API (or something similar) could be upstreamed into libsepol (or be a new upstream library). It was discussed before at some point after the SETools dependency in audit2allow got upstreamed, but didn't really end in any implementation.
We're not quite ready for shifting to public development (we're not even set on Python yet, though it's very likely), but we'll let the list know when that happens.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
next prev parent reply other threads:[~2014-04-08 15:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-08 14:52 [PATCH 0/4] APOL Enhancements to support additional policy features Richard Haines
2014-04-08 15:38 ` Christopher J. PeBenito [this message]
2014-04-08 15:57 ` Daniel J Walsh
2014-04-08 18:01 ` Steve Lawrence
2014-04-10 13:02 ` Richard Haines
2014-04-08 17:51 ` Steve Lawrence
2014-04-10 13:00 ` Richard Haines
2014-04-09 17:17 ` Joshua Brindle
2014-04-12 9:42 ` Richard Haines
2014-04-25 16:32 ` Steve Lawrence
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=53441804.9060408@tresys.com \
--to=cpebenito@tresys.com \
--cc=richard_c_haines@btinternet.com \
--cc=selinux@tycho.nsa.gov \
--cc=setools-bugs@tresys.com \
/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.