[Spud] Connect and ACK Bits: Why?

Jacob Chappell <chappellind@gmail.com> Wed, 08 July 2015 17:32 UTC

Return-Path: <chappellind@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 AE16B1A1B96 for <spud@ietfa.amsl.com>; Wed, 8 Jul 2015 10:32:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 PYrJnbEScfJ4 for <spud@ietfa.amsl.com>; Wed, 8 Jul 2015 10:32:25 -0700 (PDT)
Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (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 3EA581A1B95 for <spud@ietf.org>; Wed, 8 Jul 2015 10:32:25 -0700 (PDT)
Received: by igau2 with SMTP id u2so69009617iga.0 for <spud@ietf.org>; Wed, 08 Jul 2015 10:32:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VK/M86gE1m9f7lvJwF50Ci+863z/8OsXGtjOF9jhkVg=; b=bWE1Je8gfRx8xVDofnLJ7ewp+MzphdhGRulEEYjmJDFV1EDwxjKtgbG3WiTrGi9LFO w+xCwjTLJWxbDa7u5Zmy0EdbD1T2v00qqHvdm+sS/foQCp+cVnXBrX0w9I7yrMCA/3ry ZEw/Rdbyq9Ck5S3/iVfq1FS8XOio4uDRSH+2AreqaIF2dDHIrIBe6dUBog6TAXH08hhb 16he0cY9GwhR4ruxpQfdzX7I+sL9suGgLHkXqztqdTcUTp0NgjnRDPDgiyVQeia6Pnsk Ij3jrvvj9JQ75J8MRDMuKq2imN839f8E3OPAjA+cS9gh0kH8hhz8Gy93T3fnwt/2eMGz /v2w==
MIME-Version: 1.0
X-Received: by 10.50.79.169 with SMTP id k9mr88461685igx.44.1436376744647; Wed, 08 Jul 2015 10:32:24 -0700 (PDT)
Received: by 10.36.86.66 with HTTP; Wed, 8 Jul 2015 10:32:24 -0700 (PDT)
Date: Wed, 8 Jul 2015 13:32:24 -0400
Message-ID: <CANJ8QndAWK1ErRsUNAUHkA00aA5xzFsaQHiArCaN9jr64qCSnQ@mail.gmail.com>
From: Jacob Chappell <chappellind@gmail.com>
To: spud@ietf.org
Content-Type: multipart/alternative; boundary=089e013a01c8a0e6ec051a608579
Archived-At: <http://mailarchive.ietf.org/arch/msg/spud/y4AjYO-qV9YlVLt7fbzdtCIb1Tg>
Subject: [Spud] Connect and ACK Bits: Why?
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 08 Jul 2015 17:33:14 -0000

Good afternoon, everyone.

There's been something bothering me since I started working with SPUD. Now
that I realize there's a mailing list, I figure why not ask here?

My question is, why is connect/ack part of the SPUD protocol? The purpose
of these commands does not seem clear from the draft. For one, SPUD runs
over UDP, so there's no guarantee the connect or ack will even make it to
the other side. Second, a previous message on this mailing list from the
archives indicates that you don't even have to wait for an ack to send a
data packet. This makes sense, because the ack may be lost in transit (or
maybe the original connect was lost in transit). But if this is the case,
what's the point in even having connect/ack as part of the protocol?

It seems like a possible alternative would be to just send data packets
spontaneously. The client can just be sure to generate a new tube ID when
sending to a new destination/port pair, and maintain that state.
Ultimately, you're going to have to use timers to expire state in case of
packet loss, so why not just use timers exclusively?

Jacob Chappell