Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: watching files/directories with audit the contains turkish characters in file/directory name
Date: Thu, 8 Jun 2006 09:43:12 -0400	[thread overview]
Message-ID: <200606080943.12980.sgrubb@redhat.com> (raw)
In-Reply-To: <20060606132954.62083.qmail@web31706.mail.mud.yahoo.com>

On Tuesday 06 June 2006 09:29, Evren Kalayciklioglu wrote:
> So, i am thinking to change the source if there is
> definite character codes. what i want to do that
> change the valid character code to unicode UTF-8 or
> add unicode UTF-8.

I'd be curious to see the patch when you have one.

> Is it possible?

I think its possible to update the code to do this. My personal setup is 
simply ASCII. That's all it has been tested for.

> If it is possible, which file is interested what i want to do in source
> code? 

First I'd see if you can insert a watch and list a watch so that it looks 
right.

When that is working, then check the audit logs with vi/emacs/less to see what 
kind of records you get. You may find the filenames are encoded. If so don't 
worry about it.

Next check the output of ausearch. Something like 'ausearch -m PATH' should be 
good enough. Correct that code to display the characters. Next try to find a 
file, 'ausearch -f some-name'. After that is working, try executable, 
'ausearch -x some-name'. Next get command names working, 'ausearch -c 
some-name'. If you allow host names in turkish try 'ausearch -h some-name'. 
You may also archive audit logs with turkish characters so you will want to 
try copying the audit logs to a file with turkish name and run 'ausearch -if 
some-name'.

Any changes from the above should be checked to see if they apply to aureport. 
Then I'd start working on that program.

As I said, I'd be interested in seeing the patches. 

-Steve

      reply	other threads:[~2006-06-08 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 13:29 watching files/directories with audit the contains turkish characters in file/directory name Evren Kalayciklioglu
2006-06-08 13:43 ` Steve Grubb [this message]

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=200606080943.12980.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@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