Re: [Spud] SPUD's open/close are unconvincing

Phillip Hallam-Baker <phill@hallambaker.com> Thu, 09 April 2015 14:09 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: spud@ietfa.amsl.com
Delivered-To: spud@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFB8A1A1B29 for <spud@ietfa.amsl.com>; Thu, 9 Apr 2015 07:09:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U0R3I6mMEHkl for <spud@ietfa.amsl.com>; Thu, 9 Apr 2015 07:09:34 -0700 (PDT)
Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 85F4D1A02F1 for <spud@ietf.org>; Thu, 9 Apr 2015 07:09:34 -0700 (PDT)
Received: by lbbqq2 with SMTP id qq2so83307636lbb.3 for <spud@ietf.org>; Thu, 09 Apr 2015 07:09:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5jXvHKXaPwxjieIfN/br9UZTdTPEprcl/hgZvxFps7Y=; b=wAg2yB9pLTns8fpkGkLXEyT7rQUFqcxA8jTWIuSAzYvJeejAF1DoNcHgj1D+L6W/mC GfN8Gn173wWnS0eafz7jVexZcfMz3mVRKnVa/cmtvcwa3hThxpYJs9Y8ZVcktfg4+5yi 7FGLQgL4jyUdxioy3BvFFd7cZp5K2MOhVJ9tZNu8NnFcY3gd+kz8wmu7A8GUnqFVVJK7 FvJPuXZtlxxgdaNW0xxf6TgvF426BivgofFK+lp/y/3NvussDTaRnxPwqa0RSRoIrvWv u/SP3Hesi6F02Qg4x2wIX/RBDbC20FH8g7V9FhFJci4pzD91/Z1+j665UqOs6rZgZVAy fSpw==
MIME-Version: 1.0
X-Received: by 10.112.42.233 with SMTP id r9mr28896996lbl.58.1428588573024; Thu, 09 Apr 2015 07:09:33 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.147.165 with HTTP; Thu, 9 Apr 2015 07:09:32 -0700 (PDT)
In-Reply-To: <20150409135509.GK24286@cisco.com>
References: <87iod631nv.fsf@alice.fifthhorseman.net> <DM2PR0301MB06555C7D7F32A69214405D44A8FC0@DM2PR0301MB0655.namprd03.prod.outlook.com> <20150408193920.GD24286@cisco.com> <871tju2rdq.fsf@alice.fifthhorseman.net> <20150409012229.GG24286@cisco.com> <CALx6S35NH9yPZxeARTic10b0jFEi8aC4Gmt79cxuzF_VpYYqLA@mail.gmail.com> <20150409041507.GJ24286@cisco.com> <CAMm+LwgD8Foe=JdJvZ4oeuhGkJJvUaNOsCJATGDsRmBwN4en_w@mail.gmail.com> <20150409135509.GK24286@cisco.com>
Date: Thu, 9 Apr 2015 10:09:32 -0400
X-Google-Sender-Auth: 3X_O7RXN9estgskgyA-6RcRovYk
Message-ID: <CAMm+LwgaezT3mzbJQptrL2b7w=e7ubEdohsUoTxsFXgGzcDgJA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Toerless Eckert <eckert@cisco.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/spud/J2GMkIDypAjs6iMLkbmuoDwgbEk>
Cc: Tom Herbert <tom@herbertland.com>, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, "spud@ietf.org" <spud@ietf.org>
Subject: Re: [Spud] SPUD's open/close are unconvincing
X-BeenThere: spud@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Session Protocol Underneath Datagrams <spud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spud>, <mailto:spud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/spud/>
List-Post: <mailto:spud@ietf.org>
List-Help: <mailto:spud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spud>, <mailto:spud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Apr 2015 14:09:36 -0000

On Thu, Apr 9, 2015 at 9:55 AM, Toerless Eckert <eckert@cisco.com> wrote:
> On Thu, Apr 09, 2015 at 09:09:17AM -0400, Phillip Hallam-Baker wrote:
>> TCP should probably not happen in the kernel either. Nor should
>> printer drivers be in the kernel or anything that does not require the
>> intermediation of the security monitor.
>
> Right. As an OS person i would love for someone to implement a
> "raw transport socket" option for unprivileged processes. Implement
> in linux, go to POSIX, spend a decade trying to get it proliferated across
> OSs.

Yep


> Alas, as a network person, i think this would be an exercise in futility
> because the only real benefit would be to create connections between
> a legacy kernel TCP stack and a new userland TCP stack and those
> connections would likely be mostly have little benefits over a simple
> old kernel to old kernel TCP stack:

As I said, water under the bridge. We are now constrained by what
legacy implementations provide.


> If you want new functionalities, most of the time, both sides need to support
> these, the fastest way to get both sides to support them is to both
> run them in userland over UDP and once people get their minds around
> the fact that this is good and not just a workaround, the interest in
> "native TCP" for new improved transport functions should recede.

The current trend is actually in the opposite direction. On Windows
the HTTP server is an O/S resource and user mode processes bind to
specific URL paths. This allows different Web services to be
implemented in completely separate processes.


>> When TCP was designed, the mantra was 'everything is a stream'. That
>> was the right abstraction for Telnet and FTP and Mail. It is probably
>> not the right abstraction for real time web where an unreliable
>> sequence of chunks seems a better fit.
>
> What's missing from SCTP ?

Quite, do we have the opportunity for a quick fix here? If SCTP has
already done all the necessary design work, can we just bolt that on
top of UDP in place of IP and declare a quick victory?

Worth a look to see...