Re: [tae] The internet architecture

John Day <jeanjour@comcast.net> Fri, 05 December 2008 17:02 UTC

Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A41FF28C1DE; Fri, 5 Dec 2008 09:02:17 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 611E13A6C99 for <tae@core3.amsl.com>; Fri, 5 Dec 2008 09:02:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.166
X-Spam-Level:
X-Spam-Status: No, score=-2.166 tagged_above=-999 required=5 tests=[AWL=-0.167, BAYES_00=-2.599, J_CHICKENPOX_93=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xoFlTX2X2caq for <tae@core3.amsl.com>; Fri, 5 Dec 2008 09:02:14 -0800 (PST)
Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by core3.amsl.com (Postfix) with ESMTP id CB1073A6C9C for <tae@ietf.org>; Fri, 5 Dec 2008 09:01:43 -0800 (PST)
Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA06.westchester.pa.mail.comcast.net with comcast id nPkq1a0070cZkys56V1fxX; Fri, 05 Dec 2008 17:01:39 +0000
Received: from [10.0.1.34] ([71.192.250.235]) by OMTA10.westchester.pa.mail.comcast.net with comcast id nV1a1a00155V49j3WV1bZv; Fri, 05 Dec 2008 17:01:36 +0000
X-Authority-Analysis: v=1.0 c=1 a=CJZxsgp48ci9pjtcWwAA:9 a=NRFjxuhIb3idDCrdy9kA:7 a=w_f79qfuB9bVmougiF-6gbAds3QA:4 a=e2FjC3Hef5cA:10 a=9XSpoOj3B7kA:10
Mime-Version: 1.0
Message-Id: <a06240851c55f0e25a601@[10.0.1.34]>
In-Reply-To: <493956E3.4010004@network-heretics.com>
References: <C15AE32B-E564-4C93-86FF-40EF203E673A@mpi-sws.org> <49382030.5020704@network-heretics.com> <200812051425.mB5EPKEG032766@cichlid.raleigh.ibm.com> <a06240844c55ef6a022e1@[10.0.1.34]> <493956E3.4010004@network-heretics.com>
Date: Fri, 5 Dec 2008 12:01:21 -0500
To: Keith Moore <moore@network-heretics.com>, John Day <jeanjour@comcast.net>
From: John Day <jeanjour@comcast.net>
Cc: Thomas Narten <narten@us.ibm.com>, tae@ietf.org, ietf@ietf.org, Bryan Ford <brynosaurus@gmail.com>
Subject: Re: [tae] The internet architecture
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>, <mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>, <mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

As we all know, all attempts to turn a sow's ear into a silk purse, 
generally meet with failure.

You can only cover up so much.  I have written (or tried to write) 
too many device emulators and every time it is the same lesson.  ;-)

We use to have this tag line, when you found that pesky bug and of 
course it was staring you right in the face all the time, someone 
would say, "Well, you know . . . if you don't do it right, it won't 
work."  ;-)

We seem to have that problem in spades.  ;-)


At 11:29 -0500 2008/12/05, Keith Moore wrote:
>John Day wrote:
>>>
>>>  Wouldn't it have been nice if the de facto APIs in use today were more
>>>  along the lines of ConnectTo(DNS name, service/port).
>>
>>  That had been the original plan and there were APIs that did that. But
>>  for some reason, the lunacy of the protocol specific sockets interface
>>  was preferred. 
>
>About the time I wrote my second network app (circa 1986) I abstracted
>all of the connection establishment stuff (socket, gethostbyname, bind,
>connect) into a callable function so that I wouldn't have to muck with
>sockaddrs any more.  And I started trying to use that function in
>subsequent apps.  What I generally found was that I had to change that
>function for every new app, because there were so many cases for which
>merely connecting to port XX at the first IP address corresponding to
>hostname YY that accepted a connection, was not sufficient for the
>applications I was writing.  Now it's possible that I was writing
>somewhat unusual applications  (e.g. things that constrained the source
>port to be < 1024 and which therefore required the app to run as root
>initially and then give up its privileges, or SMTP clients for which MX
>processing was necessary) but that's nevertheless what I experienced.
>
>These days the situation is similar but I'm having to deal with a
>mixture of v4 and v6 peers, or NAT traversal, or brain-damage in
>getaddrinfo() implementations, or bugs in the default address selection
>algorithm.
>
>With so much lunacy in the how the net works these days, I regard a
>flexible API as absolutely necessary for the survival of applications.
>
>Keith

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae