All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Brindle <jbrindle@tresys.com>
To: Karl MacMillan <kmacmillan@mentalrootkit.com>
Cc: Steve G <linux_4ever@yahoo.com>,
	linux-audit@redhat.com, selinux@tycho.nsa.gov
Subject: Re: missing avc message field names
Date: Tue, 30 Jan 2007 12:06:06 -0500	[thread overview]
Message-ID: <45BF7AFE.1000701@tresys.com> (raw)
In-Reply-To: <45BF5AE3.6030602@mentalrootkit.com>

Karl MacMillan wrote:
>>> The biggest issue, of course, is that it would prevent the use of any
>>> tools that process the files as text (grep, tail, awk, seaudit,
>>> setroubleshoot, etc., etc.). 
>>
>> ausearch -m all --raw | grep anything you want
>>
>
> tail -f happens to be my favorite counter example, but I am certain 
> there are other useful tricks for monitoring logs that will break. Not 
> to mention the number of log monitoring and aggregation tools that 
> assume text logs.

This is fairly off topic here (selinux list) but I agree with Karl. As a 
recovering admin I think I can say that admins expect to be able to use 
various unix utilities to inspect log files, particularly tail -f. While 
I'm all for applications putting their data in private data formats and 
using tools and libraries to inspect them I think it is generally 
considered that everything in /var/log is fair game to inspect with 
anything available on systems (including perl, python, sed, awk, tail, 
grep, etc).

You will certainly be rubbing most admins the wrong way by forcing them 
through a different interface that won't support some common commands 
like tail -f.

There are probably hundreds of utilities that look through these files 
as well, what is going to happen when people try to add audit.log to a 
log watcher that emails logs to them? Huge binary dumps in email are 
going to make people turn off the audit daemon, not modify their apps to 
use different tools/libraries.

WARNING: multiple messages have this Message-ID (diff)
From: Joshua Brindle <jbrindle@tresys.com>
To: Karl MacMillan <kmacmillan@mentalrootkit.com>
Cc: Steve Grubb <sgrubb@redhat.com>,
	Karl MacMillan <kmacmill@redhat.com>,
	linux-audit@redhat.com, ewalsh@tycho.nsa.gov,
	Steve G <linux_4ever@yahoo.com>,
	selinux@tycho.nsa.gov
Subject: Re: missing avc message field names
Date: Tue, 30 Jan 2007 12:06:06 -0500	[thread overview]
Message-ID: <45BF7AFE.1000701@tresys.com> (raw)
In-Reply-To: <45BF5AE3.6030602@mentalrootkit.com>

Karl MacMillan wrote:
>>> The biggest issue, of course, is that it would prevent the use of any
>>> tools that process the files as text (grep, tail, awk, seaudit,
>>> setroubleshoot, etc., etc.). 
>>
>> ausearch -m all --raw | grep anything you want
>>
>
> tail -f happens to be my favorite counter example, but I am certain 
> there are other useful tricks for monitoring logs that will break. Not 
> to mention the number of log monitoring and aggregation tools that 
> assume text logs.

This is fairly off topic here (selinux list) but I agree with Karl. As a 
recovering admin I think I can say that admins expect to be able to use 
various unix utilities to inspect log files, particularly tail -f. While 
I'm all for applications putting their data in private data formats and 
using tools and libraries to inspect them I think it is generally 
considered that everything in /var/log is fair game to inspect with 
anything available on systems (including perl, python, sed, awk, tail, 
grep, etc).

You will certainly be rubbing most admins the wrong way by forcing them 
through a different interface that won't support some common commands 
like tail -f.

There are probably hundreds of utilities that look through these files 
as well, what is going to happen when people try to add audit.log to a 
log watcher that emails logs to them? Huge binary dumps in email are 
going to make people turn off the audit daemon, not modify their apps to 
use different tools/libraries.


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

  reply	other threads:[~2007-01-30 17:06 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-29 14:10 missing avc message field names Steve G
2007-01-29 14:35 ` Stephen Smalley
2007-01-29 14:58   ` Karl MacMillan
2007-01-29 15:13     ` Steve G
2007-01-29 15:09   ` Steve G
2007-01-29 15:13     ` Stephen Smalley
2007-01-29 17:27       ` Steve G
2007-01-29 18:32         ` Karl MacMillan
2007-01-29 18:39     ` Karl MacMillan
2007-01-29 18:55       ` Steve G
2007-01-29 19:22         ` Eamon Walsh
2007-01-29 19:22           ` Eamon Walsh
     [not found]           ` <45BE4971.6090601-+05T5uksL2qpZYMLLGbcSA@public.gmane.org>
2007-01-29 19:43             ` Karl MacMillan
2007-01-29 19:43               ` Karl MacMillan
2007-01-29 20:07               ` Eamon Walsh
2007-01-29 20:07                 ` Eamon Walsh
2007-01-29 20:56           ` Steve Grubb
2007-01-29 20:56             ` Steve Grubb
2007-01-29 21:16             ` Karl MacMillan
2007-01-29 21:16               ` Karl MacMillan
2007-01-29 22:49               ` Steve Grubb
2007-01-29 22:49                 ` Steve Grubb
2007-01-29 23:48                 ` Eamon Walsh
2007-01-29 23:48                   ` Eamon Walsh
     [not found]                   ` <45BE87E0.5090109-+05T5uksL2qpZYMLLGbcSA@public.gmane.org>
2007-01-30 12:25                     ` Russell Coker
2007-01-30 12:25                       ` Russell Coker
     [not found]                 ` <200701291749.21897.sgrubb-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-01-30 14:49                   ` Karl MacMillan
2007-01-30 14:49                     ` Karl MacMillan
2007-01-30 17:06                     ` Joshua Brindle [this message]
2007-01-30 17:06                       ` Joshua Brindle
2007-01-30 17:28                       ` Valdis.Kletnieks
2007-01-30 17:28                         ` Valdis.Kletnieks
2007-01-30 18:45                       ` Casey Schaufler
2007-01-30 18:45                         ` Casey Schaufler
2007-01-30 17:42                     ` Steve Grubb
2007-01-30 17:42                       ` Steve Grubb
2007-01-30 22:53                     ` James Antill
2007-01-30 22:53                       ` James Antill
     [not found]                       ` <1170197588.3373.28.camel-pBdgC7Q4sO52KDkfy0k2sw@public.gmane.org>
2007-01-31  0:50                         ` Karl MacMillan
2007-01-31  0:50                           ` Karl MacMillan
2007-01-31  5:29                           ` Joshua Brindle
2007-01-31  5:29                             ` Joshua Brindle
     [not found]                             ` <45C02948.9090607-5TQdPaFcblfQT0dZR+AlfA@public.gmane.org>
2007-01-31 22:59                               ` Russell Coker
2007-01-31 22:59                                 ` Russell Coker
2007-02-01 11:40                                 ` Steve Grubb
2007-02-01 11:40                                   ` Steve Grubb
2007-01-29 19:37         ` Stephen Smalley
2007-01-29 21:14           ` Steve G

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=45BF7AFE.1000701@tresys.com \
    --to=jbrindle@tresys.com \
    --cc=kmacmillan@mentalrootkit.com \
    --cc=linux-audit@redhat.com \
    --cc=linux_4ever@yahoo.com \
    --cc=selinux@tycho.nsa.gov \
    /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.