Re: [Spud] discovery
Brian Trammell <ietf@trammell.ch> Thu, 19 March 2015 16:19 UTC
Return-Path: <ietf@trammell.ch>
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 B82B31ACE25
for <spud@ietfa.amsl.com>; Thu, 19 Mar 2015 09:19:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.912
X-Spam-Level:
X-Spam-Status: No, score=-1.912 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
T_RP_MATCHES_RCVD=-0.01] 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 YKZ3Lv3DFU9F for <spud@ietfa.amsl.com>;
Thu, 19 Mar 2015 09:19:18 -0700 (PDT)
Received: from trammell.ch (trammell.ch [5.148.172.66])
by ietfa.amsl.com (Postfix) with ESMTP id BD52B1ACE1D
for <spud@ietf.org>; Thu, 19 Mar 2015 09:19:18 -0700 (PDT)
Received: from 172-27-222-66.dynapool.nyu.edu
(NYUFWA-BORDERNAT-GUEST-02.NET.NYU.EDU [192.76.177.125])
by trammell.ch (Postfix) with ESMTPSA id F11081A0032;
Thu, 19 Mar 2015 17:18:46 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
Content-Type: multipart/signed;
boundary="Apple-Mail=_CB08C4C6-26C8-4BEC-ACCA-9BE9EB42CC72";
protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.5b5
From: Brian Trammell <ietf@trammell.ch>
In-Reply-To: <CAD62q9V8wg6YrTVmg4px=sBdXZyEYZE0iAUd6mJfmgJnDLEMmg@mail.gmail.com>
Date: Thu, 19 Mar 2015 12:18:45 -0400
Message-Id: <BAD98A61-4B9D-43B6-B79E-0B3CE26A6740@trammell.ch>
References: <CAD62q9V8wg6YrTVmg4px=sBdXZyEYZE0iAUd6mJfmgJnDLEMmg@mail.gmail.com>
To: Aaron Falk <aaron.falk@gmail.com>
X-Mailer: Apple Mail (2.2070.6)
Archived-At: <http://mailarchive.ietf.org/arch/msg/spud/zw8mYLvFrL1pQqVNzVYu2AyvtbI>
Cc: "spud@ietf.org" <spud@ietf.org>
Subject: Re: [Spud] discovery
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, 19 Mar 2015 16:19:20 -0000
hi Aaron, > On 19 Mar 2015, at 11:48, Aaron Falk <aaron.falk@gmail.com> wrote: > > The draft ... where "the draft" is draft-hildebrand-spud-prototype ... > doesn't say much about how one efficiently determines whether the other end is SPUD-capable so that an application can know whether it can use it. No, it doesn't. > Has anyone given thought to this? Yes, I have... I think for the most part that this question is (1) very important but (2) mostly orthogonal to that we're trying to answer in spud-prototype. Initially, I would expect that discovery works the same way that it does for any other user of the transport layer: you either have a URL, or a name and a port, or some information from your application-layer protocol's discovery service, which includes "uses x-over-SPUD" in its semantics. Dynamically discovering a SPUD endpoint might make sense if a server port / URL schema is assigned to a service over X or a service over x-over-SPUD. In this case, the magic number we've selected makes SPUD server probing by the client possible: a SPUD packet is neither valid UTF-8, UTF-16, UTF-32, ASN.1 BER or DER, DTLS, NTP, DNS, DHCP, TFTP, or Bittorrent. This is not an exhaustive list, but we haven't found a protocol over UDP that is likely to consider d8 00 00 d8 as the first four bytes anything other than an error. Maybe we should mention this in the draft, but I think it's the *next* problem to solve. Cheers, Brian
- Re: [Spud] discovery Mirja Kühlewind
- [Spud] discovery Aaron Falk
- Re: [Spud] discovery Brian Trammell
- Re: [Spud] discovery Joe Hildebrand (jhildebr)
- Re: [Spud] discovery Michael Welzl
- Re: [Spud] discovery Brian Trammell
- Re: [Spud] discovery Michael Welzl
- Re: [Spud] discovery Brian Trammell
- Re: [Spud] discovery Michael Welzl