Re: [Hipsec] draft-ietf-hip-native-api-09-pre
"Ahrenholz, Jeffrey M" <jeffrey.m.ahrenholz@boeing.com> Mon, 24 August 2009 17:16 UTC
Return-Path: <jeffrey.m.ahrenholz@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 36D343A6A91 for <hipsec@core3.amsl.com>; Mon, 24 Aug 2009 10:16:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[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 j1Nn7YNJdOim for <hipsec@core3.amsl.com>; Mon, 24 Aug 2009 10:16:57 -0700 (PDT)
Received: from stl-smtpout-01.boeing.com (stl-smtpout-01.boeing.com [130.76.96.56]) by core3.amsl.com (Postfix) with ESMTP id EF17328C2CC for <hipsec@ietf.org>; Mon, 24 Aug 2009 10:16:55 -0700 (PDT)
Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7OHGrlY010288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 24 Aug 2009 12:16:54 -0500 (CDT)
Received: from blv-av-01.boeing.com (localhost [127.0.0.1]) by blv-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id n7OHGr2g022801; Mon, 24 Aug 2009 10:16:53 -0700 (PDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by blv-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id n7OHGqL3022747; Mon, 24 Aug 2009 10:16:53 -0700 (PDT)
Received: from XCH-NW-6V1.nw.nos.boeing.com ([130.247.55.53]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 24 Aug 2009 10:16:52 -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: Mon, 24 Aug 2009 10:16:50 -0700
Message-ID: <0DF156EE7414494187B087A3C279BDB404AD7C75@XCH-NW-6V1.nw.nos.boeing.com>
In-Reply-To: <4A8E25C6.1090100@hiit.fi>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Hipsec] draft-ietf-hip-native-api-09-pre
Thread-Index: AcoiGdVOYJD1krYvQkmsS0Lj7teqbgCwDcGw
References: <4A8DBB16.3010705@hiit.fi> <0DF156EE7414494187B087A3C279BDB404AD7C73@XCH-NW-6V1.nw.nos.boeing.com> <4A8E25C6.1090100@hiit.fi>
From: "Ahrenholz, Jeffrey M" <jeffrey.m.ahrenholz@boeing.com>
To: miika.komu@hiit.fi
X-OriginalArrivalTime: 24 Aug 2009 17:16:52.0084 (UTC) FILETIME=[AC052B40:01CA24DE]
Cc: hip WG <hipsec@ietf.org>
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: Mon, 24 Aug 2009 17:16:58 -0000
> So, the 128-bit reserved field cannot really be used for > extending the size of the HIT and we really need a completely new > structure for them? OK, I overlooked the 128-bit ship_reserved field. Yes it seems like we need a new structure; right now we're considering 256-bit HITs but what about 512, 1024, etc.? > Jeff, what do you think about this? Are the associate > problems now more > clear? I think it's important to get this right. will larger HITs share the same prefix as existing 128-bit HITs? if we have different prefixes, API calls can use sockaddr with sa_family=AF_HIP and we can inspect the prefix to determine the bitsize; this is a departure from the sa_family alone determining the size of the structure > Should we actually have a function/macro called HIP_IS_HIT()? Or just > add a flag as you suggested to avoid each application to > hard-code their own macros for this? What do you think? Yes I think this HIP_IS_HIT() macro would be helpful. > > why is HIP_HIT_ANY_TMP used for anonymous identifiers? > maybe it should be named HIP_HIT_ANY_ANON or HIP_HIT_ANY_NOPUB? > > To align it with RFC5014 constants. Do you think ANON would > be more clear? The _TMP is OK, makes sense to align with RFC 5014 terminology. > Yes and I was asking also what should the actual error value be (pick > one from /usr/include/asm-generic/errno.h)? It could be also > ETIMEDOUT > because the peer failed to respond with an R1. Or in the case of > hiccups, there was no response from the transport layer... > > In comparison, it seems like SCTP API just typically ignores errno > issues with "the variable errno is then set appropriately": > > http://tools.ietf.org/html/draft-ietf-tsvwg-sctpsocket-19 I think that Tom's suggested text addresses this with the "set errno appropriately" language. -Jeff
- [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Ahrenholz, Jeffrey M
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Henderson, Thomas R
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Ahrenholz, Jeffrey M
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Andrew McGregor
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Ahrenholz, Jeffrey M
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Ahrenholz, Jeffrey M
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Andrew McGregor
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Ahrenholz, Jeffrey M
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu
- Re: [Hipsec] draft-ietf-hip-native-api-09-pre Miika Komu