Re: [Taps] Drive-by comments on draft-fairhurst-taps-transports-usage-udp-01

gorry@erg.abdn.ac.uk Wed, 06 April 2016 16:39 UTC

Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2474812D531 for <taps@ietfa.amsl.com>; Wed, 6 Apr 2016 09:39:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=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 Q0ya850WaL1b for <taps@ietfa.amsl.com>; Wed, 6 Apr 2016 09:39:07 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [139.133.204.173]) by ietfa.amsl.com (Postfix) with ESMTP id DC95312D162 for <taps@ietf.org>; Wed, 6 Apr 2016 09:39:06 -0700 (PDT)
Received: from erg.abdn.ac.uk (galactica.erg.abdn.ac.uk [139.133.210.32]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPA id 95DB51B001C8; Wed, 6 Apr 2016 17:51:16 +0100 (BST)
Received: from 31.133.155.3 (SquirrelMail authenticated user gorry) by erg.abdn.ac.uk with HTTP; Wed, 6 Apr 2016 17:39:05 +0100
Message-ID: <1289953456f002c1c71e90d9998a67de.squirrel@erg.abdn.ac.uk>
In-Reply-To: <877fgawyqu.fsf@hobgoblin.ariadne.com>
References: <877fgawyqu.fsf@hobgoblin.ariadne.com>
Date: Wed, 06 Apr 2016 17:39:05 +0100
From: gorry@erg.abdn.ac.uk
To: "Dale R. Worley" <worley@ariadne.com>
User-Agent: SquirrelMail/1.4.23 [SVN]
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Archived-At: <http://mailarchive.ietf.org/arch/msg/taps/sqyV-lhJEvUXVgTmAl_lIA1uGcY>
Cc: taps@ietf.org
Subject: Re: [Taps] Drive-by comments on draft-fairhurst-taps-transports-usage-udp-01
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussions on Transport Services <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/taps/>
List-Post: <mailto:taps@ietf.org>
List-Help: <mailto:taps-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/taps>, <mailto:taps-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 16:39:10 -0000

Thanks - appreciated.

> I'm reading parts of draft-fairhurst-taps-transports-usage-udp-01
> because it was presented in the Dispatch session of the meeting, so I
> don't have all the context for this draft.  But a couple of comments
> struck me:
>
> The description seems to be connection-oriented, in that it only
> describes usages involving two endpoints establishing a connection and
> then using it.  Indeed, even the process of establishing a listening
> port based on which connections will be created is not described.  E.g.,
> the description of the CONNECT primitive says "The CONNECT primitive
> allows the association of source and port sets to a socket ...", but
> doesn't describe where the socket comes from, or that packets can arrive
> on a socket before the receiver has done a CONNECT.
>
I agree - the current format from the text comes from the existing text 
for TCP and SCTP in another draft. and I think we  may need to work out
how to handle

> Perhaps these concepts are discussed in the document that establishes
> the framework for this draft.  At the least, the use of listening ports
> needs to be formalized.
>
I probably need help - I think there are different many ways in which UDP
uses ports. Offers from anyone on how to get started would be great.

> In section 3.1 is:
>
>    SET_IPV6_UNICAST_HOPS:  The SET_IPV6_UNICAST_HOPS function sets the
>       hop limit field to be used in the field of an IPv4 header of a
>       packet that carries an UDP datagram.  For IPv6 unicast datagrams,
>       this is functionally equivalent to the SET_TTL IPv4 function.
>
>    GET_IPV6_UNICAST_HOPS:  The GET_IPV6_UNICAST_HOPS function reads the
>       value from the hop count field in the IPv6 header of a received
>       UDP datagram.  For IPv6 unicast datagrams, this is functionally
>       equivalent to GET_TTL IPv4 function.
>
> I might be wrong, but it looks like "IPv4" and "IPv6" are mistaken for
> each other in three places in these items.
>
Indeed. We will fix this.

> How does the application get notified that a packet has arrived?  The
> only event that is defined is ERROR_REPORT.  The RECEIVE primitive is
> called by the application, but application has to first know that there
> is a packet to receive.
>
One contribution in the parallel TAPS meeting suggested the WG could use a
call-back API - that may be worth exploring.

> Dale
>
> _______________________________________________
> Taps mailing list
> Taps@ietf.org
> https://www.ietf.org/mailman/listinfo/taps
>
Thanks Dale,

Gorry