Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 05:36:23 +0900 (JST)
From:      Hajimu UMEMOTO (=?ISO-2022-JP?B?GyRCR19LXBsoQiA=?=  =?ISO-2022-JP?B?GyRCSCUbKEI=?=) <ume@mahoroba.org>
To:        cpiazza@jaxon.net
Cc:        visigoth@telemere.net, current@FreeBSD.ORG
Subject:   Re: 75 second delay using telnet/ssh (ipv6 related)
Message-ID:  <200003202036.e2KKaNc07860@peace.mahoroba.org>
In-Reply-To: <20000320120221.A517@norn.ca.eu.org>
References:  <20000319150009.A404@norn.ca.eu.org> <Pine.BSF.4.21.0003201122310.25197-100000@www.telemere.net> <20000320120221.A517@norn.ca.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Mon, 20 Mar 2000 12:02:21 -0800
>>>>> Chris Piazza <cpiazza@jaxon.net> said:

> 	According to Mr. Stevens (Unix Network Programing Vol 1
> chapt 9.4) this option, or having the env. variable RES_OPTIONS=inet6 set
> will cause the behavior you are describing... 

It's a behavior of gethostbyname().  Ssh uses getaddrinfo() instead of
gethostbyname().  See RFC2553.

cpiazza> No, neither of those.  FreeBSD searches inet6 first at the moment.
cpiazza> I don't know if I made this clear in my email, but this just started
cpiazza> happening... Hmm... it's fixed again:

Don't you see packet loss or name server problem?  Your previous log
seems 128.189.4.1 didn't answer to AAAA RR query.

cpiazza> 12:01:15.622122 24.113.19.137.1253 > 24.2.10.36.53:  61892+ AAAA? beast.freebsd.org. (35)
cpiazza> 12:01:15.706319 24.2.10.36.53 > 24.113.19.137.1253:  61892 1/1/0 (132)
cpiazza> 12:01:15.707070 24.113.19.137.1254 > 24.2.10.36.53:  61893+ A? beast.freebsd.org. (35)
cpiazza> 12:01:15.750017 24.2.10.36.53 > 24.113.19.137.1254:  61893 2/4/4 (238)

Is it a log with `ssh -4'?  Why does ssh qurey AAAA RR with -4?

> > Using ssh -4 or telnet -4 makes it work right away (of course), but
> > I don't want to have to type that all the time. [program] ipv4address
> > also works.

How about `alias ssh "ssh -4"'?

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@bisd.hitachi.co.jp  ume@FreeBSD.org
http://www.imasy.org/~ume/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003202036.e2KKaNc07860>