
From arno@natisbad.org  Mon Aug 10 06:12:26 2009
Return-Path: <arno@natisbad.org>
X-Original-To: cga-ext@core3.amsl.com
Delivered-To: cga-ext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 78A2A3A68B2 for <cga-ext@core3.amsl.com>; Mon, 10 Aug 2009 06:12:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.564
X-Spam-Level: 
X-Spam-Status: No, score=-3.564 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 Kx78shXi4b15 for <cga-ext@core3.amsl.com>; Mon, 10 Aug 2009 06:12:25 -0700 (PDT)
Received: from copper.chdir.org (copper.chdir.org [88.191.97.87]) by core3.amsl.com (Postfix) with ESMTP id 48F6C3A6C1E for <cga-ext@ietf.org>; Mon, 10 Aug 2009 06:12:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natisbad.org; s=mail; h=From:To:Cc:Subject:Date:Message-ID: MIME-Version:Content-Type; bh=wAFoE+03mzveYJETBOeVOVRk6z98A+I8E7 5OwazZ6pQ=; b=JfWMZZFbgLxWV6qtYKCaXapqeTcRz+idOwjyY10pAc4HFIfqff zGzNJIu17jmTwCOYQ30yHL3CKD/iJMuURAzqvSSQRiFaP4jMF7jCS5JuIewH2/Ld CxEMqq1UpmdnLGO0hE06kKwYvSyHy0YuBxoO12ra/GfU8NFgl4mNCjiWg=
Received: from [2001:7a8:78df:2:20d:93ff:fe55:8f79] (helo=small.ssi.corp) by copper.chdir.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <arno@natisbad.org>) id 1MaUfp-0006jp-LI; Mon, 10 Aug 2009 15:12:25 +0200
X-Hashcash: 1:20:090810:elevyabe-fyb4gu1cfyuavxtiumwx3w@public.gmane.org::O7VaTwRj2qUJDtim:00000000000000jO9
X-Hashcash: 1:20:090810:cga-ext@ietf.org::Z2GXXUt3wNOLsFMQ:00ixT
From: arno@natisbad.org (Arnaud Ebalard)
To: Eric Levy-Abegnoli <elevyabe-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
X-PGP-Key-URL: http://natisbad.org/arno@natisbad.org.asc
X-Fingerprint: 47EB 85FE B99A AB85 FD09 46F3 0255 957C 047A 5026
Date: Mon, 10 Aug 2009 15:13:04 +0200
Message-ID: <8763cv95i7.fsf@small.ssi.corp>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: cga-ext@ietf.org
Subject: [CGA-EXT] Question about RS/RA protection w/ SEND
X-BeenThere: cga-ext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: CGA and SeND Extensions <cga-ext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cga-ext>
List-Post: <mailto:cga-ext@ietf.org>
List-Help: <mailto:cga-ext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2009 13:12:26 -0000

Hi Eric,

I'd be interested by your (implementor) thoughts on the following if you 
have some time.

I thought SEND specification (RFC 3971) would support the following
scenario but in the end, it is unclear (I would say the spec is
contradictory on that aspect):

  A MIPv6 MN with partial support for SEND: it supports only the
  certificate-based part of the spec and knows nothing about CGA. It is
  configured with trust anchors and supports sending RS with Timestamp
  and Nonce option. It would allow it to verify RA messages sent by
  SEND-enabled routers. One possible interest of such a mode is for
  securing the MIPv6 home link detection mechanism (see [1] for
  rationale).

In the specification, we have the following:

  Section 5.3.3:

  "If the node has been configured to use SEND, all advertisements sent
  in reply to a solicitation MUST include a Nonce, copied from the
  received solicitation. Note that routers may decide to send a
  multicast advertisement to all nodes instead of a response to a
  specific host.  In such a case, the router MAY still include the nonce
  value for the host that triggered the multicast
  advertisement. (Omitting the nonce value may cause the host to ignore
  the router's advertisement, unless the clocks in these nodes are  
  sufficiently synchronized so that timestamps function properly.)"


  Section 8:

   o  Unsolicited advertisements sent by a SEND node MUST be secured.

   o  A SEND node MUST send a secured advertisement in response to a
      secured solicitation.  Advertisements sent in response to an
      unsecured solicitation MUST be secured as well, but MUST NOT
      contain the Nonce option.

