From: John Dennis <jdennis@redhat.com>
To: "Miloslav Trmač" <mitr@redhat.com>
Cc: Linux Audit <linux-audit@redhat.com>
Subject: audit string encoding is broken (Was: auparse question)
Date: Fri, 06 Jun 2008 16:07:18 -0400 [thread overview]
Message-ID: <484998F6.7080604@redhat.com> (raw)
In-Reply-To: <1212781001.15953.12.camel@amilo>
Miloslav Trmač wrote:
> One usual way of handling spaces is to use the hex-encoded form for
> field representation, and decode it either using
> auparse_interpret_field() (which hard-codes the ways to decode specific
> field types, and does nothing for unknown types), or in the application.
> The other usual way of handling spaces is to just write them in the
> record and let the applications deal with them however they want (you
> can get the raw record text out of auparse, after all).
>
> I plan to make auparse more useful in this regard, but the best I can
> hope for is adding more special cases for specific field and record
> types. A long-term, future-proof solution must involve some changes to
> the record format definition.
>
I wonder how many times on this list someone has pointed out that the
encoding
of string values in the audit subsystem is BROKEN?
How many times will people stumble on this before it gets fixed?
String encoding has to get fixed in the kernel first because that is
where the string
values are generated.
There have been numerous emails on this list explaining the problem in
detail
and numerous proposals for easy fixes.
--
John Dennis <jdennis@redhat.com>
next prev parent reply other threads:[~2008-06-06 20:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 19:20 auparse question LC Bruzenak
2008-06-06 19:36 ` Miloslav Trmač
2008-06-06 19:53 ` LC Bruzenak
2008-06-06 20:07 ` John Dennis [this message]
2008-06-06 20:45 ` audit string encoding is broken (Was: auparse question) LC Bruzenak
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=484998F6.7080604@redhat.com \
--to=jdennis@redhat.com \
--cc=linux-audit@redhat.com \
--cc=mitr@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox