diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | canohost.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -229,6 +229,10 @@ | |||
229 | Make ssh-add check file permissions before attempting to load private | 229 | Make ssh-add check file permissions before attempting to load private |
230 | key files multiple times; it will fail anyway and this prevents confusing | 230 | key files multiple times; it will fail anyway and this prevents confusing |
231 | multiple prompts and warnings. mindrot #1138, ok djm@ | 231 | multiple prompts and warnings. mindrot #1138, ok djm@ |
232 | - djm@cvs.openbsd.org 2006/03/14 00:15:39 | ||
233 | [canohost.c] | ||
234 | log the originating address and not just the name when a reverse | ||
235 | mapping check fails, requested by linux AT linuon.com | ||
232 | 236 | ||
233 | 20060313 | 237 | 20060313 |
234 | - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong) | 238 | - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong) |
@@ -4130,4 +4134,4 @@ | |||
4130 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 4134 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
4131 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 4135 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
4132 | 4136 | ||
4133 | $Id: ChangeLog,v 1.4204 2006/03/15 01:06:23 djm Exp $ | 4137 | $Id: ChangeLog,v 1.4205 2006/03/15 01:06:41 djm Exp $ |
diff --git a/canohost.c b/canohost.c index 76b0bee02..f15aecb62 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: canohost.c,v 1.49 2006/02/22 00:04:44 stevesk Exp $"); | 15 | RCSID("$OpenBSD: canohost.c,v 1.50 2006/03/14 00:15:39 djm Exp $"); |
16 | 16 | ||
17 | #include <ctype.h> | 17 | #include <ctype.h> |
18 | 18 | ||
@@ -104,7 +104,7 @@ get_remote_hostname(int sock, int use_dns) | |||
104 | hints.ai_socktype = SOCK_STREAM; | 104 | hints.ai_socktype = SOCK_STREAM; |
105 | if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { | 105 | if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { |
106 | logit("reverse mapping checking getaddrinfo for %.700s " | 106 | logit("reverse mapping checking getaddrinfo for %.700s " |
107 | "failed - POSSIBLE BREAK-IN ATTEMPT!", name); | 107 | "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop); |
108 | return xstrdup(ntop); | 108 | return xstrdup(ntop); |
109 | } | 109 | } |
110 | /* Look for the address from the list of addresses. */ | 110 | /* Look for the address from the list of addresses. */ |