Re: [Hipsec] draft-ietf-hip-native-api-09-pre

"Henderson, Thomas R" <thomas.r.henderson@boeing.com> Fri, 21 August 2009 18:15 UTC

Return-Path: <thomas.r.henderson@boeing.com>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 338533A6B5A for <hipsec@core3.amsl.com>; Fri, 21 Aug 2009 11:15:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.27
X-Spam-Level:
X-Spam-Status: No, score=-6.27 tagged_above=-999 required=5 tests=[AWL=0.329, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 UQpMmY-JSMT4 for <hipsec@core3.amsl.com>; Fri, 21 Aug 2009 11:15:47 -0700 (PDT)
Received: from blv-smtpout-01.boeing.com (blv-smtpout-01.boeing.com [130.76.32.69]) by core3.amsl.com (Postfix) with ESMTP id 64B303A6A56 for <hipsec@ietf.org>; Fri, 21 Aug 2009 11:15:47 -0700 (PDT)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7LIFeBU012257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 11:15:43 -0700 (PDT)
Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id n7LIFeH8002030; Fri, 21 Aug 2009 11:15:40 -0700 (PDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by slb-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id n7LIFZtA001854; Fri, 21 Aug 2009 11:15:40 -0700 (PDT)
Received: from XCH-NW-5V1.nw.nos.boeing.com ([130.247.55.44]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 Aug 2009 11:15:38 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 21 Aug 2009 11:15:27 -0700
Message-ID: <77F357662F8BFA4CA7074B0410171B6D0A8B726A@XCH-NW-5V1.nw.nos.boeing.com>
In-Reply-To: <4A8DBB16.3010705@hiit.fi>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Hipsec] draft-ietf-hip-native-api-09-pre
Thread-Index: Acoh2kDFlmojcBgNR5SB5TwJJBC8RAAr/w9g
References: <4A8DBB16.3010705@hiit.fi>
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: miika.komu@hiit.fi, hip WG <hipsec@ietf.org>
X-OriginalArrivalTime: 21 Aug 2009 18:15:38.0397 (UTC) FILETIME=[62A094D0:01CA228B]
Subject: Re: [Hipsec] draft-ietf-hip-native-api-09-pre
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Aug 2009 18:15:48 -0000

 

> #2 How should the socket calls react to only-hip wildcard. Currently 
> section 4.1.1 describes:
> 
>     With the HIP_HIT_ANY address,
>     the underlying system allows only HIP-based data flows with the
>     corresponding socket.  For incoming packets, the system 
> transparently
>     discards all other traffic arriving at the socket than 
> HIP related.
>     For outgoing packets, the system returns -1 in the socket call and
>     sets errno to ECOMM when the system failed to deliver the 
> packet over
>     a HIP-based data channel.

I would like to suggest these changes to the above paragraph:

    With the HIP_HIT_ANY address,
    the underlying system allows only HIP-based data flows with the
    corresponding socket.  For incoming packets, the system
    discards all non-HIP-related traffic arriving at the socket.
    For outgoing packets, the system returns -1 in the socket call and
    sets errno to an appropriate error type when the system failed to
deliver the packet over
    a HIP-based data channel.

rationale:
1) for incoming datagrams, "discards" rather than "transparently
discards" is a policy issue that is not related to the API (e.g. whether
a system returns some type of ICMP error is out of scope for the API
specification)
2) for outgoing packets, different systems appear to specify different
errnos under different circumstances, so it probably is too restrictive
to specify ECOMM here.  ECOMM, for instance, does not appear to be an
error type returned by Linux as a failure code for connect().

Tom