RE: Thinking differently about the site local problem (was: RE: site local addresses (was Re: Fw: Welcome to the InterNAT...))

"Jeroen Massar" <jeroen@unfix.org> Mon, 31 March 2003 22:23 UTC

Received: from ran.ietf.org (ran.ietf.org [10.27.6.60]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA28382; Mon, 31 Mar 2003 17:23:01 -0500 (EST)
Received: from majordomo by ran.ietf.org with local (Exim 4.10) id 1907tQ-000601-00 for ietf-list@ran.ietf.org; Mon, 31 Mar 2003 17:36:40 -0500
Received: from odin.ietf.org ([10.27.2.28] helo=ietf.org) by ran.ietf.org with esmtp (Exim 4.10) id 1907t9-0005v8-00 for ietf@ran.ietf.org; Mon, 31 Mar 2003 17:36:23 -0500
Received: from purgatory.unfix.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA28130 for <ietf@ietf.org>; Mon, 31 Mar 2003 17:19:56 -0500 (EST)
Received: from localhost (localhost [127.0.0.1]) by purgatory.unfix.org (Postfix) with ESMTP id 091A38A1A; Tue, 1 Apr 2003 00:22:20 +0200 (CEST)
Received: from limbo (limbo.unfix.org [10.100.13.33]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by purgatory.unfix.org (Postfix) with ESMTP id C44048A16; Tue, 1 Apr 2003 00:22:11 +0200 (CEST)
From: Jeroen Massar <jeroen@unfix.org>
To: 'Keith Moore' <moore@cs.utk.edu>
Cc: huitema@windows.microsoft.com, ietf@ietf.org
Subject: RE: Thinking differently about the site local problem (was: RE: site local addresses (was Re: Fw: Welcome to the InterNAT...))
Date: Tue, 01 Apr 2003 00:23:15 +0200
Organization: Unfix
Message-ID: <002b01c2f7d4$1ffc6fc0$210d640a@unfix.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <20030331165617.1398541e.moore@cs.utk.edu>
X-Virus-Scanned: by AMaViS @ purgatory.unfix.org
Sender: owner-ietf@ietf.org
Precedence: bulk
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id RAA28382

Keith Moore [mailto:moore@cs.utk.edu] wrote:

> > > > Indeed, correctly coded applications will use a getaddrinfo()
> > > > and then a connect() in a loop until succesful. 
> > > 
> > > it's perfectly reasonable to connect to an address without first
> > > doing a DNS lookup.
> > 
> > I think nobody can't help you if you are using hardcoded IP's.
> > The only case you have an IP without DNS is when you get it
> > passed from another layer/entity (eg in a FTP from the server).
> 
> uh, no.   you can get IP addresses from any number of sources 
> other than DNS, including from other processes that exist on
> other nodes.  It's a perfectly reasonable thing to do.

Note the line about other layer/entity :)
Which is also one of the reasons why multi-faced dns isn't
the solution to this problem.

> > Can you identify those so that getaddrinfo() can be expanded
> > to fix these cases?
> 
> getaddrinfo() cannot be fixed.  it's major premise - that the host has
> the knowledge to make decisions about which of several 
> addresses is best to use - is fundamentally flawed, except in a
> few corner cases.

Effectively this could be resolved by having one globally
unique identifier per node. The underlying protocols should
then take care that messages are delivered to the host
described by the unique locator. The underlying protocols
could then, in case of your so called corner cases, or routing
troubles, based on all kinds of external information change
the underlying protocols so that the connection stays active
and messages can still be sent from A to B. Enter SCTP and
multihoming ? :)

This has nothing to do with sitelocal but more with the
fact that a host can have multiple paths from A to B: internet ;)

Greets,
 Jeroen