Skip to contentSkip to conversation

ausearch issue?

DISCUSSION LC Bruzenak 2 participants 3 messages Jun 11, 2009

lore
Share & tools
lore
#0 lore raw
# auditctl -m "`cat e-1-s`"
# ausearch -ts recent -i -m USER
<no matches>
# ausearch -ts this-week -a 22476
<no matches>

in the raw log:
node=slim type=USER msg=audit(1244730722.536:22476): user pid=16700 uid=0 auid=500 ses=1 subj=user_u:user_r:user_t:s0 msg='node=jim type=PATH msg=audit(06/08/2009 13:33:50.101:19267) : item=4 name=/var/lib/ntp/drift inode=115581 dev=fd:00 mode=file,644 ouid=ntp ogid=ntp rdev=00:00 obj=system_u:object_r:ntp_drift_t:s0 :
exe="/usr/local/sbin/auditctl" (hostname=?, addr=?, terminal=pts/13 res=success)'

file "e-1-s" (1 line):
node=jim type=PATH msg=audit(06/08/2009 13:33:50.101:19267) : item=4 name=/var/lib/ntp/drift inode=115581 dev=fd:00 mode=file,644 ouid=ntp ogid=ntp rdev=00:00 obj=system_u:object_r:ntp_drift_t:s0

Any clues?

Thx,
LCB.

Signature · 2 lines
LC (Lenny) Bruzenak
[email protected]
#1 lore raw
Quoted 15 lines · LC Bruzenak
# auditctl -m "`cat e-1-s`"
# ausearch -ts recent -i -m USER
<no matches>
# ausearch -ts this-week -a 22476
<no matches>

in the raw log:
node=slim type=USER msg=audit(1244730722.536:22476): user pid=16700 uid=0 auid=500 ses=1 subj=user_u:user_r:user_t:s0 msg='node=jim type=PATH msg=audit(06/08/2009 13:33:50.101:19267) : item=4 name=/var/lib/ntp/drift inode=115581 dev=fd:00 mode=file,644 ouid=ntp ogid=ntp rdev=00:00 obj=system_u:object_r:ntp_drift_t:s0 :
exe="/usr/local/sbin/auditctl" (hostname=?, addr=?, terminal=pts/13 res=success)'

Quoted 1 line

Any clues?

When ausearch finds a malformed record, it discards it as a safety measure.

-Steve

#2 lore raw
Quoted 16 lines · Steve Grubb
Quoted 15 lines · LC Bruzenak
# auditctl -m "`cat e-1-s`"
# ausearch -ts recent -i -m USER
<no matches>
# ausearch -ts this-week -a 22476
<no matches>

in the raw log:
node=slim type=USER msg=audit(1244730722.536:22476): user pid=16700 uid=0 auid=500 ses=1 subj=user_u:user_r:user_t:s0 msg='node=jim type=PATH msg=audit(06/08/2009 13:33:50.101:19267) : item=4 name=/var/lib/ntp/drift inode=115581 dev=fd:00 mode=file,644 ouid=ntp ogid=ntp rdev=00:00 obj=system_u:object_r:ntp_drift_t:s0 :
exe="/usr/local/sbin/auditctl" (hostname=?, addr=?, terminal=pts/13 res=success)'

Quoted 5 lines
Quoted 1 line

Any clues?

When ausearch finds a malformed record, it discards it as a safety measure.

-Steve

OK; fair enough.

I HATE that the parser is so ...smart...
:/
I really wanted this in there and be able to extract it later. Oh well, option C...

Thx,
LCB.

Signature · 2 lines
LC (Lenny) Bruzenak
[email protected]