[5570] in testers
Re: Athena 9.2.7: sshd? tcsh? sets bogus REMOTEHOST
daemon@ATHENA.MIT.EDU (Robert A Basch)
Wed Jun 25 00:06:19 2003
Message-Id: <200306250406.h5P46GcZ007625@abulia.mit.edu>
To: Ken Raeburn <raeburn@MIT.EDU>
cc: testers@MIT.EDU
In-Reply-To: Your message of "Tue, 24 Jun 2003 15:06:34 EDT."
<tx17k7bfg79.fsf@mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 25 Jun 2003 00:06:16 -0400
From: Robert A Basch <rbasch@MIT.EDU>
Thanks for reporting this. The problem is in tcsh -- it calls
getpeername() on its input descriptor, in order to use the returned
IP address, but does not check that the socket is in the IP address
family. This will be fixed in an upcoming patch release. The result
will be that REMOTEHOST will not be set in the ssh non-login case.
Bob