Date: Mon, 9 Sep 2002 09:49:12 -0700 (PDT) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/crypto/openssh monitor.c session.c sshlogin.c sshlogin.h Message-ID: <200209091649.g89GnCde035354@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209091649.g89GnCde035354>
