All of lore.kernel.org
 help / color / mirror / Atom feed
* Writing a program to monitor the SELinux log
@ 2011-10-12  3:07 Jason Axelson
  2011-10-12 12:37 ` Daniel J Walsh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jason Axelson @ 2011-10-12  3:07 UTC (permalink / raw)
  To: SE-Linux

Hi,

I am writing a program that will monitor the SELinux log for AVC violations
and deal with them appropriately. Currently I am looking at approaches to
monitor the SELinux log.

One approach is to do raw monitoring of /var/log/audit/audit.log with
something like:
    tail -f /var/log/audit/audit.log | ausearch -m avc

A second approach may be to implement an SETroubleShoot plugin:
https://fedorahosted.org/setroubleshoot/wiki/SETroubleShoot%20Overview

I'm kind of leaning towards an SETroubleShoot plugin since it seems like less
new development and the infrastructure seems to be already there.

Is this a valid approach? Is there a better way?

Thanks,
Jason

--
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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-02  4:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12  3:07 Writing a program to monitor the SELinux log Jason Axelson
2011-10-12 12:37 ` Daniel J Walsh
2011-11-02  4:07   ` Jason Axelson
2011-10-12 12:57 ` Patrick K., ITF
2011-10-12 19:19 ` LC Bruzenak

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.