]> andersk Git - openssh.git/commitdiff
- djm@cvs.openbsd.org 2006/03/14 00:15:39
authordjm <djm>
Wed, 15 Mar 2006 01:06:41 +0000 (01:06 +0000)
committerdjm <djm>
Wed, 15 Mar 2006 01:06:41 +0000 (01:06 +0000)
     [canohost.c]
     log the originating address and not just the name when a reverse
     mapping check fails, requested by linux AT linuon.com

ChangeLog
canohost.c

index aba7d850bef5d85f1c108004ea142eb92380b6c3..e9ab86e9fc903214095937ff59db4bacd74d0782 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
      Make ssh-add check file permissions before attempting to load private
      key files multiple times; it will fail anyway and this prevents confusing
      multiple prompts and warnings.  mindrot #1138, ok djm@
+   - djm@cvs.openbsd.org 2006/03/14 00:15:39
+     [canohost.c]
+     log the originating address and not just the name when a reverse
+     mapping check fails, requested by linux AT linuon.com
 
 20060313
  - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
index 76b0bee024cb907979b819d698e634f7b6942776..f15aecb621641da3f5c5bcc7f7437b3bea1ea039 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: canohost.c,v 1.49 2006/02/22 00:04:44 stevesk Exp $");
+RCSID("$OpenBSD: canohost.c,v 1.50 2006/03/14 00:15:39 djm Exp $");
 
 #include <ctype.h>
 
@@ -104,7 +104,7 @@ get_remote_hostname(int sock, int use_dns)
        hints.ai_socktype = SOCK_STREAM;
        if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
                logit("reverse mapping checking getaddrinfo for %.700s "
-                   "failed - POSSIBLE BREAK-IN ATTEMPT!", name);
+                   "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop);
                return xstrdup(ntop);
        }
        /* Look for the address from the list of addresses. */
This page took 0.048054 seconds and 5 git commands to generate.