[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh and hostname (libc NSS and ipv4)



On Fri, Oct 06, 2000 at 04:21:06PM -0400, brent@rcfile.org wrote:
> On 06 Oct 2000 at 10:40 (-0500), An Thi-Nguyen Le wrote:
> | On Fri, Oct 06, 2000 at 11:39:32AM -0400, brent@rcfile.org typed:
> |
> | } recompiling did not solve the problem for me, but the non-stripped
> | } binary was good for a gdb session -- unfortunately, I have no nice
> | } way to debug into libc6 :(
> | 
> | I think the problem is somewhere deep in libc6-2.1.94.  For some 
> | reason ipv4 addresses are okay, but ipv6 addresses cause seg faults. 
> | For instance, if (somehow) you got an ipv6 connection to a machine 
> | with libc6-2.1.94 (say, old ssh connections that were around after 
> | the upgrade) and you run netstat -at, netstat will core dump on 
> | hostname lookup of the ipv6 stuff.  netstat -nat will not result in 
> | a core dump, and you can see the ipv6 stuff.
> 
> FWIW, the only failures I'm seeing are on _local_ hostnames.

This is an error in ssh, IMO. I've heard the same story from someone else
who claims that if you disable IPv6 as the default (not disable
completely, jut don't make it the default), then it fixes this problem.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: