From owner-cvs-all Mon Sep 9 9:49:19 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B726D37B400; Mon, 9 Sep 2002 09:49:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCC643E3B; Mon, 9 Sep 2002 09:49:12 -0700 (PDT) (envelope-from ume@FreeBSD.org) Received: from freefall.freebsd.org (ume@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g89GnCJU035356; Mon, 9 Sep 2002 09:49:12 -0700 (PDT) (envelope-from ume@freefall.freebsd.org) Received: (from ume@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g89GnCde035354; Mon, 9 Sep 2002 09:49:12 -0700 (PDT) Message-Id: <200209091649.g89GnCde035354@freefall.freebsd.org> From: Hajimu UMEMOTO Date: Mon, 9 Sep 2002 09:49:12 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/crypto/openssh monitor.c session.c sshlogin.c sshlogin.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ume 2002/09/09 09:49:12 PDT Modified files: crypto/openssh monitor.c session.c sshlogin.c sshlogin.h Log: sshd didn't handle actual size of struct sockaddr correctly, and did copy it as long as just size of struct sockaddr. So, If connection is via IPv6, sshd didn't log hostname into utmp correctly. This problem occured only under FreeBSD because of our hack. However, this is potential problem of OpenSSH-portable, and they agreed to fix this. Though, there is no fixed version of OpenSSH-portable available yet, since this problem is serious for IPv6 users, I commit the fix. Reported by: many people Reviewed by: current@ and stable@ (no objection) MFC after: 3 days Revision Changes Path 1.9 +2 -2 src/crypto/openssh/monitor.c 1.37 +4 -4 src/crypto/openssh/session.c 1.7 +4 -4 src/crypto/openssh/sshlogin.c 1.2 +10 -21 src/crypto/openssh/sshlogin.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message