From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Lyndon Nerenberg In-Reply-To: Date: Sat, 21 May 2016 16:11:30 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9154AB0B-6527-4B44-ABEA-6CADEC4AF038@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] bug in authdial() Topicbox-Message-UUID: 9329859a-ead9-11e9-9d60-3106f5b1d025 > On May 21, 2016, at 10:04 AM, erik quanstrom = wrote: >=20 > this problem is a little easier to fix. cs needs to do a little more = work to filter out > impossible connection types. for example, if one's internet = connection is not ip6 > capable, then cs should be instructed to not return ip6 addresses. Yes, exactly. And doesn't/didn't ndb have a tag that was used to = indicate whether a system or network used il? (proto=3Dil? I don't have = access to a 9labs machine to check at the moment.) Determining ip6 connectivity shouldn't be that hard. If you have a = route, you connect. If you don't, the network stack does a fast = ENOROUTE return and the case falls through to the next address family. IL is a bit trickier, since you can't know in advance if the destination = supports it, thus the ndb tags I'm vaguely remembering. And if my = memory is correct, the fix for that would be to default 'supports IL' to = no, if that's not already the case.=