]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordtucker@openbsd.org <dtucker@openbsd.org>
Wed, 15 Jun 2016 00:40:40 +0000 (00:40 +0000)
committerDarren Tucker <dtucker@zip.com.au>
Wed, 15 Jun 2016 02:06:33 +0000 (12:06 +1000)
Remove "POSSIBLE BREAK-IN ATTEMPT!" from log message
about forward and reverse DNS not matching.  We haven't supported IP-based
auth methods for a very long time so it's now misleading.  part of bz#2585,
ok markus@

Upstream-ID: 5565ef0ee0599b27f0bd1d3bb1f8a323d8274e29

auth.c

diff --git a/auth.c b/auth.c
index 55629b320b84d536eec2a74e23c72b016bcc8f94..24527dd7c3b9da4123d7246be4ef8b5b11e7ca05 100644 (file)
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.114 2016/03/07 19:02:43 djm Exp $ */
+/* $OpenBSD: auth.c,v 1.115 2016/06/15 00:40:40 dtucker Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
@@ -857,7 +857,7 @@ remote_hostname(struct ssh *ssh)
        hints.ai_socktype = SOCK_STREAM;
        if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
                logit("reverse mapping checking getaddrinfo for %.700s "
-                   "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop);
+                   "[%s] failed.", name, ntop);
                return strdup(ntop);
        }
        /* Look for the address from the list of addresses. */
@@ -872,8 +872,7 @@ remote_hostname(struct ssh *ssh)
        if (ai == NULL) {
                /* Address not found for the host name. */
                logit("Address %.100s maps to %.600s, but this does not "
-                   "map back to the address - POSSIBLE BREAK-IN ATTEMPT!",
-                   ntop, name);
+                   "map back to the address.", ntop, name);
                return strdup(ntop);
        }
        return strdup(name);