diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-03-06 22:38:51 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-03-06 22:38:51 +1100 |
commit | 2b59a6dad6ed7c127a2942fe941dac7092337ea4 (patch) | |
tree | fbc4100c9d6d0e7adcff96cb72c8fb5ccaf7aa0c | |
parent | 3745e2bb6261b9ee9408b103b2c003f5320ceff2 (diff) |
- (dtucker) [session.c sshd.c] Bug #125 comment #49: Send disconnect audit
events earlier, prevents mm_request_send errors reported by Matt Goebel.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | session.c | 4 | ||||
-rw-r--r-- | sshd.c | 4 |
3 files changed, 7 insertions, 5 deletions
@@ -1,6 +1,8 @@ 20050306 - (dtucker) [monitor.c] Bug #125 comment #47: fix errors returned by monitor when attempting to audit disconnect events. Reported by Phil Dibowitz. + - (dtucker) [session.c sshd.c] Bug #125 comment #49: Send disconnect audit + events earlier, prevents mm_request_send errors reported by Matt Goebel. 20050305 - (djm) [contrib/cygwin/README] Improve Cygwin build documentation. Patch @@ -2281,4 +2283,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3692 2005/03/06 11:31:35 dtucker Exp $ +$Id: ChangeLog,v 1.3693 2005/03/06 11:38:51 dtucker Exp $ @@ -2344,10 +2344,6 @@ do_cleanup(Authctxt *authctxt) } #endif -#ifdef SSH_AUDIT_EVENTS - PRIVSEP(audit_event(SSH_CONNECTION_CLOSE)); -#endif - /* remove agent socket */ auth_sock_cleanup_proc(authctxt->pw); @@ -1728,6 +1728,10 @@ main(int ac, char **av) finish_pam(); #endif /* USE_PAM */ +#ifdef SSH_AUDIT_EVENTS + PRIVSEP(audit_event(SSH_CONNECTION_CLOSE)); +#endif + packet_close(); if (use_privsep) |