I may have missed something in the specification but it seems both
sections are contradictory on that aspect.

So, what is a SEND router expected to do when receiving a unsecured RS
with a Timestamp and a Nonce option?

Cheers,

a+

[1]: http://tools.ietf.org/html/draft-ebalard-mext-hld-security-00

From arno@natisbad.org  Wed Aug 12 06:33:54 2009
Return-Path: <arno@natisbad.org>
X-Original-To: cga-ext@core3.amsl.com
Delivered-To: cga-ext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5832E3A6A26 for <cga-ext@core3.amsl.com>; Wed, 12 Aug 2009 06:33:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.567
X-Spam-Level: 
X-Spam-Status: No, score=-3.567 tagged_above=-999 required=5 tests=[AWL=0.032,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 PL6P5HVnVA9A for <cga-ext@core3.amsl.com>; Wed, 12 Aug 2009 06:33:53 -0700 (PDT)
Received: from copper.chdir.org (copper.chdir.org [88.191.97.87]) by core3.amsl.com (Postfix) with ESMTP id DC06C3A6B8B for <cga-ext@ietf.org>; Wed, 12 Aug 2009 06:33:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natisbad.org; s=mail; h=From:To:Cc:Subject:References:Date: In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=B71VDNaBdGR xfm9YO//f/zn9gJFSu4CRaNLoJ+qRgqQ=; b=rz5KRql2WTfI705PfnxMGewGKCD uUhUYnk5uv8CivJl8Eus9uqE5vAwgpmoBsVkopaHTyxAJ/hxr3Y0u/4a3EyHyrFY RVh5mPGpMn32GMeFcaRhaMX7dqz9F/PWACE2nOczYLpypN9hivcAHPAAn+B9GAE/ SSLr+zSDjMmfCSRc=
Received: from [2001:7a8:78df:2:20d:93ff:fe55:8f79] (helo=small.ssi.corp) by copper.chdir.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <arno@natisbad.org>) id 1Mb7kZ-00035p-MQ; Wed, 12 Aug 2009 08:55:55 +0200
From: arno@natisbad.org (Arnaud Ebalard)
To: Eric Levy-Abegnoli <elevyabe-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
References: <8763cv95i7.fsf@small.ssi.corp>
X-PGP-Key-URL: http://natisbad.org/arno@natisbad.org.asc
X-Fingerprint: 47EB 85FE B99A AB85 FD09 46F3 0255 957C 047A 5026
X-Hashcash: 1:20:090812:cga-ext@ietf.org::y4/yIGuRcpupz24Z:02rzH
X-Hashcash: 1:20:090812:elevyabe-fyb4gu1cfyuavxtiumwx3w@public.gmane.org::zhYXwUY3FbiR1fss:00000000000005pwR
Date: Wed, 12 Aug 2009 08:56:35 +0200
In-Reply-To: <8763cv95i7.fsf@small.ssi.corp> (Arnaud Ebalard's message of "Mon, 10 Aug 2009 15:13:04 +0200")
Message-ID: <87d471ed0c.fsf@small.ssi.corp>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: cga-ext@ietf.org
Subject: Re: [CGA-EXT] Question about RS/RA protection w/ SEND
X-BeenThere: cga-ext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: CGA and SeND Extensions <cga-ext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cga-ext>
List-Post: <mailto:cga-ext@ietf.org>
List-Help: <mailto:cga-ext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Aug 2009 13:33:54 -0000

Hi,

replying to myself for the records.

arno@natisbad.org (Arnaud Ebalard) writes:

> I'd be interested by your (implementor) thoughts on the following if you 
> have some time.
>
> I thought SEND specification (RFC 3971) would support the following
> scenario but in the end, it is unclear (I would say the spec is
> contradictory on that aspect):
>
>   A MIPv6 MN with partial support for SEND: it supports only the
>   certificate-based part of the spec and knows nothing about CGA. It is
>   configured with trust anchors and supports sending RS with Timestamp
>   and Nonce option. It would allow it to verify RA messages sent by
>   SEND-enabled routers. One possible interest of such a mode is for
>   securing the MIPv6 home link detection mechanism (see [1] for
>   rationale).
>
> In the specification, we have the following:
>
>   Section 5.3.3:
>
>   "If the node has been configured to use SEND, all advertisements sent
>   in reply to a solicitation MUST include a Nonce, copied from the
>   received solicitation. Note that routers may decide to send a
>   multicast advertisement to all nodes instead of a response to a
>   specific host.  In such a case, the router MAY still include the nonce
>   value for the host that triggered the multicast
>   advertisement. (Omitting the nonce value may cause the host to ignore
>   the router's advertisement, unless the clocks in these nodes are  
>   sufficiently synchronized so that timestamps function properly.)"
>
>
>   Section 8:
>
>    o  Unsolicited advertisements sent by a SEND node MUST be secured.
>
>    o  A SEND node MUST send a secured advertisement in response to a
>       secured solicitation.  Advertisements sent in response to an
>       unsecured solicitation MUST be secured as well, but MUST NOT
>       contain the Nonce option.
>
> I may have missed something in the specification ...

Here is what I initially missed in the specification:

 Section 5.1.1: 

   If the node has been configured to use SEND, the CGA option  [...] 
   must be present in Router Solicitation messages unless they are sent
   with the unspecified source address.

 Section 5.1.2:

   Router Solicitations messages without the CGA option MUST also be
   treated as unsecured, unless the source address of the message is the
   unspecified address.

So, in order for my MN to get a secured RA w/ a Nonce option from a
SEND-enabled router on the link, it needs to send a RS with the Nonce
option using the unspecified address as source for its message.

Sending such a message is authorized (as per section 5.1.1) and the
message will be considered secured (as per section 5.1.2. I should say
it will not be considered unsecured) by the receiver. As per section 8,
this will trigger the emission of a secured advertisement, which will
include the nonce option found in the RS (as per section 5.3.3).

Cheers,

a+

From hoskuld@hotmail.com  Mon Aug 17 22:48:02 2009
Return-Path: <hoskuld@hotmail.com>
X-Original-To: cga-ext@core3.amsl.com
Delivered-To: cga-ext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF9F23A6914 for <cga-ext@core3.amsl.com>; Mon, 17 Aug 2009 22:48:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.514
X-Spam-Level: 
X-Spam-Status: No, score=-1.514 tagged_above=-999 required=5 tests=[AWL=-0.775, BAYES_20=-0.74, HTML_MESSAGE=0.001]
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 62OcB41CEk14 for <cga-ext@core3.amsl.com>; Mon, 17 Aug 2009 22:48:01 -0700 (PDT)
Received: from bay0-omc3-s18.bay0.hotmail.com (bay0-omc3-s18.bay0.hotmail.com [65.54.246.218]) by core3.amsl.com (Postfix) with ESMTP id 5FA343A697E for <cga-ext@ietf.org>; Mon, 17 Aug 2009 22:48:01 -0700 (PDT)
Received: from BAY114-W38 ([65.54.169.138]) by bay0-omc3-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 17 Aug 2009 22:48:06 -0700
Message-ID: <BAY114-W38A61C369061241BAFA05EADFF0@phx.gbl>
Content-Type: multipart/alternative; boundary="_1bbd243a-787b-4a08-ba96-43d3ca8171ad_"
X-Originating-IP: [203.217.69.150]
From: Greg Daley <hoskuld@hotmail.com>
To: <arno@natisbad.org>
Date: Tue, 18 Aug 2009 15:48:06 +1000
Importance: Normal
In-Reply-To: <87d471ed0c.fsf@small.ssi.corp>
References: <8763cv95i7.fsf@small.ssi.corp> <87d471ed0c.fsf@small.ssi.corp>
MIME-Version: 1.0
X-OriginalArrivalTime: 18 Aug 2009 05:48:06.0611 (UTC) FILETIME=[75A3EA30:01CA1FC7]
Cc: cga-ext@ietf.org
Subject: Re: [CGA-EXT] Question about RS/RA protection w/ SEND
X-BeenThere: cga-ext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: CGA and SeND Extensions <cga-ext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cga-ext>
List-Post: <mailto:cga-ext@ietf.org>
List-Help: <mailto:cga-ext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Aug 2009 05:48:03 -0000

--_1bbd243a-787b-4a08-ba96-43d3ca8171ad_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi Arnaud=2C=20

> From: arno@natisbad.org
> To: elevyabe-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org
> Date: Wed=2C 12 Aug 2009 08:56:35 +0200
> CC: cga-ext@ietf.org
> Subject: Re: [CGA-EXT] Question about RS/RA protection w/ SEND
>=20
> Hi=2C
>=20
> replying to myself for the records.
>=20
> arno@natisbad.org (Arnaud Ebalard) writes:
>=20
> > I'd be interested by your (implementor) thoughts on the following if yo=
u=20
> > have some time.
> >
> > I thought SEND specification (RFC 3971) would support the following
> > scenario but in the end=2C it is unclear (I would say the spec is
> > contradictory on that aspect):
> >
> >   A MIPv6 MN with partial support for SEND: it supports only the
> >   certificate-based part of the spec and knows nothing about CGA. It is
> >   configured with trust anchors and supports sending RS with Timestamp
> >   and Nonce option. It would allow it to verify RA messages sent by
> >   SEND-enabled routers. One possible interest of such a mode is for
> >   securing the MIPv6 home link detection mechanism (see [1] for
> >   rationale).
> >
> > In the specification=2C we have the following:
> >
> >   Section 5.3.3:
> >
> >   "If the node has been configured to use SEND=2C all advertisements se=
nt
> >   in reply to a solicitation MUST include a Nonce=2C copied from the
> >   received solicitation. Note that routers may decide to send a
> >   multicast advertisement to all nodes instead of a response to a
> >   specific host.  In such a case=2C the router MAY still include the no=
nce
> >   value for the host that triggered the multicast
> >   advertisement. (Omitting the nonce value may cause the host to ignore
> >   the router's advertisement=2C unless the clocks in these nodes are =20
> >   sufficiently synchronized so that timestamps function properly.)"
> >
> >
> >   Section 8:
> >
> >    o  Unsolicited advertisements sent by a SEND node MUST be secured.
> >
> >    o  A SEND node MUST send a secured advertisement in response to a
> >       secured solicitation.  Advertisements sent in response to an
> >       unsecured solicitation MUST be secured as well=2C but MUST NOT
> >       contain the Nonce option.
> >
> > I may have missed something in the specification ...
>=20
> Here is what I initially missed in the specification:
>=20
>  Section 5.1.1:=20
>=20
>    If the node has been configured to use SEND=2C the CGA option  [...]=20
>    must be present in Router Solicitation messages unless they are sent
>    with the unspecified source address.
>=20
>  Section 5.1.2:
>=20
>    Router Solicitations messages without the CGA option MUST also be
>    treated as unsecured=2C unless the source address of the message is th=
e
>    unspecified address.
>=20
> So=2C in order for my MN to get a secured RA w/ a Nonce option from a
> SEND-enabled router on the link=2C it needs to send a RS with the Nonce
> option using the unspecified address as source for its message.
>=20
> Sending such a message is authorized (as per section 5.1.1) and the
> message will be considered secured (as per section 5.1.2. I should say
> it will not be considered unsecured) by the receiver. As per section 8=2C
> this will trigger the emission of a secured advertisement=2C which will
> include the nonce option found in the RS (as per section 5.3.3).

I believe the behaviour of the responding device was constrained during the=
 security review for SEND.

The issue here was the potential to generate known clear-text (the nonce) o=
nto the=20
network without performing any significant work.  A unicast RA is not rate-=
limited
the same way as the multicast RA=2C and the RAs are visible to all packet r=
ecipients.
This could cause a SEND advertiser to generate multiple responses which rev=
eal information
about its private key (or hash to particular values=2C like the recent MD5 =
certificate attack).

The problem with your certificate only MN is that it cannot reliably receiv=
e a quick RA
in order to detect change and configure a new source address. That is becau=
se
it will rely upon the Multicast delivery of packets which is strictly time =
separated
by MinDelayBetweenRAs.

While RFC3775 Identifies a smaller value for this (0.03-0.07s) this relies =
upon=20
all networks using the values from RFC3775.  This is not the default=2C and=
 certainly
not optimal for some wireless networks.

In a constrained network environment though=2C your mechanism could work.


I guess the issue is mostly one of motivation and the correct engineering s=
olution.
Why have the constraint of requiring nonces=2C and only certificates (not C=
GA) for the MN?

Isn't there a way of reengineering the 3971 operations to support Certifica=
te based
devices holding Nonces?  (For example=2C even if it is not possible to auth=
enticate the origin
of the certificate=2C the operations required to sign the message could be =
checked by
the recipient router:  it's not like we have a large deployed base =3B)

An old and dated draft which looked at using nonces for response matching i=
s at:

http://ietfreport.isoc.org/all-ids/draft-daley-dna-nonce-resp-01.txt

The principle here was not to rely upon existing SEND function so much as t=
o include a new
option for the purpose of liveness proof.   The draft didn't go anywhere=2C=
 but perhaps it could
stoke some ideas.

Greg Daley





_________________________________________________________________
Looking for a place to rent=2C share or buy this winter? Find your next pla=
ce with Ninemsn=A0property
http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fninemsn%2Edomain%2Ecom%2E=
au%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline&_t=3D774152450&_r=
=3DDomain_tagline&_m=3DEXT=

--_1bbd243a-787b-4a08-ba96-43d3ca8171ad_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
</style>
</head>
<body class=3D'hmmessage'>
Hi Arnaud=2C <br><br>&gt=3B From: arno@natisbad.org<br>&gt=3B To: elevyabe-=
FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org<br>&gt=3B Date: Wed=2C 12 Aug 2009 =
08:56:35 +0200<br>&gt=3B CC: cga-ext@ietf.org<br>&gt=3B Subject: Re: [CGA-E=
XT] Question about RS/RA protection w/ SEND<br>&gt=3B <br>&gt=3B Hi=2C<br>&=
gt=3B <br>&gt=3B replying to myself for the records.<br>&gt=3B <br>&gt=3B a=
rno@natisbad.org (Arnaud Ebalard) writes:<br>&gt=3B <br>&gt=3B &gt=3B I'd b=
e interested by your (implementor) thoughts on the following if you <br>&gt=
=3B &gt=3B have some time.<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B I thought SEND=
 specification (RFC 3971) would support the following<br>&gt=3B &gt=3B scen=
ario but in the end=2C it is unclear (I would say the spec is<br>&gt=3B &gt=
=3B contradictory on that aspect):<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B   A MI=
Pv6 MN with partial support for SEND: it supports only the<br>&gt=3B &gt=3B=
   certificate-based part of the spec and knows nothing about CGA. It is<br=
>&gt=3B &gt=3B   configured with trust anchors and supports sending RS with=
 Timestamp<br>&gt=3B &gt=3B   and Nonce option. It would allow it to verify=
 RA messages sent by<br>&gt=3B &gt=3B   SEND-enabled routers. One possible =
interest of such a mode is for<br>&gt=3B &gt=3B   securing the MIPv6 home l=
ink detection mechanism (see [1] for<br>&gt=3B &gt=3B   rationale).<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B In the specification=2C we have the following:<=
br>&gt=3B &gt=3B<br>&gt=3B &gt=3B   Section 5.3.3:<br>&gt=3B &gt=3B<br>&gt=
=3B &gt=3B   "If the node has been configured to use SEND=2C all advertisem=
ents sent<br>&gt=3B &gt=3B   in reply to a solicitation MUST include a Nonc=
e=2C copied from the<br>&gt=3B &gt=3B   received solicitation. Note that ro=
uters may decide to send a<br>&gt=3B &gt=3B   multicast advertisement to al=
l nodes instead of a response to a<br>&gt=3B &gt=3B   specific host.  In su=
ch a case=2C the router MAY still include the nonce<br>&gt=3B &gt=3B   valu=
e for the host that triggered the multicast<br>&gt=3B &gt=3B   advertisemen=
t. (Omitting the nonce value may cause the host to ignore<br>&gt=3B &gt=3B =
  the router's advertisement=2C unless the clocks in these nodes are  <br>&=
gt=3B &gt=3B   sufficiently synchronized so that timestamps function proper=
ly.)"<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B   Section 8:<br>&g=
t=3B &gt=3B<br>&gt=3B &gt=3B    o  Unsolicited advertisements sent by a SEN=
D node MUST be secured.<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B    o  A SEND node=
 MUST send a secured advertisement in response to a<br>&gt=3B &gt=3B       =
secured solicitation.  Advertisements sent in response to an<br>&gt=3B &gt=
=3B       unsecured solicitation MUST be secured as well=2C but MUST NOT<br=
>&gt=3B &gt=3B       contain the Nonce option.<br>&gt=3B &gt=3B<br>&gt=3B &=
gt=3B I may have missed something in the specification ...<br>&gt=3B <br>&g=
t=3B Here is what I initially missed in the specification:<br>&gt=3B <br>&g=
t=3B  Section 5.1.1: <br>&gt=3B <br>&gt=3B    If the node has been configur=
ed to use SEND=2C the CGA option  [...] <br>&gt=3B    must be present in Ro=
uter Solicitation messages unless they are sent<br>&gt=3B    with the unspe=
cified source address.<br>&gt=3B <br>&gt=3B  Section 5.1.2:<br>&gt=3B <br>&=
gt=3B    Router Solicitations messages without the CGA option MUST also be<=
br>&gt=3B    treated as unsecured=2C unless the source address of the messa=
ge is the<br>&gt=3B    unspecified address.<br>&gt=3B <br>&gt=3B So=2C in o=
rder for my MN to get a secured RA w/ a Nonce option from a<br>&gt=3B SEND-=
enabled router on the link=2C it needs to send a RS with the Nonce<br>&gt=
=3B option using the unspecified address as source for its message.<br>&gt=
=3B <br>&gt=3B Sending such a message is authorized (as per section 5.1.1) =
and the<br>&gt=3B message will be considered secured (as per section 5.1.2.=
 I should say<br>&gt=3B it will not be considered unsecured) by the receive=
r. As per section 8=2C<br>&gt=3B this will trigger the emission of a secure=
d advertisement=2C which will<br>&gt=3B include the nonce option found in t=
he RS (as per section 5.3.3).<br><br>I believe the behaviour of the respond=
ing device was constrained during the security review for SEND.<br><br>The =
issue here was the potential to generate known clear-text (the nonce) onto =
the <br>network without performing any significant work.&nbsp=3B A unicast =
RA is not rate-limited<br>the same way as the multicast RA=2C and the RAs a=
re visible to all packet recipients.<br>This could cause a SEND advertiser =
to generate multiple responses which reveal information<br>about its privat=
e key (or hash to particular values=2C like the recent MD5 certificate atta=
ck).<br><br>The problem with your certificate only MN is that it cannot rel=
iably receive a quick RA<br>in order to detect change and configure a new s=
ource address. That is because<br>it will rely upon the Multicast delivery =
of packets which is strictly time separated<em></em><br>by MinDelayBetweenR=
As.<br><br>While RFC3775 Identifies a smaller value for this (0.03-0.07s) t=
his relies upon <br>all networks using the values from RFC3775.&nbsp=3B Thi=
s is not the default=2C and certainly<br>not optimal for some wireless netw=
orks.<br><br>In a constrained network environment though=2C your mechanism =
could work.<br><br><br>I guess the issue is mostly one of motivation and th=
e correct engineering solution.<br>Why have the constraint of requiring non=
ces=2C and only certificates (not CGA) for the MN?<br><br>Isn't there a way=
 of reengineering the 3971 operations to support Certificate based<br>devic=
es holding Nonces?&nbsp=3B (For example=2C even if it is not possible to au=
thenticate the origin<br>of the certificate=2C the operations required to s=
ign the message could be checked by<br>the recipient router:&nbsp=3B it's n=
ot like we have a large deployed base =3B)<br><br>An old and dated draft wh=
ich looked at using nonces for response matching is at:<br><br>http://ietfr=
eport.isoc.org/all-ids/draft-daley-dna-nonce-resp-01.txt<br><br>The princip=
le here was not to rely upon existing SEND function so much as to include a=
 new<br>option for the purpose of liveness proof.&nbsp=3B&nbsp=3B The draft=
 didn't go anywhere=2C but perhaps it could<br>stoke some ideas.<br><br>Gre=
g Daley<br><br><br><br><br><br /><hr />Find your next place with Ninemsn=A0=
property <a href=3D'http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fninem=
sn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline=
&_t=3D774152450&_r=3DDomain_tagline&_m=3DEXT' target=3D'_new'>Looking for a=
 place to rent=2C share or buy this winter?</a></body>
</html>=

--_1bbd243a-787b-4a08-ba96-43d3ca8171ad_--

From arno@natisbad.org  Tue Aug 18 00:20:37 2009
Return-Path: <arno@natisbad.org>
X-Original-To: cga-ext@core3.amsl.com
Delivered-To: cga-ext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B50F33A6B5D for <cga-ext@core3.amsl.com>; Tue, 18 Aug 2009 00:20:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.569
X-Spam-Level: 
X-Spam-Status: No, score=-3.569 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 fWYnuEbT8KkJ for <cga-ext@core3.amsl.com>; Tue, 18 Aug 2009 00:20:36 -0700 (PDT)
Received: from copper.chdir.org (copper.chdir.org [88.191.97.87]) by core3.amsl.com (Postfix) with ESMTP id 2CE383A6A90 for <cga-ext@ietf.org>; Tue, 18 Aug 2009 00:20:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natisbad.org; s=mail; h=From:To:Cc:Subject:References:Date: In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=g++1PnR+bKa KYGehrt1tQEYJhVn78tmqlFrQim9db64=; b=f97m0c7GljIz6pA4Ihl5B8RbSpB giXSV3d323LlQhHV1YX/rarjr2Utz1WyDpkzQci7Isv/ccTCaHWiAlOOeEQWNSCm /xssTJoaWru3iSnk9vGYI/ws4JSC1gY6YgYZ+3YpNHD46sdaHgBr4O3PzDBCGbj6 mgB8k32Gp5101IdQ=
Received: from [2001:7a8:78df:2:20d:93ff:fe55:8f79] (helo=small.ssi.corp) by copper.chdir.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <arno@natisbad.org>) id 1MdIyS-0001nL-Vr; Tue, 18 Aug 2009 09:19:17 +0200
From: arno@natisbad.org (Arnaud Ebalard)
To: Greg Daley <hoskuld@hotmail.com>
References: <8763cv95i7.fsf@small.ssi.corp> <87d471ed0c.fsf@small.ssi.corp> <BAY114-W38A61C369061241BAFA05EADFF0@phx.gbl>
X-PGP-Key-URL: http://natisbad.org/arno@natisbad.org.asc
X-Fingerprint: 47EB 85FE B99A AB85 FD09 46F3 0255 957C 047A 5026
X-Hashcash: 1:20:090818:hoskuld@hotmail.com::CswX1+9P3gAeVIyd:000000000000000000000000000000000000000000A9mF
X-Hashcash: 1:20:090818:cga-ext@ietf.org::6S6vu7UlLEz5gqKS:0BTGa
Date: Tue, 18 Aug 2009 09:19:56 +0200
In-Reply-To: <BAY114-W38A61C369061241BAFA05EADFF0@phx.gbl> (Greg Daley's message of "Tue, 18 Aug 2009 15:48:06 +1000")
Message-ID: <873a7pk2qr.fsf@small.ssi.corp>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: cga-ext@ietf.org
Subject: Re: [CGA-EXT] Question about RS/RA protection w/ SEND
X-BeenThere: cga-ext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: CGA and SeND Extensions <cga-ext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cga-ext>
List-Post: <mailto:cga-ext@ietf.org>
List-Help: <mailto:cga-ext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cga-ext>, <mailto:cga-ext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Aug 2009 07:20:37 -0000

Hi Greg,

Greg Daley <hoskuld@hotmail.com> writes:

>> So, in order for my MN to get a secured RA w/ a Nonce option from a
>> SEND-enabled router on the link, it needs to send a RS with the Nonce
>> option using the unspecified address as source for its message.
>> 
>> Sending such a message is authorized (as per section 5.1.1) and the
>> message will be considered secured (as per section 5.1.2. I should say
>> it will not be considered unsecured) by the receiver. As per section 8,
>> this will trigger the emission of a secured advertisement, which will
>> include the nonce option found in the RS (as per section 5.3.3).
>
> I believe the behaviour of the responding device was constrained
> during the security review for SEND. 
>
> The issue here was the potential to generate known clear-text (the
> nonce) onto the network without performing any significant work.  A
> unicast RA is not rate-limited the same way as the multicast RA, and
> the RAs are visible to all packet recipients. This could cause a SEND
> advertiser to generate multiple responses which reveal information
> about its private key (or hash to particular values, like the recent
> MD5 certificate attack).
>
> The problem with your certificate only MN is that it cannot reliably
> receive a quick RA in order to detect change and configure a new
> source address. That is because it will rely upon the Multicast
> delivery of packets which is strictly time separated by
> MinDelayBetweenRAs. 
>
> While RFC3775 Identifies a smaller value for this (0.03-0.07s) this
> relies upon all networks using the values from RFC3775.  This is not
> the default, and certainly not optimal for some wireless networks.
>
> In a constrained network environment though, your mechanism could
> work.

My main target was the Home Network (for securing the Home Link
Detection mechanism of the MN) in which the reduced values for the
MinDelayBetweenRAs apply. But I think you are right on the following
point: relying only on multicast RA will not work well on crowdy
networks or in common environments (i.e. w/o beting able to force more
frequent response from routers). 

> I guess the issue is mostly one of motivation and the correct
> engineering solution. Why have the constraint of requiring nonces, and
> only certificates (not CGA) for the MN?

Well, it took me only 3 days or so to have a basic implementation of the
mechanism (no timestamp check though) in UMIP (Linux MIPv6 daemon) and
required only to support RS (addition of nonce and timestamp) and RA
(nonce and sig option parsing and validation). Implementing (and
deploying) the CGA part can be done later but is IMHO a lot more work.

> Isn't there a way of reengineering the 3971 operations to support
> Certificate based devices holding Nonces?  (For example, even if it is
> not possible to authenticate the origin of the certificate, the
> operations required to sign the message could be checked by the
> recipient router:  it's not like we have a large deployed base ;) 

Sorry, I fail to understand the idea. Can you give an example?

> An old and dated draft which looked at using nonces for response
> matching is at: 
>
> http://ietfreport.isoc.org/all-ids/draft-daley-dna-nonce-resp-01.txt
>
> The principle here was not to rely upon existing SEND function so much
> as to include a new option for the purpose of liveness proof.   The
> draft didn't go anywhere, but perhaps it could stoke some ideas.

Thanks for the pointer.

Cheers,

a+
