OpenSSH
[Top] [All Lists]

Re: ssh 4.x using aix 5.3 auditing

To: Ryan Robertson <r3r2@yahoo.com>
Subject: Re: ssh 4.x using aix 5.3 auditing
From: Darren Tucker <dtucker@zip.com.au>
Date: Fri, 08 Dec 2006 21:24:25 +1100
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <20061208031152.4027.qmail@web51903.mail.yahoo.com>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <20061208031152.4027.qmail@web51903.mail.yahoo.com>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
Ryan Robertson wrote:
> The only way I was able to get any sort of record of a logout was
> when adding "USER_Exit" to /etc/security/audit/config.  I'm still not
> convinced that that is proper field.  Even if it is, then what does
> USER_Logout do?

No idea.  All the pdf I referenced earlier says is:

USER/SYSTEM     AUDIT EVENT     Description
logout          USER_Logout     Calls to the logout subroutine.
[and elsewhere]
rlogind/telnetd USER_Exit

> It may be the "logout" command, which if called from
> any remote connection, fails since its not "on the login terminal."

That's interesting because it doesn't happen here ("logout" works with 
and without "UseLogin yes" in sshd_config).

> Of course I get no response from IBM. I did notice an entry for
> rlogind/telnetd in /etc/security/audit/events.

I looked briefly at the AIX audit documentation when we incorporated the 
Sun BSM audit code to see if it could be supported but could not figure 
it out at the time.

> Perhaps there is some
> API that be used for ssh?  Is this something that could be added?

Maybe, but I'm not sure how.  I would guess that you build the 
appropriate structures and pass them to either auditwrite or auditlog 
but I've never seen any details on it.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>