diff options
author | Colin Watson <cjwatson@debian.org> | 2011-01-24 12:43:25 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-01-24 12:43:25 +0000 |
commit | 626f1d986ff72aa514da63e34744e1de9cf21b9a (patch) | |
tree | d215a5280bc2e57251e4a9e08bfd3674ad824a94 /audit.c | |
parent | 6ed622cb6fe8f71bbe0d998cdd12280410bfb420 (diff) | |
parent | 0970072c89b079b022538e3c366fbfa2c53fc821 (diff) |
* New upstream release (http://www.openssh.org/txt/release-5.7):
- Implement Elliptic Curve Cryptography modes for key exchange (ECDH)
and host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA
offer better performance than plain DH and DSA at the same equivalent
symmetric key length, as well as much shorter keys.
- sftp(1)/sftp-server(8): add a protocol extension to support a hard
link operation. It is available through the "ln" command in the
client. The old "ln" behaviour of creating a symlink is available
using its "-s" option or through the preexisting "symlink" command.
- scp(1): Add a new -3 option to scp: Copies between two remote hosts
are transferred through the local host (closes: #508613).
- ssh(1): "atomically" create the listening mux socket by binding it on
a temporary name and then linking it into position after listen() has
succeeded. This allows the mux clients to determine that the server
socket is either ready or stale without races (closes: #454784).
Stale server sockets are now automatically removed (closes: #523250).
- ssh(1): install a SIGCHLD handler to reap expired child process
(closes: #594687).
- ssh(1)/ssh-agent(1): honour $TMPDIR for client xauth and ssh-agent
temporary directories (closes: #357469, although only if you arrange
for ssh-agent to actually see $TMPDIR since the setgid bit will cause
it to be stripped off).
Diffstat (limited to 'audit.c')
-rw-r--r-- | audit.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: audit.c,v 1.5 2006/09/01 05:38:36 djm Exp $ */ | 1 | /* $Id: audit.c,v 1.6 2011/01/17 10:15:30 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved. | 4 | * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved. |
@@ -147,9 +147,9 @@ audit_event(ssh_audit_event_t event) | |||
147 | * within a single connection. | 147 | * within a single connection. |
148 | */ | 148 | */ |
149 | void | 149 | void |
150 | audit_session_open(const char *ttyn) | 150 | audit_session_open(struct logininfo *li) |
151 | { | 151 | { |
152 | const char *t = ttyn ? ttyn : "(no tty)"; | 152 | const char *t = li->line ? li->line : "(no tty)"; |
153 | 153 | ||
154 | debug("audit session open euid %d user %s tty name %s", geteuid(), | 154 | debug("audit session open euid %d user %s tty name %s", geteuid(), |
155 | audit_username(), t); | 155 | audit_username(), t); |
@@ -163,9 +163,9 @@ audit_session_open(const char *ttyn) | |||
163 | * within a single connection. | 163 | * within a single connection. |
164 | */ | 164 | */ |
165 | void | 165 | void |
166 | audit_session_close(const char *ttyn) | 166 | audit_session_close(struct logininfo *li) |
167 | { | 167 | { |
168 | const char *t = ttyn ? ttyn : "(no tty)"; | 168 | const char *t = li->line ? li->line : "(no tty)"; |
169 | 169 | ||
170 | debug("audit session close euid %d user %s tty name %s", geteuid(), | 170 | debug("audit session close euid %d user %s tty name %s", geteuid(), |
171 | audit_username(), t); | 171 | audit_username(), t); |