Re: ssh and hostname (libc NSS and ipv4)
On Sat, Oct 07, 2000 at 09:18:06AM -0400, Ben Collins typed:
} 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:
} > | 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.
Well, doing that fixes the problem for me also (sshd -4). There's also
netstat's core dump on ipv6 hostname lookup to wonder about. :-/
--
An Thi-Nguyen Le
|He who knows others is wise.
|He who knows himself is enlightened.
| -- Lao Tsu
Reply to: