mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02:00
- 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
This commit is contained in:
parent
8275fade44
commit
de85a28825
@ -229,6 +229,10 @@
|
|||||||
Make ssh-add check file permissions before attempting to load private
|
Make ssh-add check file permissions before attempting to load private
|
||||||
key files multiple times; it will fail anyway and this prevents confusing
|
key files multiple times; it will fail anyway and this prevents confusing
|
||||||
multiple prompts and warnings. mindrot #1138, ok djm@
|
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
|
20060313
|
||||||
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
|
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
|
||||||
@ -4130,4 +4134,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4204 2006/03/15 01:06:23 djm Exp $
|
$Id: ChangeLog,v 1.4205 2006/03/15 01:06:41 djm Exp $
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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>
|
#include <ctype.h>
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ get_remote_hostname(int sock, int use_dns)
|
|||||||
hints.ai_socktype = SOCK_STREAM;
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
|
if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
|
||||||
logit("reverse mapping checking getaddrinfo for %.700s "
|
logit("reverse mapping checking getaddrinfo for %.700s "
|
||||||
"failed - POSSIBLE BREAK-IN ATTEMPT!", name);
|
"[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop);
|
||||||
return xstrdup(ntop);
|
return xstrdup(ntop);
|
||||||
}
|
}
|
||||||
/* Look for the address from the list of addresses. */
|
/* Look for the address from the list of addresses. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user