
From brian.e.carpenter@gmail.com  Sun Aug  2 15:16:03 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 954843A6852; Sun,  2 Aug 2009 15:16:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.423
X-Spam-Level: 
X-Spam-Status: No, score=-2.423 tagged_above=-999 required=5 tests=[AWL=0.176,  BAYES_00=-2.599]
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 IuOfiW1JB6uZ; Sun,  2 Aug 2009 15:16:02 -0700 (PDT)
Received: from mail-px0-f185.google.com (mail-px0-f185.google.com [209.85.216.185]) by core3.amsl.com (Postfix) with ESMTP id DC1D43A680C; Sun,  2 Aug 2009 15:16:02 -0700 (PDT)
Received: by pxi15 with SMTP id 15so1416222pxi.31 for <multiple recipients>; Sun, 02 Aug 2009 15:16:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Gj0q613QDfMP3d20PdcuQ5sHTVM+bkPUPWCAE5kVwOA=; b=HzACKVkKkcV7TgYTO9PEFTC6jz7dVdveDu+ePCpMRzqVKWjzVtQozrhlSDKTPsNnWO aGH6lyPLJK1cxAclX353N7grwLdMxITdL6PlHCy5OE3HVjoljnQkuBjlMP+XTN/8R0ze MYX+ZMHDdSk58R3xq5udKcWxNHSBggHpvHHOk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=gGhZg9fczDmg64gZ+54SGCMysX4wrMSVeeiGZLfbeWCyf0AQxr0r4m8VP0ITO9OgKi sgf3+grEkb9JK2uu9AACYrrRyzYjzoJDmkOho05UXubtZypYfTGuy6o054VApPQpAPsd prhTvWUoz4lLWF4DPmxKJYeMRj+KbrstURm0c=
Received: by 10.141.2.13 with SMTP id e13mr3187807rvi.56.1249251363251; Sun, 02 Aug 2009 15:16:03 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id c20sm31925195rvf.51.2009.08.02.15.16.00 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Aug 2009 15:16:02 -0700 (PDT)
Message-ID: <4A76101E.7070207@gmail.com>
Date: Mon, 03 Aug 2009 10:15:58 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Lars Eggert <lars.eggert@nokia.com>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>
In-Reply-To: <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Aug 2009 22:16:03 -0000

Lars,

It seems to me that it would not violate the spirit of RFC2460 if
we added a rule that stacks MUST follow the RFC2460 rule by default
but MAY deviate from it for duly configured tunnel end points
in routers (where "router" is strictly as defined in section 2
of 2460 and the Note in that section). That would fully preserve
the requirement as far as hosts and applications go.

In fact, if draft-ietf-6man-node-req-bis is to become an
Applicability Statement as we've discussed, that would be a fine
document to define such a rule.

    Brian


From tme@americafree.tv  Sun Aug  2 15:31:08 2009
Return-Path: <tme@americafree.tv>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 631FC3A6A4E; Sun,  2 Aug 2009 15:31:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.543
X-Spam-Level: 
X-Spam-Status: No, score=-2.543 tagged_above=-999 required=5 tests=[AWL=0.056,  BAYES_00=-2.599]
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 pmYM7Tio9vlw; Sun,  2 Aug 2009 15:31:07 -0700 (PDT)
Received: from mail.americafree.tv (rossini.americafree.tv [63.105.122.34]) by core3.amsl.com (Postfix) with ESMTP id 8AED23A6A50; Sun,  2 Aug 2009 15:31:07 -0700 (PDT)
Received: from [IPv6:::1] (rossini.americafree.tv [63.105.122.34]) by mail.americafree.tv (Postfix) with ESMTP id D98D4463205A; Sun,  2 Aug 2009 18:31:09 -0400 (EDT)
Message-Id: <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>
From: Marshall Eubanks <tme@americafree.tv>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <4A76101E.7070207@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Sun, 2 Aug 2009 18:31:08 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com>
X-Mailer: Apple Mail (2.935.3)
Cc: Dino Farinacci <dino@cisco.com>, "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Aug 2009 22:31:08 -0000

Dear Brian;

On Aug 2, 2009, at 6:15 PM, Brian E Carpenter wrote:

> Lars,
>
> It seems to me that it would not violate the spirit of RFC2460 if
> we added a rule that stacks MUST follow the RFC2460 rule by default
> but MAY deviate from it for duly configured tunnel end points
> in routers (where "router" is strictly as defined in section 2
> of 2460 and the Note in that section). That would fully preserve
> the requirement as far as hosts and applications go.
>

This was exactly the intention of

http://tools.ietf.org/html/draft-eubanks-chimento-6man-00

We intend to rev this shortly and comments would be appreciated.

Regards
Marshall


> In fact, if draft-ietf-6man-node-req-bis is to become an
> Applicability Statement as we've discussed, that would be a fine
> document to define such a rule.
>
>    Brian
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>


From lars.eggert@nokia.com  Mon Aug  3 01:32:13 2009
Return-Path: <lars.eggert@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6CD1828C0EC; Mon,  3 Aug 2009 01:32:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.576
X-Spam-Level: 
X-Spam-Status: No, score=-2.576 tagged_above=-999 required=5 tests=[AWL=0.023,  BAYES_00=-2.599]
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 YuuZpivtHyAL; Mon,  3 Aug 2009 01:32:12 -0700 (PDT)
Received: from mail.fit.nokia.com (mail.fit.nokia.com [195.148.124.195]) by core3.amsl.com (Postfix) with ESMTP id 5E9C828C0E1; Mon,  3 Aug 2009 01:32:12 -0700 (PDT)
Received: from [192.168.0.198] (funet-wlan.fit.nokia.com [195.148.124.254]) (authenticated bits=0) by mail.fit.nokia.com (8.14.3/8.14.3) with ESMTP id n738Vwao005854 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 3 Aug 2009 11:31:58 +0300 (EEST) (envelope-from lars.eggert@nokia.com)
Message-Id: <490C2B34-D7C7-4914-A2CF-3D7582D46A58@nokia.com>
From: Lars Eggert <lars.eggert@nokia.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <4A76101E.7070207@gmail.com>
Content-Type: multipart/signed; boundary=Apple-Mail-10-398173802; micalg=sha1; protocol="application/pkcs7-signature"
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Mon, 3 Aug 2009 11:31:53 +0300
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com>
X-Mailer: Apple Mail (2.935.3)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.2 (mail.fit.nokia.com [195.148.124.194]); Mon, 03 Aug 2009 11:31:58 +0300 (EEST)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 08:32:13 -0000

--Apple-Mail-10-398173802
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hi,

On 2009-8-3, at 1:15, Brian E Carpenter wrote:
> It seems to me that it would not violate the spirit of RFC2460 if
> we added a rule that stacks MUST follow the RFC2460 rule by default
> but MAY deviate from it for duly configured tunnel end points
> in routers (where "router" is strictly as defined in section 2
> of 2460 and the Note in that section). That would fully preserve
> the requirement as far as hosts and applications go.

agreed, and this is what I've discussed with Dino and Joel in the  
hallway in Stockholm. My objection was about the LISP spec to  
unilaterally saying "we do something that conflicts with RFC2460"  
instead of getting community consensus for this variant.

Lars
--Apple-Mail-10-398173802
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGQDCCAvkw
ggJioAMCAQICEEi7WbMMKa2GLKFpQDaOBQEwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDgyMzE3NDMzOVoXDTA5MDgyMzE3NDMz
OVowXDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2Vy
dDEkMCIGCSqGSIb3DQEJARYVbGFycy5lZ2dlcnRAbm9raWEuY29tMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAlwQVktJZCY89iU6jcW1XnZQN+aMgF2utCUT3H3ZKB5Jbet1SDWt0md/W
571bHjxtn9CfEJdochNL3l9f1WiJNdVbJ182557Ltx9SojqthpqtA0jKEqo2gqrf+raUj1demmo0
6ocsLqv046CrwidOp6k0RAfvkKPLhD4PD9Nk3oaZuxqBz1wY4u8Q83iWMArDeXiQxfNZnOBz5cDs
VvVjTjitm3VANkbD02tNkwl5AHw7htde4yH8hIwlfzqsAtHBEah3HyOvs9b+gHg2pFz9eS+HuotY
ZKycCweRs8NKXoCg+zAkVYi3zvZEH2VOuPlpMQMrB9+fLWg2UBsTeZ864wIDAQABozIwMDAgBgNV
HREEGTAXgRVsYXJzLmVnZ2VydEBub2tpYS5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUF
AAOBgQBMdV2U+ryV5t3nuBFH19XKflodN6Bc60GBYHHY/Z0+Cl08Q75qzTt02IILBg+/YVh/fygb
6pFrOm1sFtLN7fENBfbO2VtpFjP2lGUgbXTVT5xGM6+MtqZiBI6LqexAeY6gsd/taoUfy9fZG42d
ciBA9gSGlQjjWQyG8mb5HR8L9jCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJ
BgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMg
RGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3
DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3
MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5
KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzAN
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9
fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+
uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMB
Af8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3
dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgG
A1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNmrGcP
f6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH
2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8x
ggMQMIIDDAIBATB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo
UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQ
SLtZswwprYYsoWlANo4FATAJBgUrDgMCGgUAoIIBbzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB
MBwGCSqGSIb3DQEJBTEPFw0wOTA4MDMwODMxNTNaMCMGCSqGSIb3DQEJBDEWBBQdZa9/ockBScD/
xrsjrAC/PfYSDTCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEwgYcGCyqGSIb3DQEJEAILMXigdjBiMQsw
CQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEw
DQYJKoZIhvcNAQEBBQAEggEAPUQLMim8+rpqj9qDiRPrZ0bSGVGwIjy3mX8wF0PlaWYwWFbinuxS
+J7i1H6UZiEW6D8VGbeBUSYRkiCGMveLg6yrxOROQLzrQkvhZjnp5heRUn0ZUg297etTo9alppw2
Jo34VFt4VwJm2wKwhAAID8LE0P/qB+Kf0p+rCoSLb3+sHW1L1qvQ2G/pF8zCrQsJmN3sKSSjMOoG
6y2uZuJwlro6KHVI6aVT+sBjsRZ7qYyY3eDbBbgCIOwZUKREtJ3qjP+O/s/QtQAifk0GHk4bgSJo
AinZ/lsqKzR5o1Ej4dCPKvejTEiRwYIwxAGscywmmGTnhSXdliEQpmDh2H8BMwAAAAAAAA==

--Apple-Mail-10-398173802--

From remi.despres@free.fr  Mon Aug  3 03:19:12 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D0613A6D73; Mon,  3 Aug 2009 03:19:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.639
X-Spam-Level: 
X-Spam-Status: No, score=-1.639 tagged_above=-999 required=5 tests=[AWL=0.310,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 M274wLbu0mpK; Mon,  3 Aug 2009 03:19:11 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id DF92E28C159; Mon,  3 Aug 2009 03:18:46 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id B6A70E0813C; Mon,  3 Aug 2009 12:18:34 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id DE992E0811D; Mon,  3 Aug 2009 12:18:29 +0200 (CEST)
In-Reply-To: <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Mon, 3 Aug 2009 12:18:29 +0200
To: Christian Huitema <huitema@microsoft.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Behave WG <behave@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 10:19:12 -0000

Le 30 juil. 09 =E0 03:09, Christian Huitema a =E9crit :

>> On 2009-07-29 19:43, Benny Amorsen wrote:
>>> Brian E Carpenter <brian.e.carpenter@gmail.com> writes:
>>>
>>>> Er, do your routers do that when they throw away packets due to
>>>> congestion?
>>>
>>> If a router throws away a packet due to congestion, there's a good
>>> chance that a retransmission will go through. In this case you can
>>> retransmit as many no-UDP-checksum packets you want, none of them =20=

>>> will
>>> get through. The host really ought to be told that it is wasting its
>>> time.
>>
>> There's no retransmission in UDP.
>>
>> Presumably there is no harm in sending back some kind of ICMP error,
>> most likely Parameter Problem, at a throttled rate. But we shouldn't
>> mandate
>> it IMHO, and you certainly can't rely on a host stopping a UDP stream
>> as a result.
>
> What happened to being conservative with what we send and =20
> permissive with what we receive?
>
> It seems that the direct application should be:
>
> 1) Be conservative: hosts should not send UDP packets with null =20
> checksums.
> 2) Permissive: gateways who receive UDP packets with null checksum =20
> should compute a checksum based on the received bytes, and then =20
> forward the packet.
>
> I understand there may be resource limits on gateways, and that the =20=

> UDP checksum compute requirement might throw the packet back to =20
> some kind of slow path, with potential packet loss due to =20
> congestion. But that's way better than a black hole.

In view of the various arguments made, here is IMHO a good combination:
- IPv6 hosts MUST create UDP datagrams with non-zero checksums.
   (Nothing new here.)
- IPv6 hosts MAY accept UDP datagrams with zero checksum.
   ((1) Application of the classic principle "be strict in what you =20
send, tolerant in what you receive"; (2) useful for some UDP =20
datagrams that cross some v4-v6 translators.)
- IPv6 hosts that accept zero-checksum UDP datagrams MAY restrict =20
this tolerance to remote hosts whose IPv6 addresses include an IPv4 =20
mapped address.
(Thus no new tolerance is introduced for IPv6 hosts.)
- IPv4 to IPv6 translators that receive UDP datagrams with zero =20
checksums MAY keep these checksums in translated datagrams.
((1) Simple to implement; (2) works for fragmented IPv4 datagrams; =20
(3) avoids the waste of CPU power to compute UDP checksums of IPv4 =20
unfragmented UDP datagrams received with zero checksums.)

Regards,
RD


From lars.eggert@nokia.com  Mon Aug  3 04:56:26 2009
Return-Path: <lars.eggert@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ACC223A6A68; Mon,  3 Aug 2009 04:56:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.427
X-Spam-Level: 
X-Spam-Status: No, score=-2.427 tagged_above=-999 required=5 tests=[AWL=-0.128, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 c-Mt7po4raEJ; Mon,  3 Aug 2009 04:56:26 -0700 (PDT)
Received: from mail.fit.nokia.com (mail.fit.nokia.com [195.148.124.195]) by core3.amsl.com (Postfix) with ESMTP id B10ED3A6BC0; Mon,  3 Aug 2009 04:56:25 -0700 (PDT)
Received: from [192.168.0.198] (funet-wlan.fit.nokia.com [195.148.124.254]) (authenticated bits=0) by mail.fit.nokia.com (8.14.3/8.14.3) with ESMTP id n73BsTtX068520 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 3 Aug 2009 14:54:29 +0300 (EEST) (envelope-from lars.eggert@nokia.com)
Message-Id: <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com>
From: Lars Eggert <lars.eggert@nokia.com>
To: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr>
Content-Type: multipart/signed; boundary=Apple-Mail-4-410324420; micalg=sha1; protocol="application/pkcs7-signature"
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Mon, 3 Aug 2009 14:54:23 +0300
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr>
X-Mailer: Apple Mail (2.935.3)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.2 (mail.fit.nokia.com [195.148.124.194]); Mon, 03 Aug 2009 14:54:32 +0300 (EEST)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, Behave WG <behave@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, 6man 6man <ipv6@ietf.org>, Christian Huitema <huitema@microsoft.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 11:56:26 -0000

--Apple-Mail-4-410324420
Content-Type: text/plain;
	charset=ISO-8859-1;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

Hi,

On 2009-8-3, at 13:18, R=E9mi Despr=E9s wrote:
> In view of the various arguments made, here is IMHO a good =20
> combination:
...
> - IPv6 hosts MAY accept UDP datagrams with zero checksum.

I see no reason why allowing a UDP checksum of zero for router-to-=20
router tunnels under specific circumstances (existence of a payload =20
checksum), which is what we've been discussing for AMT and LISP, =20
motivates *any* changes for the host. As far as hosts as concerned, =20
nothing changes with regards to RFC2460.

> - IPv6 hosts that accept zero-checksum UDP datagrams MAY restrict
> this tolerance to remote hosts whose IPv6 addresses include an IPv4
> mapped address.
> (Thus no new tolerance is introduced for IPv6 hosts.)

Since there is no IP header checksum in IPv6, these IP addresses can =20
be corrupted, and so this check may fail.

> - IPv4 to IPv6 translators that receive UDP datagrams with zero
> checksums MAY keep these checksums in translated datagrams.

Translators are not tunnels. The argument why a zero outer checksum =20
may be OK for tunnels is that the inner payload is still protected by =20=

a checksum, which is not true for translators.

Lars=

--Apple-Mail-4-410324420
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGQDCCAvkw
ggJioAMCAQICEEi7WbMMKa2GLKFpQDaOBQEwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDgyMzE3NDMzOVoXDTA5MDgyMzE3NDMz
OVowXDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2Vy
dDEkMCIGCSqGSIb3DQEJARYVbGFycy5lZ2dlcnRAbm9raWEuY29tMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAlwQVktJZCY89iU6jcW1XnZQN+aMgF2utCUT3H3ZKB5Jbet1SDWt0md/W
571bHjxtn9CfEJdochNL3l9f1WiJNdVbJ182557Ltx9SojqthpqtA0jKEqo2gqrf+raUj1demmo0
6ocsLqv046CrwidOp6k0RAfvkKPLhD4PD9Nk3oaZuxqBz1wY4u8Q83iWMArDeXiQxfNZnOBz5cDs
VvVjTjitm3VANkbD02tNkwl5AHw7htde4yH8hIwlfzqsAtHBEah3HyOvs9b+gHg2pFz9eS+HuotY
ZKycCweRs8NKXoCg+zAkVYi3zvZEH2VOuPlpMQMrB9+fLWg2UBsTeZ864wIDAQABozIwMDAgBgNV
HREEGTAXgRVsYXJzLmVnZ2VydEBub2tpYS5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUF
AAOBgQBMdV2U+ryV5t3nuBFH19XKflodN6Bc60GBYHHY/Z0+Cl08Q75qzTt02IILBg+/YVh/fygb
6pFrOm1sFtLN7fENBfbO2VtpFjP2lGUgbXTVT5xGM6+MtqZiBI6LqexAeY6gsd/taoUfy9fZG42d
ciBA9gSGlQjjWQyG8mb5HR8L9jCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJ
BgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMg
RGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3
DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3
MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5
KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzAN
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9
fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+
uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMB
Af8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3
dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgG
A1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNmrGcP
f6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH
2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8x
ggMQMIIDDAIBATB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo
UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQ
SLtZswwprYYsoWlANo4FATAJBgUrDgMCGgUAoIIBbzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB
MBwGCSqGSIb3DQEJBTEPFw0wOTA4MDMxMTU0MjRaMCMGCSqGSIb3DQEJBDEWBBQOuVIGQBW3A0dn
qAF642gqa9TTTzCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEwgYcGCyqGSIb3DQEJEAILMXigdjBiMQsw
CQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEw
DQYJKoZIhvcNAQEBBQAEggEAL46yiBMdxCClXTpwcizifSOJcDUjqvPskTj3X/pGWtwVLl0zzeOB
Xb5tQgL3ZaYE7BsRkZpkypYnRSGI/2ekqcrJ3Qp25IQeApsH8pEWVYN76eP0tSw5G2632aLUpBkr
M6RfZUFZl0fpnh8Xyykj0wr3ob7kGCmsSurfs+mJiLaJLrwKVfGJYMQJUsqB0VHrYPqsryv+/j0M
vFAWOebjO2QN/SUoAFAduXoHTIeSAkrrHTzT/cGvOPgwBq9EsD+ycP5YGTkKmVePCQJ5U6q6wp3H
h1EF/Z/wfW8dpCTZSKI1YuJwEnkEFkgG45EV3oH3U8mi+ljuobKio4megETEBgAAAAAAAA==

--Apple-Mail-4-410324420--

From pekkas@netcore.fi  Mon Aug  3 05:29:10 2009
Return-Path: <pekkas@netcore.fi>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE2933A6B9D; Mon,  3 Aug 2009 05:29:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.462
X-Spam-Level: 
X-Spam-Status: No, score=-2.462 tagged_above=-999 required=5 tests=[AWL=0.137,  BAYES_00=-2.599]
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 3MY5JW1f4E-d; Mon,  3 Aug 2009 05:29:10 -0700 (PDT)
Received: from netcore.fi (eunet-gw.ipv6.netcore.fi [IPv6:2001:670:86:3001::1]) by core3.amsl.com (Postfix) with ESMTP id 9C2A43A68FD; Mon,  3 Aug 2009 05:29:09 -0700 (PDT)
Received: from netcore.fi (localhost [127.0.0.1]) by netcore.fi (8.13.8/8.13.8) with ESMTP id n73CSxcT008700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Aug 2009 15:28:59 +0300
Received: from localhost (pekkas@localhost) by netcore.fi (8.13.8/8.13.8/Submit) with ESMTP id n73CSx47008696; Mon, 3 Aug 2009 15:28:59 +0300
Date: Mon, 3 Aug 2009 15:28:59 +0300 (EEST)
From: Pekka Savola <pekkas@netcore.fi>
To: Lars Eggert <lars.eggert@nokia.com>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
In-Reply-To: <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com>
Message-ID: <alpine.LRH.2.00.0908031524200.8564@netcore.fi>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com> <m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com>
User-Agent: Alpine 2.00 (LRH 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Virus-Scanned: clamav-milter 0.95.2 at otso.netcore.fi
X-Virus-Status: Clean
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, Behave WG <behave@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, 6man 6man <ipv6@ietf.org>, Christian Huitema <huitema@microsoft.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 12:29:10 -0000

On Mon, 3 Aug 2009, Lars Eggert wrote:
> I see no reason why allowing a UDP checksum of zero for router-to-router 
> tunnels under specific circumstances (existence of a payload checksum), which 
> is what we've been discussing for AMT and LISP, motivates *any* changes for 
> the host. As far as hosts as concerned, nothing changes with regards to 
> RFC2460.

While this is true for LISP, unfortunately an AMT tunnel endpoint may 
be a host; in fact it's likely it will be. :-/

For the specific case of AMT, I wouldn't personally see a problem with 
IPv6 encapsulating plain IP instead of UDP, though this would 
complicate the spec slightly.  The LAG argument doesn't apply in the 
case of AMT.

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

From Remi.Denis-Courmont@nokia.com  Mon Aug  3 06:02:39 2009
Return-Path: <Remi.Denis-Courmont@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4FFBB28C141; Mon,  3 Aug 2009 06:02:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.183
X-Spam-Level: 
X-Spam-Status: No, score=-6.183 tagged_above=-999 required=5 tests=[AWL=0.116,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 2Q5K5qJm-J7D; Mon,  3 Aug 2009 06:02:38 -0700 (PDT)
Received: from mgw-mx03.nokia.com (smtp.nokia.com [192.100.122.230]) by core3.amsl.com (Postfix) with ESMTP id 29B7E3A6AA0; Mon,  3 Aug 2009 06:02:37 -0700 (PDT)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n73D2CiI026119; Mon, 3 Aug 2009 16:02:26 +0300
Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 3 Aug 2009 16:02:30 +0300
Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 3 Aug 2009 16:02:30 +0300
Received: from leon.remlab.net (esdhcp034247.research.nokia.com [172.21.34.247]) by mgw-sa02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n73D2P9o022129; Mon, 3 Aug 2009 16:02:25 +0300
From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" <remi.denis-courmont@nokia.com>
Organization: Maemo Devices - Nokia
To: behave@ietf.org
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Mon, 3 Aug 2009 16:02:26 +0300
User-Agent: KMail/1.11.2 (Linux/2.6.29.6; KDE/4.2.2; i686; ; )
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <alpine.LRH.2.00.0908031524200.8564@netcore.fi>
In-Reply-To: <alpine.LRH.2.00.0908031524200.8564@netcore.fi>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200908031602.27960.remi.denis-courmont@nokia.com>
X-OriginalArrivalTime: 03 Aug 2009 13:02:30.0078 (UTC) FILETIME=[A87B1DE0:01CA143A]
X-Nokia-AV: Clean
X-Mailman-Approved-At: Mon, 03 Aug 2009 06:45:29 -0700
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, ext Pekka Savola <pekkas@netcore.fi>, Benny Amorsen <benny+usenet@amorsen.dk>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 13:02:39 -0000

On Monday 03 August 2009 15:28:59 ext Pekka Savola wrote:
> On Mon, 3 Aug 2009, Lars Eggert wrote:
> > I see no reason why allowing a UDP checksum of zero for router-to-router
> > tunnels under specific circumstances (existence of a payload checksum),
> > which is what we've been discussing for AMT and LISP, motivates *any*
> > changes for the host. As far as hosts as concerned, nothing changes with
> > regards to RFC2460.
>
> While this is true for LISP, unfortunately an AMT tunnel endpoint may
> be a host; in fact it's likely it will be. :-/
>
> For the specific case of AMT, I wouldn't personally see a problem with
> IPv6 encapsulating plain IP instead of UDP, though this would
> complicate the spec slightly.  The LAG argument doesn't apply in the
> case of AMT.

I still don't understand why AMT cannot use a new Foobar protocol number.
Then we can specify that 64 translators translate:
=2D UDP/IPv6 to summed UDP/IPv4, and vice versa, and
=2D Foobar/IPv6 to unsummed UDP/IPv4, and vice versa.
And conversely, that LISP and AMT shall use Foobar instead of UDP in the ca=
se=20
of IPv6.

Then, we can have a _constant_ checksum that protects the Foobar port numbe=
rs=20
but not the inner packets. Basically it's just like UDP-Lite with 8-bytes=20
coverage.

=2D-=20
R=E9mi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki


From tme@americafree.tv  Mon Aug  3 07:32:47 2009
Return-Path: <tme@americafree.tv>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E68F3A6E34; Mon,  3 Aug 2009 07:32:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.545
X-Spam-Level: 
X-Spam-Status: No, score=-2.545 tagged_above=-999 required=5 tests=[AWL=0.054,  BAYES_00=-2.599]
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 VnznIT+QRFvI; Mon,  3 Aug 2009 07:32:46 -0700 (PDT)
Received: from mail.americafree.tv (rossini.americafree.tv [63.105.122.34]) by core3.amsl.com (Postfix) with ESMTP id 9B8FA3A6E30; Mon,  3 Aug 2009 07:32:46 -0700 (PDT)
Received: from [IPv6:::1] (rossini.americafree.tv [63.105.122.34]) by mail.americafree.tv (Postfix) with ESMTP id F0F544648214; Mon,  3 Aug 2009 10:32:48 -0400 (EDT)
Message-Id: <9A181E80-4C6E-47B6-8A9E-BD01D1A330F3@americafree.tv>
From: Marshall Eubanks <tme@americafree.tv>
To: Lars Eggert <lars.eggert@nokia.com>
In-Reply-To: <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Mon, 3 Aug 2009 10:32:48 -0400
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com>
X-Mailer: Apple Mail (2.935.3)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, Behave WG <behave@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, 6man 6man <ipv6@ietf.org>, Christian Huitema <huitema@microsoft.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 14:32:47 -0000

On Aug 3, 2009, at 7:54 AM, Lars Eggert wrote:

> Hi,
>
> On 2009-8-3, at 13:18, R=E9mi Despr=E9s wrote:
>> In view of the various arguments made, here is IMHO a good =20
>> combination:
> ...
>> - IPv6 hosts MAY accept UDP datagrams with zero checksum.
>
> I see no reason why allowing a UDP checksum of zero for router-to-=20
> router tunnels under specific circumstances (existence of a payload =20=

> checksum), which is what we've been discussing for AMT and LISP, =20
> motivates *any* changes for the host. As far as hosts as concerned, =20=

> nothing changes with regards to RFC2460.
>

I don't see this as a very clear distinction. AMT, as Pekka pointed =20
out, will
frequently have host endpoints. If I am running Zebra and LISP and =20
Apache 2 on a Dell server, is that a router or an endpoint ?

So, hosts SHOULD drop zero-checksums unless they are participating in =20=

a tunnel
protocol, which was what we tried to capture.

Regards
Marshall

>> - IPv6 hosts that accept zero-checksum UDP datagrams MAY restrict
>> this tolerance to remote hosts whose IPv6 addresses include an IPv4
>> mapped address.
>> (Thus no new tolerance is introduced for IPv6 hosts.)
>
> Since there is no IP header checksum in IPv6, these IP addresses can =20=

> be corrupted, and so this check may fail.
>
>> - IPv4 to IPv6 translators that receive UDP datagrams with zero
>> checksums MAY keep these checksums in translated datagrams.
>
> Translators are not tunnels. The argument why a zero outer checksum =20=

> may be OK for tunnels is that the inner payload is still protected =20
> by a checksum, which is not true for translators.
>
> Lars=20
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------


From remi.despres@free.fr  Mon Aug  3 08:46:49 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1EB0B28C174; Mon,  3 Aug 2009 08:46:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.691
X-Spam-Level: 
X-Spam-Status: No, score=-1.691 tagged_above=-999 required=5 tests=[AWL=0.258,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 z7cqErsNjI4o; Mon,  3 Aug 2009 08:46:48 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id 047CB3A6D74; Mon,  3 Aug 2009 08:46:45 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id CEBD0E080DC; Mon,  3 Aug 2009 17:46:41 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 14427E0801C; Mon,  3 Aug 2009 17:46:38 +0200 (CEST)
In-Reply-To: <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Mon, 3 Aug 2009 17:46:35 +0200
To: Lars Eggert <lars.eggert@nokia.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, Behave WG <behave@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, 6man 6man <ipv6@ietf.org>, Christian Huitema <huitema@microsoft.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 15:46:49 -0000

Le 3 ao=FBt 09 =E0 13:54, Lars Eggert a =E9crit :

> Hi,
>
> On 2009-8-3, at 13:18, R=E9mi Despr=E9s wrote:
>> In view of the various arguments made, here is IMHO a good =20
>> combination:
> ...
>> - IPv6 hosts MAY accept UDP datagrams with zero checksum.
>
> I see no reason why allowing a UDP checksum of zero for router-to-=20
> router tunnels under specific circumstances (existence of a payload =20=

> checksum), which is what we've been discussing for AMT and LISP, =20
> motivates *any* changes for the host. As far as hosts as concerned, =20=

> nothing changes with regards to RFC2460.
>
>> - IPv6 hosts that accept zero-checksum UDP datagrams MAY restrict
>> this tolerance to remote hosts whose IPv6 addresses include an IPv4
>> mapped address.
>> (Thus no new tolerance is introduced for IPv6 hosts.)
>
> Since there is no IP header checksum in IPv6, these IP addresses =20
> can be corrupted, and so this check may fail.

If a host may receive receive a zero-checksum UDP datagram destined =20
to another host, this is acceptable because:
- Probability of this happening is very low (with link layer =20
checksums etc.).
- It is even more UNLIKELY that the source address and the two ports =20
of the datagram match those of an existing connection (connection =20
where, in addition, such datagrams must be accepted).
- If this nevertheless happens, the harm must be limited because of =20
the application nature. (For example, an application that accepts =20
queries in unchecked datagrams may receive an extra query without =20
significant consequence).

If in charge of an IPv6 TCP/IP stack (which I am not), I would ensure =20=

that, although it never sends zero-checksum UDP datagrams, it does =20
accept to receive them.
Similarly, if in charge of of an SIIT (which I am not either), I =20
would ensure that rather than discarding IPv4 zero-checksum datagrams =20=

it forwards them with its zero checksum.
This being said, it's up to people in charge to decide. (I don't care =20=

very much. Efforts to have IPv6 end-to-end rapidly deployed are IMHO =20
more important than efforts to keep IPv4-only environments work as =20
well as if they would be dual stack.)

Regards,
RD=

From huitema@microsoft.com  Mon Aug  3 13:16:11 2009
Return-Path: <huitema@microsoft.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 253B83A6A7D; Mon,  3 Aug 2009 13:16:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
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 lagbDBrMOVSE; Mon,  3 Aug 2009 13:16:10 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id 641763A6BDB; Mon,  3 Aug 2009 13:16:10 -0700 (PDT)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.99.4; Mon, 3 Aug 2009 13:16:12 -0700
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) with Microsoft SMTP Server id 14.0.621.7; Mon, 3 Aug 2009 13:16:12 -0700
Received: from TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.236]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi; Mon, 3 Aug 2009 13:16:10 -0700
From: Christian Huitema <huitema@microsoft.com>
To: =?iso-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: RE: [BEHAVE] UDP zero checksums and v4 to v6 translators
Thread-Topic: [BEHAVE] UDP zero checksums and v4 to v6 translators
Thread-Index: AQHKECA7/O9Jd1/W4k+8GdXrmkDt1ZCNirqA//+4a1CAB1lwgIAAMEaw
Date: Mon, 3 Aug 2009 20:14:13 +0000
Message-ID: <6B55F0F93C3E9D45AF283313B8D342BA043F5C49@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr>
In-Reply-To: <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Behave WG <behave@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 20:16:11 -0000

> In view of the various arguments made, here is IMHO a good combination:
> - IPv6 hosts MUST create UDP datagrams with non-zero checksums.
>    (Nothing new here.)
> - IPv6 hosts MAY accept UDP datagrams with zero checksum.
>    ((1) Application of the classic principle "be strict in what you
> send, tolerant in what you receive"; (2) useful for some UDP
> datagrams that cross some v4-v6 translators.)

Except you do not get to specify that as part of the translator specificati=
on. The translator spec applies to translators, not to hosts. Translators m=
ust assume that IPv6 UDP packets with null checksum will be dropped by the =
receiving host. For a translator, forwarding such a packet with a null chec=
ksum is pretty much the same as dropping it.

-- Christian Huitema



From mrw@lilacglade.org  Mon Aug  3 13:19:37 2009
Return-Path: <mrw@lilacglade.org>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CB59728C26B for <ipv6@core3.amsl.com>; Mon,  3 Aug 2009 13:19:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.83
X-Spam-Level: 
X-Spam-Status: No, score=-1.83 tagged_above=-999 required=5 tests=[AWL=0.435,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 K3Rg81tJmSXO for <ipv6@core3.amsl.com>; Mon,  3 Aug 2009 13:19:37 -0700 (PDT)
Received: from QMTA12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by core3.amsl.com (Postfix) with ESMTP id 21D4028C27A for <ipv6@ietf.org>; Mon,  3 Aug 2009 13:19:18 -0700 (PDT)
Received: from OMTA07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by QMTA12.emeryville.ca.mail.comcast.net with comcast id Ptng1c00R1GXsucACwKFoj; Mon, 03 Aug 2009 20:19:15 +0000
Received: from lilac.sandstorm.net ([69.33.111.74]) by OMTA07.emeryville.ca.mail.comcast.net with comcast id PwJw1c0051cMU3H8TwK1ur; Mon, 03 Aug 2009 20:19:13 +0000
Message-Id: <8795CE32-7CC2-46F3-B2E5-5617EC473D0F@lilacglade.org>
From: Margaret Wasserman <mrw@lilacglade.org>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Mon, 3 Aug 2009 16:18:54 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 20:19:37 -0000

Hi Dino,

On Jul 30, 2009, at 4:25 PM, Dino Farinacci wrote:

>> Hi, Dino,
>>
>> On 2009-7-29, at 14:02, Dino Farinacci wrote:
>>> From a practical perspective, we prefer that a LISP encapsulator  
>>> (ITR
>>> and PTR) not incurred additional work when encapsulating packets.
>>
>> could you share some data on how much of a performance impact we're  
>> talking about here? I was under the (maybe naive) impression that  
>> checksum offloading was practically ubiquitous these days.
>
> One of the problems with IPv6 is that is so similar to IPv4 but  
> different enough to cause pain for implementations. So since we can  
> use 0 UDP checksums for IPv4 in UDP in IPv4, we would want to build  
> (or use existing hardware) that does IPv6-or-IPv4 in UDP in IPv6.
>
> Reasons being (1) cost in building hardware, (2) chip area, (3)  
> power, (4) complexity, and (5) inconsistency from IPv4.
>
> This is only for encapsulated packets. This is for the outer header  
> only.

The problem, as I see it, is that when you set the UDP checksum to 0  
in IPv4 and IPv6, you aren't doing the same thing in both cases...

In IPv4, there is an IP header checksum that protects the IP source  
and destination addresses.  So, when you turn off UDP checksums in  
IPv4, you are only turning off checksums for the UDP header and the  
UDP payload (in this case, an encapsulated packet).  You still need to  
calculate the IP header checksum.

In IPv6, the only checksum for the IPv6 source and destination  
addresses is included in the UDP checksum (via the IPv6 pseudo-header  
checksum).  So, when you turn off UDP checksums in IPv6, you are also  
turning off checksums for the IPv6 source and destination addresses.   
For cases where the payload is loss-tolerant and/or protected by a  
different mechanism, we have defined UDP-Lite, which allows you to  
calculate a checksum on the header fields only, not on the entire  
payload.  This is not much more computational expensive than computing  
the IP header checksum for IPv4-encapsulated packets.

So, we have two standards-compliant alternatives in IPv6 that would  
not require you to calculate a UDP checksum on the entire payload:

(1) UDP-Lite:  Is there a reason why UDP-Lite isn't a reasonable  
choice for LISP encapsulation?  When we looked into this for CAPWAP  
(another IP-in-UDP/IP tunneling case), we found that UDP-Lite would  
meet our needs for IPv6, so we did not need to specify the use of zero  
UDP checksums.

(2) IP-in-IPv6:  Why do you need the UDP encapsulation at all in  
IPv6?  In IPv4, you may need it for NAT traversal, but it is not clear  
that NATs will work the same way in IPv6.  Or are there other reasons  
why you need the UDP encapsulation?  When you encapsulate IP in IPv6,  
you do not have a checksum that covers the outer IP header, so you  
would need to make sure that LISP is robust against corruption of the  
source and destination addresses.  However, you do not have to worry  
as much about confusing non-LISP applications and/or corrupting their  
data, as there won't be a transport header there to misdeliver LISP  
packets to an unsuspecting application if the addresses and/or ports  
are corrupted.

I personally think it is important to consider the standards-compliant  
choices before we decide to do something non-standards-compliant.

FWIW, I agree that practical needs are very important.  I am just not  
sure that we can't meet the practical needs with a standards-compliant  
solution.

Margaret





From mrw@sandstorm.net  Mon Aug  3 13:17:17 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 61C7F28C243; Mon,  3 Aug 2009 13:17:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.83
X-Spam-Level: 
X-Spam-Status: No, score=-1.83 tagged_above=-999 required=5 tests=[AWL=0.435,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 fVip+RmpaZ3P; Mon,  3 Aug 2009 13:17:16 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 4BAC728C271; Mon,  3 Aug 2009 13:17:16 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n73KHBa7030319 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 3 Aug 2009 16:17:11 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <8C2160F1-2B13-40B9-AB71-398F7A48721C@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Mon, 3 Aug 2009 16:17:10 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>
X-Mailer: Apple Mail (2.935.3)
X-Mailman-Approved-At: Mon, 03 Aug 2009 13:49:17 -0700
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 20:17:17 -0000

Hi Dino,

On Jul 30, 2009, at 4:25 PM, Dino Farinacci wrote:

>> Hi, Dino,
>>
>> On 2009-7-29, at 14:02, Dino Farinacci wrote:
>>> From a practical perspective, we prefer that a LISP encapsulator  
>>> (ITR
>>> and PTR) not incurred additional work when encapsulating packets.
>>
>> could you share some data on how much of a performance impact we're  
>> talking about here? I was under the (maybe naive) impression that  
>> checksum offloading was practically ubiquitous these days.
>
> One of the problems with IPv6 is that is so similar to IPv4 but  
> different enough to cause pain for implementations. So since we can  
> use 0 UDP checksums for IPv4 in UDP in IPv4, we would want to build  
> (or use existing hardware) that does IPv6-or-IPv4 in UDP in IPv6.
>
> Reasons being (1) cost in building hardware, (2) chip area, (3)  
> power, (4) complexity, and (5) inconsistency from IPv4.
>
> This is only for encapsulated packets. This is for the outer header  
> only.

The problem, as I see it, is that when you set the UDP checksum to 0  
in IPv4 and IPv6, you aren't doing the same thing in both cases...

In IPv4, there is an IP header checksum that protects the IP source  
and destination addresses.  So, when you turn off UDP checksums in  
IPv4, you are only turning off checksums for the UDP header and the  
UDP payload (in this case, an encapsulated packet).  You still need to  
calculate the IP header checksum.

In IPv6, the only checksum for the IPv6 source and destination  
addresses is included in the UDP checksum (via the IPv6 pseudo-header  
checksum).  So, when you turn off UDP checksums in IPv6, you are also  
turning off checksums for the IPv6 source and destination addresses.   
For cases where the payload is loss-tolerant and/or protected by a  
different mechanism, we have defined UDP-Lite, which allows you to  
calculate a checksum on the header fields only, not on the entire  
payload.  This is not much more computational expensive than computing  
the IP header checksum for IPv4-encapsulated packets.

So, we have two standards-compliant alternatives in IPv6 that would  
not require you to calculate a UDP checksum on the entire payload:

(1) UDP-Lite:  Is there a reason why UDP-Lite isn't a reasonable  
choice for LISP encapsulation?  When we looked into this for CAPWAP  
(another IP-in-UDP/IP tunneling case), we found that UDP-Lite would  
meet our needs for IPv6, so we did not need to specify the use of zero  
UDP checksums.

(2) IP-in-IPv6:  Why do you need the UDP encapsulation at all in  
IPv6?  In IPv4, you may need it for NAT traversal, but it is not clear  
that NATs will work the same way in IPv6.  Or are there other reasons  
why you need the UDP encapsulation?  When you encapsulate IP in IPv6,  
you do not have a checksum that covers the outer IP header, so you  
would need to make sure that LISP is robust against corruption of the  
source and destination addresses.  However, you do not have to worry  
as much about confusing non-LISP applications and/or corrupting their  
data, as there won't be a transport header there to misdeliver LISP  
packets to an unsuspecting application if the addresses and/or ports  
are corrupted.

I personally think it is important to consider the standards-compliant  
choices before we decide to do something non-standards-compliant.

FWIW, I agree that practical needs are very important.  I am just not  
sure that we can't meet the practical needs with a standards-compliant  
solution.

Margaret





From remi@remlab.net  Mon Aug  3 14:15:50 2009
Return-Path: <remi@remlab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AA46C3A6D5A; Mon,  3 Aug 2009 14:15:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 sgZ6EDlYED8i; Mon,  3 Aug 2009 14:15:49 -0700 (PDT)
Received: from yop.chewa.net (yop.chewa.net [91.121.105.214]) by core3.amsl.com (Postfix) with ESMTP id 409EF3A68A5; Mon,  3 Aug 2009 14:15:45 -0700 (PDT)
Received: from basile.remlab.net (cs27060099.pp.htv.fi [89.27.60.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: remi) by yop.chewa.net (Postfix) with ESMTPSA id E3665396; Mon,  3 Aug 2009 23:15:44 +0200 (CEST)
From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" <remi@remlab.net>
Organization: Remlab.net
To: ipv6@ietf.org
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 00:15:42 +0300
User-Agent: KMail/1.11.4 (Linux/2.6.30.4; KDE/4.2.4; i686; ; )
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <8C2160F1-2B13-40B9-AB71-398F7A48721C@sandstorm.net>
In-Reply-To: <8C2160F1-2B13-40B9-AB71-398F7A48721C@sandstorm.net>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200908040015.43375.remi@remlab.net>
Cc: "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2009 21:15:50 -0000

Le lundi 3 ao=FBt 2009 23:17:10 Margaret Wasserman, vous avez =E9crit :
(...)
> So, we have two standards-compliant alternatives in IPv6 that would
> not require you to calculate a UDP checksum on the entire payload:
>
> (1) UDP-Lite:  Is there a reason why UDP-Lite isn't a reasonable
> choice for LISP encapsulation?  When we looked into this for CAPWAP
> (another IP-in-UDP/IP tunneling case), we found that UDP-Lite would
> meet our needs for IPv6, so we did not need to specify the use of zero
> UDP checksums.

You would expect 64-translators to convert UDP-Lite/IPv6 into UDP-Lite/IPv4=
=20
and back. Converting UDP-Lite/IPv6-with-8-bytes-coverage into UDP/IPv4-
without-checksum sounds hackish :(

> (2) IP-in-IPv6:  Why do you need the UDP encapsulation at all in
> IPv6?  In IPv4, you may need it for NAT traversal, but it is not clear
> that NATs will work the same way in IPv6.  Or are there other reasons
> why you need the UDP encapsulation?
(...)

Same problem. 64-translators would translate IP-in-IPv6 to IPIP and vice=20
versa. IPIP does not go through NATs.

That's why I was trying to suggest defining a new UDP-Lite-like transport=20
protocol that would only be allowed over IPv6 and that 64-translator would=
=20
convert into checksum-less UDP/IPv4.

=2D-=20
R=E9mi Denis-Courmont
http://www.remlab.net/


From remi.despres@free.fr  Tue Aug  4 00:40:59 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 21E023A6F9B; Tue,  4 Aug 2009 00:40:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.727
X-Spam-Level: 
X-Spam-Status: No, score=-1.727 tagged_above=-999 required=5 tests=[AWL=0.222,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 u1mQNcymmOEJ; Tue,  4 Aug 2009 00:40:58 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id 40ED63A6939; Tue,  4 Aug 2009 00:40:55 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id CF627E0804F; Tue,  4 Aug 2009 09:40:50 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id A7847E08056; Tue,  4 Aug 2009 09:40:47 +0200 (CEST)
In-Reply-To: <6B55F0F93C3E9D45AF283313B8D342BA043F5C49@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <6B55F0F93C3E9D45AF283313B8D342BA043F5C49@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <6B37047E-8CFA-4EA3-AB43-6CC3C6E4EDEE@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 09:40:46 +0200
To: Christian Huitema <huitema@microsoft.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Behave WG <behave@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 07:40:59 -0000

Le 3 ao=FBt 09 =E0 22:14, Christian Huitema a =E9crit :

>> In view of the various arguments made, here is IMHO a good =20
>> combination:
>> - IPv6 hosts MUST create UDP datagrams with non-zero checksums.
>>    (Nothing new here.)
>> - IPv6 hosts MAY accept UDP datagrams with zero checksum.
>>    ((1) Application of the classic principle "be strict in what you
>> send, tolerant in what you receive"; (2) useful for some UDP
>> datagrams that cross some v4-v6 translators.)
>
> Except you do not get to specify that as part of the translator =20
> specification.

> The translator spec applies to translators, not to hosts.

Agreed.


> Translators must assume that IPv6 UDP packets with null checksum =20
> will be dropped by the receiving host.

Different understanding here.
A better sentence IMHO would be "Translators MAY assume that IPv6 UDP =20=

packets with null checksum are accepted by some receiving hosts (or =20
will be in the future)."
> For a translator, forwarding such a packet with a null checksum is =20
> pretty much the same as dropping it.

If all destination hosts drop them, the effect is indeed the same.
But if some hosts start being open to receive them (a backward =20
compatible extension), then it makes a useful difference.

The proposal is a combination of backward compatible extensions in =20
hosts and translators:
- They make no harm in general.
- They are useful when used in combination.

Regards,
RD


From iljitsch@muada.com  Tue Aug  4 04:20:16 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DD8473A7005; Tue,  4 Aug 2009 04:20:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.266
X-Spam-Level: 
X-Spam-Status: No, score=-6.266 tagged_above=-999 required=5 tests=[AWL=0.333,  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 e+MvdCJq3jZm; Tue,  4 Aug 2009 04:20:16 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id E4CB23A6FCB; Tue,  4 Aug 2009 04:20:15 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74BJlRL041375 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 13:19:47 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <A6D90411-31E8-4F2D-8275-4E6BB809A52C@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Christian Huitema <huitema@microsoft.com>
In-Reply-To: <6B55F0F93C3E9D45AF283313B8D342BA043E92FE@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 13:20:04 +0200
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <4A70F421.7090403@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E92FE@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
X-Mailer: Apple Mail (2.935.3)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Behave WG <behave@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 11:20:17 -0000

On 30 jul 2009, at 3:35, Christian Huitema wrote:

> The fragmentation issue is different from the zero-checksum issue.  
> Many IPv4 NAT drop fragmented packets already.

That is unacceptable; fragments happen, even with TCP.

> They rely on port numbers to find the mappings, fragments don't  
> carry port numbers, so fragments get dropped.

Well the graybeards among us screwed up here, the port numbers should  
have been part of the unfragmentable headers in IPv6. (Not that that  
would have helped the problem at hand.)

From iljitsch@muada.com  Tue Aug  4 04:24:38 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E86928C333; Tue,  4 Aug 2009 04:24:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.279
X-Spam-Level: 
X-Spam-Status: No, score=-6.279 tagged_above=-999 required=5 tests=[AWL=0.320,  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 0XLpYWdYuT6c; Tue,  4 Aug 2009 04:24:37 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 0E98228C2DC; Tue,  4 Aug 2009 04:24:34 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74BO3kv041429 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 13:24:03 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Margaret Wasserman <mrw@lilacglade.org>
In-Reply-To: <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 13:24:20 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 11:24:38 -0000

On 30 jul 2009, at 18:49, Margaret Wasserman wrote:

> We need to consider what will happen if one of these packets is  
> received by a non-LISP node.  Are you assuming that non-LISP stacks  
> will simply throw away these packets, because they have zero (and  
> therefore invalid) UDP checksums?  That's only a good assumption if  
> we assume that LISP is the _only_ protocol that will allow the use  
> of zero checksums.

The logic behind the UDP header in LISP is to allow effective ECMP  
load balancing. In IPv6 you don't need a UDP header for that, because  
you can hash on the flow label rather than port numbers. So no need  
for a UDP header -> no 0 checksums with LISP over IPv6.


From iljitsch@muada.com  Tue Aug  4 04:28:27 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D10C628C360; Tue,  4 Aug 2009 04:28:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.14
X-Spam-Level: 
X-Spam-Status: No, score=-6.14 tagged_above=-999 required=5 tests=[AWL=0.159,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 ZKUcK4Zay0Wq; Tue,  4 Aug 2009 04:28:27 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id B210C28C35D; Tue,  4 Aug 2009 04:28:26 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74BS3AZ041458 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 13:28:04 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <C9B8ECC2-F03B-47E9-A0E1-3C1FC3D02E62@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: =?ISO-8859-1?Q?R=E9mi_Denis-Courmont?= <remi@remlab.net>
In-Reply-To: <33104ba34b03a973c8d9ca7d23fe1ad9@chewa.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 13:28:19 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <33104ba34b03a973c8d9ca7d23fe1ad9@chewa.net>
X-Mailer: Apple Mail (2.935.3)
Cc: Dino Farinacci <dino@cisco.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 11:28:27 -0000

On 31 jul 2009, at 9:06, R=E9mi Denis-Courmont wrote:

> Sounds like this would require a third datagram protocol number, that
> is basically UDP except the checksum would only covering the IPv6 and
> transport header. Hmmph, this is just like UDP-Lite really but it =20
> seems
> like there is opposition to overloading UDP-Lite. Then the 64-=20
> translators
> would convert it to normal UDP/IPv4... ?

UDP ultra-lite: no length, no checksum, just port numbers.=

From iljitsch@muada.com  Tue Aug  4 04:35:40 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C33093A7032 for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 04:35:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.146
X-Spam-Level: 
X-Spam-Status: No, score=-6.146 tagged_above=-999 required=5 tests=[AWL=0.153,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 Nh9s0Jp5ndJ9 for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 04:35:40 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 5B48D3A7031 for <ipv6@ietf.org>; Tue,  4 Aug 2009 04:35:40 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74BZEYB041538 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 13:35:14 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 13:35:30 +0200
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr>
X-Mailer: Apple Mail (2.935.3)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 11:35:40 -0000

On 3 aug 2009, at 17:46, R=E9mi Despr=E9s wrote:

> if in charge of of an SIIT (which I am not either), I would ensure =20
> that rather than discarding IPv4 zero-checksum datagrams it forwards =20=

> them with its zero checksum.

That's pointless, because the IPv6 spec, against which implementations =20=

have been heavily tested, reject such packets.

There is really no substitute for doing the right thing.


From iljitsch@muada.com  Tue Aug  4 04:40:15 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9585928C353; Tue,  4 Aug 2009 04:40:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.151
X-Spam-Level: 
X-Spam-Status: No, score=-6.151 tagged_above=-999 required=5 tests=[AWL=0.148,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 vdIti6cLdZIU; Tue,  4 Aug 2009 04:40:14 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 6E76928C38C; Tue,  4 Aug 2009 04:39:24 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74Bd0jZ041573 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 13:39:01 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <51D71D8B-BB6B-44AF-9B65-8F33999A666E@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: =?ISO-8859-1?Q?R=E9mi_Denis-Courmont?= <remi@remlab.net>
In-Reply-To: <200908040015.43375.remi@remlab.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 13:39:17 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <8C2160F1-2B13-40B9-AB71-398F7A48721C@sandstorm.net> <200908040015.43375.remi@remlab.net>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 11:40:15 -0000

I would be sorry to waste so much bandwidth, but it's your fault for  
coming up with these unworkable use cases:

>> So, we have two standards-compliant alternatives in IPv6 that would
>> not require you to calculate a UDP checksum on the entire payload:

>> (1) UDP-Lite:  Is there a reason why UDP-Lite isn't a reasonable
>> choice for LISP encapsulation?

As I explained before, you don't need port numbers to load balance in  
IPv6 so no need for UDP here, light or otherwise.

> You would expect 64-translators to convert UDP-Lite/IPv6 into UDP- 
> Lite/IPv4
> and back. Converting UDP-Lite/IPv6-with-8-bytes-coverage into UDP/ 
> IPv4-
> without-checksum sounds hackish :(

Then don't run LISP through an IPv4/IPv6 translator. It's not going to  
work anyway.

From remi.despres@free.fr  Tue Aug  4 06:29:36 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 78D153A699F; Tue,  4 Aug 2009 06:29:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.755
X-Spam-Level: 
X-Spam-Status: No, score=-1.755 tagged_above=-999 required=5 tests=[AWL=0.194,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 8U1GeWHQFLlW; Tue,  4 Aug 2009 06:29:35 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id 610113A6CA4; Tue,  4 Aug 2009 06:29:23 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 35EFDE080A1; Tue,  4 Aug 2009 15:27:49 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id D43A7E08056; Tue,  4 Aug 2009 15:27:46 +0200 (CEST)
In-Reply-To: <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <6C244552-B655-4947-AF1E-4022D5228846@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 15:27:42 +0200
To: Iljitsch van Beijnum <iljitsch@muada.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 13:29:36 -0000

Le 4 ao=FBt 09 =E0 13:35, Iljitsch van Beijnum a =E9crit :

> On 3 aug 2009, at 17:46, R=E9mi Despr=E9s wrote:
>
>> if in charge of of an SIIT (which I am not either), I would ensure =20=

>> that rather than discarding IPv4 zero-checksum datagrams it =20
>> forwards them with its zero checksum.
>
> That's pointless, because the IPv6 spec, against which =20
> implementations have been heavily tested, reject such packets.

You seem to have missed that the proposal includes a relaxation of =20
the constraint that zero-checksum UDP datagrams MAY be accepted by =20
hosts ion the future, just to avoid unnecessary black holes in case =20
of v4 to v6 translations.

Is progress from what is implemented today a taboo?
(I hope not.)

> There is really no substitute for doing the right thing.

Agreed.

RD


From hartmans@mit.edu  Tue Aug  4 06:09:43 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DCC683A68CE; Tue,  4 Aug 2009 06:09:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.823
X-Spam-Level: 
X-Spam-Status: No, score=-1.823 tagged_above=-999 required=5 tests=[AWL=0.443,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 C4ux2J17-0qb; Tue,  4 Aug 2009 06:09:43 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 6C33028C342; Tue,  4 Aug 2009 06:08:40 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 6C06A51C3; Tue,  4 Aug 2009 09:08:32 -0400 (EDT)
To: Marshall Eubanks <tme@americafree.tv>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Tue, 04 Aug 2009 09:08:32 -0400
In-Reply-To: <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> (Marshall Eubanks's message of "Sun\, 2 Aug 2009 18\:31\:08 -0400")
Message-ID: <tslzlafn2un.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailman-Approved-At: Tue, 04 Aug 2009 06:56:39 -0700
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 13:09:44 -0000

>>>>> "Marshall" == Marshall Eubanks <tme@americafree.tv> writes:

    Marshall> Dear Brian;
    Marshall> On Aug 2, 2009, at 6:15 PM, Brian E Carpenter wrote:

> Lars,
    >> 
    >> It seems to me that it would not violate the spirit of RFC2460
    >> if we added a rule that stacks MUST follow the RFC2460 rule by
    >> default but MAY deviate from it for duly configured tunnel end
    >> points in routers (where "router" is strictly as defined in
    >> section 2 of 2460 and the Note in that section). That would
    >> fully preserve the requirement as far as hosts and applications
    >> go.
    >> 

This was exactly the intention of

    Marshall> http://tools.ietf.org/html/draft-eubanks-chimento-6man-00

    Marshall> We intend to rev this shortly and comments would be
    Marshall> appreciated.

Margaret brought up a set of questions for LISP if it's going to send
0 UDP checksums, basically surrounding what happens when a packet on
such a tunnel is corrupted and gets received by a node that either
does or does not understand the tunneling protocol.  One of these
questions hinged on the expected behavior of receivers seeing a 0 UDP
checksum.


I suggest that your draft

1) Indicate whether receivers should be specially configured to accept
0 checsums or whether all stacks should accept 0 checksums.

2) Adapt her questions as questions that IETF specs considering this
exception need to answer to make sure that their protocol will work
correctly in this mode.

--Sam

From shane@castlepoint.net  Tue Aug  4 07:24:51 2009
Return-Path: <shane@castlepoint.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A1E463A6B93; Tue,  4 Aug 2009 07:24:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.863
X-Spam-Level: 
X-Spam-Status: No, score=-0.863 tagged_above=-999 required=5 tests=[AWL=1.736,  BAYES_00=-2.599]
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 pp-wTtSbqpNH; Tue,  4 Aug 2009 07:24:50 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by core3.amsl.com (Postfix) with ESMTP id 98A3D3A6BCF; Tue,  4 Aug 2009 07:24:49 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id D1D0A2684EC; Tue,  4 Aug 2009 08:24:49 -0600 (MDT)
Received: from host2.tcb.net (64.78.235.218 [64.78.235.218]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Tue, 04 Aug 2009 08:24:49 -0600 (MDT) (envelope-from shane@castlepoint.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=64.78.235.218; client-port=58246; data-bytes=0
Message-Id: <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>
From: Shane Amante <shane@castlepoint.net>
To: Iljitsch van Beijnum <iljitsch@muada.com>
In-Reply-To: <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 08:24:48 -0600
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 14:24:51 -0000

Iljitsch,

On Aug 4, 2009, at 05:24 MDT, Iljitsch van Beijnum wrote:
> On 30 jul 2009, at 18:49, Margaret Wasserman wrote:
>
>> We need to consider what will happen if one of these packets is  
>> received by a non-LISP node.  Are you assuming that non-LISP stacks  
>> will simply throw away these packets, because they have zero (and  
>> therefore invalid) UDP checksums?  That's only a good assumption if  
>> we assume that LISP is the _only_ protocol that will allow the use  
>> of zero checksums.
>
> The logic behind the UDP header in LISP is to allow effective ECMP  
> load balancing. In IPv6 you don't need a UDP header for that,  
> because you can hash on the flow label rather than port numbers. So  
> no need for a UDP header -> no 0 checksums with LISP over IPv6.

The above assumes that a host actually imposes a flow-label on  
outgoing IPv6 packets.  My understanding is that the flow-label isn't  
widely (if at all?) implemented, by default, in hosts; however, I  
would welcome corrections in my understanding with a list of host  
implementations that have the flow-label enabled by default.

Second, I'll check around some more, but with respect to most routers  
I'm familiar with (particularly, MPLS LSR's that will be carrying IPv6  
over MPLS inside a SP's ASN), they *also* don't use the IPv6 flow- 
label as an input key to calculate a hash to determine the outgoing  
component-link.  However, they *do* currently use the Source and  
Destination Ports of the Transport Layer protocol as input keys to  
calculate a hash-key to determine the outgoing component-link/path.   
Since I don't work at these router vendors I can't explain the  
rationale for not using the flow-label as an input key to an ECMP or  
LAG load-balancing hash; however, I would suspect that if the flow- 
label isn't well-defined nor is it widely implemented in hosts, then  
it makes no sense for router vendors to try to include it in their  
hash-algorithms for ECMP/LAG load-balancing.

So, in summary, I support UDP/IPvX encapsulation for LISP, (and other  
similar protocols that may appear as "macro-flows" in the core of a  
network), as it's the only well-known method, available today, for  
achieving load-balancing across ECMP or LAG paths that are widely  
deployed in today's networks and will continue to exist forever, (even  
with 100GE "just around the corner").

-shane



> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------


From tme@americafree.tv  Tue Aug  4 07:30:14 2009
Return-Path: <tme@americafree.tv>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 628283A6ABD; Tue,  4 Aug 2009 07:30:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level: 
X-Spam-Status: No, score=-2.547 tagged_above=-999 required=5 tests=[AWL=0.052,  BAYES_00=-2.599]
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 YuHVD1OUgi4X; Tue,  4 Aug 2009 07:30:13 -0700 (PDT)
Received: from mail.americafree.tv (rossini.americafree.tv [63.105.122.34]) by core3.amsl.com (Postfix) with ESMTP id 5662C28C303; Tue,  4 Aug 2009 07:30:13 -0700 (PDT)
Received: from [IPv6:::1] (rossini.americafree.tv [63.105.122.34]) by mail.americafree.tv (Postfix) with ESMTP id EC0F94669D88; Tue,  4 Aug 2009 10:30:11 -0400 (EDT)
Message-Id: <DB7AE657-09FE-4E62-961E-0BE6D087C270@americafree.tv>
From: Marshall Eubanks <tme@americafree.tv>
To: Sam Hartman <hartmans-ietf@mit.edu>
In-Reply-To: <tslzlafn2un.fsf@mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 10:30:11 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: "Philip F. Chimento" <Philip.Chimento@jhuapl.edu>, 6man 6man <ipv6@ietf.org>, Brian Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 14:30:14 -0000

On Aug 4, 2009, at 9:08 AM, Sam Hartman wrote:

>>>>>> "Marshall" == Marshall Eubanks <tme@americafree.tv> writes:
>
>    Marshall> Dear Brian;
>    Marshall> On Aug 2, 2009, at 6:15 PM, Brian E Carpenter wrote:
>
>> Lars,
>>>
>>> It seems to me that it would not violate the spirit of RFC2460
>>> if we added a rule that stacks MUST follow the RFC2460 rule by
>>> default but MAY deviate from it for duly configured tunnel end
>>> points in routers (where "router" is strictly as defined in
>>> section 2 of 2460 and the Note in that section). That would
>>> fully preserve the requirement as far as hosts and applications
>>> go.
>>>
>
> This was exactly the intention of
>
>    Marshall> http://tools.ietf.org/html/draft-eubanks-chimento-6man-00
>
>    Marshall> We intend to rev this shortly and comments would be
>    Marshall> appreciated.
>
> Margaret brought up a set of questions for LISP if it's going to send
> 0 UDP checksums, basically surrounding what happens when a packet on
> such a tunnel is corrupted and gets received by a node that either
> does or does not understand the tunneling protocol.  One of these
> questions hinged on the expected behavior of receivers seeing a 0 UDP
> checksum.
>
>
> I suggest that your draft
>
> 1) Indicate whether receivers should be specially configured to accept
> 0 checsums or whether all stacks should accept 0 checksums.
>

I personally think that receivers SHOULD require special configuration  
to
accept UDP 0 checksums. Receivers that are acting as tunnel end points  
are
likely to require special optimizations anyway.

> 2) Adapt her questions as questions that IETF specs considering this
> exception need to answer to make sure that their protocol will work
> correctly in this mode.
>

OK, thanks, will look at this.

Marshall

> --Sam
>


From lars.eggert@nokia.com  Tue Aug  4 07:31:22 2009
Return-Path: <lars.eggert@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 895A328C334 for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 07:31:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.83
X-Spam-Level: 
X-Spam-Status: No, score=-1.83 tagged_above=-999 required=5 tests=[AWL=-0.150,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_SORBS_WEB=0.619]
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 2iW1oSFjmqyL for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 07:31:22 -0700 (PDT)
Received: from mail.fit.nokia.com (mail.fit.nokia.com [195.148.124.195]) by core3.amsl.com (Postfix) with ESMTP id 2F5B328C34B for <ipv6@ietf.org>; Tue,  4 Aug 2009 07:31:19 -0700 (PDT)
Received: from [10.180.41.51] ([192.100.124.156]) (authenticated bits=0) by mail.fit.nokia.com (8.14.3/8.14.3) with ESMTP id n74EUjAW057443 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 4 Aug 2009 17:30:45 +0300 (EEST) (envelope-from lars.eggert@nokia.com)
Message-Id: <FECD49F1-76AC-4566-AA40-41AB79DE4D71@nokia.com>
From: Lars Eggert <lars.eggert@nokia.com>
To: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <6C244552-B655-4947-AF1E-4022D5228846@free.fr>
Content-Type: multipart/signed; boundary=Apple-Mail-20-506095468; micalg=sha1; protocol="application/pkcs7-signature"
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 17:30:34 +0300
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr>
X-Mailer: Apple Mail (2.935.3)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.2 (mail.fit.nokia.com [195.148.124.194]); Tue, 04 Aug 2009 17:30:46 +0300 (EEST)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Iljitsch van Beijnum <iljitsch@muada.com>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 14:31:22 -0000

--Apple-Mail-20-506095468
Content-Type: text/plain;
	charset=ISO-8859-1;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

Hi,

On 2009-8-4, at 16:27, R=E9mi Despr=E9s wrote:
> You seem to have missed that the proposal includes a relaxation of
> the constraint that zero-checksum UDP datagrams MAY be accepted by
> hosts ion the future, just to avoid unnecessary black holes in case
> of v4 to v6 translations.

isn't it a non-starter for a translation based *transition* mechanism =20=

to depend on host changes?

Lars=

--Apple-Mail-20-506095468
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGQDCCAvkw
ggJioAMCAQICEEi7WbMMKa2GLKFpQDaOBQEwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDgyMzE3NDMzOVoXDTA5MDgyMzE3NDMz
OVowXDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2Vy
dDEkMCIGCSqGSIb3DQEJARYVbGFycy5lZ2dlcnRAbm9raWEuY29tMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAlwQVktJZCY89iU6jcW1XnZQN+aMgF2utCUT3H3ZKB5Jbet1SDWt0md/W
571bHjxtn9CfEJdochNL3l9f1WiJNdVbJ182557Ltx9SojqthpqtA0jKEqo2gqrf+raUj1demmo0
6ocsLqv046CrwidOp6k0RAfvkKPLhD4PD9Nk3oaZuxqBz1wY4u8Q83iWMArDeXiQxfNZnOBz5cDs
VvVjTjitm3VANkbD02tNkwl5AHw7htde4yH8hIwlfzqsAtHBEah3HyOvs9b+gHg2pFz9eS+HuotY
ZKycCweRs8NKXoCg+zAkVYi3zvZEH2VOuPlpMQMrB9+fLWg2UBsTeZ864wIDAQABozIwMDAgBgNV
HREEGTAXgRVsYXJzLmVnZ2VydEBub2tpYS5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUF
AAOBgQBMdV2U+ryV5t3nuBFH19XKflodN6Bc60GBYHHY/Z0+Cl08Q75qzTt02IILBg+/YVh/fygb
6pFrOm1sFtLN7fENBfbO2VtpFjP2lGUgbXTVT5xGM6+MtqZiBI6LqexAeY6gsd/taoUfy9fZG42d
ciBA9gSGlQjjWQyG8mb5HR8L9jCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJ
BgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMg
RGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3
DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3
MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5
KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzAN
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9
fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+
uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMB
Af8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3
dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgG
A1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNmrGcP
f6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH
2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8x
ggMQMIIDDAIBATB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo
UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQ
SLtZswwprYYsoWlANo4FATAJBgUrDgMCGgUAoIIBbzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB
MBwGCSqGSIb3DQEJBTEPFw0wOTA4MDQxNDMwMzVaMCMGCSqGSIb3DQEJBDEWBBS0uMgTtYYFiBuh
lIew7jKYbqg4rzCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEwgYcGCyqGSIb3DQEJEAILMXigdjBiMQsw
CQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEw
DQYJKoZIhvcNAQEBBQAEggEAPMEeBqmNYniq2qv3xd+olpYOUoqPKH5Mi9Dn+rDVZmMIEVaOo3rW
43/7KA1BpdozF1M2CJAp4xtpp0e3ppNNhsi5YdCEsk+CytGHaloUR4uGXVzZ9sJ0RyjrXZPE5k7R
xK6sHrCtImJL2f6K9HZkspsuly5rfyTIwEnl+vQmrOi4FMPdmWwueRGdaLICwGTiz659ryT6BF3T
WBNTry8zu5ZDxCzu57vpkGtPLPMYUBaOUzS17Y8sscVipFddGl9NWNm7Mgy249uQOU0S/HNTHMdt
/w41TJqP7W8yJPnOiaWQMlt7w1Hr+R58KYT3vHAzV6l/g0gtvYh/ys1Vm2vWEAAAAAAAAA==

--Apple-Mail-20-506095468--

From remi.despres@free.fr  Tue Aug  4 07:49:36 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6D9133A7049; Tue,  4 Aug 2009 07:49:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.777
X-Spam-Level: 
X-Spam-Status: No, score=-1.777 tagged_above=-999 required=5 tests=[AWL=0.172,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 QfuuwMhoBl3J; Tue,  4 Aug 2009 07:49:35 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id D574A3A6BA8; Tue,  4 Aug 2009 07:49:33 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id F1413E080E6; Tue,  4 Aug 2009 16:49:29 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 98AC6E0809D; Tue,  4 Aug 2009 16:49:26 +0200 (CEST)
In-Reply-To: <FECD49F1-76AC-4566-AA40-41AB79DE4D71@nokia.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr> <FECD49F1-76AC-4566-AA40-41AB79DE4D71@nokia.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <030FFF85-B4A7-4AB3-AE56-C2B27A5BF5F8@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 16:49:25 +0200
To: Lars Eggert <lars.eggert@nokia.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Iljitsch van Beijnum <iljitsch@muada.com>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 14:49:36 -0000

Le 4 ao=FBt 09 =E0 16:30, Lars Eggert a =E9crit :

> Hi,
>
> On 2009-8-4, at 16:27, R=E9mi Despr=E9s wrote:
>> You seem to have missed that the proposal includes a relaxation of
>> the constraint that zero-checksum UDP datagrams MAY be accepted by
>> hosts ion the future, just to avoid unnecessary black holes in case
>> of v4 to v6 translations.
>
> isn't it a non-starter for a translation based *transition* =20
> mechanism to depend on host changes?

I don't think so, because it's never too late do do some good without =20=

doing any harm.

IMHO, translators SHOULD forward zero-checksum datagrams RATHER THAN =20
dropping them. No harm expected.
Avoiding to drop them by computing payload checksums is another =20
possible behavior, at least for single fragment datagrams. But it =20
implies to compute payload checksums, which may be considered too =20
expensive and opening a door to DOS attacks.

IMHO also, hosts, at their next patch release, SHOULD silently accept =20=

zero-checksum IPv6 datagrams RATHER THAN silently dropping them. No =20
harm expected.

By doing this, connectivity during the transition period will =20
eventually be improved, possibly before translators are largely =20
deployed.
Some people say this transition period is bound to be long. Who knows?

Regards,
RD=

From iljitsch@muada.com  Tue Aug  4 07:52:46 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4696C3A706A; Tue,  4 Aug 2009 07:52:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.311
X-Spam-Level: 
X-Spam-Status: No, score=-6.311 tagged_above=-999 required=5 tests=[AWL=0.288,  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 qo407i1JR+Fc; Tue,  4 Aug 2009 07:52:45 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 371F83A6BCF; Tue,  4 Aug 2009 07:52:42 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74Eq2px042948 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 16:52:02 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Shane Amante <shane@castlepoint.net>
In-Reply-To: <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 16:52:19 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 14:52:46 -0000

On 4 aug 2009, at 16:24, Shane Amante wrote:

> The above assumes that a host actually imposes a flow-label on  
> outgoing IPv6 packets.

It does not, it only requires the encapsulation boxes to do this.  
Since these don't exist yet, it's trivial to specify that they do this.

I am unfortunately IPv6-less as of late, with first the university and  
then my ISP stopping their IPv6 service. As such I can't do a quick  
tcpdump to see how many sessions have a non-zero flow label. But I  
remember it's the vast majority. What I don't know is the behavior of  
the different operating systems, I'm mainly familiar with MacOS and  
FreeBSD, not sure what Linux and Windows do.

> Second, I'll check around some more, but with respect to most  
> routers I'm familiar with (particularly, MPLS LSR's that will be  
> carrying IPv6 over MPLS inside a SP's ASN), they *also* don't use  
> the IPv6 flow-label as an input key to calculate a hash to determine  
> the outgoing component-link.

Why not?

> I would suspect that if the flow-label isn't well-defined nor is it  
> widely implemented in hosts, then it makes no sense for router  
> vendors to try to include it in their hash-algorithms for ECMP/LAG  
> load-balancing.

The obvious solution in this case would be to use the flow label if  
available, and (either if the flow label isn't available or always)  
use the ports if those are available. That only leaves the situation  
where there is neither a flow label nor ports.

> So, in summary, I support UDP/IPvX encapsulation for LISP

It's still the wrong decision.

From mrw@sandstorm.net  Tue Aug  4 07:54:46 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F3CD63A7022; Tue,  4 Aug 2009 07:54:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.975
X-Spam-Level: 
X-Spam-Status: No, score=-1.975 tagged_above=-999 required=5 tests=[AWL=0.290,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 kdjNW+HSiNw4; Tue,  4 Aug 2009 07:54:45 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id A79B53A7082; Tue,  4 Aug 2009 07:54:17 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n74EsGMC081491 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 10:54:16 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <2DFFB758-97AA-4F1E-A10B-F520D973BD61@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <66F0C005-04F8-4F4F-9D79-28BF6229BDF1@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 10:54:15 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A8273ACA-64CE-43B4-BBBA-3A94DC5AE071@sandstorm.net> <66F0C005-04F8-4F4F-9D79-28BF6229BDF1@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 14:54:46 -0000

Hi Dino.
>
>> We also need to consider the possibility that a packet will be  
>> received by a different LISP node than the one for which it was  
>> intended, or that it will arrive at the correct LISP destination  
>> with the wrong source address in the external header.  What happens  
>> in those cases?
>
> This doesn't happen since the outer IP header is checksum.

Not if the outer header is IPv6, as the IPv6 header does not include a  
header checksum.  This is why it is more important in IPv6 for the UDP  
header to have a checksum that includes the IP pseudo header checksum.

If you have been missing this point, it is no wonder that you did not  
understand my concerns about simply setting the UDP checksum to zero.

Margaret


From mohacsi@niif.hu  Tue Aug  4 07:55:54 2009
Return-Path: <mohacsi@niif.hu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A0AC73A7075; Tue,  4 Aug 2009 07:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.149
X-Spam-Level: 
X-Spam-Status: No, score=-2.149 tagged_above=-999 required=5 tests=[AWL=-0.450, BAYES_00=-2.599, J_CHICKENPOX_21=0.6, MIME_8BIT_HEADER=0.3]
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 rfcHGIl1MaFC; Tue,  4 Aug 2009 07:55:54 -0700 (PDT)
Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241]) by core3.amsl.com (Postfix) with ESMTP id BAA5B3A707D; Tue,  4 Aug 2009 07:55:53 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mail.ki.iif.hu (Postfix) with ESMTP id E69DC85196; Tue,  4 Aug 2009 16:55:53 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at mignon.ki.iif.hu
Received: from mail.ki.iif.hu ([127.0.0.1]) by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TLAqry3xlPWG; Tue,  4 Aug 2009 16:55:51 +0200 (CEST)
Received: by mail.ki.iif.hu (Postfix, from userid 9002) id 762EE85187; Tue,  4 Aug 2009 16:55:51 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by mail.ki.iif.hu (Postfix) with ESMTP id 73E8B85155; Tue,  4 Aug 2009 16:55:51 +0200 (CEST)
Date: Tue, 4 Aug 2009 16:55:51 +0200 (CEST)
From: Mohacsi Janos <mohacsi@niif.hu>
X-X-Sender: mohacsi@mignon.ki.iif.hu
To: =?ISO-8859-15?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
In-Reply-To: <6C244552-B655-4947-AF1E-4022D5228846@free.fr>
Message-ID: <alpine.BSF.2.00.0908041647030.79765@mignon.ki.iif.hu>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com> <m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="0-1838075961-1249397751=:79765"
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Iljitsch van Beijnum <iljitsch@muada.com>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 14:55:54 -0000

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1838075961-1249397751=:79765
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT




On Tue, 4 Aug 2009, Rémi Després wrote:

>
> Le 4 ao?t 09 ? 13:35, Iljitsch van Beijnum a écrit :
>
>> On 3 aug 2009, at 17:46, Rémi Després wrote:
>> 
>>> if in charge of of an SIIT (which I am not either), I would ensure that 
>>> rather than discarding IPv4 zero-checksum datagrams it forwards them with 
>>> its zero checksum.
>> 
>> That's pointless, because the IPv6 spec, against which implementations have 
>> been heavily tested, reject such packets.
>
> You seem to have missed that the proposal includes a relaxation of the 
> constraint that zero-checksum UDP datagrams MAY be accepted by hosts ion the 
> future, just to avoid unnecessary black holes in case of v4 to v6 
> translations.
>

But the translations cannot expect acceptance of zero checksum.  So I 
think it would be better to use other options...

> Is progress from what is implemented today a taboo?
> (I hope not.)

Not taboo, but changing implementation is very painful. Have a look at 
e.g. RH0 deprecation. You cannot expect that every single IPv6 
implementation is follows RFC 5095...  Especially in the embedded 
devices...

Best Regards,
 		Janos Mohacsi

--0-1838075961-1249397751=:79765--

From mrw@sandstorm.net  Tue Aug  4 08:00:43 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 069A43A70A1; Tue,  4 Aug 2009 08:00:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.048
X-Spam-Level: 
X-Spam-Status: No, score=-2.048 tagged_above=-999 required=5 tests=[AWL=0.218,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 a6gH0AgOzjDg; Tue,  4 Aug 2009 08:00:42 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id C6B7728C395; Tue,  4 Aug 2009 07:58:47 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n74EwPxP081750 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 10:58:26 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <B6589B3E-EC32-4579-A0A0-EDC818C88046@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <54F0639D-A1EF-420B-9B14-EEC1CE77B212@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 10:58:25 -0400
References: <20090730202239.CE4016BE597@mercury.lcs.mit.edu> <193AB49B-E857-4C8F-A091-A329CFC74625@nokia.com> <54F0639D-A1EF-420B-9B14-EEC1CE77B212@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 15:00:43 -0000

On Jul 30, 2009, at 6:33 PM, Dino Farinacci wrote:
>
>> What I'm saying is that *if* UDP us used, it needs to be used  
>> according to the RFCs that capture the IETF consensus on their use,  
>> or the IETF consensus must be revised.
>
> And what we are are saying is to be practical (and sensible).

Well, what *I* am saying is that UDP-Lite was designed to offer a  
practical and sensible alternative for exactly these situations.  Why  
won't it work for LISP?

Margaret

From mohacsi@niif.hu  Tue Aug  4 08:00:47 2009
Return-Path: <mohacsi@niif.hu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6AF4128C3A2; Tue,  4 Aug 2009 08:00:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.093
X-Spam-Level: 
X-Spam-Status: No, score=-2.093 tagged_above=-999 required=5 tests=[AWL=-0.394, BAYES_00=-2.599, J_CHICKENPOX_21=0.6, MIME_8BIT_HEADER=0.3]
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 LsKI+csIotZN; Tue,  4 Aug 2009 08:00:46 -0700 (PDT)
Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241]) by core3.amsl.com (Postfix) with ESMTP id B02E728C3C9; Tue,  4 Aug 2009 07:59:55 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mail.ki.iif.hu (Postfix) with ESMTP id 903FF851C0; Tue,  4 Aug 2009 16:59:56 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at mignon.ki.iif.hu
Received: from mail.ki.iif.hu ([127.0.0.1]) by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cidQEAZuLewS; Tue,  4 Aug 2009 16:59:54 +0200 (CEST)
Received: by mail.ki.iif.hu (Postfix, from userid 9002) id 01588851D5; Tue,  4 Aug 2009 16:59:54 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by mail.ki.iif.hu (Postfix) with ESMTP id F30DD85196; Tue,  4 Aug 2009 16:59:53 +0200 (CEST)
Date: Tue, 4 Aug 2009 16:59:53 +0200 (CEST)
From: Mohacsi Janos <mohacsi@niif.hu>
X-X-Sender: mohacsi@mignon.ki.iif.hu
To: =?ISO-8859-15?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
In-Reply-To: <030FFF85-B4A7-4AB3-AE56-C2B27A5BF5F8@free.fr>
Message-ID: <alpine.BSF.2.00.0908041657060.79765@mignon.ki.iif.hu>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com> <m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr> <FECD49F1-76AC-4566-AA40-41AB79DE4D71@nokia.com> <030FFF85-B4A7-4AB3-AE56-C2B27A5BF5F8@free.fr>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="0-1532461916-1249397993=:79765"
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Iljitsch van Beijnum <iljitsch@muada.com>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 15:00:47 -0000

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1532461916-1249397993=:79765
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT




On Tue, 4 Aug 2009, Rémi Després wrote:

>
> Le 4 ao?t 09 ? 16:30, Lars Eggert a écrit :
>
>> Hi,
>> 
>> On 2009-8-4, at 16:27, Rémi Després wrote:
>>> You seem to have missed that the proposal includes a relaxation of
>>> the constraint that zero-checksum UDP datagrams MAY be accepted by
>>> hosts ion the future, just to avoid unnecessary black holes in case
>>> of v4 to v6 translations.
>> 
>> isn't it a non-starter for a translation based *transition* mechanism to 
>> depend on host changes?
>
> I don't think so, because it's never too late do do some good without doing 
> any harm.
>
> IMHO, translators SHOULD forward zero-checksum datagrams RATHER THAN dropping 
> them. No harm expected.
> Avoiding to drop them by computing payload checksums is another possible 
> behavior, at least for single fragment datagrams. But it implies to compute 
> payload checksums, which may be considered too expensive and opening a door 
> to DOS attacks.
>
> IMHO also, hosts, at their next patch release, SHOULD silently accept 
> zero-checksum IPv6 datagrams RATHER THAN silently dropping them. No harm 
> expected.

In your previous mail your state MAY instead of SHOULD. Or you are 
proposing submitting a draft? :
"Acceptance of zero checksum IPv6-UDP headers at end-host"

Best Regards,
 		Janos Mohacsi
--0-1532461916-1249397993=:79765--

From remi.despres@free.fr  Tue Aug  4 08:29:38 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA5D628C405; Tue,  4 Aug 2009 08:29:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.494
X-Spam-Level: 
X-Spam-Status: No, score=-1.494 tagged_above=-999 required=5 tests=[AWL=-0.145, BAYES_00=-2.599, HELO_EQ_FR=0.35, J_CHICKENPOX_21=0.6, MIME_8BIT_HEADER=0.3]
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 Sg4mySYxjX2O; Tue,  4 Aug 2009 08:29:38 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id B1DB028C40D; Tue,  4 Aug 2009 08:28:58 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id ECC6BE08160; Tue,  4 Aug 2009 17:28:38 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id AE92EE08148; Tue,  4 Aug 2009 17:28:35 +0200 (CEST)
In-Reply-To: <alpine.BSF.2.00.0908041647030.79765@mignon.ki.iif.hu>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com> <m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr> <alpine.BSF.2.00.0908041647030.79765@mignon.ki.iif.hu>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <B76F1ED9-D0AF-4F75-9447-29F22695746A@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 17:28:34 +0200
To: Mohacsi Janos <mohacsi@niif.hu>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Iljitsch van Beijnum <iljitsch@muada.com>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 15:29:38 -0000

Le 4 ao=FBt 09 =E0 16:55, Mohacsi Janos a =E9crit :

>
>
>
> On Tue, 4 Aug 2009, R=E9mi Despr=E9s wrote:
>
>>
>> Le 4 ao?t 09 ? 13:35, Iljitsch van Beijnum a =E9crit :
>>
>>> On 3 aug 2009, at 17:46, R=E9mi Despr=E9s wrote:
>>>> if in charge of of an SIIT (which I am not either), I would =20
>>>> ensure that rather than discarding IPv4 zero-checksum datagrams =20
>>>> it forwards them with its zero checksum.
>>> That's pointless, because the IPv6 spec, against which =20
>>> implementations have been heavily tested, reject such packets.
>>
>> You seem to have missed that the proposal includes a relaxation of =20=

>> the constraint that zero-checksum UDP datagrams MAY be accepted by =20=

>> hosts ion the future, just to avoid unnecessary black holes in =20
>> case of v4 to v6 translations.
>>
>
> But the translations cannot expect acceptance of zero checksum.  So =20=

> I think it would be better to use other options...

YES, translators cannot expect that all hosts accept them.
But they can expect that at least some host will take advantage of it =20=

once upgraded to accept them.

The point is what else do you prefer:
- Always dropping?
- Always computing payload checksums? (Not realistic in practice for =20
multi-segment datagrams)

>> Is progress from what is implemented today a taboo?
>> (I hope not.)
>
> Not taboo, but changing implementation is very painful.

It depends on the modification.
Here it is just that hosts delete the current test that the received =20
IPv6 UDP checksums are zero in order to drop them. A trivial patch.
The following sentence of RFC 2460 was clearly not written with the =20
v4 to v6 translation in mind, and could advantageously be deprecated: =20=

"IPv6 receivers must discard UDP packets containing a zero checksum, =20
and should log the error."


> Have a look at e.g. RH0 deprecation.
See previous comment.


> You cannot expect that every single IPv6 implementation is follows =20
> RFC 5095...  Especially in the embedded devices...

There is no need to expect all hosts to accept IPv6 zero-checksums =20
for others to benefit from it.

Regards,
RD


From Remi.Denis-Courmont@nokia.com  Tue Aug  4 08:01:32 2009
Return-Path: <Remi.Denis-Courmont@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 775323A6BCF; Tue,  4 Aug 2009 08:01:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.208
X-Spam-Level: 
X-Spam-Status: No, score=-6.208 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 FSPNLUwp1LQE; Tue,  4 Aug 2009 08:01:31 -0700 (PDT)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id 37C483A6A3E; Tue,  4 Aug 2009 08:01:30 -0700 (PDT)
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n74F189g003963; Tue, 4 Aug 2009 18:01:14 +0300
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 4 Aug 2009 18:00:37 +0300
Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 4 Aug 2009 18:00:36 +0300
Received: from leon.remlab.net (esdhcp035210.research.nokia.com [172.21.35.210]) by mgw-da01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n74F0Vbb019776; Tue, 4 Aug 2009 18:00:31 +0300
From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" <remi.denis-courmont@nokia.com>
Organization: Maemo Devices - Nokia
To: behave@ietf.org
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 18:00:33 +0300
User-Agent: KMail/1.11.2 (Linux/2.6.29.6; KDE/4.2.2; i686; ; )
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <FECD49F1-76AC-4566-AA40-41AB79DE4D71@nokia.com> <030FFF85-B4A7-4AB3-AE56-C2B27A5BF5F8@free.fr>
In-Reply-To: <030FFF85-B4A7-4AB3-AE56-C2B27A5BF5F8@free.fr>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200908041800.33871.remi.denis-courmont@nokia.com>
X-OriginalArrivalTime: 04 Aug 2009 15:00:37.0443 (UTC) FILETIME=[534AF130:01CA1514]
X-Nokia-AV: Clean
X-Mailman-Approved-At: Tue, 04 Aug 2009 08:32:26 -0700
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 15:01:32 -0000

On Tuesday 04 August 2009 17:49:25 ext R=E9mi Despr=E9s wrote:
> Le 4 ao=FBt 09 =E0 16:30, Lars Eggert a =E9crit :
> > Hi,
> >
> > On 2009-8-4, at 16:27, R=E9mi Despr=E9s wrote:
> >> You seem to have missed that the proposal includes a relaxation of
> >> the constraint that zero-checksum UDP datagrams MAY be accepted by
> >> hosts ion the future, just to avoid unnecessary black holes in case
> >> of v4 to v6 translations.
> >
> > isn't it a non-starter for a translation based *transition*
> > mechanism to depend on host changes?
>
> I don't think so, because it's never too late do do some good without
> doing any harm.
>
> IMHO, translators SHOULD forward zero-checksum datagrams RATHER THAN
> dropping them. No harm expected.

"No harm expected"? I find that generating scary-reading false positive in =
my=20
system logs is harmful.

> IMHO also, hosts, at their next patch release, SHOULD silently accept
> zero-checksum IPv6 datagrams RATHER THAN silently dropping them. No
> harm expected.

That will cause silent software failures when running on a "too old" system=
=2E=20
Silent failures are the most harmful kind of failures to me.

> By doing this, connectivity during the transition period will
> eventually be improved, possibly before translators are largely
> deployed.

No. By doing this, people will experience odd failure modes and weird error=
=20
reports during the long transition period for IPv6 stacks to accept checksu=
m-
less packets.

Harm very much expected.

=2D-=20
R=E9mi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki


From jmh@joelhalpern.com  Tue Aug  4 08:09:54 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D07673A7076; Tue,  4 Aug 2009 08:09:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.416
X-Spam-Level: 
X-Spam-Status: No, score=-3.416 tagged_above=-999 required=5 tests=[AWL=0.183,  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 MlY2isOhU1u7; Tue,  4 Aug 2009 08:09:54 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 5E11F28C3C0; Tue,  4 Aug 2009 08:08:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 2D6DD437E4A; Tue,  4 Aug 2009 08:08:32 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 199FF4303F4; Tue,  4 Aug 2009 08:08:30 -0700 (PDT)
Message-ID: <4A784EEF.2020405@joelhalpern.com>
Date: Tue, 04 Aug 2009 11:08:31 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Iljitsch van Beijnum <iljitsch@muada.com>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>
In-Reply-To: <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 04 Aug 2009 08:32:26 -0700
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 15:09:54 -0000

It has become clear with the passage of time that the description of the 
flow label in the original IPv6 specs served only to convince everyone 
not to use that field for anything.  Even now, no one is sure what to do 
with it.

To propose that encapsulators should use this field to mark the flows 
would seem reasonable.  The problem is that since that was not done in 
the first place, as I understand it, router vendors concluded that the 
only sensible thing to do was to ignore the field, and do load balancing 
on ports just like we did on IPv4.

Saying that we should have done it differently requires that the vendors 
be accurate fortune tellers, able to realize that the fields was going 
to turn out to be useful, and able to guess what usage they could safely 
make that would correctly match an eventual usage :-)

And given the deployment assumptions, if we hope for LISP to be usable 
over IPv6, it can not depend for correct operation ona router feature 
that is not yet being delivered.

(I will happily eat crow and apologize if it turns out routers already 
do what Iljitsch is asking for.)

Yours,
Joel


Iljitsch van Beijnum wrote:
> On 4 aug 2009, at 16:24, Shane Amante wrote:
> 
>> The above assumes that a host actually imposes a flow-label on 
>> outgoing IPv6 packets.
> 
> It does not, it only requires the encapsulation boxes to do this. Since 
> these don't exist yet, it's trivial to specify that they do this.
> 
> I am unfortunately IPv6-less as of late, with first the university and 
> then my ISP stopping their IPv6 service. As such I can't do a quick 
> tcpdump to see how many sessions have a non-zero flow label. But I 
> remember it's the vast majority. What I don't know is the behavior of 
> the different operating systems, I'm mainly familiar with MacOS and 
> FreeBSD, not sure what Linux and Windows do.
> 
>> Second, I'll check around some more, but with respect to most routers 
>> I'm familiar with (particularly, MPLS LSR's that will be carrying IPv6 
>> over MPLS inside a SP's ASN), they *also* don't use the IPv6 
>> flow-label as an input key to calculate a hash to determine the 
>> outgoing component-link.
> 
> Why not?
> 
>> I would suspect that if the flow-label isn't well-defined nor is it 
>> widely implemented in hosts, then it makes no sense for router vendors 
>> to try to include it in their hash-algorithms for ECMP/LAG 
>> load-balancing.
> 
> The obvious solution in this case would be to use the flow label if 
> available, and (either if the flow label isn't available or always) use 
> the ports if those are available. That only leaves the situation where 
> there is neither a flow label nor ports.
> 
>> So, in summary, I support UDP/IPvX encapsulation for LISP
> 
> It's still the wrong decision.
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp
> 

From remi.despres@free.fr  Tue Aug  4 08:37:23 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B66928C44C; Tue,  4 Aug 2009 08:37:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.481
X-Spam-Level: 
X-Spam-Status: No, score=-1.481 tagged_above=-999 required=5 tests=[AWL=-0.132, BAYES_00=-2.599, HELO_EQ_FR=0.35, J_CHICKENPOX_21=0.6, MIME_8BIT_HEADER=0.3]
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 wVNjWoHaqxV3; Tue,  4 Aug 2009 08:37:22 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id E569828C45B; Tue,  4 Aug 2009 08:34:31 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 22271E080F5; Tue,  4 Aug 2009 17:34:13 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 6173DE0812C; Tue,  4 Aug 2009 17:34:09 +0200 (CEST)
In-Reply-To: <alpine.BSF.2.00.0908041657060.79765@mignon.ki.iif.hu>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com> <m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr> <FECD49F1-76AC-4566-AA40-41AB79DE4D71@nokia.com> <030FFF85-B4A7-4AB3-AE56-C2B27A5BF5F8@free.fr> <alpine.BSF.2.00.0908041657060.79765@mignon.ki.iif.hu>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <697B11B8-082D-4B46-B499-66CC04CF7E67@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 17:34:08 +0200
To: Mohacsi Janos <mohacsi@niif.hu>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Iljitsch van Beijnum <iljitsch@muada.com>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 15:37:23 -0000

Le 4 ao=FBt 09 =E0 16:59, Mohacsi Janos a =E9crit :

>
>
>
> On Tue, 4 Aug 2009, R=E9mi Despr=E9s wrote:
>
>>
>> Le 4 ao?t 09 ? 16:30, Lars Eggert a =E9crit :
>>
>>> Hi,
>>> On 2009-8-4, at 16:27, R=E9mi Despr=E9s wrote:
>>>> You seem to have missed that the proposal includes a relaxation of
>>>> the constraint that zero-checksum UDP datagrams MAY be accepted by
>>>> hosts ion the future, just to avoid unnecessary black holes in case
>>>> of v4 to v6 translations.
>>> isn't it a non-starter for a translation based *transition* =20
>>> mechanism to depend on host changes?
>>
>> I don't think so, because it's never too late do do some good =20
>> without doing any harm.
>>
>> IMHO, translators SHOULD forward zero-checksum datagrams RATHER =20
>> THAN dropping them. No harm expected.
>> Avoiding to drop them by computing payload checksums is another =20
>> possible behavior, at least for single fragment datagrams. But it =20
>> implies to compute payload checksums, which may be considered too =20
>> expensive and opening a door to DOS attacks.
>>
>> IMHO also, hosts, at their next patch release, SHOULD silently =20
>> accept zero-checksum IPv6 datagrams RATHER THAN silently dropping =20
>> them. No harm expected.
>
> In your previous mail your state MAY instead of SHOULD.

True, but here this is a SHOULD "RATHER THAN drop"

> Or you are proposing submitting a draft? :
> "Acceptance of zero checksum IPv6-UDP headers at end-host"

No plan to do this as long as the discussion shows it will be flatly =20
rejected.
(So far I received only  doubts, objections and criticisms, but not =20
any support.)

Regards,
RD


From iljitsch@muada.com  Tue Aug  4 08:46:42 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 797DE28C3C0; Tue,  4 Aug 2009 08:46:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.32
X-Spam-Level: 
X-Spam-Status: No, score=-6.32 tagged_above=-999 required=5 tests=[AWL=0.279,  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 Av-Mia8bQkvC; Tue,  4 Aug 2009 08:46:41 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 8756828C3AA; Tue,  4 Aug 2009 08:46:41 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74FkCrw043560 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 17:46:13 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <088E2F9F-7527-4577-AB18-B1505DB49205@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A784EEF.2020405@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 17:46:29 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 15:46:42 -0000

On 4 aug 2009, at 17:08, Joel M. Halpern wrote:

> And given the deployment assumptions, if we hope for LISP to be  
> usable over IPv6, it can not depend for correct operation ona router  
> feature that is not yet being delivered.

I am really starting to lose my patience here!!!

Even IF existing implementations don't put any value in the flow  
label, the LISP spec can specify that this MUST be done for LISP and  
then there will be flow labels in all LISP packets.

Obviously it will take some time for the router implementations to  
start hashing on the flow label, but then again, it will also take  
some time for the traffic from a single ITR to a single ETR (or the  
other way around, whatever) to need more than 1 Gbps so the load  
balancing issue becomes more than academic.

Come on, people! If we can't even get stuff right in fairly green  
fields, how can we expect to get ANYTHING right EVER??

From hartmans@mit.edu  Tue Aug  4 09:47:33 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E2BF53A6A2E; Tue,  4 Aug 2009 09:47:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.176
X-Spam-Level: 
X-Spam-Status: No, score=-2.176 tagged_above=-999 required=5 tests=[AWL=0.089,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 uGCU-yqdNlDD; Tue,  4 Aug 2009 09:47:33 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 3120F3A69A8; Tue,  4 Aug 2009 09:47:33 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id E90C051C3; Tue,  4 Aug 2009 12:47:09 -0400 (EDT)
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Tue, 04 Aug 2009 12:47:09 -0400
In-Reply-To: <4A784EEF.2020405@joelhalpern.com> (Joel M. Halpern's message of "Tue\, 04 Aug 2009 11\:08\:31 -0400")
Message-ID: <tsld47bjzle.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailman-Approved-At: Tue, 04 Aug 2009 09:50:15 -0700
Cc: Iljitsch van Beijnum <iljitsch@muada.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 16:47:34 -0000

>>>>> "Joel" == Joel M Halpern <jmh@joelhalpern.com> writes:

    Joel> It has become clear with the passage of time that the
    Joel> description of the flow label in the original IPv6 specs
    Joel> served only to convince everyone not to use that field for
    Joel> anything.  Even now, no one is sure what to do with it.

    Joel> To propose that encapsulators should use this field to mark
    Joel> the flows would seem reasonable.  The problem is that since
    Joel> that was not done in the first place, as I understand it,
    Joel> router vendors concluded that the only sensible thing to do
    Joel> was to ignore the field, and do load balancing on ports just
    Joel> like we did on IPv4.


IPV6 deployment is fairly low.  It seems likely that most of the
equipment that will be used to forward IPV6 traffic has not yet been
built, and that while we definitely need to work with today's
equipment, I think it is safe to say that 10, 15, 20 years from now,
the things we optimize for will be different.  so, if we find new best
practices for encapsulators today, we should write them down, try them
out and build consensus.

That way, 3-4 years from now we may be in a position to recommend
forwarders do something different and 10-15 years from now, rely on
that

Naturally, any such discussion should have a sufficiently broad
audience to be useful.

From remi.despres@free.fr  Tue Aug  4 10:57:16 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0BAE73A7075; Tue,  4 Aug 2009 10:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.77
X-Spam-Level: 
X-Spam-Status: No, score=-1.77 tagged_above=-999 required=5 tests=[AWL=0.179,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 vzA8hO77f+SO; Tue,  4 Aug 2009 10:57:15 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id 6E7F03A68D3; Tue,  4 Aug 2009 10:57:12 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 41E0AE0810A; Tue,  4 Aug 2009 19:57:10 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 1D7E8E0814F; Tue,  4 Aug 2009 19:57:08 +0200 (CEST)
In-Reply-To: <4A784EEF.2020405@joelhalpern.com>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <65A14E2C-9662-44C5-B7F8-F71170B9FD53@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [lisp] IPv6 UDP checksum issue - Flowlabel use already specified 
Date: Tue, 4 Aug 2009 19:57:07 +0200
To: Joel M. Halpern <jmh@joelhalpern.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Iljitsch van Beijnum <iljitsch@muada.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 17:57:16 -0000

Le 4 ao=FBt 09 =E0 17:08, Joel M. Halpern a =E9crit :

> It has become clear with the passage of time that the description =20
> of the flow label in the original IPv6 specs served only to =20
> convince everyone not to use that field for anything.  Even now, no =20=

> one is sure what to do with it.

RFC 3697, which is on standards track, specifies how to use flowlabels.
I would personally have no objection to it's deprecation, but it's here.

RD



From iljitsch@muada.com  Tue Aug  4 11:39:42 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1EF163A6F25; Tue,  4 Aug 2009 11:39:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.869
X-Spam-Level: 
X-Spam-Status: No, score=-5.869 tagged_above=-999 required=5 tests=[AWL=0.430,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 WDwECxiJApwk; Tue,  4 Aug 2009 11:39:41 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 31FD63A6DC1; Tue,  4 Aug 2009 11:39:10 -0700 (PDT)
Received: from [192.168.2.9] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n74IcmRN045105 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 20:38:49 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <BEF02FC9-4879-4AA4-8C74-BE395C858F7E@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <65A14E2C-9662-44C5-B7F8-F71170B9FD53@free.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue - Flowlabel use already specified 
Date: Tue, 4 Aug 2009 20:39:04 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <65A14E2C-9662-44C5-B7F8-F71170B9FD53@free.fr>
X-Mailer: Apple Mail (2.935.3)
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 18:39:42 -0000

On 4 aug 2009, at 19:57, R=E9mi Despr=E9s wrote:

> RFC 3697, which is on standards track, specifies how to use =20
> flowlabels.
> I would personally have no objection to it's deprecation, but it's =20
> here.

Since apparently nobody looks at it today, I'm tempted to attempt to =20
scavenge some header bits there. For re-ecn we need one bit and I =20
could use three or so as a path selector for path selection in =20
multipath TCP...=

From mrw@sandstorm.net  Tue Aug  4 12:01:16 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E4D963A6943; Tue,  4 Aug 2009 12:01:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.941
X-Spam-Level: 
X-Spam-Status: No, score=-1.941 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, MIME_8BIT_HEADER=0.3]
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 9Xn4V-Rf8A5A; Tue,  4 Aug 2009 12:01:16 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id CEEDB28C444; Tue,  4 Aug 2009 12:01:05 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n74J12pR096212 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 15:01:02 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <10223B44-6C4E-4A81-B5CE-86B4BE13B3A2@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: =?ISO-8859-1?Q?R=E9mi_Denis-Courmont?= <remi@remlab.net>
In-Reply-To: <33104ba34b03a973c8d9ca7d23fe1ad9@chewa.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 15:01:01 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <33104ba34b03a973c8d9ca7d23fe1ad9@chewa.net>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 19:01:17 -0000

On Jul 31, 2009, at 3:06 AM, R=E9mi Denis-Courmont wrote:
>
> is basically UDP except the checksum would only covering the IPv6 and
> transport header. Hmmph, this is just like UDP-Lite really but it =20
> seems
> like there is opposition to overloading UDP-Lite. Then the 64-=20
> translators
> would convert it to normal UDP/IPv4... ?

Why do you think that this would be "overloading UDP-Lite"?  And what =20=

is the opposition?

We used UDP-Lite in a very similar situation in CAPWAP for very =20
similar reasons.  We needed to be able to checksum-protect the outer =20
headers in an IP-in-IPv6/UDP(-ish) encapsulation, and we did not want =20=

the encapsulator to be required to (re-)checksum the entire payload.  =20=

IMO, that is a very sound reason to use UDP-Lite, and one that has  =20
IETF precedent in at least one standards-track RFC.

Margaret=

From mrw@sandstorm.net  Tue Aug  4 12:05:50 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F08033A6971; Tue,  4 Aug 2009 12:05:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level: 
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[AWL=0.170,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 WzMu-DUZ91Id; Tue,  4 Aug 2009 12:05:50 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 07A303A6A18; Tue,  4 Aug 2009 12:05:49 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n74J5mW5096443 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 15:05:48 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <61D62CD4-B6A5-469F-A88E-C79CA3D7C69D@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Pekka Savola <pekkas@netcore.fi>
In-Reply-To: <alpine.LRH.2.00.0907311036520.16694@netcore.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 15:05:47 -0400
References: <C697B3A6.1732A%byzek@cisco.com> <alpine.LRH.2.00.0907311036520.16694@netcore.fi>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, byzek <byzek@cisco.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 19:05:51 -0000

Hi Pekka,

On Jul 31, 2009, at 3:47 AM, Pekka Savola wrote:

> On Thu, 30 Jul 2009, byzek wrote:
>> It's not about performance; a large percentage of the currently-=20
>> deployed
>> hardware can=B9t do UDP checksum calculations during encapsulation =20=

>> because it
>> doesn=B9t have access to the entire packet.  Most hardware is =20
>> streamlined to
>> only provide the first n bytes of a packet to the forwarding =20
>> engine, where
>> typically n < 128.
>
> I'm somewhat sympathetic to this concern, but I've been assured that =20=

> it's possible to compute the outer checksum by doing an incremental =20=

> checksum calculation (see e.g. RFC1624) using the inner packet's =20
> checksum.  This would not require the access to the whole packet. =20
> This might work at least when encapsulating IPv4 over IPv6 UDP; I =20
> don't see how you could do this with IPv6 over IPv6 UDP due to the =20
> lack of "base" checksum.  Any thoughts on how applicable this could =20=

> be?

You would not be able to incrementally calculate the outer UDP =20
checksum based on the inner IPv4 checksum, you would have to do it =20
based on the inner UDP or TCP checksum by subtracting the inner IP =20
pseudo-header checksum and adding the checksum for the outer IP pseudo-=20=

header, the UDP header and the inner IP header (all bytes, because it =20=

is being treated as UDP payload by the outer UDP header).  You might =20
run into problems with this approach, though, if you needed to =20
encapsulate non-TCP/UDP packets and/or encapsulated IPv4 packets with =20=

a zero UDP checksum.  In those cases, you'd have to checksum the whole =20=

packet.
>
> =46rom the point of view of AMT specification, I don't see the need =20=

> for IPv6 UDP encapsulation, even if you buy the LAG argument (I'm =20
> not sure if I can see 10G+ of traffic being LISP encapsulated =20
> between a couple of routers), it doesn't apply to AMT due to =20
> different traffic patterns.

My understanding is that AMT is using UDP so that they can use =20
different UDP ports for different AMT flows, similar to the LAG =20
argument for LISP.

Margaret


From remi@remlab.net  Tue Aug  4 12:13:33 2009
Return-Path: <remi@remlab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DBC053A6AF1; Tue,  4 Aug 2009 12:13:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 4QfZ1vTiLE8N; Tue,  4 Aug 2009 12:13:32 -0700 (PDT)
Received: from yop.chewa.net (yop.chewa.net [91.121.105.214]) by core3.amsl.com (Postfix) with ESMTP id B45EC3A68AF; Tue,  4 Aug 2009 12:13:32 -0700 (PDT)
Received: from basile.remlab.net (cs27060099.pp.htv.fi [89.27.60.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: remi) by yop.chewa.net (Postfix) with ESMTPSA id EA4F7396; Tue,  4 Aug 2009 21:13:29 +0200 (CEST)
From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" <remi@remlab.net>
Organization: Remlab.net
To: Margaret Wasserman <mrw@sandstorm.net>
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 22:13:27 +0300
User-Agent: KMail/1.11.4 (Linux/2.6.30.4; KDE/4.2.4; i686; ; )
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <33104ba34b03a973c8d9ca7d23fe1ad9@chewa.net> <10223B44-6C4E-4A81-B5CE-86B4BE13B3A2@sandstorm.net>
In-Reply-To: <10223B44-6C4E-4A81-B5CE-86B4BE13B3A2@sandstorm.net>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200908042213.28367.remi@remlab.net>
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 19:13:34 -0000

Le mardi 4 ao=FBt 2009 22:01:01 Margaret Wasserman, vous avez =E9crit :
> On Jul 31, 2009, at 3:06 AM, R=E9mi Denis-Courmont wrote:
> > is basically UDP except the checksum would only covering the IPv6 and
> > transport header. Hmmph, this is just like UDP-Lite really but it
> > seems
> > like there is opposition to overloading UDP-Lite. Then the 64-
> > translators
> > would convert it to normal UDP/IPv4... ?
>
> Why do you think that this would be "overloading UDP-Lite"?

Gorry Fairhurst does, not me. UDP-Lite was specified for damage-tolerant=20
payloads, not to avoid redumdant checksums. Personally, I don't care.

> And what is the opposition?

The only (valid) argument that I remember against UDP-Lite was lack of=20
compatibility with IPv4 NAT/firewall in case the flow would go through a=20
NAT64. This was a comment from Dave Thaler in SF. Admittedly, it was about=
=20
AMT, not LISP.

=2D-=20
R=E9mi Denis-Courmont
http://www.remlab.net/


From mrw@sandstorm.net  Tue Aug  4 12:39:46 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 90C4628C101; Tue,  4 Aug 2009 12:39:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level: 
X-Spam-Status: No, score=-2.119 tagged_above=-999 required=5 tests=[AWL=0.146,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 irQilZeHe0yI; Tue,  4 Aug 2009 12:39:45 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id EEEF428C2F2; Tue,  4 Aug 2009 12:39:28 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n74Jbxjo098021 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 15:37:59 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <41CC608D-E261-4CD8-A22E-86FCFEE220FD@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Marshall Eubanks <tme@americafree.tv>
In-Reply-To: <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 15:37:58 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Dino Farinacci <dino@cisco.com>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 19:39:46 -0000

On Aug 2, 2009, at 6:31 PM, Marshall Eubanks wrote:
> http://tools.ietf.org/html/draft-eubanks-chimento-6man-00
>
> We intend to rev this shortly and comments would be appreciated.

If you do rev this document, I would like to see:

(1) An explanation of the difference in applicability between this  
mechanism
       and UDP-Lite.

(2) A specific applicability statement for when this mechanism can  
(and can't)
       be used.  Would we be allowing this mechanism _only_ for cases  
where
       IP is tunneled inside UDP/IP?   What about the AMT case?

(3) A section listing considerations that must be documented for  
protocols
       that use this mechanism, including:

     (3a) What happens when the destination IP address is corrupted in  
transit?
             (Note:  This isn't a concern in IPv4, as the IP header  
checksum will result
             in this packet being discarded by the receiving IP stack).

         (3a.i) What if a node that does not implement this protocol  
receives the
                    packet?
         (3a.ii) What if a node that does implement this protocol  
receives a packet
                    destined for another node?

     (3b) What happens when the source IP address is corrupted in  
transit?
             (Note:  This isn't a concern in IPv4, as the IP header  
checksum will result
             in this packet being discarded by the receiving IP stack).

	(3b.i) What happens when a node that does not implement this protocol
                    receives the ICMP "port unreachable" error?
         (3b.ii) What happens when a node that does implement this  
protocol
                    receives an ICMP "port unreachable" error for a  
packet it didn't send?

     (3c) What happens if one or both of the UDP ports are corrupted  
in transit?
             (Note:  This can happen in IPv4 in the zero checksum  
case, too, but not
             with UDP checksums turned on and/or UDP-Lite).

     (3d) What types of middleboxes does the protocol need to cross  
(routers,
              NAT boxes, firewalls, etc.), and how will those  
middleboxes deal with
              these packet

I don't really have enough knowledge to answer these questions for  
LISP.  I
tried to go down this path in an earlier message, and Dino didn't  
understand what
I was saying, but I'll try to do it once again.  Please correct me if  
I am missing
something.

I am making the assumption that (unlike AMT), all LISP packets will be  
sent to
a specific UDP port assigned to LISP.  Also, I am making the  
assumption that
if we write this document, some other protocols (besides LISP) will  
make use of
it, so some IP stacks on non-LISP nodes will process these packets.

(3a.i)  If a node that doesn't implement LISP receives this packet, it  
may be
            passed up to UDP (if zero checksums are supported).  At  
that point,
            though, it will be thrown away because there is no process  
listening
            on the LISP port and an ICMPv6 "port unreachable" error  
will be
            generated.  (This is different than the IPv4 case, where  
the packet
            will never make it to UDP).

(3a.ii) If a node that does implement LISP receives this packet, it  
will be
            sent to the LISP process, which will recognize that it is an
            encapsulated LISP packet.  What then?  (Note:  Again, this
            wouldn't happen in IPv4, as the packet would be discarded by
            the receiving IP stack.).

(3b.i) If a node that doesn't implement LISP receives an ICMP port
           unreachable for the LISP port, it may have a process that is
           using the local port from the original LISP packet.  Will  
that
           process receive the destination unreachable?  Or will the
           message be thrown away because the destination port doesn't
           match?  I think this might depend on how the process was
           bound to its socket, or something.  Can someone help me
           out here?  (Note:  This won't happen in IPv4, because the
           packet would have been discarded by IP, not by UDP).

(3b.ii) If a node that does implement LISP receives an ICMP port
            unreachable, it still might not have a process that is using
            the corresponding source port (right?).  In that case, I  
think
            that this is the same as 3b.i...  Would another process
            receive this error?  And, if so, how would it respond?

(3c) If the ports were corrupted in transit, we might get packets
         delivered to the wrong process (on the right machine)
         and/or responses or errors sent to the wrong process (on
         the right machine).  I think this all would have been covered
         by the above cases.

(3d) I don't know how middleboxes will deal with this...  What
         do IPv6 routers do today with zero-checksum UDP packets?
         What other IPv6 middleboxes exist today, and what would
         they do?

Personally, I think this is something we would need to understand
pretty fully before we could decide that turning off IPv6 UDP checksums
is a superior choice to using IP-in-IPv6 encapsulation (no UDP),
IP-in-IPv6/UDP-Lite encapsulation or UDP with checksums.

These are also areas that we should explore in a general sense before
we decide to publish Marshall's document as an alternative to using
IP-in-IPv6 encapsulation, UDP-Lite, or UDP with checksums.

Margaret





From mrw@sandstorm.net  Tue Aug  4 12:42:35 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AF9AE28C349; Tue,  4 Aug 2009 12:42:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.987
X-Spam-Level: 
X-Spam-Status: No, score=-1.987 tagged_above=-999 required=5 tests=[AWL=-0.022, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, MIME_8BIT_HEADER=0.3]
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 sdbmVNLyjRvs; Tue,  4 Aug 2009 12:42:35 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id BCD3D3A6FFC; Tue,  4 Aug 2009 12:42:34 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n74JgDSb098283 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 15:42:13 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <17BBDBA7-1535-4A3A-B82F-38C1BF0BA21E@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: =?ISO-8859-1?Q?R=E9mi_Denis-Courmont?= <remi@remlab.net>
In-Reply-To: <200908040015.43375.remi@remlab.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 15:42:12 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <8C2160F1-2B13-40B9-AB71-398F7A48721C@sandstorm.net> <200908040015.43375.remi@remlab.net>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 19:42:35 -0000

On Aug 3, 2009, at 5:15 PM, R=E9mi Denis-Courmont wrote:
>>
>> (1) UDP-Lite:  Is there a reason why UDP-Lite isn't a reasonable
>> choice for LISP encapsulation?  When we looked into this for CAPWAP
>> (another IP-in-UDP/IP tunneling case), we found that UDP-Lite would
>> meet our needs for IPv6, so we did not need to specify the use of =20
>> zero
>> UDP checksums.
>
> You would expect 64-translators to convert UDP-Lite/IPv6 into UDP-=20
> Lite/IPv4
> and back. Converting UDP-Lite/IPv6-with-8-bytes-coverage into UDP/=20
> IPv4-
> without-checksum sounds hackish :(

Are we actually expecting 64-translators to exist between LISP routers?

In the more general sense, this is something you need to deal with, =20
because there are things out there that use UDP-Lite.  I don't see the =20=

transform you have suggested as any worse than just dropping the IP =20
header checksum when converting from IPv4 to IPv6 in cases where it is =20=

not covered by a transport layer checksum.

>> (2) IP-in-IPv6:  Why do you need the UDP encapsulation at all in
>> IPv6?  In IPv4, you may need it for NAT traversal, but it is not =20
>> clear
>> that NATs will work the same way in IPv6.  Or are there other reasons
>> why you need the UDP encapsulation?
> (...)
>
> Same problem. 64-translators would translate IP-in-IPv6 to IPIP and =20=

> vice
> versa. IPIP does not go through NATs.

So, now we're running encapsulation protocols behind an IPv4 NAT _and_ =20=

a 64-translator?  Ick.
>
> That's why I was trying to suggest defining a new UDP-Lite-like =20
> transport
> protocol that would only be allowed over IPv6 and that 64-translator =20=

> would
> convert into checksum-less UDP/IPv4.

Why is the current UDP-Lite protocol not okay for this?

Margaret


From mrw@sandstorm.net  Tue Aug  4 12:44:47 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 828C43A6774; Tue,  4 Aug 2009 12:44:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.135
X-Spam-Level: 
X-Spam-Status: No, score=-2.135 tagged_above=-999 required=5 tests=[AWL=0.130,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 a5dMnq1YrPDF; Tue,  4 Aug 2009 12:44:46 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id CABA828C108; Tue,  4 Aug 2009 12:44:35 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n74JiEMa098400 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 15:44:14 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <BC10AF35-3E4D-45D0-9430-24AAD90A0B49@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Iljitsch van Beijnum <iljitsch@muada.com>
In-Reply-To: <C9B8ECC2-F03B-47E9-A0E1-3C1FC3D02E62@muada.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 15:44:14 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <33104ba34b03a973c8d9ca7d23fe1ad9@chewa.net> <C9B8ECC2-F03B-47E9-A0E1-3C1FC3D02E62@muada.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Dino Farinacci <dino@cisco.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 19:44:47 -0000

On Aug 4, 2009, at 7:28 AM, Iljitsch van Beijnum wrote:

> On 31 jul 2009, at 9:06, R=E9mi Denis-Courmont wrote:
>
>> Sounds like this would require a third datagram protocol number, that
>> is basically UDP except the checksum would only covering the IPv6 and
>> transport header. Hmmph, this is just like UDP-Lite really but it =20
>> seems
>> like there is opposition to overloading UDP-Lite. Then the 64-=20
>> translators
>> would convert it to normal UDP/IPv4... ?
>
> UDP ultra-lite: no length, no checksum, just port numbers.

This is sort of like the UDP-TT proposal, except for the part where =20
UDP-TT overloads the UDP next-header type, hard-codes the length to 8 =20=

and includes a checksum of the IP and UDP headers (which is fixed =20
value per flow)...

Margaret=

From remi@remlab.net  Tue Aug  4 12:59:39 2009
Return-Path: <remi@remlab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E8E7C3A6992 for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 12:59:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 Fi5RE-qmiX-2 for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 12:59:38 -0700 (PDT)
Received: from yop.chewa.net (yop.chewa.net [91.121.105.214]) by core3.amsl.com (Postfix) with ESMTP id 1C13328C455 for <ipv6@ietf.org>; Tue,  4 Aug 2009 12:58:49 -0700 (PDT)
Received: from basile.remlab.net (cs27060099.pp.htv.fi [89.27.60.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: remi) by yop.chewa.net (Postfix) with ESMTPSA id EB1312F3; Tue,  4 Aug 2009 21:58:49 +0200 (CEST)
From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" <remi@remlab.net>
Organization: Remlab.net
To: Margaret Wasserman <mrw@sandstorm.net>
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 22:58:48 +0300
User-Agent: KMail/1.11.4 (Linux/2.6.30.4; KDE/4.2.4; i686; ; )
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <200908040015.43375.remi@remlab.net> <17BBDBA7-1535-4A3A-B82F-38C1BF0BA21E@sandstorm.net>
In-Reply-To: <17BBDBA7-1535-4A3A-B82F-38C1BF0BA21E@sandstorm.net>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200908042258.48458.remi@remlab.net>
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 19:59:40 -0000

Le mardi 4 ao=FBt 2009 22:42:12 Margaret Wasserman, vous avez =E9crit :
> On Aug 3, 2009, at 5:15 PM, R=E9mi Denis-Courmont wrote:
> >> (1) UDP-Lite:  Is there a reason why UDP-Lite isn't a reasonable
> >> choice for LISP encapsulation?  When we looked into this for CAPWAP
> >> (another IP-in-UDP/IP tunneling case), we found that UDP-Lite would
> >> meet our needs for IPv6, so we did not need to specify the use of
> >> zero
> >> UDP checksums.
> >
> > You would expect 64-translators to convert UDP-Lite/IPv6 into UDP-
> > Lite/IPv4
> > and back. Converting UDP-Lite/IPv6-with-8-bytes-coverage into UDP/
> > IPv4-
> > without-checksum sounds hackish :(
>
> Are we actually expecting 64-translators to exist between LISP routers?

No idea - apparently not. But it seemed like it would be the case for AMT (=
so=20
was it implied at the SF IPv6 wg meeting).

> In the more general sense, this is something you need to deal with,
> because there are things out there that use UDP-Lite.  I don't see the
> transform you have suggested as any worse than just dropping the IP
> header checksum when converting from IPv4 to IPv6 in cases where it is
> not covered by a transport layer checksum.

The transform is bad. What if you actually want to convert UDP-Lite/IPv6 in=
to=20
UDP-Lite/IPv4? This seems like the natural thing to do. Then how would NAT6=
4s=20
know whether to translate UDP-Lite/IPv6 with 8-bytes coverage into checksum-
less UDP/IPv4 or into UDP-Lite/IPv4 with 8-bytes coverage?

If we actually except valid use cases of checksum-less UDP/IPv4 to hit NAT6=
4s,=20
then I'd argue a new over-IPv6-only transport protocol is needed. UDP-Lite=
=20
does not fit precisely because it already exists over IPv4. It would not be=
=20
the first non-IPv4 next header number.

Sure, if we expect that neither LISP, nor AMT, nor any other user of checks=
um-
less UDP/IPv4 to be protocol-translated, then this is a non-issue. Then LIS=
P=20
and AMT and whatever can use UDP-Lite.

> >> (2) IP-in-IPv6:  Why do you need the UDP encapsulation at all in
> >> IPv6?  In IPv4, you may need it for NAT traversal, but it is not
> >> clear
> >> that NATs will work the same way in IPv6.  Or are there other reasons
> >> why you need the UDP encapsulation?
> >
> > (...)
> >
> > Same problem. 64-translators would translate IP-in-IPv6 to IPIP and
> > vice
> > versa. IPIP does not go through NATs.
>
> So, now we're running encapsulation protocols behind an IPv4 NAT _and_
> a 64-translator?  Ick.

Well, I definitely expect that, if NAT64 become widely deployed, we will se=
e=20
IPv4 firewalls or even IPv4 NATs on the IPv4 side of those.

> > That's why I was trying to suggest defining a new UDP-Lite-like
> > transport
> > protocol that would only be allowed over IPv6 and that 64-translator
> > would
> > convert into checksum-less UDP/IPv4.
>
> Why is the current UDP-Lite protocol not okay for this?

I assume that NAT64s are used. Not that I plan to use them myself. But that=
=20
"reason" was invoked against UDP-Lite when the troll started in IPv6 wg=20
meeting in San Francisco, when Marshall presented his draft.

The reasoning was that UDP-Lite/IPv6 would be 64-translated to UDP-Lite/IPv=
4,=20
yet UDP-Lite/IPv4 is too poorly supported by the IPv4 infrastructure (firew=
all=20
and NATs). If everybody now agrees that this is a non-issue, fine with me.

=2D-=20
R=E9mi Denis-Courmont
http://www.remlab.net/


From tme@americafree.tv  Tue Aug  4 13:57:59 2009
Return-Path: <tme@americafree.tv>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A7B2C3A6992; Tue,  4 Aug 2009 13:57:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level: 
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599]
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 E8haaN88eQqr; Tue,  4 Aug 2009 13:57:58 -0700 (PDT)
Received: from mail.americafree.tv (rossini.americafree.tv [63.105.122.34]) by core3.amsl.com (Postfix) with ESMTP id 6C1043A6A00; Tue,  4 Aug 2009 13:57:58 -0700 (PDT)
Received: from [IPv6:::1] (rossini.americafree.tv [63.105.122.34]) by mail.americafree.tv (Postfix) with ESMTP id AFFDA4673313; Tue,  4 Aug 2009 16:58:00 -0400 (EDT)
Message-Id: <79AC222F-950D-4210-B906-CAE37770B071@americafree.tv>
From: Marshall Eubanks <tme@americafree.tv>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <41CC608D-E261-4CD8-A22E-86FCFEE220FD@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 16:57:59 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <41CC608D-E261-4CD8-A22E-86FCFEE220FD@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
Cc: "Philip F. Chimento" <Philip.Chimento@jhuapl.edu>, 6man 6man <ipv6@ietf.org>, Brian Carpenter <brian.e.carpenter@gmail.com>, Dino Farinacci <dino@cisco.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 20:57:59 -0000

Dear Margaret;

Thank you for this long list of issues/questions. They
will be addressed.

Regards
Marshall

On Aug 4, 2009, at 3:37 PM, Margaret Wasserman wrote:

>
> On Aug 2, 2009, at 6:31 PM, Marshall Eubanks wrote:
>> http://tools.ietf.org/html/draft-eubanks-chimento-6man-00
>>
>> We intend to rev this shortly and comments would be appreciated.
>
> If you do rev this document, I would like to see:
>
> (1) An explanation of the difference in applicability between this  
> mechanism
>      and UDP-Lite.
>
> (2) A specific applicability statement for when this mechanism can  
> (and can't)
>      be used.  Would we be allowing this mechanism _only_ for cases  
> where
>      IP is tunneled inside UDP/IP?   What about the AMT case?
>
> (3) A section listing considerations that must be documented for  
> protocols
>      that use this mechanism, including:
>
>    (3a) What happens when the destination IP address is corrupted in  
> transit?
>            (Note:  This isn't a concern in IPv4, as the IP header  
> checksum will result
>            in this packet being discarded by the receiving IP stack).
>
>        (3a.i) What if a node that does not implement this protocol  
> receives the
>                   packet?
>        (3a.ii) What if a node that does implement this protocol  
> receives a packet
>                   destined for another node?
>
>    (3b) What happens when the source IP address is corrupted in  
> transit?
>            (Note:  This isn't a concern in IPv4, as the IP header  
> checksum will result
>            in this packet being discarded by the receiving IP stack).
>
> 	(3b.i) What happens when a node that does not implement this protocol
>                   receives the ICMP "port unreachable" error?
>        (3b.ii) What happens when a node that does implement this  
> protocol
>                   receives an ICMP "port unreachable" error for a  
> packet it didn't send?
>
>    (3c) What happens if one or both of the UDP ports are corrupted  
> in transit?
>            (Note:  This can happen in IPv4 in the zero checksum  
> case, too, but not
>            with UDP checksums turned on and/or UDP-Lite).
>
>    (3d) What types of middleboxes does the protocol need to cross  
> (routers,
>             NAT boxes, firewalls, etc.), and how will those  
> middleboxes deal with
>             these packet
>
> I don't really have enough knowledge to answer these questions for  
> LISP.  I
> tried to go down this path in an earlier message, and Dino didn't  
> understand what
> I was saying, but I'll try to do it once again.  Please correct me  
> if I am missing
> something.
>
> I am making the assumption that (unlike AMT), all LISP packets will  
> be sent to
> a specific UDP port assigned to LISP.  Also, I am making the  
> assumption that
> if we write this document, some other protocols (besides LISP) will  
> make use of
> it, so some IP stacks on non-LISP nodes will process these packets.
>
> (3a.i)  If a node that doesn't implement LISP receives this packet,  
> it may be
>           passed up to UDP (if zero checksums are supported).  At  
> that point,
>           though, it will be thrown away because there is no process  
> listening
>           on the LISP port and an ICMPv6 "port unreachable" error  
> will be
>           generated.  (This is different than the IPv4 case, where  
> the packet
>           will never make it to UDP).
>
> (3a.ii) If a node that does implement LISP receives this packet, it  
> will be
>           sent to the LISP process, which will recognize that it is an
>           encapsulated LISP packet.  What then?  (Note:  Again, this
>           wouldn't happen in IPv4, as the packet would be discarded by
>           the receiving IP stack.).
>
> (3b.i) If a node that doesn't implement LISP receives an ICMP port
>          unreachable for the LISP port, it may have a process that is
>          using the local port from the original LISP packet.  Will  
> that
>          process receive the destination unreachable?  Or will the
>          message be thrown away because the destination port doesn't
>          match?  I think this might depend on how the process was
>          bound to its socket, or something.  Can someone help me
>          out here?  (Note:  This won't happen in IPv4, because the
>          packet would have been discarded by IP, not by UDP).
>
> (3b.ii) If a node that does implement LISP receives an ICMP port
>           unreachable, it still might not have a process that is using
>           the corresponding source port (right?).  In that case, I  
> think
>           that this is the same as 3b.i...  Would another process
>           receive this error?  And, if so, how would it respond?
>
> (3c) If the ports were corrupted in transit, we might get packets
>        delivered to the wrong process (on the right machine)
>        and/or responses or errors sent to the wrong process (on
>        the right machine).  I think this all would have been covered
>        by the above cases.
>
> (3d) I don't know how middleboxes will deal with this...  What
>        do IPv6 routers do today with zero-checksum UDP packets?
>        What other IPv6 middleboxes exist today, and what would
>        they do?
>
> Personally, I think this is something we would need to understand
> pretty fully before we could decide that turning off IPv6 UDP  
> checksums
> is a superior choice to using IP-in-IPv6 encapsulation (no UDP),
> IP-in-IPv6/UDP-Lite encapsulation or UDP with checksums.
>
> These are also areas that we should explore in a general sense before
> we decide to publish Marshall's document as an alternative to using
> IP-in-IPv6 encapsulation, UDP-Lite, or UDP with checksums.
>
> Margaret
>
>
>
>
>


From remi.despres@free.fr  Tue Aug  4 14:09:46 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B5E13A70A1; Tue,  4 Aug 2009 14:09:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.784
X-Spam-Level: 
X-Spam-Status: No, score=-1.784 tagged_above=-999 required=5 tests=[AWL=0.165,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 q5SL6e6sQ0ny; Tue,  4 Aug 2009 14:09:45 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id 7BD883A709D; Tue,  4 Aug 2009 14:09:21 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id A8362E080AC; Tue,  4 Aug 2009 23:09:19 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 53138E080EB; Tue,  4 Aug 2009 23:09:16 +0200 (CEST)
In-Reply-To: <200908041800.33871.remi.denis-courmont@nokia.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <FECD49F1-76AC-4566-AA40-41AB79DE4D71@nokia.com> <030FFF85-B4A7-4AB3-AE56-C2B27A5BF5F8@free.fr> <200908041800.33871.remi.denis-courmont@nokia.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <1B3E0D98-17E7-48EF-8C4A-59455124B183@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Tue, 4 Aug 2009 23:09:13 +0200
To: =?ISO-8859-1?Q?R=E9mi_Denis-Courmont?= <remi.denis-courmont@nokia.com>
X-Mailer: Apple Mail (2.753.1)
Cc: 6man 6man <ipv6@ietf.org>, Francis Dupont <Francis.Dupont@fdupont.fr>, behave@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 21:09:46 -0000

Le 4 ao=FBt 09 =E0 17:00, R=E9mi Denis-Courmont a =E9crit :

> On Tuesday 04 August 2009 17:49:25 ext R=E9mi Despr=E9s wrote:
>> Le 4 ao=FBt 09 =E0 16:30, Lars Eggert a =E9crit :
>>> Hi,
>>>
>>> On 2009-8-4, at 16:27, R=E9mi Despr=E9s wrote:
>>>> You seem to have missed that the proposal includes a relaxation of
>>>> the constraint that zero-checksum UDP datagrams MAY be accepted by
>>>> hosts ion the future, just to avoid unnecessary black holes in case
>>>> of v4 to v6 translations.
>>>
>>> isn't it a non-starter for a translation based *transition*
>>> mechanism to depend on host changes?
>>
>> I don't think so, because it's never too late do do some good without
>> doing any harm.
>>
>> IMHO, translators SHOULD forward zero-checksum datagrams RATHER THAN
>> dropping them. No harm expected.
>
> "No harm expected"? I find that generating scary-reading false =20
> positive in my
> system logs is harmful.

I don't get the point about "scary-reading false positive".

On the other hand, I still believe what I wrote yesterday is valid:
*If a host may receive receive a zero-checksum UDP datagram destined =20
to another host, this is acceptable because:
- Probability of this happening is very low (with link layer =20
checksums etc.).
- It is even more UNLIKELY that the source address and the two ports =20
of the datagram match those of an existing connection (connection =20
where, in addition, such datagrams must be accepted).
- If this nevertheless happens, the harm must be limited because of =20
the application nature. (For example, an application that accepts =20
queries in unchecked datagrams may receive an extra query without =20
significant consequence).*

>
>> IMHO also, hosts, at their next patch release, SHOULD silently accept
>> zero-checksum IPv6 datagrams RATHER THAN silently dropping them. No
>> harm expected.
>
> That will cause silent software failures when running on a "too =20
> old" system.
*IPv4 compatible applications should have no problem with UDP zero-=20
checksums*, or I am mistaken?

>
> Silent failures are the most harmful kind of failures to me.

And to me too, but I don't see any silent "failure" here.
>
>> By doing this, connectivity during the transition period will
>> eventually be improved, possibly before translators are largely
>> deployed.
>
> No. By doing this, people will experience odd failure modes and =20
> weird error
> reports during the long transition period for IPv6 stacks to accept =20=

> checksum-
> less packets.

If you could prove your assertion, I would reconsider mines =20
(sentences between *s .

> Harm very much expected.

An example would be helpful to understand what you fear.

Regards,
RD



From brian.e.carpenter@gmail.com  Tue Aug  4 15:10:04 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EA01C28C239; Tue,  4 Aug 2009 15:10:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.425
X-Spam-Level: 
X-Spam-Status: No, score=-2.425 tagged_above=-999 required=5 tests=[AWL=0.174,  BAYES_00=-2.599]
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 4bMD+4LzkdoO; Tue,  4 Aug 2009 15:10:03 -0700 (PDT)
Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by core3.amsl.com (Postfix) with ESMTP id C39B528C3B7; Tue,  4 Aug 2009 15:09:55 -0700 (PDT)
Received: by rv-out-0506.google.com with SMTP id f9so1155628rvb.49 for <multiple recipients>; Tue, 04 Aug 2009 15:09:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=H0T0xLQYovbBwYPhXWoaeQk0+QTxWWWWgwH22p6L1ZY=; b=KDpfJbnoJL7Syd5KtUoKPro8h2voacvsrB4JhzJ3sTK07UPXITAWkpd2TO5Va0JwnU glpbxT9VEU7pqJwBpjw7GBM/GiTzyQrNQCpG3qoBphHQdCkCmCW/I3Wv3fOU8QyjnKkg TnBcs0AwsnJw/XWyo8oFbS35UqFrN9Jsdub8w=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=djdbr67yjBphcoJlbbDatKmZGMjIl5PkqNFEvp4PwDjSK2BxBA0RACUlQgOPYWkCsg 0izpsAbhQBVRxQyZyjkgrpkHMoFa2QWGE3U8BPMo2i6fSleSB44nc30UOD+/iTVxwe/b 3s35h1lYO23il7F5BdASWEl6e9x1z8ZGFW4vM=
Received: by 10.141.12.15 with SMTP id p15mr5663387rvi.41.1249423796647; Tue, 04 Aug 2009 15:09:56 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id b39sm4333143rvf.43.2009.08.04.15.09.54 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 15:09:55 -0700 (PDT)
Message-ID: <4A78B1B0.50201@gmail.com>
Date: Wed, 05 Aug 2009 10:09:52 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Iljitsch van Beijnum <iljitsch@muada.com>
Subject: Re: [lisp] IPv6 UDP checksum issue - Flowlabel use already specified
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>	<4A784EEF.2020405@joelhalpern.com>	<65A14E2C-9662-44C5-B7F8-F71170B9FD53@free.fr> <BEF02FC9-4879-4AA4-8C74-BE395C858F7E@muada.com>
In-Reply-To: <BEF02FC9-4879-4AA4-8C74-BE395C858F7E@muada.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 22:10:05 -0000

On 2009-08-05 06:39, Iljitsch van Beijnum wrote:
> On 4 aug 2009, at 19:57, R=C3=A9mi Despr=C3=A9s wrote:
>=20
>> RFC 3697, which is on standards track, specifies how to use flowlabels=
=2E
>> I would personally have no objection to it's deprecation, but it's her=
e.
>=20
> Since apparently nobody looks at it today, I'm tempted to attempt to
> scavenge some header bits there. For re-ecn we need one bit and I could=

> use three or so as a path selector for path selection in multipath TCP.=
=2E.

That's not so easy. The bits aren't up for grabs and they aren't microcod=
ed
like the Traffic Class bits (which is why ECN was possible in the first
place). It may be entirely possible to devise a use case that falls withi=
n
RFC3697 where you could encode some bits; that RFC was very carefully
written to allow a very wide variety of uses. In fact the only real
rule, when you come down to it, is that the 20 bits must be delivered
exactly as sent. Pretty much everything else is allowed if you use the
MAYs and SHOULDs creatively.

   Brian


From brian.e.carpenter@gmail.com  Tue Aug  4 15:24:38 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 243B13A70F6; Tue,  4 Aug 2009 15:24:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.43
X-Spam-Level: 
X-Spam-Status: No, score=-2.43 tagged_above=-999 required=5 tests=[AWL=0.169,  BAYES_00=-2.599]
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 9YcW+PGnKjp9; Tue,  4 Aug 2009 15:24:37 -0700 (PDT)
Received: from mail-pz0-f178.google.com (mail-pz0-f178.google.com [209.85.222.178]) by core3.amsl.com (Postfix) with ESMTP id CD16828C3E7; Tue,  4 Aug 2009 15:24:32 -0700 (PDT)
Received: by pzk8 with SMTP id 8so2961353pzk.31 for <multiple recipients>; Tue, 04 Aug 2009 15:24:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=GFhUEMpfMKfcWX5ErpXg/Ob87ZCc7Zcmi9kPEl89xlU=; b=XO6/NrpiV80rex4LHBrxWquHjV2EUPO9eiwQo6tuT31S+AiMh5HxxlV657d7SBPaWZ mxecMD0PaHdlnHbkXvasOvyMxuTIkbeNIWxwQxCBLgArIVnnje/dO8+AdtOBrgD7OB5f z4IbluKCI+sQxaCLN6ZqQxsQk6nqwz5SoiEFI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=HoCnQnOddCAnbZ1DAilX4S+yCfKRQvEvD2460RunWjO/m+5jNMrLYQdm2WCFIEWMVT hSkIbi0816s38LlR5w/c/t5Cro9nu7oGgf0z8eJzJk9ZRNdMV1xqmT0uNArtcMf/E71+ xTULV0iGDXYatjuqaQZ2mxU7LNBbVkbKdkoRU=
Received: by 10.115.54.2 with SMTP id g2mr9380839wak.160.1249424673548; Tue, 04 Aug 2009 15:24:33 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id m6sm12321124wag.68.2009.08.04.15.24.30 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 15:24:32 -0700 (PDT)
Message-ID: <4A78B51C.2010902@gmail.com>
Date: Wed, 05 Aug 2009 10:24:28 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Subject: Flow label redux [Re: [lisp] IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com>
In-Reply-To: <4A784EEF.2020405@joelhalpern.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: Iljitsch van Beijnum <iljitsch@muada.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 22:24:38 -0000

Hi Joel,


On 2009-08-05 03:08, Joel M. Halpern wrote:
> It has become clear with the passage of time that the description of the
> flow label in the original IPv6 specs served only to convince everyone
> not to use that field for anything.  Even now, no one is sure what to do
> with it.

If you're referring to the lame appendix to RFC2460, that's exactly
why we wrote RFC3697. My understanding is that some stacks do set the
flow label according to the SHOULD in RFC3697, but I'm not aware
of any deployed use cases (such as load balancing routers). The gap
is not in the basic specs but in exploitation. It's very similar to
what happened with the IPv4 TOS byte, and that took 20 years before
we (a) defined it properly and (b) began to see limited deployment,
as corporate VoIP took off.

My expectation has always been that exploitation of the flow label
would stay on the back burner until IPv6 deployment reached a
significant level, because there isn't much benefit in optimising
flow handling for <1% of the traffic. So I don't really see anything
odd in the current situation.

That said, I can't see any reason why ITRs and ETRs can't use
the flow label among themselves, in a way completely compatible
with RFC3697. But if their hardware engines can't include the
flow label in the n-tuple, that's a problem.

    Brian

From mrw@lilacglade.org  Tue Aug  4 17:55:07 2009
Return-Path: <mrw@lilacglade.org>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1A7563A7119 for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 17:55:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 OKodJRZaE942 for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 17:55:06 -0700 (PDT)
Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by core3.amsl.com (Postfix) with ESMTP id 2F9F028C47C for <ipv6@ietf.org>; Tue,  4 Aug 2009 17:54:09 -0700 (PDT)
Received: from OMTA23.westchester.pa.mail.comcast.net ([76.96.62.74]) by QMTA11.westchester.pa.mail.comcast.net with comcast id QM091c02N1c6gX85BQuCfi; Wed, 05 Aug 2009 00:54:12 +0000
Received: from [10.36.0.42] ([173.76.25.94]) by OMTA23.westchester.pa.mail.comcast.net with comcast id QQwf1c00B21osJt3jQwiLn; Wed, 05 Aug 2009 00:56:55 +0000
Message-Id: <4EFCBD42-BCF0-4B60-9B50-6F355DD03534@lilacglade.org>
From: Margaret Wasserman <mrw@lilacglade.org>
To: byzek <byzek@cisco.com>
In-Reply-To: <C697B3A6.1732A%byzek@cisco.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 20:53:53 -0400
References: <C697B3A6.1732A%byzek@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, "Dino Farinacci \(dino\)" <dino@cisco.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 00:55:07 -0000

Hi Byzek,

On Jul 30, 2009, at 8:31 PM, byzek wrote:
>
> It's not about performance; a large percentage of the currently-=20
> deployed
> hardware can=92t do UDP checksum calculations during encapsulation =20
> because it
> doesn=92t have access to the entire packet.  Most hardware is =20
> streamlined to
> only provide the first n bytes of a packet to the forwarding engine, =20=

> where
> typically n < 128.

This is one of the primary reasons, as I understood it, why UDP-Lite =20
was defined the way it was -- to allow for a transport-layer checksum, =20=

including an IP pseudo-header checksum, in IPv6, without the need to =20
traverse the entire packet.  In the LISP case, all of the bytes that =20
would need to be "checksummed" for UDP-Lite would be bytes that were =20
_added to the packet_ by the LISP encapsulating router.

When an IPv4/UDP header is pre-pended by a LISP router, the lisp ETR =20
needs to calculate the IP header checksum over 20 bytes (the IP header).

If an IPv6/UDP-Lite header were pre-pended by a LISP router, the ETR =20
would need to calculate an IP header checksum over 48 bytes (the IP =20
pseudo-header and the UDP header).

While I understand that 48 bytes is larger than 20 bytes, we aren't =20
really talking about a major difference when the checksum algorithm is =20=

well-optimized and all of the pre-pended header bytes are already in =20
memory.

Margaret




From mrw@sandstorm.net  Tue Aug  4 17:57:39 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BFB7E28C458; Tue,  4 Aug 2009 17:57:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 7Nb1ONCxGS23; Tue,  4 Aug 2009 17:57:39 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 0798628C468; Tue,  4 Aug 2009 17:57:38 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n750vQJk012421 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2009 20:57:26 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <33BEE7A0-0278-4927-B716-871B8940E819@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
In-Reply-To: <20090730233310.4A4EB6BE591@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 20:57:26 -0400
References: <20090730233310.4A4EB6BE591@mercury.lcs.mit.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 00:57:39 -0000

Hi Noel,

On Jul 30, 2009, at 7:33 PM, Noel Chiappa wrote:
>
> Dino, why don't we just drop the 'inside IPv6' encapsulations from  
> the spec?
> I.e. keep only IPv4 in IPv4 and IPv6 in IPv4? The IPv6  
> encapsulations could be
> documented in a short non-IETF note that's posted on a personal web  
> page
> somewhere. (I'm assuming here that there are a few ISPs who'd  
> actually want to
> run inside IPv6, otherwise we could just drop them entirely.)

To do that, you'd need to get LISP WG consensus that this was the  
right thing to do.

Personally, I would prefer that we define an RFC-compliant LISP  
encapsulation in IPv6.

Margaret



From mrw@lilacglade.org  Tue Aug  4 18:00:19 2009
Return-Path: <mrw@lilacglade.org>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9465628C45C for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 18:00:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 QgfR59ouZczc for <ipv6@core3.amsl.com>; Tue,  4 Aug 2009 18:00:18 -0700 (PDT)
Received: from QMTA12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by core3.amsl.com (Postfix) with ESMTP id BA79D28C3AA for <ipv6@ietf.org>; Tue,  4 Aug 2009 18:00:18 -0700 (PDT)
Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA12.emeryville.ca.mail.comcast.net with comcast id QPGU1c00M0QkzPwACR0NEo; Wed, 05 Aug 2009 01:00:22 +0000
Received: from [10.36.0.42] ([173.76.25.94]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id QR071c00E21osJt8NR0A4i; Wed, 05 Aug 2009 01:00:20 +0000
Message-Id: <83A588D4-6066-4148-A313-8344DE77CA0E@lilacglade.org>
From: Margaret Wasserman <mrw@lilacglade.org>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
In-Reply-To: <20090730233310.4A4EB6BE591@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 4 Aug 2009 21:00:05 -0400
References: <20090730233310.4A4EB6BE591@mercury.lcs.mit.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 01:00:19 -0000

Hi Noel,

On Jul 30, 2009, at 7:33 PM, Noel Chiappa wrote:
>
> Dino, why don't we just drop the 'inside IPv6' encapsulations from  
> the spec?
> I.e. keep only IPv4 in IPv4 and IPv6 in IPv4? The IPv6  
> encapsulations could be
> documented in a short non-IETF note that's posted on a personal web  
> page
> somewhere. (I'm assuming here that there are a few ISPs who'd  
> actually want to
> run inside IPv6, otherwise we could just drop them entirely.)

To drop the encapsulation in IPv6, you'd need to get LISP WG consensus  
to do so.

Personally, I would not agree with that choice.

Margaret



From brian.e.carpenter@gmail.com  Tue Aug  4 19:09:57 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CC54E28C493; Tue,  4 Aug 2009 19:09:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.434
X-Spam-Level: 
X-Spam-Status: No, score=-2.434 tagged_above=-999 required=5 tests=[AWL=0.165,  BAYES_00=-2.599]
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 oafYqL71Pp58; Tue,  4 Aug 2009 19:09:56 -0700 (PDT)
Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by core3.amsl.com (Postfix) with ESMTP id D94743A696F; Tue,  4 Aug 2009 19:09:56 -0700 (PDT)
Received: by rv-out-0506.google.com with SMTP id f9so1187488rvb.49 for <multiple recipients>; Tue, 04 Aug 2009 19:09:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=UNQ0r4NPIko7Nva/ICviDRCaIGCXFHLsEy+5RvOrfPg=; b=QIUxCFix+QMBgqbVHg7B7ICyAiUEX4LCzumvJpi2LGh/O/sG3AYT2fkdsU1r+/8FjU BhfHAhPlDP8RUNNZ0JXmZM5841vvelNnzGgiy/vh2BkOLCBdV4Cwq/3a1T7pVhK7aHct ttmHReOdh858j0taCpqUz9r1dGBe77RSW1cYk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=AnDdtus/IarSaKQZCoevnG/K1pZGlHpTD9BvasccH3tpmoDmm/SjA+brphRSyYBU68 wn0ETBhWc1LbQGfdrTl32+pZ/wJSpjGYG9X9EgGFrKuqa4RTCuVfGFuI003APMrdlGP2 tiEwgVBJ3zwYXrlqeLNlYwjbL9KGDj2pc69ls=
Received: by 10.140.144.6 with SMTP id r6mr5970247rvd.114.1249438182562; Tue, 04 Aug 2009 19:09:42 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id g22sm5376581rvb.48.2009.08.04.19.09.40 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 19:09:41 -0700 (PDT)
Message-ID: <4A78E9F0.4070005@gmail.com>
Date: Wed, 05 Aug 2009 14:09:52 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Vince Fuller <vaf@cisco.com>
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <20090804232648.GA18233@vaf-lnx1>
In-Reply-To: <20090804232648.GA18233@vaf-lnx1>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 02:09:57 -0000

On 2009-08-05 11:26, Vince Fuller wrote:
>> That said, I can't see any reason why ITRs and ETRs can't use
>> the flow label among themselves, in a way completely compatible
>> with RFC3697. But if their hardware engines can't include the
>> flow label in the n-tuple, that's a problem.
> 
> The issue isn't whether the "hardware engines can't include the flow label
> in the n-tuple" on the ITRs/ETRs; since LISP is implemented on ITRs and ETRs,
> we have no problem specifying their behavior.
> 
> The issue is how to effect load-splitting across Link Aggregation Groups
> (LAGs) in all of the non-LISP-aware transit routers on the Internet through
> which LISP-encapsulated traffic will flow.
> 
> Current operational reality is that the installed base of transit routers
> on the Internet uses a hash of source/dest addres/port to split traffic
> across LAGs so LISP uses an encapsulation that is compatible with that
> reality.

Sure. But IMHO the LISP design should not be restrictive. It should be possible
by design to change the fields used for the hash if the operational reality
changes in the future. (In fact, one of the motivations for the exact choices
made in RFC3967 was to make it possible to include the flow label in such
a hash without knowing what sort of usage, if any, was being made of the
flow label. And I see no particular issue with a network where some
LAG-aware routers do include the flow label in the hash and others don't.)

> 
> Specifying some alternate reality and hoping that the operational world will
> modify its behavior to match doesn't seem very practical, particularly since
> one of LISP's virtues is that it requires no changes to the transit routing
> system.

Well understood. But future-proofing is rarely an error.

   Brian


From vaf@cisco.com  Tue Aug  4 16:32:24 2009
Return-Path: <vaf@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B586B3A70FC; Tue,  4 Aug 2009 16:32:24 -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 Ux+tItOsbAjU; Tue,  4 Aug 2009 16:32:24 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id F1FF33A70EA; Tue,  4 Aug 2009 16:32:23 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAGFheEqrR7MV/2dsb2JhbAC8FogpkBoFhBiBUQ
X-IronPort-AV: E=Sophos;i="4.43,324,1246838400"; d="scan'208";a="223453092"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-1.cisco.com with ESMTP; 04 Aug 2009 23:32:26 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n74NWQsx026036;  Tue, 4 Aug 2009 16:32:26 -0700
Received: from vaf-lnx1.cisco.com (vaf-lnx1.cisco.com [171.71.118.48]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n74NWQEe028800; Tue, 4 Aug 2009 23:32:26 GMT
Received: from vaf-lnx1.cisco.com (vaf-lnx1.cisco.com [127.0.0.1]) by vaf-lnx1.cisco.com (8.14.3/8.14.3/Debian-4) with ESMTP id n74NQmHS026236; Tue, 4 Aug 2009 16:26:48 -0700
Received: (from vaf@localhost) by vaf-lnx1.cisco.com (8.14.3/8.14.3/Submit) id n74NQmDj026233; Tue, 4 Aug 2009 16:26:48 -0700
X-Authentication-Warning: vaf-lnx1.cisco.com: vaf set sender to vaf@cisco.com using -f
Date: Tue, 4 Aug 2009 16:26:48 -0700
From: Vince Fuller <vaf@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Message-ID: <20090804232648.GA18233@vaf-lnx1>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A78B51C.2010902@gmail.com>
User-Agent: Mutt/1.5.18 (2008-05-17)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1134; t=1249428746; x=1250292746; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=vaf@cisco.com; z=From:=20Vince=20Fuller=20<vaf@cisco.com> |Subject:=20Re=3A=20[lisp]=20Flow=20label=20redux=20[Re=3A= 20=20IPv6=20UDP=20checksum=20issue] |Sender:=20; bh=yvFjkqr9hbl1EAzn7KJsNkW3kYmO0sna19CegpjGfw4=; b=m+d2DpS+BkWzJMgDFwbK26+cevbQmsY2MP0xfDPw4970ShCBtzQ4X/W/FS dkIzyzoJgnbM0NHccWk4smUQ2eaUpnwrOM8nVTcwnbgFxLlUwMQQTNNbndAQ tTTNXIuY3rbNYr/BQQJQQGrR948FtQDj/SLQ3nPNVEn3a1UjTb2j0=;
Authentication-Results: sj-dkim-1; header.From=vaf@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
X-Mailman-Approved-At: Wed, 05 Aug 2009 00:50:39 -0700
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2009 23:32:24 -0000

> That said, I can't see any reason why ITRs and ETRs can't use
> the flow label among themselves, in a way completely compatible
> with RFC3697. But if their hardware engines can't include the
> flow label in the n-tuple, that's a problem.

The issue isn't whether the "hardware engines can't include the flow label
in the n-tuple" on the ITRs/ETRs; since LISP is implemented on ITRs and ETRs,
we have no problem specifying their behavior.

The issue is how to effect load-splitting across Link Aggregation Groups
(LAGs) in all of the non-LISP-aware transit routers on the Internet through
which LISP-encapsulated traffic will flow.

Current operational reality is that the installed base of transit routers
on the Internet uses a hash of source/dest addres/port to split traffic
across LAGs so LISP uses an encapsulation that is compatible with that
reality.

Specifying some alternate reality and hoping that the operational world will
modify its behavior to match doesn't seem very practical, particularly since
one of LISP's virtues is that it requires no changes to the transit routing
system.

	--Vince

From jmh@joelhalpern.com  Tue Aug  4 19:51:49 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 96A393A6F76; Tue,  4 Aug 2009 19:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.424
X-Spam-Level: 
X-Spam-Status: No, score=-3.424 tagged_above=-999 required=5 tests=[AWL=0.175,  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 iLuyvVE0Q92Y; Tue,  4 Aug 2009 19:51:48 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id E41943A6887; Tue,  4 Aug 2009 19:51:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id EB911438012; Tue,  4 Aug 2009 19:51:51 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id EF8A7437E53; Tue,  4 Aug 2009 19:51:50 -0700 (PDT)
Message-ID: <4A78F3C6.4020602@joelhalpern.com>
Date: Tue, 04 Aug 2009 22:51:50 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Subject: Re: Flow label redux [Re: [lisp] IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>
In-Reply-To: <4A78B51C.2010902@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 05 Aug 2009 00:50:39 -0700
Cc: Iljitsch van Beijnum <iljitsch@muada.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 02:51:49 -0000

The problem is not what the ITRs and ETRs use the field for.  They could 
/ can use the field.
The problem is that the UDP header was introduced specifically so that 
different flows would be different in a place that the routers would 
look when doing ECMP calculations.
And the router to date do not use the flow label.
Preliminary indications are that routers also won't use UDP-lite, 
because it is a different protocol, and they don't know it has port numbers.

The simple path forward is to allow UDP with 0 checksum.
If that is incorrect, then finding the correct path forward is going to 
be hard.

Joel

Brian E Carpenter wrote:
> Hi Joel,
> 
> 
> On 2009-08-05 03:08, Joel M. Halpern wrote:
>> It has become clear with the passage of time that the description of the
>> flow label in the original IPv6 specs served only to convince everyone
>> not to use that field for anything.  Even now, no one is sure what to do
>> with it.
> 
> If you're referring to the lame appendix to RFC2460, that's exactly
> why we wrote RFC3697. My understanding is that some stacks do set the
> flow label according to the SHOULD in RFC3697, but I'm not aware
> of any deployed use cases (such as load balancing routers). The gap
> is not in the basic specs but in exploitation. It's very similar to
> what happened with the IPv4 TOS byte, and that took 20 years before
> we (a) defined it properly and (b) began to see limited deployment,
> as corporate VoIP took off.
> 
> My expectation has always been that exploitation of the flow label
> would stay on the back burner until IPv6 deployment reached a
> significant level, because there isn't much benefit in optimising
> flow handling for <1% of the traffic. So I don't really see anything
> odd in the current situation.
> 
> That said, I can't see any reason why ITRs and ETRs can't use
> the flow label among themselves, in a way completely compatible
> with RFC3697. But if their hardware engines can't include the
> flow label in the n-tuple, that's a problem.
> 
>     Brian
> 

From Remi.Denis-Courmont@nokia.com  Tue Aug  4 23:31:06 2009
Return-Path: <Remi.Denis-Courmont@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C273028C4CB; Tue,  4 Aug 2009 23:31:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.231
X-Spam-Level: 
X-Spam-Status: No, score=-6.231 tagged_above=-999 required=5 tests=[AWL=0.068,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 BlxrfIKEUPwe; Tue,  4 Aug 2009 23:31:06 -0700 (PDT)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id 94D9628C4C4; Tue,  4 Aug 2009 23:31:05 -0700 (PDT)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n756T8hV006639; Wed, 5 Aug 2009 09:29:29 +0300
Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 5 Aug 2009 09:29:18 +0300
Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Aug 2009 09:29:16 +0300
Received: from leon.remlab.net (esdhcp034203.research.nokia.com [172.21.34.203]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n756TDlg022332; Wed, 5 Aug 2009 09:29:13 +0300
From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" <remi.denis-courmont@nokia.com>
Organization: Maemo Devices - Nokia
To: ext =?iso-8859-1?q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Wed, 5 Aug 2009 09:29:19 +0300
User-Agent: KMail/1.11.2 (Linux/2.6.29.6; KDE/4.2.2; i686; ; )
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200908041800.33871.remi.denis-courmont@nokia.com> <1B3E0D98-17E7-48EF-8C4A-59455124B183@free.fr>
In-Reply-To: <1B3E0D98-17E7-48EF-8C4A-59455124B183@free.fr>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200908050929.19846.remi.denis-courmont@nokia.com>
X-OriginalArrivalTime: 05 Aug 2009 06:29:16.0801 (UTC) FILETIME=[0E9E3F10:01CA1596]
X-Nokia-AV: Clean
X-Mailman-Approved-At: Wed, 05 Aug 2009 00:50:39 -0700
Cc: 6man 6man <ipv6@ietf.org>, Francis Dupont <Francis.Dupont@fdupont.fr>, "behave@ietf.org" <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 06:31:06 -0000

On Wednesday 05 August 2009 00:09:13 ext R=E9mi Despr=E9s wrote:
> > "No harm expected"? I find that generating scary-reading false
> > positive in my
> > system logs is harmful.
>
> I don't get the point about "scary-reading false positive".

As already mentioned (several times?), some operating systems log errors wh=
en=20
they receive packets with invalid checksums. The rationale is that some pie=
ce=20
of hardware might be defective, or whatever.

> >> IMHO also, hosts, at their next patch release, SHOULD silently accept
> >> zero-checksum IPv6 datagrams RATHER THAN silently dropping them. No
> >> harm expected.
> >
> > That will cause silent software failures when running on a "too
> > old" system.
>
> *IPv4 compatible applications should have no problem with UDP zero-
> checksums*, or I am mistaken?

It will break silently when an *IPv6* application is run on a system that h=
as=20
not been updated to accept zero-checksum. The system will drop the packet, =
and=20
the application will mysteriously not receive anything.

> > Silent failures are the most harmful kind of failures to me.
>
> And to me too, but I don't see any silent "failure" here.

=2D-=20
R=E9mi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki


From remi.despres@free.fr  Wed Aug  5 00:59:40 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 49C9B3A6E10; Wed,  5 Aug 2009 00:59:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.795
X-Spam-Level: 
X-Spam-Status: No, score=-1.795 tagged_above=-999 required=5 tests=[AWL=0.154,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 WTkRRhugPlHR; Wed,  5 Aug 2009 00:59:39 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id B673028C512; Wed,  5 Aug 2009 00:59:05 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 0CDEEE0812E; Wed,  5 Aug 2009 09:59:02 +0200 (CEST)
Received: from [192.168.0.12] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id DBBD3E0813A; Wed,  5 Aug 2009 09:58:59 +0200 (CEST)
In-Reply-To: <200908050929.19846.remi.denis-courmont@nokia.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200908041800.33871.remi.denis-courmont@nokia.com> <1B3E0D98-17E7-48EF-8C4A-59455124B183@free.fr> <200908050929.19846.remi.denis-courmont@nokia.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <0233509C-0451-499D-A01E-BF95777B9EEC@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Wed, 5 Aug 2009 09:58:58 +0200
To: =?ISO-8859-1?Q?"R=E9mi_Denis-Courmont"?= <remi.denis-courmont@nokia.com>
X-Mailer: Apple Mail (2.753.1)
Cc: 6man 6man <ipv6@ietf.org>, Francis Dupont <Francis.Dupont@fdupont.fr>, "behave@ietf.org" <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 07:59:40 -0000

Le 5 ao=FBt 09 =E0 08:29, R=E9mi Denis-Courmont a =E9crit :

> On Wednesday 05 August 2009 00:09:13 ext R=E9mi Despr=E9s wrote:
>>> "No harm expected"? I find that generating scary-reading false
>>> positive in my
>>> system logs is harmful.
>>
>> I don't get the point about "scary-reading false positive".
>
> As already mentioned (several times?), some operating systems log =20
> errors when
> they receive packets with invalid checksums.

Right.
They do what RFC 2460 says they should: "IPv6 receivers must discard =20
UDP packets containing a zero checksum, and should log
the error".
(You don't need to repeat it once more ;-))

But if *received* UDP zero checksums are no longer considered as =20
errors in IPv6 (the proposal), I don't see in what it is relevant to =20
note that "some operating systems log errors when they receive =20
packets with invalid checksums" .

> The rationale is that some piece
> of hardware might be defective, or whatever.

For this, non-zero checksums are available.
(Translators don't change them to zero.)

>
>>>> IMHO also, hosts, at their next patch release, SHOULD silently =20
>>>> accept
>>>> zero-checksum IPv6 datagrams RATHER THAN silently dropping them. No
>>>> harm expected.
>>>
>>> That will cause silent software failures when running on a "too
>>> old" system.
>>
>> *IPv4 compatible applications should have no problem with UDP zero-
>> checksums*, or I am mistaken?
>
> It will break silently when an *IPv6* application is run on a =20
> system that has
> not been updated to accept zero-checksum. The system will drop the =20
> packet, and
> the application will mysteriously not receive anything.

My proposal is precisely to AVOID these mysterious blackholes (in =20
systems that are patched before translators get largely used).
But maybe you have another proposal to have the same result.
If yes, could you tell what it is?

>>> Silent failures are the most harmful kind of failures to me.
>>
>> And to me too, but I don't see any silent "failure" here.


Regards,
RD

>
> --=20
> R=E9mi Denis-Courmont
> Nokia Devices R&D, Maemo Software, Helsinki
>


From iljitsch@muada.com  Wed Aug  5 04:44:50 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 313493A683B; Wed,  5 Aug 2009 04:44:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.355
X-Spam-Level: 
X-Spam-Status: No, score=-6.355 tagged_above=-999 required=5 tests=[AWL=0.244,  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 qYy2YSyCQi99; Wed,  5 Aug 2009 04:44:49 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id C24DD28C549; Wed,  5 Aug 2009 04:44:27 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n75Bi2I4050542 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Aug 2009 13:44:02 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <EAC9372C-F0FF-4AE9-81F7-F027FFBB1315@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Vince Fuller <vaf@cisco.com>
In-Reply-To: <20090804232648.GA18233@vaf-lnx1>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 13:44:19 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <20090804232648.GA18233@vaf-lnx1>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 11:44:50 -0000

On 5 aug 2009, at 1:26, Vince Fuller wrote:

> Specifying some alternate reality and hoping that the operational  
> world will
> modify its behavior to match

Isn't that the business the IETF is in?

> doesn't seem very practical, particularly since
> one of LISP's virtues is that it requires no changes to the transit  
> routing
> system.

If we get router vendors on board with flow label ECMP for IPv6 now,  
by the time we have those multi-gigabit IPv6 flows between a single  
ITR/ETR pair, we'll be in reasonable shape.

I would be very interested to hear what the status of ECMP for IPv6 is  
today, and especially if the implementations that can do this on the 5- 
tuple today are flexible enough to be able to look at the flow label  
without hardware changes.

The problem with all of this in IPv6 is that there can be routing and  
fragmentation headers that make the port numbers appear in different  
places. When I tested this in 2005, the Cisco routers that I used  
wouldn't accommodate for this in their access lists, I so I can easily  
see IPv6 ECMP not looking at the 5-tuple but the 3-tuple, not be able  
to look at the 5-tuple consistently or simply not exist at all.

From hartmans@mit.edu  Wed Aug  5 05:59:36 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6EBC53A687B; Wed,  5 Aug 2009 05:59:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.202
X-Spam-Level: 
X-Spam-Status: No, score=-2.202 tagged_above=-999 required=5 tests=[AWL=0.063,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 94iomPdvKLmy; Wed,  5 Aug 2009 05:59:35 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 9C2573A6C78; Wed,  5 Aug 2009 05:59:31 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 4375351C3; Wed,  5 Aug 2009 08:59:33 -0400 (EDT)
To: Margaret Wasserman <mrw@lilacglade.org>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <20090730233310.4A4EB6BE591@mercury.lcs.mit.edu> <83A588D4-6066-4148-A313-8344DE77CA0E@lilacglade.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Wed, 05 Aug 2009 08:59:33 -0400
In-Reply-To: <83A588D4-6066-4148-A313-8344DE77CA0E@lilacglade.org> (Margaret Wasserman's message of "Tue\, 4 Aug 2009 21\:00\:05 -0400")
Message-ID: <tsltz0mfmbu.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: ipv6@ietf.org, Noel Chiappa <jnc@mercury.lcs.mit.edu>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 12:59:36 -0000

>>>>> "Margaret" == Margaret Wasserman <mrw@lilacglade.org> writes:

    Margaret> Hi Noel,

    Margaret> On Jul 30, 2009, at 7:33 PM, Noel Chiappa wrote:
    >> 
> Dino, why don't we just drop the 'inside IPv6' encapsulations from
    >> the spec?  I.e. keep only IPv4 in IPv4 and IPv6 in IPv4? The
    >> IPv6 encapsulations could be documented in a short non-IETF
    >> note that's posted on a personal web page somewhere. (I'm
    >> assuming here that there are a few ISPs who'd actually want to
    >> run inside IPv6, otherwise we could just drop them entirely.)

    Margaret> To drop the encapsulation in IPv6, you'd need to get
    Margaret> LISP WG consensus to do so.
for a variety of reasons , I'd like to stop this thread here.  If you
believe there is additional discussion of removing IPV6 encapsulation
from the LISP spec that needs to happen on the LISP mailing list,
please discuss with the chairs first.

From iljitsch@muada.com  Wed Aug  5 07:10:02 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EA8CA3A6BED for <ipv6@core3.amsl.com>; Wed,  5 Aug 2009 07:10:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.212
X-Spam-Level: 
X-Spam-Status: No, score=-6.212 tagged_above=-999 required=5 tests=[AWL=0.087,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 qkM7yzbpQT2p for <ipv6@core3.amsl.com>; Wed,  5 Aug 2009 07:10:02 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 635573A7003 for <ipv6@ietf.org>; Wed,  5 Aug 2009 07:10:00 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n75E9VJd051434 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Aug 2009 16:09:32 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <931157AA-67A4-4F60-8B32-B930A9AA814C@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <6C244552-B655-4947-AF1E-4022D5228846@free.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Wed, 5 Aug 2009 16:09:48 +0200
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr>
X-Mailer: Apple Mail (2.935.3)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 14:10:03 -0000

On 4 aug 2009, at 15:27, R=E9mi Despr=E9s wrote:

>> That's pointless, because the IPv6 spec, against which =20
>> implementations have been heavily tested, reject such packets.

> You seem to have missed that the proposal includes a relaxation of =20
> the constraint that zero-checksum UDP datagrams MAY be accepted by =20
> hosts ion the future, just to avoid unnecessary black holes in case =20=

> of v4 to v6 translations.

Although actual IPv6 packets flowing over the internet aren't as =20
numerous as their IPv4 counterparts and at least "legacy" IPv6 stuff =20
can't be as old as the oldest IPv4 stuff, we still have a very large =20
installed IPv6 base out there that isn't going to adapt to modifying =20
standards at the drop of a hat.

If you send UDP packets with 0 checksums to IPv6 hosts, expect many of =20=

them to reject those packets for a very long time, at the very least 5 =20=

years.

> Is progress from what is implemented today a taboo?
> (I hope not.)

It's not taboo, just very hard. Apple and Microsoft aren't =20
particularly quick with building in updates to the network stack, and =20=

after they've done that, it can take a long time for holdouts to =20
upgrade. This is much harder than updating applications from competing =20=

vendors running in user space.

But nobody is stopping you from coming up with a new UDP-like =20
encapsulation that doesn't have a checksum.=

From mrw@sandstorm.net  Wed Aug  5 07:13:01 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6302C3A67C1; Wed,  5 Aug 2009 07:13:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.148
X-Spam-Level: 
X-Spam-Status: No, score=-2.148 tagged_above=-999 required=5 tests=[AWL=0.117,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 1vSgiWgvfYi8; Wed,  5 Aug 2009 07:13:00 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 7CB1A3A657C; Wed,  5 Aug 2009 07:13:00 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n75ECxF6043720 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Aug 2009 10:12:59 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A78F3C6.4020602@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 10:12:58 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 14:13:01 -0000

Hi Joel,

On Aug 4, 2009, at 10:51 PM, Joel M. Halpern wrote:

> The problem is not what the ITRs and ETRs use the field for.  They  
> could / can use the field.
> The problem is that the UDP header was introduced specifically so  
> that different flows would be different in a place that the routers  
> would look when doing ECMP calculations.
> And the router to date do not use the flow label.
> Preliminary indications are that routers also won't use UDP-lite,  
> because it is a different protocol, and they don't know it has port  
> numbers.
>
> The simple path forward is to allow UDP with 0 checksum.
> If that is incorrect, then finding the correct path forward is going  
> to be hard.

We're talking about the ECMP calculations in _IPv6_ routers here,  
right?  Do you really believe that enough IPv6 routers have shipped  
with this sort of ECMP behavior in _hardware_ that we need to consider  
that legacy deployment?  I'm somewhat skeptical that this could be the  
case...  If we're going to make design compromises to deal with  
currently-deployed hardware, I'd like to see some evidence that this  
hardware actually exists in numbers that are worth considering.

Note, I'm not asking how many routers have been shipped that support  
IPv6, nor am I asking whether those routers support ECMP (in  
software).  I'm not even asking whether some router vendors have taped  
out versions of silicon that are so inflexible that they will only  
support IPv6 ECMP using UDP ports (not the flow label or UDP-Lite)...   
What I am asking is whether IPv6 routers containing that silicon exist  
in real-world deployments in large enough numbers that they should be  
considered in our design choices.

Thoughts?

Margaret


From mrw@lilacglade.org  Wed Aug  5 07:16:40 2009
Return-Path: <mrw@lilacglade.org>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB6A73A6C49 for <ipv6@core3.amsl.com>; Wed,  5 Aug 2009 07:16:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.148
X-Spam-Level: 
X-Spam-Status: No, score=-2.148 tagged_above=-999 required=5 tests=[AWL=0.117,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 rmgIkGJcgGRk for <ipv6@core3.amsl.com>; Wed,  5 Aug 2009 07:16:40 -0700 (PDT)
Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by core3.amsl.com (Postfix) with ESMTP id 7DA5D3A6C76 for <ipv6@ietf.org>; Wed,  5 Aug 2009 07:16:40 -0700 (PDT)
Received: from OMTA19.westchester.pa.mail.comcast.net ([76.96.62.98]) by QMTA10.westchester.pa.mail.comcast.net with comcast id Qb0s1c00F27AodY5AeGkWN; Wed, 05 Aug 2009 14:16:44 +0000
Received: from lilac.sandstorm.net ([69.33.111.74]) by OMTA19.westchester.pa.mail.comcast.net with comcast id QeKF1c0041cMU3H3feKJLX; Wed, 05 Aug 2009 14:19:29 +0000
Message-Id: <28077E14-4F07-4CB4-8AA4-5F6EA9886063@lilacglade.org>
From: Margaret Wasserman <mrw@lilacglade.org>
To: Joel M. Halpern <jmh@joelhalpern.com>
In-Reply-To: <4A78F3C6.4020602@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 10:16:27 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 14:16:40 -0000

Hi Joel,

On Aug 4, 2009, at 10:51 PM, Joel M. Halpern wrote:

> The problem is not what the ITRs and ETRs use the field for.  They  
> could / can use the field.
> The problem is that the UDP header was introduced specifically so  
> that different flows would be different in a place that the routers  
> would look when doing ECMP calculations.
> And the router to date do not use the flow label.
> Preliminary indications are that routers also won't use UDP-lite,  
> because it is a different protocol, and they don't know it has port  
> numbers.
>
> The simple path forward is to allow UDP with 0 checksum.
> If that is incorrect, then finding the correct path forward is going  
> to be hard.

We're talking about the ECMP calculations in _IPv6_ routers here,  
right?  Do you really believe that enough IPv6 routers have shipped  
with this sort of ECMP behavior in _hardware_ that we need to consider  
that legacy deployment?  I'm somewhat skeptical that this could be the  
case...  If we're going to make design compromises to deal with  
currently-deployed hardware, I'd like to see some evidence that this  
hardware actually exists in numbers that are worth considering.

Note, I'm not asking how many routers have been shipped that support  
IPv6, nor am I asking whether those routers support ECMP (in  
software).  I'm not even asking whether some router vendors have taped  
out versions of silicon that are so inflexible that they will only  
support IPv6 ECMP using UDP ports (not the flow label or UDP-Lite)...   
What I am asking is whether IPv6 routers containing that silicon exist  
in real-world deployments in large enough numbers that they should be  
considered in our design choices.

Thoughts?

Margaret


From pekkas@netcore.fi  Wed Aug  5 07:25:10 2009
Return-Path: <pekkas@netcore.fi>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0904328C5B9; Wed,  5 Aug 2009 07:25:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.481
X-Spam-Level: 
X-Spam-Status: No, score=-2.481 tagged_above=-999 required=5 tests=[AWL=0.118,  BAYES_00=-2.599]
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 mJvFqjBSaTyN; Wed,  5 Aug 2009 07:25:09 -0700 (PDT)
Received: from netcore.fi (eunet-gw.ipv6.netcore.fi [IPv6:2001:670:86:3001::1]) by core3.amsl.com (Postfix) with ESMTP id 9668328C584; Wed,  5 Aug 2009 07:24:38 -0700 (PDT)
Received: from netcore.fi (localhost [127.0.0.1]) by netcore.fi (8.13.8/8.13.8) with ESMTP id n75EOCmk006412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Aug 2009 17:24:12 +0300
Received: from localhost (pekkas@localhost) by netcore.fi (8.13.8/8.13.8/Submit) with ESMTP id n75EOCQC006408; Wed, 5 Aug 2009 17:24:12 +0300
Date: Wed, 5 Aug 2009 17:24:12 +0300 (EEST)
From: Pekka Savola <pekkas@netcore.fi>
To: Margaret Wasserman <mrw@lilacglade.org>
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
In-Reply-To: <28077E14-4F07-4CB4-8AA4-5F6EA9886063@lilacglade.org>
Message-ID: <alpine.LRH.2.00.0908051721520.6177@netcore.fi>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <28077E14-4F07-4CB4-8AA4-5F6EA9886063@lilacglade.org>
User-Agent: Alpine 2.00 (LRH 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Virus-Scanned: clamav-milter 0.95.2 at otso.netcore.fi
X-Virus-Status: Clean
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 14:25:10 -0000

On Wed, 5 Aug 2009, Margaret Wasserman wrote:
> Do you really believe that enough IPv6 routers have shipped with 
> this sort of ECMP behavior in _hardware_ that we need to consider 
> that legacy deployment? I'm somewhat skeptical that this could be 
> the case...  If we're going to make design compromises to deal with 
> currently-deployed hardware, I'd like to see some evidence that this 
> hardware actually exists in numbers that are worth considering.

FWIW, Juniper docs say the following.  Not sure what else they could 
do in hardware or what are the caveats.

========================
By default, IP version 6 (IPv6) packets are automatically 
load-balanced based on the following Layer 3 and Layer 4 information:

     * Source IP address
     * Destination IP address
     * Protocol
     * Source port number
     * Destination port number
     * Incoming interface index
     * Traffic class

http://www.juniper.net/techpubs/en_US/junos9.5/information-products/topic-collections/config-guide-policy/policy-configuring-per-packet-load-balancing.html

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

From shane@castlepoint.net  Wed Aug  5 07:30:07 2009
Return-Path: <shane@castlepoint.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 48FF33A657C; Wed,  5 Aug 2009 07:30:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.442
X-Spam-Level: 
X-Spam-Status: No, score=-1.442 tagged_above=-999 required=5 tests=[AWL=1.158,  BAYES_00=-2.599]
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 Omq2SsFUZs5p; Wed,  5 Aug 2009 07:30:06 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by core3.amsl.com (Postfix) with ESMTP id B7C8A28C4BF; Wed,  5 Aug 2009 07:29:28 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id A1F7F2684E1; Wed,  5 Aug 2009 08:29:31 -0600 (MDT)
Received: from host2.tcb.net (64.78.235.218 [64.78.235.218]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Wed, 05 Aug 2009 08:29:31 -0600 (MDT) (envelope-from shane@castlepoint.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=64.78.235.218; client-port=57044; data-bytes=0
Message-Id: <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>
From: Shane Amante <shane@castlepoint.net>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 08:29:31 -0600
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 14:30:07 -0000

Margaret,

On Aug 5, 2009, at 08:12 MDT, Margaret Wasserman wrote:
> Hi Joel,
>
> On Aug 4, 2009, at 10:51 PM, Joel M. Halpern wrote:
>
>> The problem is not what the ITRs and ETRs use the field for.  They  
>> could / can use the field.
>> The problem is that the UDP header was introduced specifically so  
>> that different flows would be different in a place that the routers  
>> would look when doing ECMP calculations.
>> And the router to date do not use the flow label.
>> Preliminary indications are that routers also won't use UDP-lite,  
>> because it is a different protocol, and they don't know it has port  
>> numbers.
>>
>> The simple path forward is to allow UDP with 0 checksum.
>> If that is incorrect, then finding the correct path forward is  
>> going to be hard.
>
> We're talking about the ECMP calculations in _IPv6_ routers here,  
> right?  Do you really believe that enough IPv6 routers have shipped  
> with this sort of ECMP behavior in _hardware_ that we need to  
> consider that legacy deployment?  I'm somewhat skeptical that this  
> could be the case...  If we're going to make design compromises to  
> deal with currently-deployed hardware, I'd like to see some evidence  
> that this hardware actually exists in numbers that are worth  
> considering.
>
> Note, I'm not asking how many routers have been shipped that support  
> IPv6, nor am I asking whether those routers support ECMP (in  
> software).  I'm not even asking whether some router vendors have  
> taped out versions of silicon that are so inflexible that they will  
> only support IPv6 ECMP using UDP ports (not the flow label or UDP- 
> Lite)...  What I am asking is whether IPv6 routers containing that  
> silicon exist in real-world deployments in large enough numbers that  
> they should be considered in our design choices.

Take a look at the following URL:
http://www.sixxs.net/faq/connectivity/?faq=ipv6transit
(Note, I can't vouch for the accuracy of the entire list, but it's  
about the best publicly available list I've seen).

That list includes some very large networks.

-shane

From hartmans@mit.edu  Wed Aug  5 08:01:16 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 90F6528C3E1; Wed,  5 Aug 2009 08:01:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.237
X-Spam-Level: 
X-Spam-Status: No, score=-2.237 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 E6OMCA8mAZhN; Wed,  5 Aug 2009 08:01:15 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 9ADFD28C4F2; Wed,  5 Aug 2009 08:01:15 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 252F364492; Wed,  5 Aug 2009 11:01:17 -0400 (EDT)
To: Shane Amante <shane@castlepoint.net>
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Wed, 05 Aug 2009 11:01:17 -0400
In-Reply-To: <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> (Shane Amante's message of "Wed\, 5 Aug 2009 08\:29\:31 -0600")
Message-ID: <tsltz0mcnk2.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 15:01:16 -0000

>>>>> "Shane" == Shane Amante <shane@castlepoint.net> writes:

    Shane> Take a look at the following URL:
    Shane> http://www.sixxs.net/faq/connectivity/?faq=ipv6transit
    Shane> (Note, I can't vouch for the accuracy of the entire list,
    Shane> but it's about the best publicly available list I've seen).

    Shane> That list includes some very large networks.


Thanks for the data!  Naturally that's only part of the answer to
Margaret's question.  We know which companies offer native IPV6
transit service.
We don't know:

1) How much V6 traffic they have 2) Whether they have V6
infrastructure that would scale to their current V6 traffic or say
their current V4 traffic 3) How much is done in hardware for their V6
infrastructure.  4) How much of their network supports V6/how
widespread their V6 works.  Any information you can provide on these
sorts of questions would be very useful.  

From byzek@cisco.com  Wed Aug  5 08:00:36 2009
Return-Path: <byzek@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DC22928C511; Wed,  5 Aug 2009 08:00:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.532
X-Spam-Level: 
X-Spam-Status: No, score=-4.532 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, RCVD_NUMERIC_HELO=2.067]
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 t8FOrub4jGsZ; Wed,  5 Aug 2009 08:00:35 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 6F8C228C57D; Wed,  5 Aug 2009 08:00:29 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqIEAE47eUqrR7O6/2dsb2JhbACKCpATohmIKZBaBYQYgVE
X-IronPort-AV: E=Sophos;i="4.43,329,1246838400"; d="scan'208";a="223767563"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-1.cisco.com with ESMTP; 05 Aug 2009 15:00:28 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n75F0SJB005242;  Wed, 5 Aug 2009 08:00:28 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id n75F0RH2000767; Wed, 5 Aug 2009 15:00:28 GMT
Received: from xmb-sjc-214.amer.cisco.com ([171.70.151.145]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 5 Aug 2009 08:00:27 -0700
Received: from 64.102.49.143 ([64.102.49.143]) by xmb-sjc-214.amer.cisco.com ([171.70.151.145]) with Microsoft Exchange Server HTTP-DAV ;  Wed,  5 Aug 2009 15:00:27 +0000
User-Agent: Microsoft-Entourage/12.15.0.081119
Date: Wed, 05 Aug 2009 10:59:46 -0400
Subject: Re: [lisp] IPv6 UDP checksum issue
From: byzek <byzek@cisco.com>
To: Margaret Wasserman <mrw@lilacglade.org>
Message-ID: <C69F16A2.17A8C%byzek@cisco.com>
Thread-Topic: [lisp] IPv6 UDP checksum issue
Thread-Index: AcoV3V8LopmQLnR4nES6/nGQC5Cn6Q==
In-Reply-To: <4EFCBD42-BCF0-4B60-9B50-6F355DD03534@lilacglade.org>
Mime-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
X-OriginalArrivalTime: 05 Aug 2009 15:00:27.0737 (UTC) FILETIME=[77EBAC90:01CA15DD]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1823; t=1249484428; x=1250348428; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=byzek@cisco.com; z=From:=20byzek=20<byzek@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=FKLE0QUXsByDw/zVwboYMHcygCQG8eOVeVI8RSN0XMg=; b=yEy+nQxfAJD70RuQAIVzVTQyr1yXsxu4xBkPt65nUkHZghj0tYSYqU5w7u AgmRHLpTlwReor1YpihfRFe/VkS5Nh7U98hv0WoUNRUMm8211cihrlTgP+d7 WjDN7G5kQH;
Authentication-Results: sj-dkim-2; header.From=byzek@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
X-Mailman-Approved-At: Wed, 05 Aug 2009 08:09:33 -0700
Cc: ipv6@ietf.org, "Dino Farinacci \(dino\)" <dino@cisco.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 15:00:37 -0000

Hi Margaret,


On Tue  8/4/09 8:53 PM, "Margaret Wasserman" <mrw@lilacglade.org> wrote:

>=20
> Hi Byzek,
>=20
> On Jul 30, 2009, at 8:31 PM, byzek wrote:
>>=20
>> It's not about performance; a large percentage of the currently-
>> deployed
>> hardware can=B9t do UDP checksum calculations during encapsulation
>> because it
>> doesn=B9t have access to the entire packet.  Most hardware is
>> streamlined to
>> only provide the first n bytes of a packet to the forwarding engine,
>> where
>> typically n < 128.
>=20
> This is one of the primary reasons, as I understood it, why UDP-Lite
> was defined the way it was -- to allow for a transport-layer checksum,
> including an IP pseudo-header checksum, in IPv6, without the need to
> traverse the entire packet.  In the LISP case, all of the bytes that
> would need to be "checksummed" for UDP-Lite would be bytes that were
> _added to the packet_ by the LISP encapsulating router.
>=20
> When an IPv4/UDP header is pre-pended by a LISP router, the lisp ETR
> needs to calculate the IP header checksum over 20 bytes (the IP header).
>=20
> If an IPv6/UDP-Lite header were pre-pended by a LISP router, the ETR
> would need to calculate an IP header checksum over 48 bytes (the IP
> pseudo-header and the UDP header).

I think you mean xTR, correct?  ITR does it on ingress, ETR does it on
egress.

As long as we don't have to go deeper in the packet than that, most hardwar=
e
that would be performing encap/decap is at least capable of doing this, yes=
.

-J

>=20
> While I understand that 48 bytes is larger than 20 bytes, we aren't
> really talking about a major difference when the checksum algorithm is
> well-optimized and all of the pre-pended header bytes are already in
> memory.
>=20
> Margaret
>=20
>=20
>=20


From shane@castlepoint.net  Wed Aug  5 09:50:33 2009
Return-Path: <shane@castlepoint.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA1DA3A71A5; Wed,  5 Aug 2009 09:50:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.731
X-Spam-Level: 
X-Spam-Status: No, score=-1.731 tagged_above=-999 required=5 tests=[AWL=0.868,  BAYES_00=-2.599]
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 RnZ9HcmadyrI; Wed,  5 Aug 2009 09:50:30 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by core3.amsl.com (Postfix) with ESMTP id 4D17C3A688D; Wed,  5 Aug 2009 09:50:30 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id 4B0D72684EA; Wed,  5 Aug 2009 10:50:33 -0600 (MDT)
Received: from host2.tcb.net (64.78.235.218 [64.78.235.218]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Wed, 05 Aug 2009 10:50:33 -0600 (MDT) (envelope-from shane@castlepoint.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=64.78.235.218; client-port=58841; data-bytes=0
Message-Id: <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net>
From: Shane Amante <shane@castlepoint.net>
To: Sam Hartman <hartmans-ietf@mit.edu>
In-Reply-To: <tsltz0mcnk2.fsf@mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 10:50:32 -0600
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 16:50:33 -0000

Sam,

On Aug 5, 2009, at 09:01 MDT, Sam Hartman wrote:
>>>>>> "Shane" == Shane Amante <shane@castlepoint.net> writes:
>
>    Shane> Take a look at the following URL:
>    Shane> http://www.sixxs.net/faq/connectivity/?faq=ipv6transit
>    Shane> (Note, I can't vouch for the accuracy of the entire list,
>    Shane> but it's about the best publicly available list I've seen).
>
>    Shane> That list includes some very large networks.
>
>
> Thanks for the data!  Naturally that's only part of the answer to
> Margaret's question.  We know which companies offer native IPV6
> transit service.
> We don't know:
>
> 1) How much V6 traffic they have 2) Whether they have V6
> infrastructure that would scale to their current V6 traffic or say
> their current V4 traffic 3) How much is done in hardware for their V6
> infrastructure.  4) How much of their network supports V6/how
> widespread their V6 works.  Any information you can provide on these
> sorts of questions would be very useful.

I think question #1 is a little impractical, given that data is highly  
sensitive/confidential to each network.  However, one likely can  
Google/Bing around and find public Exchange points with graphs that  
show current v6 traffic (as compared to v4 traffic).  Of course, I  
would highlight that these are *public* exchange points, thus they  
will not show v6 traffic going through private peering connections as  
well as staying Intra-provider, (i.e.: customer-to-customer inside a  
single provider) -- see first sentence about sensitivity/ 
confidentiality.  That said, there have been presentations at the last  
couple of IETF's (I forget if it was in 'behave' or 'v6ops' WG's, or  
both) surrounding Free Telecom's rollout of '6rd' that show their v6  
traffic, which has some astounding growth and traffic rates.   
Regardless, one should consider the following graphs a absolute  
"floor" of v6 traffic and there is definitely more, in absolute terms,  
v6 traffic than is visible in these graphs.
Here's one example from AMS-IX showing v6 traffic:
http://www.ams-ix.net/technical/stats/sflow/?type=ipv6
And, here are graphs showing Total traffic load, (I believe this  
includes the v6 traffic in the graph above, but am not 100% certain on  
that point):
http://www.ams-ix.net/technical/stats/
According to these graphs, v6 traffic is just a fraction of v4  
traffic, but it is definitely growing and, FWIW, it's a lot more than  
Inter-AS multicast traffic as seen by other graphs at the AMS-IX Web  
site.  :-/

With respect to #2, SP's have been mandating that they only buy v6- 
capable HW for the last /several years/ as part of the normal growth/ 
replacement cycle of network equipment.  So, yes, this equipment  
should scale to support v6 traffic at the same, (or nearly the same),  
rates as v4 traffic today.

#3: All v6 forwarding is done in HW for larger, "PE" or "P" class  
devices, which are the subject of this thread.

#4: Depends on where the carrier is at in their deployment of v6.   
However, I would refer you back to question #2, which is even if it's  
not technically offered at a given location today, it is only a matter  
of time given that the HW is already deployed to do so (and, has been  
deployed for several years).


To bring this back up a level, while it's /possible/ to encourage  
vendors to adopt the IPv6 flow-label as input-keys to their hash- 
calculations for LAG/ECMP, it takes [a lot] of time to see that  
materialize in the field.  Practically, you're probably looking at  
somewhere between, at best, a 3  - 5 year window, before it will  
actually appear in live, production networks, given that it has to be  
prioritized for development at the vendor, tested, released in  
software, then re-tested by the SP and, finally, deployed.  That's not  
an "easy" process that happens in the blink-of-an-eye.  That's not to  
say that we (SP's) should not "encourage" vendors to do this, anyway,  
(we are/will) however if LISP (or other protocols like it that depend  
on tunneling) quickly gain traction, we need a way to deal with these  
traffic flows in our networks today, without telling customers: "turn  
off protocol <FOO>, because we can't deliver your packets".  Perhaps  
one way to satisfy the parties in this conversation would be something  
along the following lines:
- LISP, and other protocols that wish to use tunneling, adopt UDP-lite  
(or UDP w/ 0 checksums) as a MUST for near-term deployment;
- LISP, and other protocols that wish to use tunneling, adopt IP-in- 
IPv6 tunneling with a flow-label required in the outer IPv6 header as  
a "SHOULD" for medium- to long-term deployments.
... assuming vendors successfully adopt the IPv6 flow-label as input- 
keys in their hash calculations at some point in the future, we come  
back and deprecate the UDP/IPv6 tunnel method and elevate IP-in-IPv6  
w/ flow-labels to a MUST.

It likely wouldn't hurt to go back and "tighten up" RFC 3697, as well,  
in order that it offers more prescriptive behavior in several places,  
not least of which would be:
1)  How to deal with regular IP-in-IPv6 encapsulation, (i.e.: likely  
by creating a flow-label based on a "hash" of the incoming, to-be- 
encapsulated L3 & L4 header fields), since the RFC only discusses  
IPsec tunneling; and,
2)  Removing other "gems" (or clarifying them) like the second  
sentence in the following:
---cut here---
IPv6 nodes MUST NOT assume any mathematical or other properties of the  
Flow Label
values assigned by source nodes.  Router performance SHOULD NOT be  
dependent on the
distribution of the Flow Label values. Especially, the Flow Label bits  
alone make
poor material for a hash key.
---cut here---
... specifically, if "router performance" is meant to imply the  
behavior of load-balancing on ECMP/LAG paths, then router performance  
*is* heavily dependent on the distribution of flow-label values ...

I've said all I'm going to say on this thread ...

-shane

From remi.despres@free.fr  Wed Aug  5 10:20:09 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 929D03A6768; Wed,  5 Aug 2009 10:20:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.806
X-Spam-Level: 
X-Spam-Status: No, score=-1.806 tagged_above=-999 required=5 tests=[AWL=0.143,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 x6decAYAXJqY; Wed,  5 Aug 2009 10:20:08 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id BDA5C28C5D2; Wed,  5 Aug 2009 10:18:58 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 91EA5E0811B; Wed,  5 Aug 2009 19:18:53 +0200 (CEST)
Received: from [192.168.0.15] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 68CD0E08115; Wed,  5 Aug 2009 19:18:51 +0200 (CEST)
In-Reply-To: <931157AA-67A4-4F60-8B32-B930A9AA814C@muada.com>
References: <75cb24520907280114w1c543206u329ea842d6f46f8c@mail.gmail.com> <200907280853.n6S8rsfI049268@givry.fdupont.fr> <75cb24520907280203h4d5acc64xa0aa3603918f6b3b@mail.gmail.com> <4A6F8C6C.9070405@gmail.com>	<m3eis0exyj.fsf@ursa.amorsen.dk> <4A70CB3D.4080807@gmail.com> <6B55F0F93C3E9D45AF283313B8D342BA043E9283@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <33FE6799-3D0B-4C44-B7B0-E77F8C59AEDF@free.fr> <7076A329-DA78-45CD-8A53-D3C43DC8D66E@nokia.com> <3E534685-6BC2-4D4C-A551-4A6F78D95C75@free.fr> <37540EE6-37BE-4CB6-9060-F1AEB6EC3CD9@muada.com> <6C244552-B655-4947-AF1E-4022D5228846@free.fr> <931157AA-67A4-4F60-8B32-B930A9AA814C@muada.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <65FB0AB1-3340-475C-BFE4-BF9E5849E4C2@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [BEHAVE] UDP zero checksums and v4 to v6 translators
Date: Wed, 5 Aug 2009 19:18:49 +0200
To: Iljitsch van Beijnum <iljitsch@muada.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, 6man 6man <ipv6@ietf.org>, Benny Amorsen <benny+usenet@amorsen.dk>, Christian Huitema <huitema@microsoft.com>, Behave WG <behave@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 17:20:09 -0000

Le 5 ao=FBt 09 =E0 16:09, Iljitsch van Beijnum a =E9crit :

> On 4 aug 2009, at 15:27, R=E9mi Despr=E9s wrote:
>
>>> That's pointless, because the IPv6 spec, against which =20
>>> implementations have been heavily tested, reject such packets.
>
>> You seem to have missed that the proposal includes a relaxation of =20=

>> the constraint that zero-checksum UDP datagrams MAY be accepted by =20=

>> hosts ion the future, just to avoid unnecessary black holes in =20
>> case of v4 to v6 translations.
>
> Although actual IPv6 packets flowing over the internet aren't as =20
> numerous as their IPv4 counterparts and at least "legacy" IPv6 =20
> stuff can't be as old as the oldest IPv4 stuff, we still have a =20
> very large installed IPv6 base out there that isn't going to adapt =20
> to modifying standards at the drop of a hat.

Never thought they were to adapt this way.

> If you send UDP packets with 0 checksums to IPv6 hosts, expect many =20=

> of them to reject those packets for a very long time, at the very =20
> least 5 years.

Too bad for these "many", but there is nothing vital here anyway.
Besides, if it takes 5 years to update IPv6 stacks; it's likely that =20
the coexistence period will last much longer.
Then, preventing blackholes in v4 to v6 translation will serve its =20
purpose for quite some time.
>
>> Is progress from what is implemented today a taboo?
>> (I hope not.)
>
> It's not taboo, just very hard. Apple and Microsoft aren't =20
> particularly quick with building in updates to the network stack, =20
> and after they've done that, it can take a long time for holdouts =20
> to upgrade. This is much harder than updating applications from =20
> competing vendors running in user space.

If we would only work on easy things, we would miss many useful =20
opportunities, right?


> But nobody is stopping you from coming up with a new UDP-like =20
> encapsulation that doesn't have a checksum.

You are the father of this idea and, as far as I am concerned, should =20=

remain so.
My point is about translated UDP in general, not focused on to tunnels.

RD=

From christopher.morrow@gmail.com  Wed Aug  5 10:35:14 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 85C7B3A7200; Wed,  5 Aug 2009 10:35:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 8ZE6yMD2sE9G; Wed,  5 Aug 2009 10:35:13 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id B763328C5EB; Wed,  5 Aug 2009 10:34:23 -0700 (PDT)
Received: by qyk41 with SMTP id 41so258573qyk.29 for <multiple recipients>; Wed, 05 Aug 2009 10:34:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=eYwciBxbEwZuhB35OcZJEP//5NS7C/V8qWxTeWWWS8Q=; b=uColTln5UxnWM0H034CZtNwaNRCZflJZIhJuyhMQ8XWxxzFCbSMieqFcxikPLe26x7 lKIHo55uJWPbETnrSoobl/ZCDvg+yisJrzLAER+/F3xx7uzpcNHzobCWo74nWEo7KoGa Gkvjx3YvyfyakkVnowpY/ERa5FLIYWQLSdgZ0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=XnVLPfqhOGau1OKeoz2oLiOVKlw0Y9XpSlICdjbo0VREZW6f5xe17tHfiBJ/wwSc9u L3FvuCXCUs1xs5X57quGdOzIpRYtoxVs/kA4SMTRX/tW8FMwSHA9UufiEjpT9FXsFBQ8 GbYNW+KlzhOR2Fw4lAq442LY7FyIu/oO1sXDU=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.19.213 with SMTP id c21mr7361931qab.103.1249493664487;  Wed, 05 Aug 2009 10:34:24 -0700 (PDT)
In-Reply-To: <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net>
Date: Wed, 5 Aug 2009 13:34:24 -0400
X-Google-Sender-Auth: ed45391740ff4ad9
Message-ID: <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Shane Amante <shane@castlepoint.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 17:35:14 -0000

On Wed, Aug 5, 2009 at 12:50 PM, Shane Amante<shane@castlepoint.net> wrote:
> Sam,
>
> On Aug 5, 2009, at 09:01 MDT, Sam Hartman wrote:
>>>>>>>
>>>>>>> "Shane" =3D=3D Shane Amante <shane@castlepoint.net> writes:
>>
>> =A0 Shane> Take a look at the following URL:
>> =A0 Shane> http://www.sixxs.net/faq/connectivity/?faq=3Dipv6transit
>> =A0 Shane> (Note, I can't vouch for the accuracy of the entire list,
>> =A0 Shane> but it's about the best publicly available list I've seen).
>>
>> =A0 Shane> That list includes some very large networks.
>>
>>
>> Thanks for the data! =A0Naturally that's only part of the answer to
>> Margaret's question. =A0We know which companies offer native IPV6
>> transit service.
>> We don't know:
>>
>> 1) How much V6 traffic they have 2) Whether they have V6
>> infrastructure that would scale to their current V6 traffic or say
>> their current V4 traffic 3) How much is done in hardware for their V6
>> infrastructure. =A04) How much of their network supports V6/how
>> widespread their V6 works. =A0Any information you can provide on these
>> sorts of questions would be very useful.
>
> I think question #1 is a little impractical, given that data is highly
> sensitive/confidential to each network. =A0However, one likely can Google=
/Bing
> around and find public Exchange points with graphs that show current v6
> traffic (as compared to v4 traffic). =A0Of course, I would highlight that
> these are *public* exchange points, thus they will not show v6 traffic go=
ing
> through private peering connections as well as staying Intra-provider,
> (i.e.: customer-to-customer inside a single provider) -- see first senten=
ce
> about sensitivity/confidentiality. =A0That said, there have been presenta=
tions
> at the last couple of IETF's (I forget if it was in 'behave' or 'v6ops'
> WG's, or both) surrounding Free Telecom's rollout of '6rd' that show thei=
r
> v6 traffic, which has some astounding growth and traffic rates. =A0Regard=
less,
> one should consider the following graphs a absolute "floor" of v6 traffic
> and there is definitely more, in absolute terms, v6 traffic than is visib=
le
> in these graphs.
> Here's one example from AMS-IX showing v6 traffic:
> http://www.ams-ix.net/technical/stats/sflow/?type=3Dipv6
> And, here are graphs showing Total traffic load, (I believe this includes
> the v6 traffic in the graph above, but am not 100% certain on that point)=
:
> http://www.ams-ix.net/technical/stats/
> According to these graphs, v6 traffic is just a fraction of v4 traffic, b=
ut
> it is definitely growing and, FWIW, it's a lot more than Inter-AS multica=
st
> traffic as seen by other graphs at the AMS-IX Web site. =A0:-/
>
> With respect to #2, SP's have been mandating that they only buy v6-capabl=
e
> HW for the last /several years/ as part of the normal growth/replacement
> cycle of network equipment. =A0So, yes, this equipment should scale to su=
pport
> v6 traffic at the same, (or nearly the same), rates as v4 traffic today.
>
> #3: All v6 forwarding is done in HW for larger, "PE" or "P" class devices=
,
> which are the subject of this thread.
>
> #4: Depends on where the carrier is at in their deployment of v6. =A0Howe=
ver,
> I would refer you back to question #2, which is even if it's not technica=
lly
> offered at a given location today, it is only a matter of time given that
> the HW is already deployed to do so (and, has been deployed for several
> years).
>
>
> To bring this back up a level, while it's /possible/ to encourage vendors=
 to
> adopt the IPv6 flow-label as input-keys to their hash-calculations for
> LAG/ECMP, it takes [a lot] of time to see that materialize in the field.
> =A0Practically, you're probably looking at somewhere between, at best, a =
3 =A0-
> 5 year window, before it will actually appear in live, production network=
s,

s/networks/hardware-shipped-by-vendors/

You may see 2-3 year cycle on new asics for this feature to appear...
given 1-2 years for haggling/bugs/blah it's safe to say 3-5 yrs before
hardware is on the shelf to purchase.

Look at jason schiller's presos at IETF/RAWS/RRG that show 5-7 year
lifecycle of equipment in a network, so add some years before shipped
and deployed hardware is in general coverage in a network. Call it 10+
before it's ubiquitous...

> given that it has to be prioritized for development at the vendor, tested=
,
> released in software, then re-tested by the SP and, finally, deployed.

and hopefully deployed in the hardware, since that's where this
decision is made today (in v4 and v6 by 5-tuple). Software routers are
dead in any large SP for an serious workload. (P or PE devices)

> =A0That's not an "easy" process that happens in the blink-of-an-eye. =A0T=
hat's
> not to say that we (SP's) should not "encourage" vendors to do this, anyw=
ay,
> (we are/will) however if LISP (or other protocols like it that depend on
> tunneling) quickly gain traction, we need a way to deal with these traffi=
c
> flows in our networks today, without telling customers: "turn off protoco=
l
> <FOO>, because we can't deliver your packets". =A0Perhaps one way to sati=
sfy
> the parties in this conversation would be something along the following
> lines:
> - LISP, and other protocols that wish to use tunneling, adopt UDP-lite (o=
r
> UDP w/ 0 checksums) as a MUST for near-term deployment;
> - LISP, and other protocols that wish to use tunneling, adopt IP-in-IPv6
> tunneling with a flow-label required in the outer IPv6 header as a "SHOUL=
D"
> for medium- to long-term deployments.
> ... assuming vendors successfully adopt the IPv6 flow-label as input-keys=
 in
> their hash calculations at some point in the future, we come back and
> deprecate the UDP/IPv6 tunnel method and elevate IP-in-IPv6 w/ flow-label=
s
> to a MUST.
>
> It likely wouldn't hurt to go back and "tighten up" RFC 3697, as well, in
> order that it offers more prescriptive behavior in several places, not le=
ast
> of which would be:
> 1) =A0How to deal with regular IP-in-IPv6 encapsulation, (i.e.: likely by
> creating a flow-label based on a "hash" of the incoming, to-be-encapsulat=
ed
> L3 & L4 header fields), since the RFC only discusses IPsec tunneling; and=
,
> 2) =A0Removing other "gems" (or clarifying them) like the second sentence=
 in
> the following:
> ---cut here---
> IPv6 nodes MUST NOT assume any mathematical or other properties of the Fl=
ow
> Label
> values assigned by source nodes. =A0Router performance SHOULD NOT be depe=
ndent
> on the
> distribution of the Flow Label values. Especially, the Flow Label bits al=
one
> make
> poor material for a hash key.
> ---cut here---

'flow label bits alone make a poor material for a hash key'... isn't
this the reverse of saying that we'll (operators) require vendors to
use flow-label for hashing on ECMP/LAG? If so, then... I don't think
flow-label's going to cut it.

-chris

> ... specifically, if "router performance" is meant to imply the behavior =
of
> load-balancing on ECMP/LAG paths, then router performance *is* heavily
> dependent on the distribution of flow-label values ...
>
> I've said all I'm going to say on this thread ...
>
> -shane
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp
>

From hartmans@mit.edu  Wed Aug  5 10:43:27 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 43C9F3A6768; Wed,  5 Aug 2009 10:43:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.24
X-Spam-Level: 
X-Spam-Status: No, score=-2.24 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 22z1a4u1axwB; Wed,  5 Aug 2009 10:43:26 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 54F3A28C5FB; Wed,  5 Aug 2009 10:43:26 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 0239A64492; Wed,  5 Aug 2009 13:43:24 -0400 (EDT)
To: Shane Amante <shane@castlepoint.net>
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Wed, 05 Aug 2009 13:43:24 -0400
In-Reply-To: <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> (Shane Amante's message of "Wed\, 5 Aug 2009 10\:50\:32 -0600")
Message-ID: <tslhbwmb1hf.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: ipv6@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 17:43:28 -0000

>>>>> "Shane" == Shane Amante <shane@castlepoint.net> writes:
    Shane> With respect to #2, SP's have been mandating that they only
    Shane> buy v6- capable HW for the last /several years/ as part of
    Shane> the normal growth/ replacement cycle of network equipment.
    Shane> So, yes, this equipment should scale to support v6 traffic
    Shane> at the same, (or nearly the same), rates as v4 traffic
    Shane> today.

I don't see how this follows at all.  I can sell you a box that
supports V6 and that provides much lower performance for V6 than V4,
but that still meets your requirement of supporting V6.

You may be trying to tell me that SP's are unwilling to buy such boxes
and explicitly want boxes where V6 and V4 performance is the same.  If
that is what you are saying, it is very interesting, but it goes far
beyond simply saying that SPs are buying V6-supporting devices.

From jmh@joelhalpern.com  Wed Aug  5 10:42:15 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5966428C5E4; Wed,  5 Aug 2009 10:42:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.444
X-Spam-Level: 
X-Spam-Status: No, score=-3.444 tagged_above=-999 required=5 tests=[AWL=0.155,  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 fgo0CvkOhKsB; Wed,  5 Aug 2009 10:42:14 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 235773A71F5; Wed,  5 Aug 2009 10:42:14 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 514AB430972; Wed,  5 Aug 2009 10:42:17 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id AE5CB430951; Wed,  5 Aug 2009 10:42:16 -0700 (PDT)
Message-ID: <4A79C478.9020001@joelhalpern.com>
Date: Wed, 05 Aug 2009 13:42:16 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: ipv6@ietf.org
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>	<4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>	<4A78F3C6.4020602@joelhalpern.com>	<AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>	<7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>	<tsltz0mcnk2.fsf@mit.edu>	<F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com>
In-Reply-To: <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 05 Aug 2009 10:46:40 -0700
Cc: lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 17:42:15 -0000

Reading this discussion, there seem to be a small number of practical 
choices.

If the vendor hardware that is / will be handling IPv6 can handle the 
flow label as part of the ECMP / LAG calcualtion, than an I-D / 
direction to use the flow label seems sensible.  (This is about what 
will be used, not what off-the-shelf parts might support in some other 
box.)  While hardware upgrades take a long time, software upgrades are 
easier, particularly if it makes the operators traffic handling work better.

Conversely, if the hardware we have to count on will not be able to 
handle flow labels for ECMP / LAG hash calculations, then it probably 
also won't be able to handle alternate protocols (like UDP-lite).  As 
such, everything that needs ECMP / LAG handling will need to have TCP or 
UDP encapsulations, and given that many of those are protected, we will 
want to allow UDP with 0 checksum.

Yours,
Joel


From christopher.morrow@gmail.com  Wed Aug  5 11:06:51 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8F3AA28C5FD; Wed,  5 Aug 2009 11:06:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 sTIhJ7B9pgLk; Wed,  5 Aug 2009 11:06:50 -0700 (PDT)
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by core3.amsl.com (Postfix) with ESMTP id 9452428C4B7; Wed,  5 Aug 2009 11:06:50 -0700 (PDT)
Received: by qw-out-2122.google.com with SMTP id 5so113304qwi.31 for <multiple recipients>; Wed, 05 Aug 2009 11:06:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=l1w4e/0BSDROb4RXN3SJwKLrw/EmgDZ58v2KsMpphR0=; b=A7JuUJqzUv8MPp7SbJiLY4DfwbNqS3msprq9UaSgjZ36BshRWKUcBm1Ku4P05GolKg 70/Jrl3kua6ynMDro07sUbxrgViIJTQmzAZcFmMOlrNFZp7ayhExxBu5Ti1K45YBTkNl xUm9OnHuRHmNDxPXvwQQcyd9y1Q1Mrpw8KXfY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wt77RmEuIsG34ewUREnHP7s1ltKHpJz6tr54i0Siwvo1T/2MPnnsAVJLnZwWHOwNag fe8aw0HXFGSC8gWteYbR4cua2Xe1+71PfXfJPznzUYLFN0IagMNvr/9+xUcp0QlyzuUM Dcf142YoWN5v0WJUP3TERm7nB81Nl2cMlc+YU=
MIME-Version: 1.0
Received: by 10.224.67.129 with SMTP id r1mr7407540qai.246.1249495610667; Wed,  05 Aug 2009 11:06:50 -0700 (PDT)
In-Reply-To: <tslhbwmb1hf.fsf@mit.edu>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <tslhbwmb1hf.fsf@mit.edu>
Date: Wed, 5 Aug 2009 14:06:50 -0400
Message-ID: <75cb24520908051106j150d60b1j31452cf968a11bca@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <christopher.morrow@gmail.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 18:06:51 -0000

On Wed, Aug 5, 2009 at 1:43 PM, Sam Hartman<hartmans-ietf@mit.edu> wrote:
>>>>>> "Shane" =3D=3D Shane Amante <shane@castlepoint.net> writes:
> =A0 =A0Shane> With respect to #2, SP's have been mandating that they only
> =A0 =A0Shane> buy v6- capable HW for the last /several years/ as part of
> =A0 =A0Shane> the normal growth/ replacement cycle of network equipment.
> =A0 =A0Shane> So, yes, this equipment should scale to support v6 traffic
> =A0 =A0Shane> at the same, (or nearly the same), rates as v4 traffic
> =A0 =A0Shane> today.
>
> I don't see how this follows at all. =A0I can sell you a box that
> supports V6 and that provides much lower performance for V6 than V4,
> but that still meets your requirement of supporting V6.
>
> You may be trying to tell me that SP's are unwilling to buy such boxes
> and explicitly want boxes where V6 and V4 performance is the same. =A0If

an SP can't know a-priori what protocol traffic is using on a transit
device (presuming it supports both popular protocols of course). So,
the only viable answer for an SP today who has dual-stacked their
network is to demand performance parity.

(which I think all large sp's are doing, which is one of the reasons
that large SP deployments of v6 aren't moving along at a pace that
some folks want. There are still significant numbers of devices not
capable of doing line-rate v6 forwarding.)

-chris

> that is what you are saying, it is very interesting, but it goes far
> beyond simply saying that SPs are buying V6-supporting devices.
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>

From mrw@sandstorm.net  Wed Aug  5 11:33:22 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 47F6F3A6906; Wed,  5 Aug 2009 11:33:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.159
X-Spam-Level: 
X-Spam-Status: No, score=-2.159 tagged_above=-999 required=5 tests=[AWL=0.106,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 cBfS74OsNDKo; Wed,  5 Aug 2009 11:33:21 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id D32343A6803; Wed,  5 Aug 2009 11:33:20 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n75IXBur059104 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Aug 2009 14:33:11 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Shane Amante <shane@castlepoint.net>
In-Reply-To: <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 14:33:11 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 18:33:22 -0000

Hi Shane,

On Aug 5, 2009, at 12:50 PM, Shane Amante wrote:
>
> To bring this back up a level, while it's /possible/ to encourage  
> vendors to adopt the IPv6 flow-label as input-keys to their hash- 
> calculations for LAG/ECMP, it takes [a lot] of time to see that  
> materialize in the field.  Practically, you're probably looking at  
> somewhere between, at best, a 3  - 5 year window, before it will  
> actually appear in live, production networks, given that it has to  
> be prioritized for development at the vendor, tested, released in  
> software, then re-tested by the SP and, finally, deployed.  That's  
> not an "easy" process that happens in the blink-of-an-eye.  That's  
> not to say that we (SP's) should not "encourage" vendors to do this,  
> anyway, (we are/will) however if LISP (or other protocols like it  
> that depend on tunneling) quickly gain traction, we need a way to  
> deal with these traffic flows in our networks today, without telling  
> customers: "turn off protocol <FOO>, because we can't deliver your  
> packets".

ECMP of LISP flows is an optimization that only matters when there is  
a large amount of LISP traffic, right?  Do you think there is a  
reasonable chance that LISP would be widely-enough to deployed to  
require this optimization in less than 3-to-5 years?

> Perhaps one way to satisfy the parties in this conversation would be  
> something along the following lines:
> - LISP, and other protocols that wish to use tunneling, adopt UDP- 
> lite (or UDP w/ 0 checksums) as a MUST for near-term deployment;
> - LISP, and other protocols that wish to use tunneling, adopt IP-in- 
> IPv6 tunneling with a flow-label required in the outer IPv6 header  
> as a "SHOULD" for medium- to long-term deployments.
> ... assuming vendors successfully adopt the IPv6 flow-label as input- 
> keys in their hash calculations at some point in the future, we come  
> back and deprecate the UDP/IPv6 tunnel method and elevate IP-in-IPv6  
> w/ flow-labels to a MUST.

I would agree to this statement if one of two things were to happen:   
(1) we were to remove "(or UDP w/0 checksums) -- making UDP-Lite a  
MUST in the near term", or (2) we were to satisfy ourselves that using  
zero checksums will not represent an operational problem for LISP, or  
for other applications that need to co-habitate with LISP, and we were  
to add a normative dependency on a document (like Marshall's, with  
edits) that would allow the use of UDP w/0 checksums over IPv6 in some  
cases, with LISP being an example of a case where this was appropriate.

Margaret


From christopher.morrow@gmail.com  Wed Aug  5 11:55:08 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 44C2A28C5F0; Wed,  5 Aug 2009 11:55:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 mWIJjfhtvDDN; Wed,  5 Aug 2009 11:55:07 -0700 (PDT)
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by core3.amsl.com (Postfix) with ESMTP id CEC4728C636; Wed,  5 Aug 2009 11:54:20 -0700 (PDT)
Received: by qw-out-2122.google.com with SMTP id 5so127788qwi.31 for <multiple recipients>; Wed, 05 Aug 2009 11:54:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=sNqJxxhSj8ox/SWPl11OuH4KM/w8P7DfkPwSIbDQWqc=; b=up3lXJpamvjx34VMZnEsUyhnGMsykHCveHTGug2veY22FPpDdJQbXZvFgl3vg2vJI4 9F6EZXPcA8NvgMzHtRxX32RMpOyV2xH+IGR0K+vybnfVxb3owNsMazNZ6pJ/8iVQmKa4 NbkUDMWjAvJHnY/XbbfGdiD1X1OmuOWgAnnJk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=AcpK+FJUG0+fD4WObHFj9KoL5BRBQblcjB5Je7Vw+rC/WZK7eIWmWzm9y/Kdtvjfj7 GHClGMG4plFV2Ft/uQxrLGD7JrqUgPG4Uwajp9W0ojljHiJik9vKhekmYm3QNBNZp8i1 3LEYFn3KHhJqhQhcdDg7Yo2mWlfve1xgS9dCQ=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.61.9 with SMTP id r9mr7539208qah.84.1249498461776; Wed, 05  Aug 2009 11:54:21 -0700 (PDT)
In-Reply-To: <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net>
Date: Wed, 5 Aug 2009 14:54:21 -0400
X-Google-Sender-Auth: d48d93680c17524c
Message-ID: <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Margaret Wasserman <mrw@sandstorm.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 18:55:08 -0000

On Wed, Aug 5, 2009 at 2:33 PM, Margaret Wasserman<mrw@sandstorm.net> wrote=
:
>
> Hi Shane,
>
> On Aug 5, 2009, at 12:50 PM, Shane Amante wrote:
>>
>> To bring this back up a level, while it's /possible/ to encourage vendor=
s
>> to adopt the IPv6 flow-label as input-keys to their hash-calculations fo=
r
>> LAG/ECMP, it takes [a lot] of time to see that materialize in the field.
>> =A0Practically, you're probably looking at somewhere between, at best, a=
 3 =A0-
>> 5 year window, before it will actually appear in live, production networ=
ks,
>> given that it has to be prioritized for development at the vendor, teste=
d,
>> released in software, then re-tested by the SP and, finally, deployed.
>> =A0That's not an "easy" process that happens in the blink-of-an-eye. =A0=
That's
>> not to say that we (SP's) should not "encourage" vendors to do this, any=
way,
>> (we are/will) however if LISP (or other protocols like it that depend on
>> tunneling) quickly gain traction, we need a way to deal with these traff=
ic
>> flows in our networks today, without telling customers: "turn off protoc=
ol
>> <FOO>, because we can't deliver your packets".
>
> ECMP of LISP flows is an optimization that only matters when there is a
> large amount of LISP traffic, right? =A0Do you think there is a reasonabl=
e
> chance that LISP would be widely-enough to deployed to require this
> optimization in less than 3-to-5 years?

in the extreme it's only needed for +1g flows, but there are lots of
places where this may be necessary across smaller links ecmp'd
together... Planning for no ECMP is not a plan that's sensible. There
must be a way to sensibly hash traffic across more than one path in a
network (not just local ecmp on a single LAG or set of links, think
about multple lsp's between 2 distant endpoints).

>> Perhaps one way to satisfy the parties in this conversation would be
>> something along the following lines:
>> - LISP, and other protocols that wish to use tunneling, adopt UDP-lite (=
or
>> UDP w/ 0 checksums) as a MUST for near-term deployment;
>> - LISP, and other protocols that wish to use tunneling, adopt IP-in-IPv6
>> tunneling with a flow-label required in the outer IPv6 header as a "SHOU=
LD"
>> for medium- to long-term deployments.
>> ... assuming vendors successfully adopt the IPv6 flow-label as input-key=
s
>> in their hash calculations at some point in the future, we come back and
>> deprecate the UDP/IPv6 tunnel method and elevate IP-in-IPv6 w/ flow-labe=
ls
>> to a MUST.
>
> I would agree to this statement if one of two things were to happen: =A0(=
1) we
> were to remove "(or UDP w/0 checksums) -- making UDP-Lite a MUST in the n=
ear

What was the original reason for removing the ability to do zero
checksums on udp in v6? Are we sure that that decision is still
sensible/appropriate in today's internet/world?

-Chris

> term", or (2) we were to satisfy ourselves that using zero checksums will
> not represent an operational problem for LISP, or for other applications
> that need to co-habitate with LISP, and we were to add a normative
> dependency on a document (like Marshall's, with edits) that would allow t=
he
> use of UDP w/0 checksums over IPv6 in some cases, with LISP being an exam=
ple
> of a case where this was appropriate.
>
> Margaret
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp
>

From mrw@sandstorm.net  Wed Aug  5 12:08:09 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 68F843A721A; Wed,  5 Aug 2009 12:08:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.167
X-Spam-Level: 
X-Spam-Status: No, score=-2.167 tagged_above=-999 required=5 tests=[AWL=0.098,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 8FdvyEIVllqo; Wed,  5 Aug 2009 12:08:08 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 705943A6AD5; Wed,  5 Aug 2009 12:08:08 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n75J89MB060998 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Aug 2009 15:08:09 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <7B439CB4-6340-4158-9AAB-62599BA43EC6@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A79C478.9020001@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 15:08:09 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>	<4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>	<4A78F3C6.4020602@joelhalpern.com>	<AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>	<7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>	<tsltz0mcnk2.fsf@mit.edu>	<F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com> <4A79C478.9020001@joelhalpern.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 19:08:09 -0000

Hi Joel,

On Aug 5, 2009, at 1:42 PM, Joel M. Halpern wrote:

> Reading this discussion, there seem to be a small number of  
> practical choices.
>
> If the vendor hardware that is / will be handling IPv6 can handle  
> the flow label as part of the ECMP / LAG calcualtion, than an I-D /  
> direction to use the flow label seems sensible.  (This is about what  
> will be used, not what off-the-shelf parts might support in some  
> other box.)  While hardware upgrades take a long time, software  
> upgrades are easier, particularly if it makes the operators traffic  
> handling work better.
>
> Conversely, if the hardware we have to count on will not be able to  
> handle flow labels for ECMP / LAG hash calculations, then it  
> probably also won't be able to handle alternate protocols (like UDP- 
> lite).  As such, everything that needs ECMP / LAG handling will need  
> to have TCP or UDP encapsulations, and given that many of those are  
> protected, we will want to allow UDP with 0 checksum.

Could you explain what you mean by "given that many of those are  
protected"?

I have this uncomfortable feeling that many of us (including me) are  
missing important details of what is being discussed here, and that  
the answer (or at least the problem) might become clearer if we could  
pool our knowledge...

For example, I really don't understand how LISP, as currently defined,  
gains any significant LAG/ECMP benefits by including a UDP header in  
the outer packet...  I understand that you want to be able to load- 
balance flows, even though they've been encapsulated by LISP.  And I  
understand that current load balancers can only do this based on a few  
fields:
src/dest IP addresses (two RLOCs), the IP traffic class, the IP  
protocol field (UDP=17) and the src/dest UDP ports (xxxx and LISP=4341).

I just don't see how this works very well with LISP, though...  The  
two RLOCs are likely to be constant for all traffic between the same  
LISP routers, and ITR/ETR pair (right?).  The protocol will always be  
UDP (as currently defined), and LISP doesn't do anything unusual with  
the traffic class.  So, are we expecting all of the load balancing for  
LISP flows between a specific ITR/ETR pair to be based on the single  
UDP port that _isn't_ 4341?  Wouldn't this end-up with a bi- 
directional flow being broken into two different flows for load  
balancing, resulting in asymmetric routing, because the load balancer  
wouldn't see the same two UDP ports in both directions?

I guess I really need to read that ECMP draft again...

Margaret





From jmh@joelhalpern.com  Wed Aug  5 12:20:08 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F95A28C65E; Wed,  5 Aug 2009 12:20:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.45
X-Spam-Level: 
X-Spam-Status: No, score=-3.45 tagged_above=-999 required=5 tests=[AWL=0.149,  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 6zAP4p8CV1LY; Wed,  5 Aug 2009 12:20:07 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 8374C28C586; Wed,  5 Aug 2009 12:18:46 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id B470C430992; Wed,  5 Aug 2009 12:18:49 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 6187043098B; Wed,  5 Aug 2009 12:18:48 -0700 (PDT)
Message-ID: <4A79DB17.7050006@joelhalpern.com>
Date: Wed, 05 Aug 2009 15:18:47 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Margaret Wasserman <mrw@sandstorm.net>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>	<4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>	<4A78F3C6.4020602@joelhalpern.com>	<AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>	<7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>	<tsltz0mcnk2.fsf@mit.edu>	<F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com> <4A79C478.9020001@joelhalpern.com> <7B439CB4-6340-4158-9AAB-62599BA43EC6@sandstorm.net>
In-Reply-To: <7B439CB4-6340-4158-9AAB-62599BA43EC6@sandstorm.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 19:20:08 -0000

The basic model is that ECMP works by hashing all the fields.
Therefore, you need two related properties:
1) You need those fields to be stable across all the packets in a flow 
in one direction.  (There is absolutely no need for the answer to be the 
same in the reverse direction, as there is no order preservation issue 
between the two direcitons.
2) You need to be able to produce (with high probability) different 
answers for different flows, so that the hash logic can spread the 
different flows across different paths / links.

By varying the source port in the UDP header LISP allows the balancing 
logic to spread flows.  (The exactly logic it chooses to use to pick the 
source port is a local matter.  If there are enough different traffic 
sources, it can use the inner source address (EID).  Or it can use the 
EID, and where available source and dest port numbers.

As you implied, there is no RFC on this.  That is because it is a local 
behavior.  (different devices can do different things, and it still 
works.)  The problem we have surfaced is that other systems actually do 
depend upon this behavior, and therefore it probably needs to be documented.

It has been a very long time since I actually worked with this aspect of 
router (forwarding) logic.

Joel

Margaret Wasserman wrote:
> 
> Hi Joel,
> 
> On Aug 5, 2009, at 1:42 PM, Joel M. Halpern wrote:
> 
>> Reading this discussion, there seem to be a small number of practical 
>> choices.
>>
>> If the vendor hardware that is / will be handling IPv6 can handle the 
>> flow label as part of the ECMP / LAG calcualtion, than an I-D / 
>> direction to use the flow label seems sensible.  (This is about what 
>> will be used, not what off-the-shelf parts might support in some other 
>> box.)  While hardware upgrades take a long time, software upgrades are 
>> easier, particularly if it makes the operators traffic handling work 
>> better.
>>
>> Conversely, if the hardware we have to count on will not be able to 
>> handle flow labels for ECMP / LAG hash calculations, then it probably 
>> also won't be able to handle alternate protocols (like UDP-lite).  As 
>> such, everything that needs ECMP / LAG handling will need to have TCP 
>> or UDP encapsulations, and given that many of those are protected, we 
>> will want to allow UDP with 0 checksum.
> 
> Could you explain what you mean by "given that many of those are 
> protected"?
> 
> I have this uncomfortable feeling that many of us (including me) are 
> missing important details of what is being discussed here, and that the 
> answer (or at least the problem) might become clearer if we could pool 
> our knowledge...
> 
> For example, I really don't understand how LISP, as currently defined, 
> gains any significant LAG/ECMP benefits by including a UDP header in the 
> outer packet...  I understand that you want to be able to load-balance 
> flows, even though they've been encapsulated by LISP.  And I understand 
> that current load balancers can only do this based on a few fields:
> src/dest IP addresses (two RLOCs), the IP traffic class, the IP protocol 
> field (UDP=17) and the src/dest UDP ports (xxxx and LISP=4341).
> 
> I just don't see how this works very well with LISP, though...  The two 
> RLOCs are likely to be constant for all traffic between the same LISP 
> routers, and ITR/ETR pair (right?).  The protocol will always be UDP (as 
> currently defined), and LISP doesn't do anything unusual with the 
> traffic class.  So, are we expecting all of the load balancing for LISP 
> flows between a specific ITR/ETR pair to be based on the single UDP port 
> that _isn't_ 4341?  Wouldn't this end-up with a bi-directional flow 
> being broken into two different flows for load balancing, resulting in 
> asymmetric routing, because the load balancer wouldn't see the same two 
> UDP ports in both directions?
> 
> I guess I really need to read that ECMP draft again...
> 
> Margaret
> 
> 
> 
> 
> 

From mrw@sandstorm.net  Wed Aug  5 12:32:44 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9167A3A6AD1; Wed,  5 Aug 2009 12:32:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.175
X-Spam-Level: 
X-Spam-Status: No, score=-2.175 tagged_above=-999 required=5 tests=[AWL=0.090,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 dQi9KQNz3Jdt; Wed,  5 Aug 2009 12:32:43 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id AD3443A6933; Wed,  5 Aug 2009 12:32:43 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n75JWPVa062181 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Aug 2009 15:32:25 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Christopher Morrow <morrowc.lists@gmail.com>
In-Reply-To: <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 15:32:25 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 19:32:44 -0000

On Aug 5, 2009, at 2:54 PM, Christopher Morrow wrote:
>
> What was the original reason for removing the ability to do zero
> checksums on udp in v6? Are we sure that that decision is still
> sensible/appropriate in today's internet/world?

I have not been around long enough to have been there when that  
decision was made. However, it has been revisited several times, so  
I've heard the re-hashed reasons...

The removal of the IPv6 header checksum was done so that routers would  
not have to updated it on a hop-by-hop basis when they changed the IP  
TTL.  Also, the IP header checksum calculation was seen as redundant  
for most traffic (TCP and UDP with checksums enabled), and people  
wanted to avoid the extra processing.

However, there was concern that the removal of the IP header checksum  
in IPv6 would lessen the protection of the source/destination IP  
addresses and result in a significant (a multiplier of ~32,000)  
increase in the number of times that a UDP packet was accidentally  
delivered to the wrong destination address and/or apparently sourced  
from the wrong source address when UDP checksums were set to zero --  
at the time there were vendors who shipped their IP stacks with UDP  
checksums turned off by default.  There was concern that this would  
result in misdelivery of data to UDP applications (dropped connections  
or even corrupted data -- we all saw this when NFS data was corrupted  
on the wire), in replies sent to nodes that didn't send a request  
(perhaps interrupting valid exchanges), and/or in ICMP errors sent to  
nodes that didn't send the packet that generated the error (perhaps  
resulting in dropped communications or unintelligible user errors).

The solution for this concern was to mandate UDP checksums for IPv6,  
so that the IP source and destination addresses would be protected by  
the UDP pseudo-header checksum.

There might be other solutions that we could implement in LISP that  
would eliminate these concerns, as well.

Margaret



From christopher.morrow@gmail.com  Wed Aug  5 12:55:09 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B185128C5B9; Wed,  5 Aug 2009 12:55:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 kZ6-crepF8-F; Wed,  5 Aug 2009 12:55:08 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id 4438D28C61A; Wed,  5 Aug 2009 12:55:01 -0700 (PDT)
Received: by qyk41 with SMTP id 41so364662qyk.29 for <multiple recipients>; Wed, 05 Aug 2009 12:55:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ICtftxQ7ATfJRNYm2OkY2fo4Fj8Vr4NedLkWgZjHurY=; b=EThXXPgVd2jK6d95oXqVEN/ayIgOP9fXICkOaK5mpuIIzkP+hpb/GbiWUG8Pzcz8X8 iYOaTpzeUJPBUqcLBTSjN32M8JbLnw6Rr0UxrgyLl5SMzIP60ItmbCmHUgskDKyUeR66 1mtBKRkLuLkbjVI3Q0CeczmJBEo5L9sSg+GtI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Qrduqm9le2PrjQ5W9OWRENu/H7mqEwbkXjU1p5zbuFA6idD00OO5Jn/wQwW1L6OLA9 1g15ZhHGkojVFmiMrBGdJYYUUOGa3vVElBl0YndMCEl6X1abCMOndp4ZuwXWSRrJDXOY mZqAQ2U71oix5J0hIPZGzVP+7zr8J+lW1RVfo=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.61.9 with SMTP id r9mr7621010qah.84.1249502101636; Wed, 05  Aug 2009 12:55:01 -0700 (PDT)
In-Reply-To: <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com> <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net>
Date: Wed, 5 Aug 2009 15:55:01 -0400
X-Google-Sender-Auth: 2bbb7fe36f25c887
Message-ID: <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Margaret Wasserman <mrw@sandstorm.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 19:55:09 -0000

On Wed, Aug 5, 2009 at 3:32 PM, Margaret Wasserman<mrw@sandstorm.net> wrote=
:
>
> On Aug 5, 2009, at 2:54 PM, Christopher Morrow wrote:
>>
>> What was the original reason for removing the ability to do zero
>> checksums on udp in v6? Are we sure that that decision is still
>> sensible/appropriate in today's internet/world?
>
> I have not been around long enough to have been there when that decision =
was
> made. However, it has been revisited several times, so I've heard the
> re-hashed reasons...
>
> The removal of the IPv6 header checksum was done so that routers would no=
t
> have to updated it on a hop-by-hop basis when they changed the IP TTL.
> =A0Also, the IP header checksum calculation was seen as redundant for mos=
t
> traffic (TCP and UDP with checksums enabled), and people wanted to avoid =
the
> extra processing.

The 'extra processing' is done today in v4 though, right? and
apparently not a huge problem for routers even at line-rate 10/40G?

> However, there was concern that the removal of the IP header checksum in
> IPv6 would lessen the protection of the source/destination IP addresses a=
nd
> result in a significant (a multiplier of ~32,000) increase in the number =
of
> times that a UDP packet was accidentally delivered to the wrong destinati=
on
> address and/or apparently sourced from the wrong source address when UDP
> checksums were set to zero -- at the time there were vendors who shipped
> their IP stacks with UDP checksums turned off by default. =A0There was co=
ncern
> that this would result in misdelivery of data to UDP applications (droppe=
d

Does this happen today with any appreciable frequency? (on packets
without udp checksum, say that come from edonkey/emule or other
sources of zero/no checksum on udp)

> connections or even corrupted data -- we all saw this when NFS data was
> corrupted on the wire), in replies sent to nodes that didn't send a reque=
st
> (perhaps interrupting valid exchanges), and/or in ICMP errors sent to nod=
es
> that didn't send the packet that generated the error (perhaps resulting i=
n
> dropped communications or unintelligible user errors).

This I don't recall at all... I think part of my question is we (as a
group) are assuming that the reasons for requiring ipv6 udp checksums
as stated +10 years ago are still valid, I don't see data supporting
that fact.

-Chris

> The solution for this concern was to mandate UDP checksums for IPv6, so t=
hat
> the IP source and destination addresses would be protected by the UDP
> pseudo-header checksum.
>
> There might be other solutions that we could implement in LISP that would
> eliminate these concerns, as well.

From mrw@sandstorm.net  Wed Aug  5 14:07:47 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F77B3A722E; Wed,  5 Aug 2009 14:07:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.181
X-Spam-Level: 
X-Spam-Status: No, score=-2.181 tagged_above=-999 required=5 tests=[AWL=0.084,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 Hjt7BXu0eaLi; Wed,  5 Aug 2009 14:07:47 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id C91FA3A7221; Wed,  5 Aug 2009 14:07:46 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n75L7fne066700 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Aug 2009 17:07:45 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <B8514AA9-A2BE-46A8-A59E-3463D0EA0178@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Christopher Morrow <morrowc.lists@gmail.com>
In-Reply-To: <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Wed, 5 Aug 2009 17:07:41 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com> <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net> <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 21:07:47 -0000

On Aug 5, 2009, at 3:55 PM, Christopher Morrow wrote:
>>
>
> This I don't recall at all... I think part of my question is we (as a
> group) are assuming that the reasons for requiring ipv6 udp checksums
> as stated +10 years ago are still valid, I don't see data supporting
> that fact.

There are some classic papers on this topic.  The most recent I could  
find is from 2000:

http://conferences.sigcomm.org/sigcomm/2000/conf/abstract/9-1.htm

In a quick re-read of this paper, I didn't see anything that is  
obviously dated about it.  So, I'd assume its error rates and analysis  
are still pertinent, unless there is a more recent study that says  
otherwise.

Margaret




From hesham@elevatemobile.com  Wed Aug  5 15:10:49 2009
Return-Path: <hesham@elevatemobile.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7C0E028C5AF; Wed,  5 Aug 2009 15:10:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 kPmpn+gZU717; Wed,  5 Aug 2009 15:10:48 -0700 (PDT)
Received: from smtp-2.servers.netregistry.net (smtp.netregistry.net [202.124.241.204]) by core3.amsl.com (Postfix) with ESMTP id 95C6828C4FD; Wed,  5 Aug 2009 15:10:47 -0700 (PDT)
Received: from [93.139.12.128] (helo=[192.168.1.4]) by smtp-2.servers.netregistry.net protocol: esmtpa (Exim 4.63 #1 (Debian)) id 1MYoh3-0000Za-8K; Thu, 06 Aug 2009 08:10:46 +1000
User-Agent: Microsoft-Entourage/12.20.0.090605
Date: Thu, 06 Aug 2009 08:10:30 +1000
Subject: Re: Flow label redux [Re: [lisp] IPv6 UDP checksum issue]
From: Hesham Soliman <hesham@elevatemobile.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <C6A04076.EAB5%hesham@elevatemobile.com>
Thread-Topic: Flow label redux [Re: [lisp] IPv6 UDP checksum issue]
Thread-Index: AcoWGYtEhSq/kGY3LU+X/CTX5JOiTQ==
In-Reply-To: <4A78B51C.2010902@gmail.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Authenticated-User: hesham@elevatemobile.com
Cc: Iljitsch van Beijnum <iljitsch@muada.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2009 22:10:49 -0000

On 5/08/09 8:24 AM, "Brian E Carpenter" <brian.e.carpenter@gmail.com> wrote:

> Hi Joel,
> 
> 
> On 2009-08-05 03:08, Joel M. Halpern wrote:
>> It has become clear with the passage of time that the description of the
>> flow label in the original IPv6 specs served only to convince everyone
>> not to use that field for anything.  Even now, no one is sure what to do
>> with it.
> 
> If you're referring to the lame appendix to RFC2460, that's exactly
> why we wrote RFC3697. My understanding is that some stacks do set the
> flow label according to the SHOULD in RFC3697, but I'm not aware
> of any deployed use cases (such as load balancing routers).

=> One deployment case can be found in: draft-ietf-mext-flow-binding
And the accompanying filter description draft-tsirtsis-mext-binary-filters

Hesham

The gap
> is not in the basic specs but in exploitation. It's very similar to
> what happened with the IPv4 TOS byte, and that took 20 years before
> we (a) defined it properly and (b) began to see limited deployment,
> as corporate VoIP took off.
> 
> My expectation has always been that exploitation of the flow label
> would stay on the back burner until IPv6 deployment reached a
> significant level, because there isn't much benefit in optimising
> flow handling for <1% of the traffic. So I don't really see anything
> odd in the current situation.
> 
> That said, I can't see any reason why ITRs and ETRs can't use
> the flow label among themselves, in a way completely compatible
> with RFC3697. But if their hardware engines can't include the
> flow label in the n-tuple, that's a problem.
> 
>     Brian
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------



From Aleksi.Suhonen@tut.fi  Wed Aug  5 18:18:09 2009
Return-Path: <Aleksi.Suhonen@tut.fi>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 539F23A6C5B for <ipv6@core3.amsl.com>; Wed,  5 Aug 2009 18:18:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.2
X-Spam-Level: 
X-Spam-Status: No, score=-2.2 tagged_above=-999 required=5 tests=[AWL=0.400, BAYES_00=-2.599]
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 PRc8F6SFEAwb for <ipv6@core3.amsl.com>; Wed,  5 Aug 2009 18:18:08 -0700 (PDT)
Received: from mail-gw2.cc.tut.fi (mail-gw2.cc.tut.fi [130.230.160.16]) by core3.amsl.com (Postfix) with ESMTP id F0EEA3A6947 for <ipv6@ietf.org>; Wed,  5 Aug 2009 18:18:07 -0700 (PDT)
X-AuditID: 82e6a010-b7b0dae00000634f-50-4a7a2f4f01df
Received: from mail.cc.tut.fi (mail.cc.tut.fi [130.230.1.120]) by mail-gw2.cc.tut.fi (Symantec Brightmail Gateway) with SMTP id 9B.5C.25423.F4F2A7A4; Thu,  6 Aug 2009 04:18:07 +0300 (EEST)
Received: from [130.230.52.50] (rotta.atm.tut.fi [130.230.52.50]) by mail.cc.tut.fi (Postfix) with ESMTP id D0AF9A4108 for <ipv6@ietf.org>; Thu,  6 Aug 2009 04:18:07 +0300 (EEST)
Message-ID: <4A7A2F4F.5050800@tut.fi>
Date: Thu, 06 Aug 2009 04:18:07 +0300
From: Aleksi Suhonen <Aleksi.Suhonen@tut.fi>
Organization: Tampere University of Technology / Institute of Communications Engineering
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)
MIME-Version: 1.0
To: 6man <ipv6@ietf.org>
Subject: source address selection revisited
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: AAAAAA==
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 01:18:09 -0000

Hi,

One of my problems with existing address selection implementations is 
that they pick just one source address per destination address. They 
never try another source address even if a valid alternative source 
address existed for a destination address. This has caused me some 
headaches with existing multihomed IPv6 and IPv4 deployments.

I had the chance to talk with Arifumi Matsumoto at IETF75 last week 
about my alternative address selection algorithm draft[1]. I'm 
continuing parts of that discussion here, now that I've had the chance 
to think about stuff. I'm addressing this message to the list at large, 
hoping that someone else is interested as well.

According to Matsumoto, the original default address selection 
algorithm[2] defines the above behaviour that frustrates me. And sure 
enough, while re-reading the RFC, I find where it says so right at the 
beginning of section 5.

Furthermore, Matsumoto said that the address selection application 
program interface[3], culminating in getaddrinfo(), cannot even support 
multiple source addresses per destination address. So any algorithm that 
would result in multiple source addresses for the same destination 
wouldn't be backwards compatible.

This got me thinking, and here are some of the ideas I've had so far, in 
random order:

A) The data structure returned by getaddrinfo() doesn't have any source 
address at all. In essence, it is source address agnostic. The addresses 
returned by it are usually given to connect() calls, typically with 
IN6ADDR_ANY as the effective source address.

The API[3] doesn't specifically state how connect() should choose the 
source address in this case. So if the implementation of connect() went 
ahead and tried all "CandidateSource(D) addresses" according to a new 
address selection algorithm, instead of just one, this would not violate 
the API[3]. This would be only valid for stateful transports (like TCP) 
and doesn't work very well for stateless transports (like UDP), where 
such decisions would have to be made on a higher protocol layer...

B) The getaddrinfo() call could in theory return the same destination 
address several times if there are several source alternatives for it. 
The implementations of connect(), sendto() and sendmsg() could then use 
a different source for the different copies of the destination address.

Could the ai_addr field in struct addrinfo be used to carry some extra 
hidden information that would tell connect() et al. which source address 
to use? Otherwise they would have to try to recognize them by pointer 
address.

Of course, if the application does something to upset these attempts, 
like bind()s the source address or copies only parts of the ai_addr 
structure somewhere else, then we can always just give up and use a 
single source address. That's what the application probably wanted anyway...


On the scale of 3 to H, how blasphemous do you think these ideas are?


[1] http://tools.ietf.org/html/draft-axu-addr-sel-00
[2] http://tools.ietf.org/html/rfc3484
[3] http://tools.ietf.org/html/rfc3493

-- 
	Aleksi Suhonen
	Department of Communications Engineering
	Tampere University of Technology

From brian.e.carpenter@gmail.com  Wed Aug  5 21:20:11 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 862CD3A6930; Wed,  5 Aug 2009 21:20:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.438
X-Spam-Level: 
X-Spam-Status: No, score=-2.438 tagged_above=-999 required=5 tests=[AWL=0.161,  BAYES_00=-2.599]
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 MNmM4fxLzJu2; Wed,  5 Aug 2009 21:20:10 -0700 (PDT)
Received: from mail-pz0-f178.google.com (mail-pz0-f178.google.com [209.85.222.178]) by core3.amsl.com (Postfix) with ESMTP id 961583A6C40; Wed,  5 Aug 2009 21:20:09 -0700 (PDT)
Received: by pzk8 with SMTP id 8so555271pzk.31 for <multiple recipients>; Wed, 05 Aug 2009 21:20:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=VlnaV/94Ws73g0VuXga3q+ncbA62rsa8iOXaEmx94SI=; b=rB/yFgZpeY/jF5XSjJPnwnUeybe7ER0TeZk9fBsyUfEhMye8stTHBXnCfTD1epEzGp gtqJ2s2j6pEqFxgbBT8jFBBQSN7913iTejmDyWvPsyWvVBSVMb5HR1PlqBVf0XqgJ+Fq qbNDUNEt8J7Hr8NmO5cgfmnSHz5nP7BmQpX5c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=pBLjtm16uuUJwqgO0hBVxFYCFuL3El415BlC8aYGkbbASV7FHgwQGbpjoVr3ktAhqo MgknwoOcm4g+E2BtwzQkEhC6XYp+8FINMy5nWN2XjgPoBB3g5eFKGih882dti3VR0Xfi O/1Xe9CvbrblJlTaB1B5OKwnDC3GxK5JgYB9M=
Received: by 10.115.15.7 with SMTP id s7mr12799103wai.206.1249532410914; Wed, 05 Aug 2009 21:20:10 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id m6sm8038wag.68.2009.08.05.21.20.08 (version=SSLv3 cipher=RC4-MD5); Wed, 05 Aug 2009 21:20:10 -0700 (PDT)
Message-ID: <4A7A59E9.9070900@gmail.com>
Date: Thu, 06 Aug 2009 16:19:53 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Christopher Morrow <morrowc.lists@gmail.com>
Subject: Flow label collision [Flow label redux [Re: IPv6 UDP checksum issue]]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>	<4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>	<4A78F3C6.4020602@joelhalpern.com>	<AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>	<7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>	<tsltz0mcnk2.fsf@mit.edu>	<F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com>
In-Reply-To: <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 04:20:11 -0000

On 2009-08-06 05:34, Christopher Morrow wrote:
...
>> 2)  Removing other "gems" (or clarifying them) like the second sentence in
>> the following:
>> ---cut here---
>> IPv6 nodes MUST NOT assume any mathematical or other properties of the Flow
>> Label
>> values assigned by source nodes.  Router performance SHOULD NOT be dependent
>> on the
>> distribution of the Flow Label values. Especially, the Flow Label bits alone
>> make
>> poor material for a hash key.
>> ---cut here---
> 
> 'flow label bits alone make a poor material for a hash key'... isn't
> this the reverse of saying that we'll (operators) require vendors to
> use flow-label for hashing on ECMP/LAG? If so, then... I don't think
> flow-label's going to cut it.

Please note the word "alone" in the above extract from RFC3697. That RFC
specifically does not forbid flows from different sources that happen
to go through the same router having the same flow label. That
would have required some massive unscaleable flow-label-distribution
protocol. (MPLS avoids this problem by having the downstream switch tell
the upstream switch what label to use.) So even if the flow labels are
pseudo-random, it's essential to include other material such as the
addresses in the hash. But clearly a pseudo-random flow label will
always improve the distribution of the resulting hash. Just don't use
it *alone*.

Our hidden fear when drafting those words was that lazy implementors
would allocate flow labels starting at 1 and counting up. That would
guarantee collisions in flow label space, strengthening the "poorness"
of the material. And it would also mess up any router whose performance
relied on the absence of flow label collisions.

I hope this clarifies, as requested. There's no reason to remove these
words, since they're true. The WG consensus at the time was to trim RFC3697
down to the normative text, so a lot of rationale was removed.

    Brian

From pekkas@netcore.fi  Wed Aug  5 22:03:23 2009
Return-Path: <pekkas@netcore.fi>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 95E2D3A6963; Wed,  5 Aug 2009 22:03:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.489
X-Spam-Level: 
X-Spam-Status: No, score=-2.489 tagged_above=-999 required=5 tests=[AWL=0.110,  BAYES_00=-2.599]
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 GYECU0i90fNd; Wed,  5 Aug 2009 22:03:22 -0700 (PDT)
Received: from netcore.fi (eunet-gw.ipv6.netcore.fi [IPv6:2001:670:86:3001::1]) by core3.amsl.com (Postfix) with ESMTP id 57A013A691B; Wed,  5 Aug 2009 22:03:22 -0700 (PDT)
Received: from netcore.fi (localhost [127.0.0.1]) by netcore.fi (8.13.8/8.13.8) with ESMTP id n7653HWE022806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Aug 2009 08:03:17 +0300
Received: from localhost (pekkas@localhost) by netcore.fi (8.13.8/8.13.8/Submit) with ESMTP id n7653FbC022803; Thu, 6 Aug 2009 08:03:15 +0300
Date: Thu, 6 Aug 2009 08:03:15 +0300 (EEST)
From: Pekka Savola <pekkas@netcore.fi>
To: Christopher Morrow <morrowc.lists@gmail.com>
Subject: Re: Flow label collision [Flow label redux [Re: IPv6 UDP checksum issue]]
In-Reply-To: <4A7A59E9.9070900@gmail.com>
Message-ID: <alpine.LRH.2.00.0908060800300.22437@netcore.fi>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com> <4A7A59E9.9070900@gmail.com>
User-Agent: Alpine 2.00 (LRH 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Virus-Scanned: clamav-milter 0.95.2 at otso.netcore.fi
X-Virus-Status: Clean
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 05:03:23 -0000

On Thu, 6 Aug 2009, Brian E Carpenter wrote:
>> 'flow label bits alone make a poor material for a hash key'... isn't
>> this the reverse of saying that we'll (operators) require vendors to
>> use flow-label for hashing on ECMP/LAG? If so, then... I don't think
>> flow-label's going to cut it.
>
> Please note the word "alone" in the above extract from RFC3697. [...]

And from the POV of LISP, this is not relevant.  In IPv6, the hash key 
should probably consist of four-tuple {srcIP, dstIP, traffic class, 
flow label}.  As such, the addition of flow label would make a great 
addition to the total hash key for the purposes of this discussion.

Even though the flow label is set to zero, hashing would still work 
just fine but on IP/tclass granularity.  By adding flow label, you 
could get finer granularity for flows that do set it.

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

From shane@castlepoint.net  Thu Aug  6 06:40:27 2009
Return-Path: <shane@castlepoint.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 02E373A68FD; Thu,  6 Aug 2009 06:40:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level: 
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[AWL=0.695,  BAYES_00=-2.599]
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 QLza+NGiJ-QG; Thu,  6 Aug 2009 06:40:26 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by core3.amsl.com (Postfix) with ESMTP id 090F03A68F4; Thu,  6 Aug 2009 06:40:26 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id 0419E2684EA; Thu,  6 Aug 2009 07:40:29 -0600 (MDT)
Received: from host2.tcb.net (64.78.235.218 [64.78.235.218]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Thu, 06 Aug 2009 07:40:28 -0600 (MDT) (envelope-from shane@castlepoint.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=64.78.235.218; client-port=49686; data-bytes=0
Message-Id: <5DA47DB3-0925-4F83-A1C2-E998B3735334@castlepoint.net>
From: Shane Amante <shane@castlepoint.net>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <4A7A59E9.9070900@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: Flow label collision [Flow label redux [Re: IPv6 UDP checksum issue]]
Date: Thu, 6 Aug 2009 07:40:28 -0600
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>	<4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>	<4A78F3C6.4020602@joelhalpern.com>	<AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>	<7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>	<tsltz0mcnk2.fsf@mit.edu>	<F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com> <4A7A59E9.9070900@gmail.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Christopher Morrow <morrowc.lists@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 13:40:27 -0000

Brian,

On Aug 5, 2009, at 22:19 MDT, Brian E Carpenter wrote:
> On 2009-08-06 05:34, Christopher Morrow wrote:
> ...
>>> 2)  Removing other "gems" (or clarifying them) like the second  
>>> sentence in
>>> the following:
>>> ---cut here---
>>> IPv6 nodes MUST NOT assume any mathematical or other properties of  
>>> the Flow
>>> Label
>>> values assigned by source nodes.  Router performance SHOULD NOT be  
>>> dependent
>>> on the
>>> distribution of the Flow Label values. Especially, the Flow Label  
>>> bits alone
>>> make
>>> poor material for a hash key.
>>> ---cut here---
>>
>> 'flow label bits alone make a poor material for a hash key'... isn't
>> this the reverse of saying that we'll (operators) require vendors to
>> use flow-label for hashing on ECMP/LAG? If so, then... I don't think
>> flow-label's going to cut it.
>
> Please note the word "alone" in the above extract from RFC3697.

I think Chris may have read that a little too fast.  :-)  I wasn't  
concerned with the third sentence in the RFC, that makes sense and is  
clear.  However, my concern was pertaining to the 2nd sentence,  
specifically: "Router performance SHOULD NOT be dependent on the  
distribution of the Flow Label values".  Specifically, if Flow Label  
values ARE used as one of the input-keys (in addition to src/dst IPv6  
addresses), then the "distribution" of Flow Label values matters /a  
lot/ in order to achieve "good" load-balancing over LAG/ECMP paths  
and, consequently, good router performance.  However, perhaps I'm  
misreading/misunderstanding that 2nd sentence.  Can you clarify it's  
intent?

-shane

From mrw@sandstorm.net  Thu Aug  6 07:11:29 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4BB0728C12B; Thu,  6 Aug 2009 07:11:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.187
X-Spam-Level: 
X-Spam-Status: No, score=-2.187 tagged_above=-999 required=5 tests=[AWL=0.078,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 AtBIvl+oSRgV; Thu,  6 Aug 2009 07:11:28 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 3ACDC28C124; Thu,  6 Aug 2009 07:11:28 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n76EBEV5008181 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 6 Aug 2009 10:11:15 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A78F3C6.4020602@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Thu, 6 Aug 2009 10:11:14 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 14:11:29 -0000

Hi Joel,

I think I understand both sides of the UDP checksum issue now...

We (or at least some of us) believe that it is a hard requirement to  
support ECMP through legacy routing equipment.  This equipment will  
only identify flows using the 5-tuple described in the draft.  These  
devices do not know about UDP-Lite, and they couldn't usefully load  
balance LISP traffic that was tunneled IP-in-IP, because there would  
be no source port to use as a hash value for identification of the  
original flow.

We (or at least some of us) are concerned about using UDP zero  
checksums in IPv6, because of possible problems caused by corruption  
of the source/destination IP addresses or the next header field.   
These fields are protected in IPv4, even when UDP checksums are  
disabled.

I have an idea that might work to satisfy both sets of concerns...

What about putting a checksum field in the LISP header?  We could  
checksum across the IP pseudo-header (at least for IPv6), and the LISP  
header.  LISP nodes that receive these packets could check the  
checksum and discard packets that have been corrupted.  In addition to  
resolving the concerns about corruption in the IPv6 header fields,  
this checksum would protect the LISP header, which contains some one- 
bit fields and a nonce that would be sensitive to corruption.  We  
could also specify that LISP nodes that receive an ICMP error should  
check this checksum in the returned packet before acting on the error.

We would still have to make sure that we understand the impacts of non- 
LISP nodes receiving corrupted LISP packets (which will probably be  
that the packet is dropped, which is fine), but we wouldn't have to  
worry about what happens when a LISP packet arrives at the wrong LISP  
node and/or when a response is sent back to the wrong LISP node.

Thoughts?

Margaret

On Aug 4, 2009, at 10:51 PM, Joel M. Halpern wrote:

> The problem is not what the ITRs and ETRs use the field for.  They  
> could / can use the field.
> The problem is that the UDP header was introduced specifically so  
> that different flows would be different in a place that the routers  
> would look when doing ECMP calculations.
> And the router to date do not use the flow label.
> Preliminary indications are that routers also won't use UDP-lite,  
> because it is a different protocol, and they don't know it has port  
> numbers.
>
> The simple path forward is to allow UDP with 0 checksum.
> If that is incorrect, then finding the correct path forward is going  
> to be hard.
>
> Joel
>
> Brian E Carpenter wrote:
>> Hi Joel,
>> On 2009-08-05 03:08, Joel M. Halpern wrote:
>>> It has become clear with the passage of time that the description  
>>> of the
>>> flow label in the original IPv6 specs served only to convince  
>>> everyone
>>> not to use that field for anything.  Even now, no one is sure what  
>>> to do
>>> with it.
>> If you're referring to the lame appendix to RFC2460, that's exactly
>> why we wrote RFC3697. My understanding is that some stacks do set the
>> flow label according to the SHOULD in RFC3697, but I'm not aware
>> of any deployed use cases (such as load balancing routers). The gap
>> is not in the basic specs but in exploitation. It's very similar to
>> what happened with the IPv4 TOS byte, and that took 20 years before
>> we (a) defined it properly and (b) began to see limited deployment,
>> as corporate VoIP took off.
>> My expectation has always been that exploitation of the flow label
>> would stay on the back burner until IPv6 deployment reached a
>> significant level, because there isn't much benefit in optimising
>> flow handling for <1% of the traffic. So I don't really see anything
>> odd in the current situation.
>> That said, I can't see any reason why ITRs and ETRs can't use
>> the flow label among themselves, in a way completely compatible
>> with RFC3697. But if their hardware engines can't include the
>> flow label in the n-tuple, that's a problem.
>>    Brian
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From jmh@joelhalpern.com  Thu Aug  6 07:33:01 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7BECB3A6CEA; Thu,  6 Aug 2009 07:33:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.455
X-Spam-Level: 
X-Spam-Status: No, score=-3.455 tagged_above=-999 required=5 tests=[AWL=0.144,  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 oUxQwWleEubp; Thu,  6 Aug 2009 07:33:00 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 8F8613A6BC0; Thu,  6 Aug 2009 07:33:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id C176B43049C; Thu,  6 Aug 2009 07:33:00 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 7672C4304A0; Thu,  6 Aug 2009 07:32:59 -0700 (PDT)
Message-ID: <4A7AE99A.2010807@joelhalpern.com>
Date: Thu, 06 Aug 2009 10:32:58 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Margaret Wasserman <mrw@sandstorm.net>
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net>
In-Reply-To: <FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 14:33:01 -0000

I must be slow this morning.

I am not sure which of two possible (similar) problems this checksum is 
supposed to help.

1) Due to in-network corruption, the LISP packet arrives at some 
non-LISP entity which has something listening at whatever UDP port the 
packet now ha as a destination.  Clearly, a checksum in the LISP header 
won't help, since the receiver won't know there is a LISP header.

2) Due to in-network corruption, the LSP packet arrives at the wrok LISP 
receiver.  He understands it is LISP, and does not realize it was not 
for him.  So what?  He decapsulates, looks at the contents, and says "I 
can't do anything with that."  The LISP spec already tells us what it 
will do, and there is no problem.  If LISP were not using UDP, we would 
still have this "risk".  I, at least, don't see this as a problem to be 
solved.
2') There is some discussion of using the IPv 6 flow label instead of 
the UDP header for ECMP effects.  If we do that, I can not see why we 
would suddenly decide that LISP itself needed a checksum.

Yours,
Joel

Margaret Wasserman wrote:
> 
> Hi Joel,
> 
> I think I understand both sides of the UDP checksum issue now...
> 
> We (or at least some of us) believe that it is a hard requirement to 
> support ECMP through legacy routing equipment.  This equipment will only 
> identify flows using the 5-tuple described in the draft.  These devices 
> do not know about UDP-Lite, and they couldn't usefully load balance LISP 
> traffic that was tunneled IP-in-IP, because there would be no source 
> port to use as a hash value for identification of the original flow.
> 
> We (or at least some of us) are concerned about using UDP zero checksums 
> in IPv6, because of possible problems caused by corruption of the 
> source/destination IP addresses or the next header field.  These fields 
> are protected in IPv4, even when UDP checksums are disabled.
> 
> I have an idea that might work to satisfy both sets of concerns...
> 
> What about putting a checksum field in the LISP header?  We could 
> checksum across the IP pseudo-header (at least for IPv6), and the LISP 
> header.  LISP nodes that receive these packets could check the checksum 
> and discard packets that have been corrupted.  In addition to resolving 
> the concerns about corruption in the IPv6 header fields, this checksum 
> would protect the LISP header, which contains some one-bit fields and a 
> nonce that would be sensitive to corruption.  We could also specify that 
> LISP nodes that receive an ICMP error should check this checksum in the 
> returned packet before acting on the error.
> 
> We would still have to make sure that we understand the impacts of 
> non-LISP nodes receiving corrupted LISP packets (which will probably be 
> that the packet is dropped, which is fine), but we wouldn't have to 
> worry about what happens when a LISP packet arrives at the wrong LISP 
> node and/or when a response is sent back to the wrong LISP node.
> 
> Thoughts?
> 
> Margaret
> 
> On Aug 4, 2009, at 10:51 PM, Joel M. Halpern wrote:
> 
>> The problem is not what the ITRs and ETRs use the field for.  They 
>> could / can use the field.
>> The problem is that the UDP header was introduced specifically so that 
>> different flows would be different in a place that the routers would 
>> look when doing ECMP calculations.
>> And the router to date do not use the flow label.
>> Preliminary indications are that routers also won't use UDP-lite, 
>> because it is a different protocol, and they don't know it has port 
>> numbers.
>>
>> The simple path forward is to allow UDP with 0 checksum.
>> If that is incorrect, then finding the correct path forward is going 
>> to be hard.
>>
>> Joel
>>
>> Brian E Carpenter wrote:
>>> Hi Joel,
>>> On 2009-08-05 03:08, Joel M. Halpern wrote:
>>>> It has become clear with the passage of time that the description of 
>>>> the
>>>> flow label in the original IPv6 specs served only to convince everyone
>>>> not to use that field for anything.  Even now, no one is sure what 
>>>> to do
>>>> with it.
>>> If you're referring to the lame appendix to RFC2460, that's exactly
>>> why we wrote RFC3697. My understanding is that some stacks do set the
>>> flow label according to the SHOULD in RFC3697, but I'm not aware
>>> of any deployed use cases (such as load balancing routers). The gap
>>> is not in the basic specs but in exploitation. It's very similar to
>>> what happened with the IPv4 TOS byte, and that took 20 years before
>>> we (a) defined it properly and (b) began to see limited deployment,
>>> as corporate VoIP took off.
>>> My expectation has always been that exploitation of the flow label
>>> would stay on the back burner until IPv6 deployment reached a
>>> significant level, because there isn't much benefit in optimising
>>> flow handling for <1% of the traffic. So I don't really see anything
>>> odd in the current situation.
>>> That said, I can't see any reason why ITRs and ETRs can't use
>>> the flow label among themselves, in a way completely compatible
>>> with RFC3697. But if their hardware engines can't include the
>>> flow label in the n-tuple, that's a problem.
>>>    Brian
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp
> 
> 

From luigi@net.t-labs.tu-berlin.de  Thu Aug  6 07:22:44 2009
Return-Path: <luigi@net.t-labs.tu-berlin.de>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E96A03A6AC5; Thu,  6 Aug 2009 07:22:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.42
X-Spam-Level: 
X-Spam-Status: No, score=-1.42 tagged_above=-999 required=5 tests=[AWL=0.829,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 8YTj-uRB6WBc; Thu,  6 Aug 2009 07:22:44 -0700 (PDT)
Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by core3.amsl.com (Postfix) with ESMTP id 252753A698E; Thu,  6 Aug 2009 07:22:42 -0700 (PDT)
Received: from dyn106.net.t-labs.tu-berlin.de (dyn106.net.t-labs.tu-berlin.de [130.149.220.106]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id 13D507064D70; Thu,  6 Aug 2009 16:22:43 +0200 (CEST)
Message-Id: <A41EADC6-2A29-481F-86E7-C3C5CCAF6DD3@net.t-labs.tu-berlin.de>
From: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Thu, 6 Aug 2009 16:22:42 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net>
X-Mailer: Apple Mail (2.936)
X-Mailman-Approved-At: Thu, 06 Aug 2009 07:50:12 -0700
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 14:22:45 -0000

On Aug 6, 2009, at 16:11 , Margaret Wasserman wrote:

>
> Hi Joel,
>
> I think I understand both sides of the UDP checksum issue now...
>
> We (or at least some of us) believe that it is a hard requirement to  
> support ECMP through legacy routing equipment.  This equipment will  
> only identify flows using the 5-tuple described in the draft.  These  
> devices do not know about UDP-Lite, and they couldn't usefully load  
> balance LISP traffic that was tunneled IP-in-IP, because there would  
> be no source port to use as a hash value for identification of the  
> original flow.
>
> We (or at least some of us) are concerned about using UDP zero  
> checksums in IPv6, because of possible problems caused by corruption  
> of the source/destination IP addresses or the next header field.   
> These fields are protected in IPv4, even when UDP checksums are  
> disabled.
>
> I have an idea that might work to satisfy both sets of concerns...
>
> What about putting a checksum field in the LISP header?  We could  
> checksum across the IP pseudo-header (at least for IPv6), and the  
> LISP header.  LISP nodes that receive these packets could check the  
> checksum and discard packets that have been corrupted.  In addition  
> to resolving the concerns about corruption in the IPv6 header  
> fields, this checksum would protect the LISP header, which contains  
> some one-bit fields and a nonce that would be sensitive to  
> corruption.  We could also specify that LISP nodes that receive an  
> ICMP error should check this checksum in the returned packet before  
> acting on the error.
>
> We would still have to make sure that we understand the impacts of  
> non-LISP nodes receiving corrupted LISP packets (which will probably  
> be that the packet is dropped, which is fine), but we wouldn't have  
> to worry about what happens when a LISP packet arrives at the wrong  
> LISP node and/or when a response is sent back to the wrong LISP node.
>
> Thoughts?

Adding a checksum in the LISP header would mean either to shrink some  
other fields or to enlarge the existing LISP header. I am not sure  
that these are good ideas.

Another approach is to use the UDP source port number. So far in LISP  
the source port number is selected using an hash function and ignored  
on reception. This can be changed in a checksum to be checked on the  
ETR.

Not sure if such an approach breaks something or goes against any RFC.

just my random thoughts....


Luigi



>
> Margaret
>
> On Aug 4, 2009, at 10:51 PM, Joel M. Halpern wrote:
>
>> The problem is not what the ITRs and ETRs use the field for.  They  
>> could / can use the field.
>> The problem is that the UDP header was introduced specifically so  
>> that different flows would be different in a place that the routers  
>> would look when doing ECMP calculations.
>> And the router to date do not use the flow label.
>> Preliminary indications are that routers also won't use UDP-lite,  
>> because it is a different protocol, and they don't know it has port  
>> numbers.
>>
>> The simple path forward is to allow UDP with 0 checksum.
>> If that is incorrect, then finding the correct path forward is  
>> going to be hard.
>>
>> Joel
>>
>> Brian E Carpenter wrote:
>>> Hi Joel,
>>> On 2009-08-05 03:08, Joel M. Halpern wrote:
>>>> It has become clear with the passage of time that the description  
>>>> of the
>>>> flow label in the original IPv6 specs served only to convince  
>>>> everyone
>>>> not to use that field for anything.  Even now, no one is sure  
>>>> what to do
>>>> with it.
>>> If you're referring to the lame appendix to RFC2460, that's exactly
>>> why we wrote RFC3697. My understanding is that some stacks do set  
>>> the
>>> flow label according to the SHOULD in RFC3697, but I'm not aware
>>> of any deployed use cases (such as load balancing routers). The gap
>>> is not in the basic specs but in exploitation. It's very similar to
>>> what happened with the IPv4 TOS byte, and that took 20 years before
>>> we (a) defined it properly and (b) began to see limited deployment,
>>> as corporate VoIP took off.
>>> My expectation has always been that exploitation of the flow label
>>> would stay on the back burner until IPv6 deployment reached a
>>> significant level, because there isn't much benefit in optimising
>>> flow handling for <1% of the traffic. So I don't really see anything
>>> odd in the current situation.
>>> That said, I can't see any reason why ITRs and ETRs can't use
>>> the flow label among themselves, in a way completely compatible
>>> with RFC3697. But if their hardware engines can't include the
>>> flow label in the n-tuple, that's a problem.
>>>   Brian
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From Fred.L.Templin@boeing.com  Thu Aug  6 08:50:33 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3D99E3A6DF1; Thu,  6 Aug 2009 08:50:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.697
X-Spam-Level: 
X-Spam-Status: No, score=-5.697 tagged_above=-999 required=5 tests=[AWL=0.902,  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 0cgZEbCTs2PC; Thu,  6 Aug 2009 08:50:32 -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 718433A6C80; Thu,  6 Aug 2009 08:50:32 -0700 (PDT)
Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n76FoTHr023564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 6 Aug 2009 08:50:32 -0700 (PDT)
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 n76FoTqu003830; Thu, 6 Aug 2009 08:50:29 -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 n76FoTQe003826; Thu, 6 Aug 2009 08:50:29 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 6 Aug 2009 08:50:29 -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
Subject: RE: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Thu, 6 Aug 2009 08:50:29 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A1064145E9@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <4A7AE99A.2010807@joelhalpern.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Thread-Index: AcoWotriWOOX5NfrSE+tuub9k8oeFgACHzPg
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com><4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com><4A78F3C6.4020602@joelhalpern.com><FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net> <4A7AE99A.2010807@joelhalpern.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, "Margaret Wasserman" <mrw@sandstorm.net>
X-OriginalArrivalTime: 06 Aug 2009 15:50:29.0969 (UTC) FILETIME=[9FCDAC10:01CA16AD]
Cc: ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 15:50:33 -0000

I told myself I would stay out of this, but I can't help
but point out that if the SEAL-FS header were used instead
of the UDP/LISP headers there would only be 4 bytes exposed
to corruption instead of 16. And, if one of the SEAL-FS
header fields is corrupted there is no danger of causing
unpredictable behavior.

The SEAL-FS header is formatted as follows:

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|VER|I|                     Identification                      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

If the I bit is flipped, the end result is that the ETR
could send a spurious Information Request message which
should cause no harm whatsoever to the ITR. If the
Identification field is corrupted, the end result is that
the ETR may send a control message back to the ITR with
an unrecognized Identification - this would be dropped
silently by the ITR. If the VER field is corrupted, there
is a chance that the ETR could try to process the packet
according to a different SEAL protocol version. But, LISP
ITRs would only be expected to implement VER=3D0 anyway so
the packet would simply be dropped.

All this, plus a tidy 12 bytes per-packet saved over what
the existing UDP/LISP encapsulation gives.

Fred
fred.l.templin@boeing.com=20

From mrw@sandstorm.net  Thu Aug  6 09:16:51 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 118AA3A694C; Thu,  6 Aug 2009 09:16:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.192
X-Spam-Level: 
X-Spam-Status: No, score=-2.192 tagged_above=-999 required=5 tests=[AWL=0.073,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 1UXwX7H4KicQ; Thu,  6 Aug 2009 09:16:50 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 113F73A6BE2; Thu,  6 Aug 2009 09:16:49 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n76GFQ2e014238 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 6 Aug 2009 12:15:26 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <094E1FE8-745B-46A4-9E04-3BD595DFC036@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A1064145E9@XCH-NW-7V2.nw.nos.boeing.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Thu, 6 Aug 2009 12:15:25 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com><4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com><4A78F3C6.4020602@joelhalpern.com><FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net> <4A7AE99A.2010807@joelhalpern.com> <39C363776A4E8C4A94691D2BD9D1C9A1064145E9@XCH-NW-7V2.nw.nos.boeing.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 16:16:51 -0000

Hi Fred,

There are three things we are trying to address here:

- We want to support load balancing through legacy systems that only  
support load balancing based on the 5-tuple of IP src/dest address,  
protocol/next header and UDP or TCP src/dest ports. To meet this goal,  
we need a UDP (or TCP) header, so that we can prevent all LISP packets  
between a single ITR/ETR pair from being seen as a single flow.

- But, we don't want to pay the cost of checksumming the entire UDP  
payload (including the LISP header and the encapsulated packet).  To  
avoid this, the current proposal states that we will use UDP with zero  
checksums.

- However, we are concerned about using UDP with zero checksums in  
IPv6, because there would be no checksum protection for the IPv6  
header fields (src/dest port and next header).  These fields are  
protected by the IP header checksum in IPv4.  Some people are also  
concerned about making sure that LISP is compatible with other IETF  
RFCs, which currently say that there won't be zero UDP checksums in  
IPv6.

So, we need to figure out what to do.  Once we have all of the facts  
on the table, we'll probably have to make a hard decision and  
compromise on some of the above goals.

It seems to me that our proposal to move to a different LISP header  
format is a non-starter, because it doesn't address any of these  
issues/tradeoffs.

Margaret



On Aug 6, 2009, at 11:50 AM, Templin, Fred L wrote:

> I told myself I would stay out of this, but I can't help
> but point out that if the SEAL-FS header were used instead
> of the UDP/LISP headers there would only be 4 bytes exposed
> to corruption instead of 16. And, if one of the SEAL-FS
> header fields is corrupted there is no danger of causing
> unpredictable behavior.
>
> The SEAL-FS header is formatted as follows:
>
> 0                   1                   2                   3
> 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> |VER|I|                     Identification                      |
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> If the I bit is flipped, the end result is that the ETR
> could send a spurious Information Request message which
> should cause no harm whatsoever to the ITR. If the
> Identification field is corrupted, the end result is that
> the ETR may send a control message back to the ITR with
> an unrecognized Identification - this would be dropped
> silently by the ITR. If the VER field is corrupted, there
> is a chance that the ETR could try to process the packet
> according to a different SEAL protocol version. But, LISP
> ITRs would only be expected to implement VER=0 anyway so
> the packet would simply be dropped.
>
> All this, plus a tidy 12 bytes per-packet saved over what
> the existing UDP/LISP encapsulation gives.
>
> Fred
> fred.l.templin@boeing.com
>


From jnc@mercury.lcs.mit.edu  Thu Aug  6 10:00:13 2009
Return-Path: <jnc@mercury.lcs.mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1420E28B797; Thu,  6 Aug 2009 10:00:13 -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 Fow5im56CvOF; Thu,  6 Aug 2009 10:00:12 -0700 (PDT)
Received: from mercury.lcs.mit.edu (mercury.lcs.mit.edu [18.26.0.122]) by core3.amsl.com (Postfix) with ESMTP id 4F3383A6D6C; Thu,  6 Aug 2009 10:00:12 -0700 (PDT)
Received: by mercury.lcs.mit.edu (Postfix, from userid 11178) id 58C316BE567; Thu,  6 Aug 2009 13:00:14 -0400 (EDT)
To: ipv6@ietf.org, lisp@ietf.org
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Message-Id: <20090806170014.58C316BE567@mercury.lcs.mit.edu>
Date: Thu,  6 Aug 2009 13:00:14 -0400 (EDT)
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
X-Mailman-Approved-At: Thu, 06 Aug 2009 10:22:17 -0700
Cc: jnc@mercury.lcs.mit.edu
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 17:00:13 -0000

    > From: Brian E Carpenter <brian.e.carpenter@gmail.com>

    > I see no particular issue with a network where some LAG-aware routers
    > do include the flow label in the hash and others don't.

Any time you have a network which is using hop-by-hop path selection (i.e.
each node makes an independent decision on the next hop) and those nodes are
not all using i) the same algorithm on ii) the same data, you can have routing
loops.

Not saying we'll necessarily get any in this case, but your statement, as
written, might be questionable.

	Noel

From jnc@mercury.lcs.mit.edu  Thu Aug  6 10:11:09 2009
Return-Path: <jnc@mercury.lcs.mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2A8443A6BBB; Thu,  6 Aug 2009 10:11:09 -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=[AWL=0.000,  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 mhKAG30Inuzt; Thu,  6 Aug 2009 10:11:07 -0700 (PDT)
Received: from mercury.lcs.mit.edu (mercury.lcs.mit.edu [18.26.0.122]) by core3.amsl.com (Postfix) with ESMTP id D22B33A697F; Thu,  6 Aug 2009 10:11:07 -0700 (PDT)
Received: by mercury.lcs.mit.edu (Postfix, from userid 11178) id 83E786BE567; Thu,  6 Aug 2009 13:11:10 -0400 (EDT)
To: ipv6@ietf.org, lisp@ietf.org
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Message-Id: <20090806171110.83E786BE567@mercury.lcs.mit.edu>
Date: Thu,  6 Aug 2009 13:11:10 -0400 (EDT)
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
X-Mailman-Approved-At: Thu, 06 Aug 2009 10:22:17 -0700
Cc: jnc@mercury.lcs.mit.edu
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 17:11:09 -0000

    > From: Margaret Wasserman <mrw@sandstorm.net>

    > In addition ... this checksum would protect the LISP header, which
    > contains some one- bit fields and a nonce that would be sensitive to
    > corruption.

This is an issue I had identified a while back, and looked then to see if
undetected errors in the LISP user-data-packet header could cause any
problems, and as fas as I can see they can't. (I won't do the whole analysis
here - we should take it offline to the LISP list only; I'm still holding on
detailed analysis of the reachability vector in case it is replace by
versioning.)

	Noel

From Fred.L.Templin@boeing.com  Thu Aug  6 10:42:14 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 903A63A6B27; Thu,  6 Aug 2009 10:42:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.81
X-Spam-Level: 
X-Spam-Status: No, score=-5.81 tagged_above=-999 required=5 tests=[AWL=0.789,  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 O8dHSZI1SraD; Thu,  6 Aug 2009 10:42:13 -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 9241A3A6A24; Thu,  6 Aug 2009 10:42:13 -0700 (PDT)
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n76HgDY2025058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 6 Aug 2009 12:42:13 -0500 (CDT)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id n76HgD1q004872; Thu, 6 Aug 2009 12:42:13 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by stl-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id n76Hg7lD004631; Thu, 6 Aug 2009 12:42:13 -0500 (CDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 6 Aug 2009 10:42:12 -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
Subject: RE: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Thu, 6 Aug 2009 10:42:10 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106414718@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <094E1FE8-745B-46A4-9E04-3BD595DFC036@sandstorm.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Thread-Index: AcoWsVLBPTFa7OQ6SlKeIVKUlrFlWwAC6KjQ
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com><4A784EEF.2020405@joelhalpern.com><4A78B51C.2010902@gmail.com><4A78F3C6.4020602@joelhalpern.com><FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net><4A7AE99A.2010807@joelhalpern.com><39C363776A4E8C4A94691D2BD9D1C9A1064145E9@XCH-NW-7V2.nw.nos.boeing.com> <094E1FE8-745B-46A4-9E04-3BD595DFC036@sandstorm.net>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Margaret Wasserman" <mrw@sandstorm.net>
X-OriginalArrivalTime: 06 Aug 2009 17:42:12.0080 (UTC) FILETIME=[3A92A700:01CA16BD]
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 17:42:14 -0000

Margaret,

> -----Original Message-----
> From: Margaret Wasserman [mailto:mrw@sandstorm.net]
> Sent: Thursday, August 06, 2009 9:15 AM
> To: Templin, Fred L
> Cc: ipv6@ietf.org; lisp@ietf.org
> Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
>=20
>=20
> Hi Fred,
>=20
> There are three things we are trying to address here:
>=20
> - We want to support load balancing through legacy systems that only
> support load balancing based on the 5-tuple of IP src/dest address,
> protocol/next header and UDP or TCP src/dest ports. To meet this goal,
> we need a UDP (or TCP) header, so that we can prevent all LISP packets
> between a single ITR/ETR pair from being seen as a single flow.

How are non-TCP/UDP flows handled by these legacy systems
today? For example, 6to4 uses ip-proto-41.

Thanks - Fred
fred.l.templin@boeing.com

> - But, we don't want to pay the cost of checksumming the entire UDP
> payload (including the LISP header and the encapsulated packet).  To
> avoid this, the current proposal states that we will use UDP with zero
> checksums.
>=20
> - However, we are concerned about using UDP with zero checksums in
> IPv6, because there would be no checksum protection for the IPv6
> header fields (src/dest port and next header).  These fields are
> protected by the IP header checksum in IPv4.  Some people are also
> concerned about making sure that LISP is compatible with other IETF
> RFCs, which currently say that there won't be zero UDP checksums in
> IPv6.
>=20
> So, we need to figure out what to do.  Once we have all of the facts
> on the table, we'll probably have to make a hard decision and
> compromise on some of the above goals.
>=20
> It seems to me that our proposal to move to a different LISP header
> format is a non-starter, because it doesn't address any of these
> issues/tradeoffs.
>=20
> Margaret
>=20
>=20
>=20
> On Aug 6, 2009, at 11:50 AM, Templin, Fred L wrote:
>=20
> > I told myself I would stay out of this, but I can't help
> > but point out that if the SEAL-FS header were used instead
> > of the UDP/LISP headers there would only be 4 bytes exposed
> > to corruption instead of 16. And, if one of the SEAL-FS
> > header fields is corrupted there is no danger of causing
> > unpredictable behavior.
> >
> > The SEAL-FS header is formatted as follows:
> >
> > 0                   1                   2                   3
> > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > |VER|I|                     Identification                      |
> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >
> > If the I bit is flipped, the end result is that the ETR
> > could send a spurious Information Request message which
> > should cause no harm whatsoever to the ITR. If the
> > Identification field is corrupted, the end result is that
> > the ETR may send a control message back to the ITR with
> > an unrecognized Identification - this would be dropped
> > silently by the ITR. If the VER field is corrupted, there
> > is a chance that the ETR could try to process the packet
> > according to a different SEAL protocol version. But, LISP
> > ITRs would only be expected to implement VER=3D0 anyway so
> > the packet would simply be dropped.
> >
> > All this, plus a tidy 12 bytes per-packet saved over what
> > the existing UDP/LISP encapsulation gives.
> >
> > Fred
> > fred.l.templin@boeing.com
> >
>=20
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp

From he@uninett.no  Thu Aug  6 11:05:04 2009
Return-Path: <he@uninett.no>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B1FBF3A6B8C; Thu,  6 Aug 2009 11:05:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 DNT41S59+IGH; Thu,  6 Aug 2009 11:05:03 -0700 (PDT)
Received: from smistad.uninett.no (smistad.uninett.no [IPv6:2001:700:1:0:21e:4fff:feed:ced]) by core3.amsl.com (Postfix) with ESMTP id 750E83A6E4F; Thu,  6 Aug 2009 11:04:17 -0700 (PDT)
Received: from smistad.uninett.no (smistad.uninett.no [158.38.62.77]) by smistad.uninett.no (Postfix) with ESMTP id 75D953D09D; Thu,  6 Aug 2009 20:04:18 +0200 (CEST)
Date: Thu, 06 Aug 2009 20:04:18 +0200 (CEST)
Message-Id: <20090806.200418.13749674.he@uninett.no>
To: jnc@mercury.lcs.mit.edu
Subject: Re: [lisp] Flow label redux
From: Havard Eidnes <he@uninett.no>
In-Reply-To: <20090806170014.58C316BE567@mercury.lcs.mit.edu>
References: <20090806170014.58C316BE567@mercury.lcs.mit.edu>
X-Mailer: Mew version 5.2 on Emacs 22.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 18:05:04 -0000

>     > From: Brian E Carpenter <brian.e.carpenter@gmail.com>
>
>     > I see no particular issue with a network where some LAG-aware r=
outers
>     > do include the flow label in the hash and others don't.
>
> Any time you have a network which is using hop-by-hop path
> selection (i.e.  each node makes an independent decision on the
> next hop) and those nodes are not all using i) the same
> algorithm on ii) the same data, you can have routing loops.

In principle you're of course correct if the flow label was
entered as a factor into the layer-3 routing computation,
especially if individual routers do so differently.

However, I don't think that would be the case in this specific
example which is talking about a Link Aggregation Group (LAG).  A
LAG will from the layer-3 routing perspective appear as a single
point-to-point path.  So... what we're talking about is primarily
a link-level forwarding decision, not a layer-3 routing decision.
Thus, you can't get a routing loop, even if the devices at each
end of the LAG would use different algorithms for distributing
the load across the member links of the LAG.


While I have your collective attention, I'll just say that I
sometimes could wish for more focus on speedy deployment, and to
seriously consider the time it takes from "tweak to a standard"
until it's either initially deployed or even worse universally
deployed in operational networks.  To that end I'd like to
commend the LISP designers for wanting to work with existing
deployed hardware, and that I would turn my thumb down to those
who seem to indicate they want to not to consider the already
deployed base, and in effect go back to square zero.

Best regards,

- H=E5vard

From mrw@sandstorm.net  Thu Aug  6 13:10:13 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 91E5F3A6D9F; Thu,  6 Aug 2009 13:10:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.196
X-Spam-Level: 
X-Spam-Status: No, score=-2.196 tagged_above=-999 required=5 tests=[AWL=0.069,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 JgJdAW9ORHFk; Thu,  6 Aug 2009 13:10:12 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id C741C3A6DE0; Thu,  6 Aug 2009 13:09:45 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n76K9bir023515 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 6 Aug 2009 16:09:38 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <DE09D403-EDE1-4BA0-A4EC-CBA3A5D889C1@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A106414718@XCH-NW-7V2.nw.nos.boeing.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Thu, 6 Aug 2009 16:09:37 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com><4A784EEF.2020405@joelhalpern.com><4A78B51C.2010902@gmail.com><4A78F3C6.4020602@joelhalpern.com><FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net><4A7AE99A.2010807@joelhalpern.com><39C363776A4E8C4A94691D2BD9D1C9A1064145E9@XCH-NW-7V2.nw.nos.boeing.com> <094E1FE8-745B-46A4-9E04-3BD595DFC036@sandstorm.net> <39C363776A4E8C4A94691D2BD9D1C9A106414718@XCH-NW-7V2.nw.nos.boeing.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 20:10:13 -0000

Hi Fred,

On Aug 6, 2009, at 1:42 PM, Templin, Fred L wrote:
>
> How are non-TCP/UDP flows handled by these legacy systems
> today? For example, 6to4 uses ip-proto-41.

My understanding is that these flows will not be handled well...   
Since ECMP load balancers will have limited information available (the  
two IP address and the next header value), they will group all of the  
traffic between two 6to4 tunnel endpoints into a single flow.  If it  
becomes common for pairs of tunnel endpoints to transmit large amounts  
of data across ISP networks, this could present a significant  
operational issue for the Internet.

This problem (and the LISP problem) could potentially be alleviated by  
hardware that performs load balancing based on the IP address, the  
next header and the IPv6 flow label. But, according to folks who ought  
to know, most of the IPv6 routers they have deployed can't handle load  
balancing based on anything but a UDP or TCP 5-tuple, even in IPv6 (no  
IPv6 flow label, no UDP-Lite, no SCTP, etc.).  This is rather  
distressing, but I have no reason to doubt their statements.

Margaret



From brian.e.carpenter@gmail.com  Thu Aug  6 14:32:06 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0D1CB3A69A4; Thu,  6 Aug 2009 14:32:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.443
X-Spam-Level: 
X-Spam-Status: No, score=-2.443 tagged_above=-999 required=5 tests=[AWL=0.156,  BAYES_00=-2.599]
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 caP+SAXAc80Y; Thu,  6 Aug 2009 14:32:05 -0700 (PDT)
Received: from mail-pz0-f204.google.com (mail-pz0-f204.google.com [209.85.222.204]) by core3.amsl.com (Postfix) with ESMTP id 3998E3A6850; Thu,  6 Aug 2009 14:32:05 -0700 (PDT)
Received: by pzk42 with SMTP id 42so1222885pzk.17 for <multiple recipients>; Thu, 06 Aug 2009 14:32:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=f80L+2j/3V8yGcIxGzEBKVAf40x2MJPrlTS96P6RXFk=; b=hL+LSyF09g/dgeuJjyGTj8I7iuUo5p4rU5rwfeKaptt79TcCxdMVAy0zCzqOKopcUK MtMZGpwxwEjuPALjlcRCt9Mh8Gixq8CgYXRv+/8rJ8cfV8b9xskqMeqdfdFoIWUbHlDR 3YZrygy9KSUVWsB6EBuEcPtELfn6mQq4MUk4Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=GibO5pstxAdI1qfSms+HCnp6PgULcQIQ8e0pj93CR2WlzQyeIrj5HTIRzUlLjyyE6E B5gzW75MhV0//AAKK9gqHHHpjiobEsMG6u0JwXkUIeE4lMQXSFfcbmgXAvyA/AEETHWJ 9mg949cCBjlBO1+NoOKpyELq7Ya6cqCRG0GYQ=
Received: by 10.115.55.13 with SMTP id h13mr128124wak.99.1249594326068; Thu, 06 Aug 2009 14:32:06 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id k14sm611415waf.25.2009.08.06.14.32.03 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Aug 2009 14:32:05 -0700 (PDT)
Message-ID: <4A7B4BD2.2010602@gmail.com>
Date: Fri, 07 Aug 2009 09:32:02 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Shane Amante <shane@castlepoint.net>
Subject: Re: Flow label collision [Flow label redux [Re: IPv6 UDP checksum issue]]
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com>	<4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com>	<4A78F3C6.4020602@joelhalpern.com>	<AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net>	<7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net>	<tsltz0mcnk2.fsf@mit.edu>	<F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com> <4A7A59E9.9070900@gmail.com> <5DA47DB3-0925-4F83-A1C2-E998B3735334@castlepoint.net>
In-Reply-To: <5DA47DB3-0925-4F83-A1C2-E998B3735334@castlepoint.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: ipv6@ietf.org, Christopher Morrow <morrowc.lists@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 21:32:06 -0000

Shane,

On 2009-08-07 01:40, Shane Amante wrote:
> Brian,
> 
> On Aug 5, 2009, at 22:19 MDT, Brian E Carpenter wrote:
>> On 2009-08-06 05:34, Christopher Morrow wrote:
>> ...
>>>> 2)  Removing other "gems" (or clarifying them) like the second
>>>> sentence in
>>>> the following:
>>>> ---cut here---
>>>> IPv6 nodes MUST NOT assume any mathematical or other properties of
>>>> the Flow
>>>> Label
>>>> values assigned by source nodes.  Router performance SHOULD NOT be
>>>> dependent
>>>> on the
>>>> distribution of the Flow Label values. Especially, the Flow Label
>>>> bits alone
>>>> make
>>>> poor material for a hash key.
>>>> ---cut here---
>>>
>>> 'flow label bits alone make a poor material for a hash key'... isn't
>>> this the reverse of saying that we'll (operators) require vendors to
>>> use flow-label for hashing on ECMP/LAG? If so, then... I don't think
>>> flow-label's going to cut it.
>>
>> Please note the word "alone" in the above extract from RFC3697.
> 
> I think Chris may have read that a little too fast.  :-)  I wasn't
> concerned with the third sentence in the RFC, that makes sense and is
> clear.  However, my concern was pertaining to the 2nd sentence,
> specifically: "Router performance SHOULD NOT be dependent on the
> distribution of the Flow Label values".  Specifically, if Flow Label
> values ARE used as one of the input-keys (in addition to src/dst IPv6
> addresses), then the "distribution" of Flow Label values matters /a lot/
> in order to achieve "good" load-balancing over LAG/ECMP paths and,
> consequently, good router performance.  However, perhaps I'm
> misreading/misunderstanding that 2nd sentence.  Can you clarify it's
> intent?

Pekka just did that, I think - the flow label will add value if it happens
to increase the randomness of the hash, but this can't be relied on
so we shouldn't depend on it.

     Brian

From jnc@mercury.lcs.mit.edu  Thu Aug  6 15:11:21 2009
Return-Path: <jnc@mercury.lcs.mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 02AF928C155; Thu,  6 Aug 2009 15:11:21 -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 8s6BfMLcmPty; Thu,  6 Aug 2009 15:11:20 -0700 (PDT)
Received: from mercury.lcs.mit.edu (mercury.lcs.mit.edu [18.26.0.122]) by core3.amsl.com (Postfix) with ESMTP id 4F64228C146; Thu,  6 Aug 2009 15:11:20 -0700 (PDT)
Received: by mercury.lcs.mit.edu (Postfix, from userid 11178) id 83CF36BE56B; Thu,  6 Aug 2009 18:11:22 -0400 (EDT)
To: ipv6@ietf.org, lisp@ietf.org
Subject: Re: [lisp] Flow label redux
Message-Id: <20090806221122.83CF36BE56B@mercury.lcs.mit.edu>
Date: Thu,  6 Aug 2009 18:11:22 -0400 (EDT)
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Cc: jnc@mercury.lcs.mit.edu
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 22:11:21 -0000

    > From: Havard Eidnes <he@uninett.no>

    > in this specific example which is talking about a Link Aggregation
    > Group (LAG). 

I did indeed miss that detail. The conversation had been about a collection
of similar things, including ECMP, and I was thinking of that broader class
of things in making that comment.

	Noel

From Fred.L.Templin@boeing.com  Thu Aug  6 15:30:21 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6077A3A6D92; Thu,  6 Aug 2009 15:30:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.898
X-Spam-Level: 
X-Spam-Status: No, score=-5.898 tagged_above=-999 required=5 tests=[AWL=0.701,  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 RODzyoxyFlmy; Thu,  6 Aug 2009 15:30:20 -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 8F13B3A6C67; Thu,  6 Aug 2009 15:30:20 -0700 (PDT)
Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n76MUGA6001869 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 6 Aug 2009 15:30:19 -0700 (PDT)
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 n76MUG2S016173; Thu, 6 Aug 2009 15:30:16 -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 n76MU3Y6015087; Thu, 6 Aug 2009 15:30:16 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 6 Aug 2009 15:30:15 -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
Subject: RE: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Thu, 6 Aug 2009 15:30:13 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A10641494E@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <DE09D403-EDE1-4BA0-A4EC-CBA3A5D889C1@sandstorm.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Thread-Index: AcoW0diTDm7qU6IHSCeJzdGthOIE/wAEvA/w
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com><4A784EEF.2020405@joelhalpern.com><4A78B51C.2010902@gmail.com><4A78F3C6.4020602@joelhalpern.com><FE1C4216-B447-4648-8D4B-56B38B5488FE@sandstorm.net><4A7AE99A.2010807@joelhalpern.com><39C363776A4E8C4A94691D2BD9D1C9A1064145E9@XCH-NW-7V2.nw.nos.boeing.com> <094E1FE8-745B-46A4-9E04-3BD595DFC036@sandstorm.net> <39C363776A4E8C4A94691D2BD9D1C9A106414718@XCH-NW-7V2.nw.nos.boeing.com> <DE09D403-EDE1-4BA0-A4EC-CBA3A5D889C1@sandstorm.net>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Margaret Wasserman" <mrw@sandstorm.net>
X-OriginalArrivalTime: 06 Aug 2009 22:30:15.0303 (UTC) FILETIME=[782D3170:01CA16E5]
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Aug 2009 22:30:21 -0000

Margaret,

> -----Original Message-----
> From: Margaret Wasserman [mailto:mrw@sandstorm.net]
> Sent: Thursday, August 06, 2009 1:10 PM
> To: Templin, Fred L
> Cc: ipv6@ietf.org; lisp@ietf.org
> Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
>=20
>=20
> Hi Fred,
>=20
> On Aug 6, 2009, at 1:42 PM, Templin, Fred L wrote:
> >
> > How are non-TCP/UDP flows handled by these legacy systems
> > today? For example, 6to4 uses ip-proto-41.
>=20
> My understanding is that these flows will not be handled well...
> Since ECMP load balancers will have limited information available (the
> two IP address and the next header value), they will group all of the
> traffic between two 6to4 tunnel endpoints into a single flow.  If it
> becomes common for pairs of tunnel endpoints to transmit large amounts
> of data across ISP networks, this could present a significant
> operational issue for the Internet.
>=20
> This problem (and the LISP problem) could potentially be alleviated by
> hardware that performs load balancing based on the IP address, the
> next header and the IPv6 flow label. But, according to folks who ought
> to know, most of the IPv6 routers they have deployed can't handle load
> balancing based on anything but a UDP or TCP 5-tuple, even in IPv6 (no
> IPv6 flow label, no UDP-Lite, no SCTP, etc.).  This is rather
> distressing, but I have no reason to doubt their statements.

I guess add IPSec to the list of flows that would not be
handled well in the future? Are you saying that we need
to accept that the Internet is ossified, and all new
protocols will need to continue to do things the old way?

Fred
fred.l.templin@boeing.com

>=20
> Margaret
>=20


From iljitsch@muada.com  Fri Aug  7 02:34:45 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F3A033A67FF; Fri,  7 Aug 2009 02:34:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.38
X-Spam-Level: 
X-Spam-Status: No, score=-6.38 tagged_above=-999 required=5 tests=[AWL=0.219,  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 y+XQ4GeoE1pe; Fri,  7 Aug 2009 02:34:44 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id E645B3A6A5A; Fri,  7 Aug 2009 02:34:43 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n779YKuW064884 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Aug 2009 11:34:21 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <5070C70F-5FF4-42EB-964B-995BF65410B1@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
In-Reply-To: <20090806170014.58C316BE567@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 11:34:09 +0200
References: <20090806170014.58C316BE567@mercury.lcs.mit.edu>
X-Mailer: Apple Mail (2.936)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 09:34:45 -0000

On 6 aug 2009, at 19:00, Noel Chiappa wrote:

>> I see no particular issue with a network where some LAG-aware routers
>> do include the flow label in the hash and others don't.

> Any time you have a network which is using hop-by-hop path selection  
> (i.e.
> each node makes an independent decision on the next hop) and those  
> nodes are
> not all using i) the same algorithm on ii) the same data, you can  
> have routing
> loops.

Depends on whether you are using strong multipath routing or weak  
multipath routing. (I hope there is better existing terminology for  
this, but haven't found it so far.)

Consider:

A      B
|      |
+------+
|      |
|      |
|      |
+------+
|      |
C      D

In the strong multipath routing case traffic from C to A can flow  
directly and C-D-B-A. So far so good. But D's traffic can flow D-C-A  
and D-B-A. This means that traffic towards A will flow over the C-D  
link in BOTH directions. This can only happen when C and D can  
determine for each packet whether it is on the C-D-B-A path or the D-C- 
A path. So there must be something in the packet that determines this  
and that is interpreted the same way by C and D.

In the weak multipath routing case this problem doesn't exist, because  
packets towards a certain destination may only traverse a certain link  
in one direction.

At this point, you won't be surprised to learn that existing multipath  
routing techniques, including link aggregation load balancing of  
various kinds, tend to use weak multipath routing. The exception is  
OSPF ToS routing, which uses the type-of-service bits to keep things  
straight. (Don't remember how the new and improved OSPF multitopology  
routing does this...)

From iljitsch@muada.com  Fri Aug  7 02:47:33 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 49B413A6ECB; Fri,  7 Aug 2009 02:47:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.385
X-Spam-Level: 
X-Spam-Status: No, score=-6.385 tagged_above=-999 required=5 tests=[AWL=0.214,  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 oxR+6EUYtD59; Fri,  7 Aug 2009 02:47:32 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 44A4F3A6EC5; Fri,  7 Aug 2009 02:47:32 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n779l8XU064968 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Aug 2009 11:47:09 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <31AD4990-1ABF-48E1-AE8F-4438B98A82C4@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Margaret Wasserman <mrw@lilacglade.org>
In-Reply-To: <28077E14-4F07-4CB4-8AA4-5F6EA9886063@lilacglade.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 11:47:25 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org>	<81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com>	<375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net>	<7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <28077E14-4F07-4CB4-8AA4-5F6EA9886063@lilacglade.org>
X-Mailer: Apple Mail (2.936)
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 09:47:33 -0000

On 5 aug 2009, at 16:16, Margaret Wasserman wrote:

> What I am asking is whether IPv6 routers containing that silicon  
> exist in real-world deployments in large enough numbers that they  
> should be considered in our design choices.

The real question is how many of these routers use parallel links  
towards other IPv6 routers where balancing traffic on the 3-tuple  
(addresses + next header) wouldn't provide sufficient balancing of the  
traffic over the links.

Assuming a reasonable number of different hosts communicating through  
the link bundle, this will only be problematic when any two hosts are  
responsible for a significant fraction of the bandwidth of an  
individual link, but communicate using multiple sessions. If we assume  
these are at least 1 Gbps, we'd only have trouble when a single host  
has several 200 Mbps+ session to another IPv6 host through the link  
bundle.

Considering the fact that the total native IPv6 traffic through the  
AMS-IX currently peaks at around 1.5 Gbps I manage to not lose sleep  
over the risk of not being able to load balance more granularly than  
on the 3-tuple in IPv6 currently.

From iljitsch@muada.com  Fri Aug  7 02:52:45 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3277128C16F; Fri,  7 Aug 2009 02:52:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.389
X-Spam-Level: 
X-Spam-Status: No, score=-6.389 tagged_above=-999 required=5 tests=[AWL=0.210,  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 iYS4S2H+OqLi; Fri,  7 Aug 2009 02:52:44 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 3E77A28C165; Fri,  7 Aug 2009 02:52:44 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.55] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n779qEQR064998 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Aug 2009 11:52:15 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <C4FF9798-2AE9-4D01-AC1A-8B4AF34E73D6@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Christopher Morrow <morrowc.lists@gmail.com>
In-Reply-To: <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 11:52:03 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com>
X-Mailer: Apple Mail (2.936)
Cc: Sam Hartman <hartmans-ietf@mit.edu>, ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 09:52:45 -0000

On 5 aug 2009, at 19:34, Christopher Morrow wrote:

> You may see 2-3 year cycle on new asics for this feature to appear...
> given 1-2 years for haggling/bugs/blah it's safe to say 3-5 yrs before
> hardware is on the shelf to purchase.

You assume this requires new hardware. Although that's not  
inconceivable, I would think that in most cases a software or  
microcode update would be sufficient.

> 'flow label bits alone make a poor material for a hash key'... isn't
> this the reverse of saying that we'll (operators) require vendors to
> use flow-label for hashing on ECMP/LAG? If so, then... I don't think
> flow-label's going to cut it.

Huh?

By the way, if we want good load balancing in IPv6 it's always  
possible to use more source/destination address pairs, as addresses  
are cheap in IPv6.

From christopher.morrow@gmail.com  Fri Aug  7 06:49:40 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1C01B3A6910; Fri,  7 Aug 2009 06:49:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 DVUkBfipZfP0; Fri,  7 Aug 2009 06:49:39 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id D73133A67B4; Fri,  7 Aug 2009 06:49:32 -0700 (PDT)
Received: by qyk41 with SMTP id 41so1572178qyk.29 for <multiple recipients>; Fri, 07 Aug 2009 06:49:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=/UJtrMLVW0tzieA6rnEmiuZ1cnbnGOMp0gBMafDd8sc=; b=Li8UEdTztHkvC84KF1VDLQs2Bsf6MWfghW+I9caAnce16TIUrt3LQyXQtguFNx8Gjc ktGbZk5Z1eYscMSvja2HNFQoWDOM0iI7g60dCz2u6JnZqvfhc2dztIKyzJljGKqkI4Mh 8qkZgfhyzFbtYP/4XHA/EFxPbrmaZiXmV3tgk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=HE30bUCoy3dKOrjBwHUWI81X1TV0y2cPQFQxb42clpPu0pPj9RuJxloAwarfxL/Y5w 8XkgcWk26T+vU89g4NSxgP58cThlVbPI4sYD8Z6hH5h3xYWZq1KGaxu2oDj5+LiF6hrG 9AVHL6w8+6oGDrokF9tX693ZUEOqJ/ycWuS/E=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.80.211 with SMTP id u19mr1059185qak.263.1249652973489;  Fri, 07 Aug 2009 06:49:33 -0700 (PDT)
In-Reply-To: <C4FF9798-2AE9-4D01-AC1A-8B4AF34E73D6@muada.com>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <75cb24520908051034w5f08294ajdb788513a94c3fc3@mail.gmail.com> <C4FF9798-2AE9-4D01-AC1A-8B4AF34E73D6@muada.com>
Date: Fri, 7 Aug 2009 09:49:33 -0400
X-Google-Sender-Auth: 8ef92c464fd0dde3
Message-ID: <75cb24520908070649y7da76ea3q5f4bb0d0db0a069@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Iljitsch van Beijnum <iljitsch@muada.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: Sam Hartman <hartmans-ietf@mit.edu>, ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 13:49:40 -0000

On Fri, Aug 7, 2009 at 5:52 AM, Iljitsch van Beijnum<iljitsch@muada.com> wrote:
> On 5 aug 2009, at 19:34, Christopher Morrow wrote:
>
>> You may see 2-3 year cycle on new asics for this feature to appear...
>> given 1-2 years for haggling/bugs/blah it's safe to say 3-5 yrs before
>> hardware is on the shelf to purchase.
>
> You assume this requires new hardware. Although that's not inconceivable, I
> would think that in most cases a software or microcode update would be
> sufficient.

I look forward to your microcode update ... I'm not sure that
classifiers (on juniper or cisco devices) that work at 40g+ are going
to be microcode upgradable. My point is that just saying: "Well, now
use X. See all fixed!" isn't reality. There is atleast a 3-5 year lag.

>> 'flow label bits alone make a poor material for a hash key'... isn't
>> this the reverse of saying that we'll (operators) require vendors to
>> use flow-label for hashing on ECMP/LAG? If so, then... I don't think
>> flow-label's going to cut it.
>
> Huh?
>

brian sufficiently cleared up the wording/reasoning.

> By the way, if we want good load balancing in IPv6 it's always possible to
> use more source/destination address pairs, as addresses are cheap in IPv6.

awesome, how do I do that dynamically and on-demand? you're imposing a
restriction on the end users in order to fix this core problem,
outside of LISP I mean, I'm not sure that's going to work out either
(shifting costs and such).

-chris

From Francis.Dupont@fdupont.fr  Fri Aug  7 08:24:41 2009
Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 59DD03A6F3F; Fri,  7 Aug 2009 08:24:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.725
X-Spam-Level: 
X-Spam-Status: No, score=-1.725 tagged_above=-999 required=5 tests=[AWL=-0.424, BAYES_00=-2.599, HELO_EQ_FR=0.35, SARE_UNSUB22=0.948]
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 lBKesQoj3vW6; Fri,  7 Aug 2009 08:24:40 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [91.121.26.85]) by core3.amsl.com (Postfix) with ESMTP id AD5DB28C1AF; Fri,  7 Aug 2009 08:24:22 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.13.8/8.13.8) with ESMTP id n77FONdo014337; Fri, 7 Aug 2009 17:24:23 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <200908071524.n77FONdo014337@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: Margaret Wasserman <mrw@sandstorm.net>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
In-reply-to: Your message of Wed, 05 Aug 2009 15:08:09 EDT. <7B439CB4-6340-4158-9AAB-62599BA43EC6@sandstorm.net> 
Date: Fri, 07 Aug 2009 17:24:23 +0200
Sender: Francis.Dupont@fdupont.fr
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 15:24:41 -0000

 In your previous mail you wrote:

   And I understand that current load balancers can only do this based
   on a few fields:
   src/dest IP addresses (two RLOCs), the IP traffic class, the IP  
   protocol field (UDP=17) and the src/dest UDP ports (xxxx and LISP=4341).
   
   I just don't see how this works very well with LISP, though...  The  
   two RLOCs are likely to be constant for all traffic between the same  
   LISP routers, and ITR/ETR pair (right?).

=> in fact the IPv6 addresses don't need to be the same when xTRs are
attached to regular links with /64 prefixes. So IMHO most of this
discussion is insane:
 - if we need to vary things between a pair of IPv6 xTRs it should
  be enough (and simple/easy) to vary the addresses
 - we already have a "waste" of 2^64 addresses per links so this should
  never become a resource problem (:-)
 - the O UDP checksum proposal obsoletes all the today deployed nodes
  which check them (so all hosts I know and perhaps a lot of routers too),
  so if we believe something has to be fixed some routers should be fixed
  and not all BSD/Linux/MacOS/Windows boxes (software and hardware).
  To summary not only it is better to encourage application of RFCs
  than to twist them because they don't reflect the last idea, but
  in this case this is a total economical non-sense...

Thanks

Francis.Dupont@fdupont.fr

PS: Margaret, the insane is not for you: your messages in this thread
are clearly the most reasonnable/rational.
PPS: to use the flow label (not alone) is not stupid, the 5-tuple is
not always easy to extract in particular with IPv6.

From shane@castlepoint.net  Fri Aug  7 10:02:10 2009
Return-Path: <shane@castlepoint.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 923F83A6C62; Fri,  7 Aug 2009 10:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.546
X-Spam-Level: 
X-Spam-Status: No, score=-1.546 tagged_above=-999 required=5 tests=[AWL=0.105,  BAYES_00=-2.599, SARE_UNSUB22=0.948]
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 h2bL0G3u-NEk; Fri,  7 Aug 2009 10:02:09 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by core3.amsl.com (Postfix) with ESMTP id A53E63A6F6A; Fri,  7 Aug 2009 10:02:09 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id E4EE42684EA; Fri,  7 Aug 2009 11:02:12 -0600 (MDT)
Received: from host2.tcb.net (64.78.235.218 [64.78.235.218]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Fri, 07 Aug 2009 11:02:12 -0600 (MDT) (envelope-from shane@castlepoint.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=64.78.235.218; client-port=63764; data-bytes=0
Message-Id: <27109484-9BF9-4ED9-B40D-DCB96788B074@castlepoint.net>
From: Shane Amante <shane@castlepoint.net>
To: Francis Dupont <Francis.Dupont@fdupont.fr>
In-Reply-To: <200908071524.n77FONdo014337@givry.fdupont.fr>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
Date: Fri, 7 Aug 2009 11:02:11 -0600
References: <200908071524.n77FONdo014337@givry.fdupont.fr>
X-Mailer: Apple Mail (2.935.3)
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 17:02:10 -0000

Francis,

On Aug 7, 2009, at 09:24 MDT, Francis Dupont wrote:
> In your previous mail you wrote:
>
>   And I understand that current load balancers can only do this based
>   on a few fields:
>   src/dest IP addresses (two RLOCs), the IP traffic class, the IP
>   protocol field (UDP=17) and the src/dest UDP ports (xxxx and  
> LISP=4341).
>
>   I just don't see how this works very well with LISP, though...  The
>   two RLOCs are likely to be constant for all traffic between the same
>   LISP routers, and ITR/ETR pair (right?).
>
> => in fact the IPv6 addresses don't need to be the same when xTRs are
> attached to regular links with /64 prefixes. So IMHO most of this
> discussion is insane:

:-)


> - if we need to vary things between a pair of IPv6 xTRs it should
>  be enough (and simple/easy) to vary the addresses

The above was considered at the initial design stages of LISP, (I  
think Dino may have considered this approach?); however, it was shot  
down, because this would require the installers/administrators of the  
LISP ITR to both know the reasons why the above is required *and*  
configure the IPv6 ITR's with /64's to get the load-splitting benefits  
across LAG/ECMP paths.  (Remember the adage: "My network, my rules").   
Instead, it's more 'straightforward' to just have the ITR's / 
automatically/ calculate a hash of the incoming IP packet and stuff  
that into the UDP source port before transmitting it out its uplinks  
toward the ETR.  The key advantage of this approach is that ITR's / 
will/ be owned & operated by downstream customer's (i.e.: it's their  
CE's) who are likely unaware of and, therefore, may not care about the  
(extremely large) prevalence of LAG/ECMP paths through their upstream  
providers ... until congestion occurs in their upstream providers and  
they get upset.  When in doubt, automatic == good.

-shane


> - we already have a "waste" of 2^64 addresses per links so this should
>  never become a resource problem (:-)
> - the O UDP checksum proposal obsoletes all the today deployed nodes
>  which check them (so all hosts I know and perhaps a lot of routers  
> too),
>  so if we believe something has to be fixed some routers should be  
> fixed
>  and not all BSD/Linux/MacOS/Windows boxes (software and hardware).
>  To summary not only it is better to encourage application of RFCs
>  than to twist them because they don't reflect the last idea, but
>  in this case this is a total economical non-sense...
>
> Thanks
>
> Francis.Dupont@fdupont.fr
>
> PS: Margaret, the insane is not for you: your messages in this thread
> are clearly the most reasonnable/rational.
> PPS: to use the flow label (not alone) is not stupid, the 5-tuple is
> not always easy to extract in particular with IPv6.
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------


From shane@castlepoint.net  Fri Aug  7 11:05:31 2009
Return-Path: <shane@castlepoint.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 054DC3A6F88; Fri,  7 Aug 2009 11:05:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.035
X-Spam-Level: 
X-Spam-Status: No, score=-2.035 tagged_above=-999 required=5 tests=[AWL=0.564,  BAYES_00=-2.599]
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 8+nWpXYOOfR4; Fri,  7 Aug 2009 11:05:30 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by core3.amsl.com (Postfix) with ESMTP id E24313A6E9D; Fri,  7 Aug 2009 11:05:29 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id 2163A2684EA; Fri,  7 Aug 2009 12:05:33 -0600 (MDT)
Received: from host2.tcb.net (64.78.235.218 [64.78.235.218]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Fri, 07 Aug 2009 12:05:33 -0600 (MDT) (envelope-from shane@castlepoint.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=64.78.235.218; client-port=64542; data-bytes=0
Message-Id: <5E383B58-3352-43F2-8903-22F8ECE7C57A@castlepoint.net>
From: Shane Amante <shane@castlepoint.net>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 12:05:30 -0600
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 18:05:31 -0000

Hi Margaret,

Apologies for the delay, but it took some time to follow-up with some  
vendors.  See below.

On Aug 5, 2009, at 12:33 MDT, Margaret Wasserman wrote:
> Hi Shane,
>
> On Aug 5, 2009, at 12:50 PM, Shane Amante wrote:
>>
>> To bring this back up a level, while it's /possible/ to encourage  
>> vendors to adopt the IPv6 flow-label as input-keys to their hash- 
>> calculations for LAG/ECMP, it takes [a lot] of time to see that  
>> materialize in the field.  Practically, you're probably looking at  
>> somewhere between, at best, a 3  - 5 year window, before it will  
>> actually appear in live, production networks, given that it has to  
>> be prioritized for development at the vendor, tested, released in  
>> software, then re-tested by the SP and, finally, deployed.  That's  
>> not an "easy" process that happens in the blink-of-an-eye.  That's  
>> not to say that we (SP's) should not "encourage" vendors to do  
>> this, anyway, (we are/will) however if LISP (or other protocols  
>> like it that depend on tunneling) quickly gain traction, we need a  
>> way to deal with these traffic flows in our networks today, without  
>> telling customers: "turn off protocol <FOO>, because we can't  
>> deliver your packets".
>
> ECMP of LISP flows is an optimization that only matters when there  
> is a large amount of LISP traffic, right?

ECMP _and_ LAG.  But, in short, you're correct.  However, given the  
dominant link speed deployed in today's networks is 10G, (which are  
then lashed together in N x 10G LAG and/or ECMP paths), then we  
clearly don't want anything near that size of single flows on these  
links otherwise this will have a detrimental effect on the performance  
of other "well-behaved" traffic that is being evenly spread over  
parallel links.


> Do you think there is a reasonable chance that LISP would be widely- 
> enough to deployed to require this optimization in less than 3-to-5  
> years?

My crystal ball is out-of-service.  In other words, that's difficult  
to say, given that LISP is currently pursuing a "Experimental" track.   
However, assuming the experiment is successful, then it's pretty safe  
to assume folks would want to quickly turnaround (with the methods &  
protocols already developed and tested during the Experiment) and turn  
that straight into a production service.  So, IMO, it's best if we try  
to get this "good enough" from the beginning and not hamper its  
deployment by requiring networks to adapt before LISP, for example,  
could really take off (at least, in the short-term).

Furthermore, given the LISP folks believe this is the first  
"iteration" of LISP, there may be 'natural' points in the LISP  
evolution path (for example, to support better mapping functions)  
where it makes sense to consider evolving the encapsulation (for  
example, to support flow-labels instead of UDP encaps), as well.  I  
would argue, though, to get to those 'natural' points people will need  
to experiment with LISP to find out what works, and doesn't work, and  
bring that back to the IETF community to figure when & how to evolve  
LISP.


>> Perhaps one way to satisfy the parties in this conversation would  
>> be something along the following lines:
>> - LISP, and other protocols that wish to use tunneling, adopt UDP- 
>> lite (or UDP w/ 0 checksums) as a MUST for near-term deployment;
>> - LISP, and other protocols that wish to use tunneling, adopt IP-in- 
>> IPv6 tunneling with a flow-label required in the outer IPv6 header  
>> as a "SHOULD" for medium- to long-term deployments.
>> ... assuming vendors successfully adopt the IPv6 flow-label as  
>> input-keys in their hash calculations at some point in the future,  
>> we come back and deprecate the UDP/IPv6 tunnel method and elevate  
>> IP-in-IPv6 w/ flow-labels to a MUST.
>
> I would agree to this statement if one of two things were to  
> happen:  (1) we were to remove "(or UDP w/0 checksums) -- making UDP- 
> Lite a MUST in the near term", or (2) we were to satisfy ourselves  
> that using zero checksums will not represent an operational problem  
> for LISP, or for other applications that need to co-habitate with  
> LISP, and we were to add a normative dependency on a document (like  
> Marshall's, with edits) that would allow the use of UDP w/0  
> checksums over IPv6 in some cases, with LISP being an example of a  
> case where this was appropriate.

Based on my conservations with several vendors, flow-based load- 
balancing over LAG/ECMP paths is currently NOT accounting for the  
following in their input-keys to LAG/ECMP hash algorithms:
1)  IPv6 flow-label; or,
2)  UDP-lite (since, UDP-lite uses a different protocol ID [137]  
compared to standard UDP [17]).  In other words, if routers see UDP- 
lite (Protocol ID: 137), the router will revert back to just using Src/ 
Dst IPv6 Addresses and will not have the benefit of being exposed to  
the finer granularity of micro-flows that are denoted by varying the  
Src/Dst Layer-4 (UDP-lite) ports.

Therefore, I'll have to revise my original recommendation in the first  
bullet above that we only consider UDP with 0 checksums as the  
preferred short-term solution when IPv6 is being used as the outer  
encapsulation, (unless someone has a better idea that haven't been  
brought forth, yet).

-shane

From iljitsch@muada.com  Fri Aug  7 11:21:25 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E568928C1CC; Fri,  7 Aug 2009 11:21:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.05
X-Spam-Level: 
X-Spam-Status: No, score=-6.05 tagged_above=-999 required=5 tests=[AWL=0.549,  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 NGVsgXgCWGP7; Fri,  7 Aug 2009 11:21:25 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id EEF3128C19E; Fri,  7 Aug 2009 11:21:24 -0700 (PDT)
Received: from [192.168.0.196] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n77IKucH068004 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Aug 2009 20:20:57 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <6B3CD48F-72BF-48E3-800B-5BC5AD46485C@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Shane Amante <shane@castlepoint.net>
In-Reply-To: <5E383B58-3352-43F2-8903-22F8ECE7C57A@castlepoint.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 20:21:15 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <5E383B58-3352-43F2-8903-22F8ECE7C57A@castlepoint.net>
X-Mailer: Apple Mail (2.936)
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 18:21:26 -0000

Shane, thanks for infusing this discussion with some data.

On 7 aug 2009, at 20:05, Shane Amante wrote:

> Therefore, I'll have to revise my original recommendation in the  
> first bullet above that we only consider UDP with 0 checksums as the  
> preferred short-term solution when IPv6 is being used as the outer  
> encapsulation,

I don't see that. Currently, there isn't that much IPv6 traffic in the  
first place, and certainly not between the same source/destination  
addresses. So the lack of a fine-grained optimal solution to the load  
balancing issue is not a problem in practice. This affords us the  
relative luxury of being able to ignore current problems in  
implementations and do the right thing, rather than be forced to do  
something ugly and difficult (that would be UDP with no checksum).

And if we were to consider an ugly solution, making LISP use several  
IPv6 addresses per ITR/ETR would be a better solution.

From shane@castlepoint.net  Fri Aug  7 11:43:28 2009
Return-Path: <shane@castlepoint.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 10B013A6A1D; Fri,  7 Aug 2009 11:43:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level: 
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[AWL=0.493,  BAYES_00=-2.599]
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 d7-aZ8kAlO0D; Fri,  7 Aug 2009 11:43:27 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by core3.amsl.com (Postfix) with ESMTP id 3FC123A6AC9; Fri,  7 Aug 2009 11:43:27 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id AEBFD2684EA; Fri,  7 Aug 2009 12:43:30 -0600 (MDT)
Received: from host2.tcb.net (64.78.235.218 [64.78.235.218]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Fri, 07 Aug 2009 12:43:30 -0600 (MDT) (envelope-from shane@castlepoint.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=64.78.235.218; client-port=65097; data-bytes=0
Message-Id: <BC922A18-20C6-466D-85C8-7690C5CC0495@castlepoint.net>
From: Shane Amante <shane@castlepoint.net>
To: Iljitsch van Beijnum <iljitsch@muada.com>
In-Reply-To: <6B3CD48F-72BF-48E3-800B-5BC5AD46485C@muada.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 12:43:27 -0600
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <5E383B58-3352-43F2-8903-22F8ECE7C57A@castlepoint.net> <6B3CD48F-72BF-48E3-800B-5BC5AD46485C@muada.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 18:43:28 -0000

On Aug 7, 2009, at 12:21 MDT, Iljitsch van Beijnum wrote:
> Shane, thanks for infusing this discussion with some data.
>
> On 7 aug 2009, at 20:05, Shane Amante wrote:
>
>> Therefore, I'll have to revise my original recommendation in the  
>> first bullet above that we only consider UDP with 0 checksums as  
>> the preferred short-term solution when IPv6 is being used as the  
>> outer encapsulation,
>
> I don't see that.  Currently, there isn't that much IPv6 traffic in  
> the first place, and certainly not between the same source/ 
> destination addresses. So the lack of a fine-grained optimal  
> solution to the load balancing issue is not a problem in practice.  
> This affords us the relative luxury of being able to ignore current  
> problems in implementations and do the right thing, rather than be  
> forced to do something ugly and difficult (that would be UDP with no  
> checksum).


In that case, I guess we'll have to agree to disagree and in doing so,  
I'd like to take the liberty of quoting Vince Fuller's message to this  
list back on 8/4/2009, where he says it better than I could:
---snip---
 > Current operational reality is that the installed base of transit  
routers
 > on the Internet uses a hash of source/dest addres/port to split  
traffic
 > across LAGs so LISP uses an encapsulation that is compatible with  
that
 > reality.
 >
 > Specifying some alternate reality and hoping that the operational  
world will
 > modify its behavior to match doesn't seem very practical,  
particularly since
 > one of LISP's virtues is that it requires no changes to the transit  
routing
 > system.
---snip---

-shane

From christopher.morrow@gmail.com  Fri Aug  7 12:00:12 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3331B3A6FBD; Fri,  7 Aug 2009 12:00:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 Pf3s7WnAO1UC; Fri,  7 Aug 2009 12:00:10 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id 644EB3A67E5; Fri,  7 Aug 2009 11:59:40 -0700 (PDT)
Received: by qyk41 with SMTP id 41so1767750qyk.29 for <multiple recipients>; Fri, 07 Aug 2009 11:59:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Eb5c15L8emKkaP/dhupjdV/I7cR3YfmUeLtOLsW3snk=; b=nuP4GLVcipnAltU2tYq6WLh9QfnQd30KGGWrwzVeQMnsxLAmX8l+A8w4vB+G6GzQ6H 39NCZnGdfJgE+YlEeg3H2ghmy8zrBoGrGltJzD5XgrGEw2+dJAjkLOLJiqBQKfSNw8Ke cY7OprZRJNRavK7toDehBRLRZ0s9vm9hGjiZY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=OYTLxfwPduKkos4HCjlF1TqTrCrP9jqX/k5L0SPpnmvWwgOi479z39IaLFpBz3saAP yjla5kN8EpwLF9X6Iz9GFwuKjAZ9gk5zBVCYYSopmgeJQWObWFI/a8ddJi76kSHsOe8X oAPF+G3BSy8jpBVc20UiqfN2iBpmuOeMjbHkA=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.2.213 with SMTP id 21mr1436673qak.160.1249671581464; Fri,  07 Aug 2009 11:59:41 -0700 (PDT)
In-Reply-To: <B8514AA9-A2BE-46A8-A59E-3463D0EA0178@sandstorm.net>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com> <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net> <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com> <B8514AA9-A2BE-46A8-A59E-3463D0EA0178@sandstorm.net>
Date: Fri, 7 Aug 2009 14:59:41 -0400
X-Google-Sender-Auth: 0c95e81d2636127e
Message-ID: <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Margaret Wasserman <mrw@sandstorm.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 19:00:12 -0000

On Wed, Aug 5, 2009 at 5:07 PM, Margaret Wasserman<mrw@sandstorm.net> wrote=
:
>
> On Aug 5, 2009, at 3:55 PM, Christopher Morrow wrote:
>>>
>>
>> This I don't recall at all... I think part of my question is we (as a
>> group) are assuming that the reasons for requiring ipv6 udp checksums
>> as stated +10 years ago are still valid, I don't see data supporting
>> that fact.
>
> There are some classic papers on this topic. =A0The most recent I could f=
ind
> is from 2000:

If by 'classic' you mean 'not relevant to today's networking
technologies', sure.

> http://conferences.sigcomm.org/sigcomm/2000/conf/abstract/9-1.htm

This study captured data on:

1) a web crawl server on a 10mb hub
2) a dorm on a broadcast 10base2 network
3) 2 locations that don't give enough information about the
connections/tech used

The dataset analyzed is not relevant to today's networking
connectivity or technologies. Looking very quickly at a small set of
data I have access to (servers serving web content to the internet
users):

32,945,810,591 packets received, 0 dropped due to bad checksum (ip
header checksum)

1,004,728,008 datagrams received, 0 bad checksum, 15886 with no
checksum (udp datagram stats)

(collected from some unix hosts, via netstat -s or netstat -s -p udp output=
)

Given this set of data I don't think that having a checksum matters
for UDP or IP-header on today's internet, since there are zero errors
out of ~34B packets.

-chris

> In a quick re-read of this paper, I didn't see anything that is obviously
> dated about it. =A0So, I'd assume its error rates and analysis are still
> pertinent, unless there is a more recent study that says otherwise.
>
> Margaret
>
>
>
>

From jnc@mercury.lcs.mit.edu  Fri Aug  7 12:31:09 2009
Return-Path: <jnc@mercury.lcs.mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A2ADB3A69D6; Fri,  7 Aug 2009 12:31:09 -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 nE9b4nvFkiwK; Fri,  7 Aug 2009 12:31:09 -0700 (PDT)
Received: from mercury.lcs.mit.edu (mercury.lcs.mit.edu [18.26.0.122]) by core3.amsl.com (Postfix) with ESMTP id E2B273A6971; Fri,  7 Aug 2009 12:31:08 -0700 (PDT)
Received: by mercury.lcs.mit.edu (Postfix, from userid 11178) id 3BD9C6BE5C1; Fri,  7 Aug 2009 15:31:11 -0400 (EDT)
To: ipv6@ietf.org, lisp@ietf.org
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Message-Id: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
Date: Fri,  7 Aug 2009 15:31:11 -0400 (EDT)
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Cc: jnc@mercury.lcs.mit.edu
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 19:31:09 -0000

    > From: Francis Dupont <Francis.Dupont@fdupont.fr>

    > the O UDP checksum proposal obsoletes all the today deployed nodes
    > which check them (so all hosts I know and perhaps a lot of routers too)

OK, so what are the other options for encapsulating a packet in a IPv6
packet?

I'm told by some people that UDP-Lite isn't a standard yet? Or is it? (It
seems to have a protocol number issued?) Does UDP-Lite work through NAT
boxes? (LISP has a mobile-node mode, which we would like to see work through
NAT boxes, so any proposed alternative solution has to work through NAT boxes
too.)

Other ideas?

Also, hosts aren't an issue - and in fact it's a _feature_ that hosts will
discard any LISP packets they see (for having bad checksums).

    > From: Shane Amante <shane@castlepoint.net>

    > this is the first "iteration" of LISP, there may be 'natural' points in
    > the LISP evolution path ... where it makes sense to consider evolving
    > the encapsulation

Excellent point. We have indeed already considered deploying other
encapsulations, e.g. for use over MPLS.

    > From: Iljitsch van Beijnum <iljitsch@muada.com>

    > there isn't that much IPv6 traffic in the first place ...
    > So the lack of a fine-grained optimal solution to the load balancing
    > issue is not a problem in practice.

Is it your prediction for the near (i.e. 2-3 year) future that this level of
traffic will continue to be the case, operationally?

	Noel

From tme@americafree.tv  Fri Aug  7 12:43:00 2009
Return-Path: <tme@americafree.tv>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F1B1728C21C; Fri,  7 Aug 2009 12:43:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.581
X-Spam-Level: 
X-Spam-Status: No, score=-2.581 tagged_above=-999 required=5 tests=[AWL=0.018,  BAYES_00=-2.599]
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 bNzfqepsoP3S; Fri,  7 Aug 2009 12:43:00 -0700 (PDT)
Received: from mail.americafree.tv (rossini.americafree.tv [63.105.122.34]) by core3.amsl.com (Postfix) with ESMTP id D004D28C20A; Fri,  7 Aug 2009 12:42:59 -0700 (PDT)
Received: from [IPv6:::1] (rossini.americafree.tv [63.105.122.34]) by mail.americafree.tv (Postfix) with ESMTP id 8854F46D209B; Fri,  7 Aug 2009 15:42:50 -0400 (EDT)
Message-Id: <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv>
From: Marshall Eubanks <tme@americafree.tv>
To: Christopher Morrow <morrowc.lists@gmail.com>
In-Reply-To: <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 15:42:48 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com> <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net> <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com> <B8514AA9-A2BE-46A8-A59E-3463D0EA0178@sandstorm.net> <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 19:43:01 -0000

On Aug 7, 2009, at 2:59 PM, Christopher Morrow wrote:

> On Wed, Aug 5, 2009 at 5:07 PM, Margaret  
> Wasserman<mrw@sandstorm.net> wrote:
>>
>> On Aug 5, 2009, at 3:55 PM, Christopher Morrow wrote:
>>>>
>>>
>>> This I don't recall at all... I think part of my question is we  
>>> (as a
>>> group) are assuming that the reasons for requiring ipv6 udp  
>>> checksums
>>> as stated +10 years ago are still valid, I don't see data supporting
>>> that fact.
>>
>> There are some classic papers on this topic.  The most recent I  
>> could find
>> is from 2000:
>
> If by 'classic' you mean 'not relevant to today's networking
> technologies', sure.
>
>> http://conferences.sigcomm.org/sigcomm/2000/conf/abstract/9-1.htm
>
> This study captured data on:
>
> 1) a web crawl server on a 10mb hub
> 2) a dorm on a broadcast 10base2 network
> 3) 2 locations that don't give enough information about the
> connections/tech used
>
> The dataset analyzed is not relevant to today's networking
> connectivity or technologies. Looking very quickly at a small set of
> data I have access to (servers serving web content to the internet
> users):
>
> 32,945,810,591 packets received, 0 dropped due to bad checksum (ip
> header checksum)
>
> 1,004,728,008 datagrams received, 0 bad checksum, 15886 with no
> checksum (udp datagram stats)

Just polling the routers here, I see a similar scenario, e.g.,

4,166,900,871 packets 0 dropped due to bad checksum

However, this is over good clean fiber links. What I would worry about  
are RF links, such as 802.11 or P2P microwaves. These generally have  
link layer redundancy / checksums, etc., which I think are pretty good  
at detecting corrupted packets, but
it might not be wise to rely on that.

I wonder if we could dig up similar numbers for the IETF 802.11  
network. I will make inquiries.

Regards
Marshall


>
>
> (collected from some unix hosts, via netstat -s or netstat -s -p udp  
> output)
>
> Given this set of data I don't think that having a checksum matters
> for UDP or IP-header on today's internet, since there are zero errors
> out of ~34B packets.
>
> -chris
>
>> In a quick re-read of this paper, I didn't see anything that is  
>> obviously
>> dated about it.  So, I'd assume its error rates and analysis are  
>> still
>> pertinent, unless there is a more recent study that says otherwise.
>>
>> Margaret
>>
>>
>>
>>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>


From dino@cisco.com  Fri Aug  7 12:46:34 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7BBD13A6EC1; Fri,  7 Aug 2009 12:46:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.473
X-Spam-Level: 
X-Spam-Status: No, score=-6.473 tagged_above=-999 required=5 tests=[AWL=0.126,  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 PJ6ylVyVzUC0; Fri,  7 Aug 2009 12:46:33 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id A08183A69CF; Fri,  7 Aug 2009 12:46:33 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEANkhfEqrR7O6/2dsb2JhbAC4DYgrkBcFhBaBUQ
X-IronPort-AV: E=Sophos;i="4.43,343,1246838400"; d="scan'208";a="362839386"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-6.cisco.com with ESMTP; 07 Aug 2009 19:46:37 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n77Jkb3Z020558;  Fri, 7 Aug 2009 12:46:37 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n77JkbtZ026190; Fri, 7 Aug 2009 19:46:37 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 7 Aug 2009 12:46:36 -0700
Received: from [192.168.1.14] ([10.21.127.105]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 7 Aug 2009 12:46:36 -0700
Message-Id: <63F4A212-90E2-47AB-8415-C2397C5DE51B@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <B6589B3E-EC32-4579-A0A0-EDC818C88046@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Fri, 7 Aug 2009 12:46:35 -0700
References: <20090730202239.CE4016BE597@mercury.lcs.mit.edu> <193AB49B-E857-4C8F-A091-A329CFC74625@nokia.com> <54F0639D-A1EF-420B-9B14-EEC1CE77B212@cisco.com> <B6589B3E-EC32-4579-A0A0-EDC818C88046@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 07 Aug 2009 19:46:36.0489 (UTC) FILETIME=[C61ED390:01CA1797]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=599; t=1249674397; x=1250538397; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=pQKhUOgbxSDZSExWjx59n8lg1aSkTLesAGbU7H6oxVo=; b=P+5We5eqHnkwnm7EpcmRtLsmTB0PMg+WNwWZo1PZ0onTg9wgOEeKW4WljH oy4/BQLxTftSnVfsVcPovImow3kmzhGfu55VzEYOLgoYvD4z8j5Nxpm4sTCn LxlzMCDGMW;
Authentication-Results: sj-dkim-2; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 19:46:34 -0000

Not sensible enough.

Dino

On Aug 4, 2009, at 7:58 AM, Margaret Wasserman wrote:

>
> On Jul 30, 2009, at 6:33 PM, Dino Farinacci wrote:
>>
>>> What I'm saying is that *if* UDP us used, it needs to be used  
>>> according to the RFCs that capture the IETF consensus on their  
>>> use, or the IETF consensus must be revised.
>>
>> And what we are are saying is to be practical (and sensible).
>
> Well, what *I* am saying is that UDP-Lite was designed to offer a  
> practical and sensible alternative for exactly these situations.   
> Why won't it work for LISP?
>
> Margaret


From iljitsch@muada.com  Fri Aug  7 13:05:40 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9DCD23A6932; Fri,  7 Aug 2009 13:05:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.087
X-Spam-Level: 
X-Spam-Status: No, score=-6.087 tagged_above=-999 required=5 tests=[AWL=0.512,  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 Fu0mG05l0Xx0; Fri,  7 Aug 2009 13:05:39 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 8A8E13A67CF; Fri,  7 Aug 2009 13:05:39 -0700 (PDT)
Received: from [192.168.0.196] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n77K5GNt068734 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Aug 2009 22:05:17 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <D73EB11B-9DAA-44FE-8F72-1686D8495987@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
In-Reply-To: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 22:05:35 +0200
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
X-Mailer: Apple Mail (2.936)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 20:05:40 -0000

On 7 aug 2009, at 21:31, Noel Chiappa wrote:

> I'm told by some people that UDP-Lite isn't a standard yet? Or is  
> it? (It
> seems to have a protocol number issued?)

http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml

Protocol 136, RFC 3828.

> Does UDP-Lite work through NAT
> boxes? (LISP has a mobile-node mode, which we would like to see work  
> through
> NAT boxes, so any proposed alternative solution has to work through  
> NAT boxes
> too.)

For IPv6?

>> there isn't that much IPv6 traffic in the first place ...
>> So the lack of a fine-grained optimal solution to the load balancing
>> issue is not a problem in practice.

> Is it your prediction for the near (i.e. 2-3 year) future that this  
> level of
> traffic will continue to be the case, operationally?

The amount of traffic where lack of load balancing granularity beyond  
the 3-tuple starts to hurt is in the order of a quarter of the link  
speed (could be 25% of 100 Mbps to 40 Gbps). So if we can now fill in  
the number of users that are encapsulated together between an ITR and  
an ETR (could be hundreds to hundreds of thousands) and the amount of  
traffic that is IPv6 (currently 0.2% at AMS-IX, perhaps 10% in the  
near future or even 50% or more) then we can see how big the problem  
really is.

It's not impossible to arrive at numbers where the load balancing  
starts being problematic with only the 3-tuple but to get there within  
a year or three (or even five) you have to assume radical IPv6 and  
LISP uptake coupled with either massive ITRs/ETRs or miniscule links.

From christopher.morrow@gmail.com  Fri Aug  7 13:06:16 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 64DA23A6FA5; Fri,  7 Aug 2009 13:06:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 uUBowaodwzwh; Fri,  7 Aug 2009 13:06:15 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id 2046F3A67E7; Fri,  7 Aug 2009 13:06:15 -0700 (PDT)
Received: by qyk41 with SMTP id 41so1804252qyk.29 for <multiple recipients>; Fri, 07 Aug 2009 13:06:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=4IfbMOSwBWxGMdFtxCX8VtDyThDz/ocpuRGQGLoDRKw=; b=i6jUZ1XVrXR/I2kQoJq+iEejD4iWIkhGVWBXsP5tVpUdjZVrEVehVcWfwtBwaq1sas CLkgVjZKSDQwQrxvW+WVhDYUmGFHF1wCR9oeocSlimpD4CxVjOAN+SOoP3tnfPIxevcw 0AcQLJtyJbCZl6AXGPDsJf7TSCMtJZcEDpdNY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=A18F3mPO4xRakal3R3QxgDjP2dvUlnEjAFkesq3cBlBLPx7mW3FCoLdtO8C/0nxu4t emGpQDrOqKRfLIbzYHOELzUXfZrtcAuYG+frjB8UAUYO5UqjPOJofqm3qRBCLvwL99QE mdAq/VZZW/5lJlnZwRnr73/p7UnLuSyg1qjco=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.2.80 with SMTP id 16mr1526191qai.90.1249675576452; Fri, 07  Aug 2009 13:06:16 -0700 (PDT)
In-Reply-To: <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv>
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com> <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net> <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com> <B8514AA9-A2BE-46A8-A59E-3463D0EA0178@sandstorm.net> <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com> <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv>
Date: Fri, 7 Aug 2009 16:06:16 -0400
X-Google-Sender-Auth: 829dea9ba43ed111
Message-ID: <75cb24520908071306x266d635bmf4377355affce2a6@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Marshall Eubanks <tme@americafree.tv>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 20:06:16 -0000

On Fri, Aug 7, 2009 at 3:42 PM, Marshall Eubanks<tme@americafree.tv> wrote:
>
> On Aug 7, 2009, at 2:59 PM, Christopher Morrow wrote:
>
>> On Wed, Aug 5, 2009 at 5:07 PM, Margaret Wasserman<mrw@sandstorm.net>
>> wrote:
>>>
>>> On Aug 5, 2009, at 3:55 PM, Christopher Morrow wrote:
>>>>>
>>>>
>>>> This I don't recall at all... I think part of my question is we (as a
>>>> group) are assuming that the reasons for requiring ipv6 udp checksums
>>>> as stated +10 years ago are still valid, I don't see data supporting
>>>> that fact.
>>>
>>> There are some classic papers on this topic. =A0The most recent I could
>>> find
>>> is from 2000:
>>
>> If by 'classic' you mean 'not relevant to today's networking
>> technologies', sure.
>>
>>> http://conferences.sigcomm.org/sigcomm/2000/conf/abstract/9-1.htm
>>
>> This study captured data on:
>>
>> 1) a web crawl server on a 10mb hub
>> 2) a dorm on a broadcast 10base2 network
>> 3) 2 locations that don't give enough information about the
>> connections/tech used
>>
>> The dataset analyzed is not relevant to today's networking
>> connectivity or technologies. Looking very quickly at a small set of
>> data I have access to (servers serving web content to the internet
>> users):
>>
>> 32,945,810,591 packets received, 0 dropped due to bad checksum (ip
>> header checksum)
>>
>> 1,004,728,008 datagrams received, 0 bad checksum, 15886 with no
>> checksum (udp datagram stats)
>
> Just polling the routers here, I see a similar scenario, e.g.,
>
> 4,166,900,871 packets 0 dropped due to bad checksum

neat! (I'm also going to see if I can get some stats from a wider set
of hosts, but....)

> However, this is over good clean fiber links. What I would worry about ar=
e
> RF links, such as 802.11 or P2P microwaves. These generally have link lay=
er
> redundancy / checksums, etc., which I think are pretty good at detecting
> corrupted packets,
>
> it might not be wise to rely on that.
>
> I wonder if we could dig up similar numbers for the IETF 802.11 network. =
I
> will make inquiries.
>
> Regards
> Marshall
>
>
>>
>>
>> (collected from some unix hosts, via netstat -s or netstat -s -p udp
>> output)
>>
>> Given this set of data I don't think that having a checksum matters
>> for UDP or IP-header on today's internet, since there are zero errors
>> out of ~34B packets.
>>
>> -chris
>>
>>> In a quick re-read of this paper, I didn't see anything that is obvious=
ly
>>> dated about it. =A0So, I'd assume its error rates and analysis are stil=
l
>>> pertinent, unless there is a more recent study that says otherwise.
>>>
>>> Margaret
>>>
>>>
>>>
>>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
>
>

From iljitsch@muada.com  Fri Aug  7 13:11:03 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 698D03A6E3A; Fri,  7 Aug 2009 13:11:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.499
X-Spam-Level: 
X-Spam-Status: No, score=-5.499 tagged_above=-999 required=5 tests=[AWL=-0.140, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, SARE_LWSHORTT=1.24]
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 eFldGsLoAGLz; Fri,  7 Aug 2009 13:11:02 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id F2E003A6943; Fri,  7 Aug 2009 13:11:01 -0700 (PDT)
Received: from [192.168.0.196] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n77KAWvL068773 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Aug 2009 22:10:33 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <31E5414C-347F-4D47-AED8-7866FD28C0EC@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Shane Amante <shane@castlepoint.net>
In-Reply-To: <BC922A18-20C6-466D-85C8-7690C5CC0495@castlepoint.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re:  IPv6 UDP checksum issue]
Date: Fri, 7 Aug 2009 22:10:52 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <A17F9C93-6BFD-4FBC-BCA8-E1C1367F23F2@lilacglade.org> <81FB17E4-9126-466A-9BC5-1CDE97ED3946@muada.com> <375BAB1F-B29E-476A-92E0-B0CDB5B55723@castlepoint.net> <7CE2AC34-2659-4947-8EE9-B4ECD4A32F39@muada.com> <4A784EEF.2020405@joelhalpern.com> <4A78B51C.2010902@gmail.com> <4A78F3C6.4020602@joelhalpern.com> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <5E383B58-3352-43F2-8903-22F8ECE7C57A@castlepoint.net> <6B3CD48F-72BF-48E3-800B-5BC5AD46485C@muada.com> <BC922A18-20C6-466D-85C8-7690C5CC0495@castlepoint.net>
X-Mailer: Apple Mail (2.936)
Cc: IAB <iab@ietf.org>, 6man 6man <ipv6@ietf.org>, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2009 20:11:03 -0000

CCing the IAB because I think we are reaching a slippery architectural  
slope. Hopefully they can help us out.

On 7 aug 2009, at 20:43, Shane Amante wrote:

>>> Therefore, I'll have to revise my original recommendation in the  
>>> first bullet above that we only consider UDP with 0 checksums as  
>>> the preferred short-term solution when IPv6 is being used as the  
>>> outer encapsulation,

>> I don't see that.  Currently, there isn't that much IPv6 traffic in  
>> the first place, and certainly not between the same source/ 
>> destination addresses. So the lack of a fine-grained optimal  
>> solution to the load balancing issue is not a problem in practice.  
>> This affords us the relative luxury of being able to ignore current  
>> problems in implementations and do the right thing, rather than be  
>> forced to do something ugly and difficult (that would be UDP with  
>> no checksum).

> In that case, I guess we'll have to agree to disagree

Well, we still either have UDP encapsulation with a 0 checksum for  
LISP over IPv6 or not.

> and in doing so, I'd like to take the liberty of quoting Vince  
> Fuller's message to this list back on 8/4/2009, where he says it  
> better than I could:
> ---snip---
> > Current operational reality is that the installed base of transit  
> routers
> > on the Internet uses a hash of source/dest addres/port to split  
> traffic
> > across LAGs so LISP uses an encapsulation that is compatible with  
> that
> > reality.
> >
> > Specifying some alternate reality and hoping that the operational  
> world will
> > modify its behavior to match doesn't seem very practical,  
> particularly since
> > one of LISP's virtues is that it requires no changes to the  
> transit routing
> > system.
> ---snip---

The problem with adopting that logic and adopting a UDP header for  
LISP even though that would require breaking the IPv6 spec just  
because router vendors haven't gotten around to implementing ECMP  
based on the flow label is that it cements us into a TCP/UDP view of  
the world with IPv6 just like NATs did for IPv4.

In my opinion, the possible short term pain of less than optimal load  
balancing in a few places with high IPv6 LISP traffic is worth it if  
that allows us to proceed in an architecturally clean way.

From he@uninett.no  Fri Aug  7 17:22:03 2009
Return-Path: <he@uninett.no>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 949243A6F89; Fri,  7 Aug 2009 17:22:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=1.000,  BAYES_00=-2.599, GB_I_LETTER=-2]
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 vpdzscH4tYIH; Fri,  7 Aug 2009 17:22:02 -0700 (PDT)
Received: from smistad.uninett.no (smistad.uninett.no [IPv6:2001:700:1:0:21e:4fff:feed:ced]) by core3.amsl.com (Postfix) with ESMTP id A704C3A6BA3; Fri,  7 Aug 2009 17:22:02 -0700 (PDT)
Received: from smistad.uninett.no (smistad.uninett.no [158.38.62.77]) by smistad.uninett.no (Postfix) with ESMTP id 5F4BD3D09D; Sat,  8 Aug 2009 02:22:04 +0200 (CEST)
Date: Sat, 08 Aug 2009 02:22:04 +0200 (CEST)
Message-Id: <20090808.022204.92569755.he@uninett.no>
To: jnc@mercury.lcs.mit.edu
Subject: Re: [lisp] Flow label redux
From: Havard Eidnes <he@uninett.no>
In-Reply-To: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
X-Mailer: Mew version 5.2 on Emacs 22.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Aug 2009 00:22:03 -0000

>     > the O UDP checksum proposal obsoletes all the today deployed no=
des
>     > which check them (so all hosts I know and perhaps a lot of rout=
ers too)
>
> OK, so what are the other options for encapsulating a packet in a IPv=
6
> packet?

Um, surely, routers are not specified to validate layer-4
checksums for transit traffic?!?

Let's look at this another way?  As I understood it, UDP 0 would
be used by LISP encapsulating/decapsulating devices.

If some random (non-LISP encap/decap) host by mistake received a
0 UDP packet, it would be dropped, which should do no harm.

In practical terms, only LISP encap/decap devices would need to
be modified to accept 0 UDP packets under some specific rule /
circumstance, as an exception to the general rule.

The only thing which would prevent this would be one of
conformance to the letter of the original spec, which apparently
bans 0 UDP checksums.

So what's so bad about that?

Regards,

- H=E5vard

From christopher.morrow@gmail.com  Fri Aug  7 18:22:51 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 849A23A6A14; Fri,  7 Aug 2009 18:22:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 Ro5R94wCJBk1; Fri,  7 Aug 2009 18:22:50 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id 939A23A6A05; Fri,  7 Aug 2009 18:22:50 -0700 (PDT)
Received: by qyk41 with SMTP id 41so1938319qyk.29 for <multiple recipients>; Fri, 07 Aug 2009 18:22:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=e7Or6gap2sUc9Fa3RIa+Wrjbce17y9SZIsQfW5jqCz4=; b=DBS3D11RwiuyweEgjbkbHDF/byfCUldNFc4TRszgBaajPpE/ToGJ4lC9ghoHO/NC2n ctlEcmrKsYHESal3Xvj6f2zHT6l1t2SHSVwZR9qXPcA3mTIne8znRB8S5muzwmMQ5dAL pEemaOEkq1ewEPxQ5UJE3nGUGLHbp91521+2k=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tvEYdIXrEnYDlb2oOHYEL9BU2R9XYtJAT9DVp0mv9M2ZKRYqLe58Ri6L1RTarMoCuP dWmdmQn/jSH++8JLqQw4ai8Led+5uykLURy/oib1VhkNnuUEcZX3Q6C/pEaHp9OyW4aB BrVE0HrP9uttotyAhWG81/DX7HHAD4SERISfg=
MIME-Version: 1.0
Received: by 10.224.20.17 with SMTP id d17mr1631148qab.204.1249694571420; Fri,  07 Aug 2009 18:22:51 -0700 (PDT)
In-Reply-To: <20090808.022204.92569755.he@uninett.no>
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <20090808.022204.92569755.he@uninett.no>
Date: Fri, 7 Aug 2009 21:22:51 -0400
Message-ID: <75cb24520908071822p3c196159p72f0ec395c64ff71@mail.gmail.com>
Subject: Re: [lisp] Flow label redux
From: Christopher Morrow <christopher.morrow@gmail.com>
To: Havard Eidnes <he@uninett.no>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, jnc@mercury.lcs.mit.edu, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Aug 2009 01:22:51 -0000

On Fri, Aug 7, 2009 at 8:22 PM, Havard Eidnes<he@uninett.no> wrote:
>> =A0 =A0 > the O UDP checksum proposal obsoletes all the today deployed n=
odes
>> =A0 =A0 > which check them (so all hosts I know and perhaps a lot of rou=
ters too)
>>
>> OK, so what are the other options for encapsulating a packet in a IPv6
>> packet?
>
> Um, surely, routers are not specified to validate layer-4
> checksums for transit traffic?!?
>
> Let's look at this another way? =A0As I understood it, UDP 0 would
> be used by LISP encapsulating/decapsulating devices.
>
> If some random (non-LISP encap/decap) host by mistake received a
> 0 UDP packet, it would be dropped, which should do no harm.

warning this discssion morphed from a 'what should ipv6/ipv4
translators do..' discssion. While a non-lisp node receiving a LISP
udp/0 packet dropping it seems fine to me, a translator dropping a
udp/0|null-sum packet instead of translating it properly or telling
the source-system: "oops, something bad happened" is unacceptable (in
my mind).

> In practical terms, only LISP encap/decap devices would need to
> be modified to accept 0 UDP packets under some specific rule /
> circumstance, as an exception to the general rule.

See above comment. I really think that in the wider context the
udp-checksum decision for ipv6 needs to be revisited. There are more
than a few cases where the current state of inconsistency needs to be
trued up.

-chris

From jnc@mercury.lcs.mit.edu  Fri Aug  7 20:13:29 2009
Return-Path: <jnc@mercury.lcs.mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8A1B33A67E6; Fri,  7 Aug 2009 20:13:29 -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 77sGksIAmAxC; Fri,  7 Aug 2009 20:13:28 -0700 (PDT)
Received: from mercury.lcs.mit.edu (mercury.lcs.mit.edu [18.26.0.122]) by core3.amsl.com (Postfix) with ESMTP id BCFCC3A67A8; Fri,  7 Aug 2009 20:13:28 -0700 (PDT)
Received: by mercury.lcs.mit.edu (Postfix, from userid 11178) id BB9726BE5CA; Fri,  7 Aug 2009 23:13:30 -0400 (EDT)
To: ipv6@ietf.org, lisp@ietf.org
Subject: Re: [lisp] Flow label redux
Message-Id: <20090808031330.BB9726BE5CA@mercury.lcs.mit.edu>
Date: Fri,  7 Aug 2009 23:13:30 -0400 (EDT)
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Cc: jnc@mercury.lcs.mit.edu
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Aug 2009 03:13:29 -0000

    > From: Christopher Morrow <christopher.morrow@gmail.com>

    > While a non-lisp node receiving a LISP udp/0 packet dropping it seems
    > fine to me, a translator dropping a udp/0|null-sum packet instead of
    > translating it properly or telling the source-system: "oops, something
    > bad happened" is unacceptable (in my mind).

Ow; now you're making my head hurt.

I don't think LISP was ever intended to work in the circumstance where an
IPv[46] xTR was talking directly to an IPv[64] (i.e. the opposite of the
other one) xTR, via a IPv[4-6] translator box - just like we don't expect
IPv4 routers to talk to IPv6 routers through an IPv[4-6] translator box.

So I'm not sure we need to worry about that case either? Or do we need that
case to work? Are there really going to be operational cases _during the term
of the LISP experimental phase_ with IPv4-only xTRs needing to talk to
IPv6-only xTRs?

(That is of course separate from the case where a IPv6-only xTR wants to talk
to another IPv6-only xTR, and there is no direct v6-native path between them -
it was at that point that my head started to hurt....)

	Noel

From christopher.morrow@gmail.com  Fri Aug  7 22:12:23 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DAA8B3A68D3; Fri,  7 Aug 2009 22:12:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 l+ALTikTu3ND; Fri,  7 Aug 2009 22:12:23 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id E2A0E3A67A2; Fri,  7 Aug 2009 22:12:22 -0700 (PDT)
Received: by qyk41 with SMTP id 41so2000512qyk.29 for <multiple recipients>; Fri, 07 Aug 2009 22:12:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=z6fTzzAJXUdmji/QYo7JwUnMMCyyh6dJ1MuEHUOmQuI=; b=jucRnANV218zLw9O31Z52Po2SlcxcSTruhCLoyDRlntUvcGJ2QN9QB7oiaBEI0WHZo R+6WSnkBMwB/h3h/jgIDRJ+BVif9L9TvZkx5/YnaMPOQwKkHp46rf0uMyr/nlFj9FJwj QYylVdRlitF9CPfUxUtZz+CeY4OAHlK0NdNP8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=sit5FscpDcOrk5ltgFXA53/yJEUXdfYTbziAR8DZv4mBINWJEddGPNAY2tgy+i3D2k pmRn6cKXhja4qQe8e1YxaNTw7fvwd7UELLQhuekxA6oQRmv+kT5oR9qy5jKJ2NnHdN31 c5Vde3425bNPzjrCNSBpjs3Ej3DuSMuDyPe34=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.2.80 with SMTP id 16mr1760777qai.90.1249708344170; Fri, 07  Aug 2009 22:12:24 -0700 (PDT)
In-Reply-To: <20090808031330.BB9726BE5CA@mercury.lcs.mit.edu>
References: <20090808031330.BB9726BE5CA@mercury.lcs.mit.edu>
Date: Sat, 8 Aug 2009 01:12:24 -0400
X-Google-Sender-Auth: e452d11acd2adeaf
Message-ID: <75cb24520908072212u4f9c6218i208a7be2a3da386f@mail.gmail.com>
Subject: Re: [lisp] Flow label redux
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Aug 2009 05:12:24 -0000

On Fri, Aug 7, 2009 at 11:13 PM, Noel Chiappa<jnc@mercury.lcs.mit.edu> wrot=
e:
> =A0 =A0> From: Christopher Morrow <christopher.morrow@gmail.com>
>
> =A0 =A0> While a non-lisp node receiving a LISP udp/0 packet dropping it =
seems
> =A0 =A0> fine to me, a translator dropping a udp/0|null-sum packet instea=
d of
> =A0 =A0> translating it properly or telling the source-system: "oops, som=
ething
> =A0 =A0> bad happened" is unacceptable (in my mind).
>
> Ow; now you're making my head hurt.

sorry about that.

> I don't think LISP was ever intended to work in the circumstance where an
> IPv[46] xTR was talking directly to an IPv[64] (i.e. the opposite of the
> other one) xTR, via a IPv[4-6] translator box - just like we don't expect
> IPv4 routers to talk to IPv6 routers through an IPv[4-6] translator box.

Nope, perhaps not. The original version of this discussion started on
ipv6@, and was about what to do if/when a 4to6 (say a nat64 device)
translator gets a packet that would match the criteria in question.

> So I'm not sure we need to worry about that case either? Or do we need th=
at
> case to work? Are there really going to be operational cases _during the =
term
> of the LISP experimental phase_ with IPv4-only xTRs needing to talk to
> IPv6-only xTRs?
>
> (That is of course separate from the case where a IPv6-only xTR wants to =
talk
> to another IPv6-only xTR, and there is no direct v6-native path between t=
hem -
> it was at that point that my head started to hurt....)

sorry :(

-Chris

From gorry@erg.abdn.ac.uk  Fri Aug  7 23:37:15 2009
Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 462133A69E3; Fri,  7 Aug 2009 23:37:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 BngkHXtYJ7zs; Fri,  7 Aug 2009 23:37:14 -0700 (PDT)
Received: from erg.abdn.ac.uk (dee.erg.abdn.ac.uk [IPv6:2001:630:241:204:203:baff:fe9a:8c9b]) by core3.amsl.com (Postfix) with ESMTP id 3D6DB3A697E; Fri,  7 Aug 2009 23:37:13 -0700 (PDT)
Received: from Gorry-Fairhursts-Laptop-6.local (fgrpf.plus.com [212.159.18.54]) (authenticated bits=0) by erg.abdn.ac.uk (8.13.4/8.13.4) with ESMTP id n786ad3U014631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 8 Aug 2009 07:36:40 +0100 (BST)
Message-ID: <4A7D1CF7.8070004@erg.abdn.ac.uk>
Date: Sat, 08 Aug 2009 07:36:39 +0100
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Organization: The University of Aberdeen is a charity registered in Scotland,  No SC013683. 
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
In-Reply-To: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ERG-MailScanner: Found to be clean
X-ERG-MailScanner-From: gorry@erg.abdn.ac.uk
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: gorry@erg.abdn.ac.uk
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Aug 2009 06:37:15 -0000

Noel Chiappa wrote:
>     > From: Francis Dupont <Francis.Dupont@fdupont.fr>
> 
>     > the O UDP checksum proposal obsoletes all the today deployed nodes
>     > which check them (so all hosts I know and perhaps a lot of routers too)
> 
> OK, so what are the other options for encapsulating a packet in a IPv6
> packet?
> 
> I'm told by some people that UDP-Lite isn't a standard yet? Or is it? (It
> seems to have a protocol number issued?) Does UDP-Lite work through NAT
> boxes? (LISP has a mobile-node mode, which we would like to see work through
> NAT boxes, so any proposed alternative solution has to work through NAT boxes
> too.)
> 
> 
<SNIP>

UDP-Lite spec: RFC 3828.
UDP-Lite MIB:  RFC 5097.
Unicast UDP Usage Guidelines (for UDP and UDP-Lite): RFC 5405.

UDP-Lite has been part of the Linux kernel since version 2.6.20.

Gorry

From brian@innovationslab.net  Sat Aug  8 07:34:40 2009
Return-Path: <brian@innovationslab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 023EA3A6BD3; Sat,  8 Aug 2009 07:34:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 N3C7zZjPpKsd; Sat,  8 Aug 2009 07:34:39 -0700 (PDT)
Received: from uillean.fuaim.com (uillean.fuaim.com [206.197.161.140]) by core3.amsl.com (Postfix) with ESMTP id CE43A3A68DE; Sat,  8 Aug 2009 07:34:12 -0700 (PDT)
Received: from clairseach.fuaim.com (clairseach.fuaim.com [206.197.161.141]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by uillean.fuaim.com (Postfix) with ESMTP id 9A9F58820E; Sat,  8 Aug 2009 07:34:15 -0700 (PDT)
Received: from Clemson-2.local (c-69-255-98-109.hsd1.md.comcast.net [69.255.98.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by clairseach.fuaim.com (Postfix) with ESMTP id 13655130002; Sat,  8 Aug 2009 07:34:13 -0700 (PDT)
Message-ID: <4A7D8CC0.1020809@innovationslab.net>
Date: Sat, 08 Aug 2009 10:33:36 -0400
From: Brian Haberman <brian@innovationslab.net>
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: ipv6@ietf.org, lisp@ietf.org
Subject: Re: [lisp] Flow label redux
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>	<20090808.022204.92569755.he@uninett.no> <75cb24520908071822p3c196159p72f0ec395c64ff71@mail.gmail.com>
In-Reply-To: <75cb24520908071822p3c196159p72f0ec395c64ff71@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: jnc@mercury.lcs.mit.edu, Havard Eidnes <he@uninett.no>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Aug 2009 14:34:40 -0000

Christopher Morrow wrote:
> On Fri, Aug 7, 2009 at 8:22 PM, Havard Eidnes<he@uninett.no> wrote:
>>>     > the O UDP checksum proposal obsoletes all the today deployed nodes
>>>     > which check them (so all hosts I know and perhaps a lot of routers too)
>>>
>>> OK, so what are the other options for encapsulating a packet in a IPv6
>>> packet?
>> Um, surely, routers are not specified to validate layer-4
>> checksums for transit traffic?!?
>>
>> Let's look at this another way?  As I understood it, UDP 0 would
>> be used by LISP encapsulating/decapsulating devices.
>>
>> If some random (non-LISP encap/decap) host by mistake received a
>> 0 UDP packet, it would be dropped, which should do no harm.
> 
> warning this discssion morphed from a 'what should ipv6/ipv4
> translators do..' discssion. While a non-lisp node receiving a LISP
> udp/0 packet dropping it seems fine to me, a translator dropping a
> udp/0|null-sum packet instead of translating it properly or telling
> the source-system: "oops, something bad happened" is unacceptable (in
> my mind).
> 

This statement about morphed discussions is absolutely correct.  The 
discussion on the ipv6 mailing list should be about the proposals on the 
table for modifying the UDP checksum rules.  Such a change impacts 
IPv4/IPv6 translators, LISP, and AMT.

Please keep all other discussions (LISP behavior, translation 
techniques, etc.) on their respective lists.

Thanks,
Brian

From jnc@mercury.lcs.mit.edu  Sat Aug  8 07:39:39 2009
Return-Path: <jnc@mercury.lcs.mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE61F3A6A9C; Sat,  8 Aug 2009 07:39:39 -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=[AWL=0.000,  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 6-mnVZ+TQTCT; Sat,  8 Aug 2009 07:39:39 -0700 (PDT)
Received: from mercury.lcs.mit.edu (mercury.lcs.mit.edu [18.26.0.122]) by core3.amsl.com (Postfix) with ESMTP id 0E63D3A6958; Sat,  8 Aug 2009 07:39:18 -0700 (PDT)
Received: by mercury.lcs.mit.edu (Postfix, from userid 11178) id 531676BE563; Sat,  8 Aug 2009 10:39:21 -0400 (EDT)
To: ipv6@ietf.org, lisp@ietf.org
Subject: Re: [lisp] Flow label redux
Message-Id: <20090808143921.531676BE563@mercury.lcs.mit.edu>
Date: Sat,  8 Aug 2009 10:39:21 -0400 (EDT)
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Cc: jnc@mercury.lcs.mit.edu
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Aug 2009 14:39:39 -0000

    > From: Christopher Morrow <morrowc.lists@gmail.com>

    > The original version of this discussion started on ipv6@, and was about
    > what to do if/when a 4to6 (say a nat64 device) translator gets a packet
    > that would match the criteria in question.

Now that it's morning, and my brain is actually functioning, this is a
non-issue. If LISP ever gets to production phase, the solution is trivial.

An ITR can tell from the mapping for the destination EID whether the ETR(s)
for that EID has/have IPv4 or IPv6 address(es) (or both). The spec can simply
mandate that packets destined for an ETR with only an IPv6 address have to be
emitted inside an IPv6 packet, and vice versa. So there will never be a need
for translation. Arrival of a LISP packet at a translator is an error, and the
translator _should_ silently drop it - a checksum error will do this nicely.


I'm not sure we want to include this mandate in the experimental phase of
LISP, for two reasons. First, it requires dual-stack implementations in all
xTRs, which to me seems an unneccessary burden for an experiment. Second, and
more important, there's still this whole issue of 'what happens if there's no
direct IPv6-native path between two IPv6 xTRs'?

Note that this problem exists whether we fix the translator problem using the
method above, or not. Two IPv6-only xTRs may or may not have an IPv6-native
path between them - if not, a tunnel will have to be arranged. (Barf.) You
_cannot_ use _translation_ to fix this problem, because that would mean you
have a way of mapping the entire IPv6 address space into IPv4 addresses -
clearly impossible.

	Noel

From dino@cisco.com  Sat Aug  8 20:11:58 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 612083A6BBC; Sat,  8 Aug 2009 20:11:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.501
X-Spam-Level: 
X-Spam-Status: No, score=-6.501 tagged_above=-999 required=5 tests=[AWL=0.098,  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 orcgtAP1DTLC; Sat,  8 Aug 2009 20:11:57 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 6B81A3A6BEF; Sat,  8 Aug 2009 20:11:57 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAJvbfUqrR7PD/2dsb2JhbAC2IYgrjy4FhBiBUYJVhW0
X-IronPort-AV: E=Sophos;i="4.43,347,1246838400"; d="scan'208";a="363523196"
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-6.cisco.com with ESMTP; 09 Aug 2009 03:11:58 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n793BwEd010230;  Sat, 8 Aug 2009 20:11:58 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n793BwpV018166; Sun, 9 Aug 2009 03:11:58 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 8 Aug 2009 20:11:58 -0700
Received: from [10.224.11.219] ([10.21.93.71]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 8 Aug 2009 20:11:43 -0700
Message-Id: <238B5CE8-ABFD-45D3-9E6D-BFEB6E10CE46@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
In-Reply-To: <20090808143921.531676BE563@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux
Date: Sat, 8 Aug 2009 17:54:41 -0700
References: <20090808143921.531676BE563@mercury.lcs.mit.edu>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 09 Aug 2009 03:11:43.0849 (UTC) FILETIME=[1F5C4D90:01CA189F]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=2029; t=1249787518; x=1250651518; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20Flow=20label=20redux |Sender:=20; bh=flpeWY007g+2efN0riv22xmQGWD4Hsm5XYtd5MzfX6s=; b=qI0pxoy0DgrpcICdBnEtrnhVLqlE6Ef1k6oMUTHhTiRhKwSI8Zxq/dHZ0B WoPuDq1yJBGn90tAvsr276DW1uoZ71/0Ad4EGSixGHgRIchKCcPHbnN2t417 w+EjBCOf/y;
Authentication-Results: sj-dkim-3; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); 
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Aug 2009 03:11:58 -0000

And what about multicast?   ;-)

Dino

On Aug 8, 2009, at 7:39 AM, Noel Chiappa wrote:

>
>> From: Christopher Morrow <morrowc.lists@gmail.com>
>
>> The original version of this discussion started on ipv6@, and was  
>> about
>> what to do if/when a 4to6 (say a nat64 device) translator gets a  
>> packet
>> that would match the criteria in question.
>
> Now that it's morning, and my brain is actually functioning, this is a
> non-issue. If LISP ever gets to production phase, the solution is  
> trivial.
>
> An ITR can tell from the mapping for the destination EID whether the  
> ETR(s)
> for that EID has/have IPv4 or IPv6 address(es) (or both). The spec  
> can simply
> mandate that packets destined for an ETR with only an IPv6 address  
> have to be
> emitted inside an IPv6 packet, and vice versa. So there will never  
> be a need
> for translation. Arrival of a LISP packet at a translator is an  
> error, and the
> translator _should_ silently drop it - a checksum error will do this  
> nicely.
>
>
> I'm not sure we want to include this mandate in the experimental  
> phase of
> LISP, for two reasons. First, it requires dual-stack implementations  
> in all
> xTRs, which to me seems an unneccessary burden for an experiment.  
> Second, and
> more important, there's still this whole issue of 'what happens if  
> there's no
> direct IPv6-native path between two IPv6 xTRs'?
>
> Note that this problem exists whether we fix the translator problem  
> using the
> method above, or not. Two IPv6-only xTRs may or may not have an IPv6- 
> native
> path between them - if not, a tunnel will have to be arranged.  
> (Barf.) You
> _cannot_ use _translation_ to fix this problem, because that would  
> mean you
> have a way of mapping the entire IPv6 address space into IPv4  
> addresses -
> clearly impossible.
>
> 	Noel
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From dino@cisco.com  Sat Aug  8 20:11:58 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6B1743A6BEF; Sat,  8 Aug 2009 20:11:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.506
X-Spam-Level: 
X-Spam-Status: No, score=-6.506 tagged_above=-999 required=5 tests=[AWL=0.093,  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 C+tvd3x4AdZs; Sat,  8 Aug 2009 20:11:57 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 58F6B3A6BBD; Sat,  8 Aug 2009 20:11:57 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAJvbfUqrR7MV/2dsb2JhbAC2IYgrjy4FhBiBUYhC
X-IronPort-AV: E=Sophos;i="4.43,347,1246838400"; d="scan'208";a="363523194"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 09 Aug 2009 03:11:58 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n793Bw39028894;  Sat, 8 Aug 2009 20:11:58 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n793Bwt1016156; Sun, 9 Aug 2009 03:11:58 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 8 Aug 2009 20:11:57 -0700
Received: from [10.224.11.219] ([10.21.93.71]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 8 Aug 2009 20:11:41 -0700
Message-Id: <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
In-Reply-To: <tslzlafn2un.fsf@mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Sat, 8 Aug 2009 17:34:00 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 09 Aug 2009 03:11:41.0568 (UTC) FILETIME=[1E004000:01CA189F]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=694; t=1249787518; x=1250651518; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=c9x40fJGIUcFFqErxk+5wseY2kzhMSxuTSjujLHoajw=; b=YKDyYKKFzujyfKqJwWWVKQtVdNyaEFtZs4z6WiKVzTCVSBDLKesCEXevf4 XGnbZ4ew1CZ67VuiWQC2bFeFaUmsbIcHvVc4dUy1RhrCqSLTP/Iu0RC+jTcV J4eeq55AKBY3GGAF4LPYjrxTSGe+KL280N34MfqJEY/F7vqEex7TQ=;
Authentication-Results: sj-dkim-1; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Aug 2009 03:11:58 -0000

>
> I suggest that your draft
>
> 1) Indicate whether receivers should be specially configured to accept
> 0 checsums or whether all stacks should accept 0 checksums.

The spec says ETRs MUST ignore the UDP checksum field. This is what  
the LISP authors intended and has been implemented this way.

The spec says ITRs MUST set the UDP checksum field to 0.

Dino

> 2) Adapt her questions as questions that IETF specs considering this
> exception need to answer to make sure that their protocol will work
> correctly in this mode.
>
> --Sam
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From dwmalone@maths.tcd.ie  Sun Aug  9 13:02:15 2009
Return-Path: <dwmalone@maths.tcd.ie>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E7C9B3A6A89; Sun,  9 Aug 2009 13:02:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 yEy1UCljJhqY; Sun,  9 Aug 2009 13:02:15 -0700 (PDT)
Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [IPv6:2001:770:10:300::86e2:510b]) by core3.amsl.com (Postfix) with SMTP id 60BD33A6985; Sun,  9 Aug 2009 13:02:13 -0700 (PDT)
Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id <aa03354@salmon>; 9 Aug 2009 21:02:14 +0100 (BST)
Date: Sun, 9 Aug 2009 21:02:09 +0100
From: David Malone <dwmalone@maths.tcd.ie>
To: Christopher Morrow <morrowc.lists@gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Message-ID: <20090809200209.GA810@walton.maths.tcd.ie>
References: <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com> <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net> <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com> <B8514AA9-A2BE-46A8-A59E-3463D0EA0178@sandstorm.net> <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com> <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv> <75cb24520908071306x266d635bmf4377355affce2a6@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <75cb24520908071306x266d635bmf4377355affce2a6@mail.gmail.com>
User-Agent: Mutt/1.5.6i
Sender: dwmalone@maths.tcd.ie
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Aug 2009 20:02:16 -0000

On Fri, Aug 07, 2009 at 04:06:16PM -0400, Christopher Morrow wrote:
> > 4,166,900,871 packets 0 dropped due to bad checksum
> 
> neat! (I'm also going to see if I can get some stats from a wider set
> of hosts, but....)

If routers check the IPv4 header checksum (which I think they are
supposed to for IPv4), then I don't think you will see packets with
IP checksum errors unless you are adjecent to a router/host that
is generating bad checksums. For example, on one router I have
access to that is exposed to a networks worth of random hardware,
I've seen 2 bac IP checksums from 333128929 IP packets. On another
home router I see 4 from 16089085.

However, in IPv6, these errors will be forwarded on and show up as
UDP or TCP checksum errors on end hosts.

	David.

From Francis.Dupont@fdupont.fr  Sun Aug  9 15:14:17 2009
Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9B9B23A6A8B; Sun,  9 Aug 2009 15:14:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.138
X-Spam-Level: 
X-Spam-Status: No, score=-2.138 tagged_above=-999 required=5 tests=[AWL=0.111,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
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 mSbjNmDDaLPJ; Sun,  9 Aug 2009 15:14:16 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [91.121.26.85]) by core3.amsl.com (Postfix) with ESMTP id A0D2F3A6853; Sun,  9 Aug 2009 15:14:16 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.13.8/8.13.8) with ESMTP id n79MEHEM028385; Mon, 10 Aug 2009 00:14:17 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <200908092214.n79MEHEM028385@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: Shane Amante <shane@castlepoint.net>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
In-reply-to: Your message of Fri, 07 Aug 2009 11:02:11 MDT. <27109484-9BF9-4ED9-B40D-DCB96788B074@castlepoint.net> 
Date: Mon, 10 Aug 2009 00:14:17 +0200
Sender: Francis.Dupont@fdupont.fr
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Aug 2009 22:14:17 -0000

 In your previous mail you wrote:

   > - if we need to vary things between a pair of IPv6 xTRs it should
   >  be enough (and simple/easy) to vary the addresses
   
   The above was considered at the initial design stages of LISP, (I  
   think Dino may have considered this approach?); however, it was shot  
   down, because this would require the installers/administrators of the  
   LISP ITR to both know the reasons why the above is required *and*  
   configure the IPv6 ITR's with /64's to get the load-splitting benefits  
   across LAG/ECMP paths.

=> I can't see the difference with varying the UDP source port.

   Instead, it's more 'straightforward' to just have the ITR's / 

=> it is not more straightforward, you can put the hash where you'd like.

   automatically/ calculate a hash of the incoming IP packet and stuff  
   that into the UDP source port before transmitting it out its uplinks  
   toward the ETR.  The key advantage of this approach is that ITR's / 
   will/ be owned & operated by downstream customer's (i.e.: it's their  
   CE's) who are likely unaware of and, therefore, may not care about the  
   (extremely large) prevalence of LAG/ECMP paths through their upstream  
   providers ... until congestion occurs in their upstream providers and  
   they get upset.  When in doubt, automatic == good.
   
=> you have just to put at least one of the end on a virtual link
to get up to 64 bits of path selection. IMHO it is more than one
could ever need...   
   
Thanks

Francis.Dupont@fdupont.fr

PS: IMHO this is an example of IPv6 misunderstanding: the solution
was developed for IPv4 and as it doesn't fit exactly into IPv6
in place of adjusting the solution you propose to adjust IPv6.

From christopher.morrow@gmail.com  Sun Aug  9 19:29:53 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F9F63A6824; Sun,  9 Aug 2009 19:29:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 LC54rP33pNDa; Sun,  9 Aug 2009 19:29:52 -0700 (PDT)
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by core3.amsl.com (Postfix) with ESMTP id 3A4423A67BD; Sun,  9 Aug 2009 19:29:52 -0700 (PDT)
Received: by qw-out-2122.google.com with SMTP id 5so1062930qwi.31 for <multiple recipients>; Sun, 09 Aug 2009 19:29:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wtWwvIJVdoe52NRNUQJSA0Mv252m9+vOGId5LBkOlv0=; b=hnFKLbRnwG6UkW0rBtmZma/xxFs1+BD5kbDozpPm+vlIj8tEqoH7hJ4e4TQs64Y24z nje5NAN45L7mfHyOAngt+94Hksz1xVNifFxhVVrMOmTqHdX4kNQhgKCkZ9TxKT1qlDgv 70VGpSDJhXqhC7Taqjv3enYmOZXC28V4raa4w=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QhY1JeKqVAkqTOrPfglvGbgSt4crHXCPe5Dl292zbRv5+26yF38OD+8MCHtji5l+H3 M14X2fCccwEa7Z3srGwkaQQ2O5Y0ZBJubwBfUqI+iKkwPUwItHZHn6RkPwowBUXa1rLj DZ3ZL3bNz7PftCF4RLbPN0gD7PE1Uu7fZQ1qg=
MIME-Version: 1.0
Received: by 10.224.20.17 with SMTP id d17mr2742313qab.204.1249871392423; Sun,  09 Aug 2009 19:29:52 -0700 (PDT)
In-Reply-To: <200908092214.n79MEHEM028385@givry.fdupont.fr>
References: <27109484-9BF9-4ED9-B40D-DCB96788B074@castlepoint.net> <200908092214.n79MEHEM028385@givry.fdupont.fr>
Date: Sun, 9 Aug 2009 22:29:52 -0400
Message-ID: <75cb24520908091929v60185a3dq7838c7e0118f6f5b@mail.gmail.com>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
From: Christopher Morrow <christopher.morrow@gmail.com>
To: Francis Dupont <Francis.Dupont@fdupont.fr>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2009 02:29:53 -0000

On Sun, Aug 9, 2009 at 6:14 PM, Francis Dupont<Francis.Dupont@fdupont.fr> w=
rote:
> =A0In your previous mail you wrote:

> PS: IMHO this is an example of IPv6 misunderstanding: the solution
> was developed for IPv4 and as it doesn't fit exactly into IPv6
> in place of adjusting the solution you propose to adjust IPv6.

ugh... Thanks for listening to operators and device implementors
providing input to the process Francis. Always nice to see that we are
appreciated in this arena.

-Chris

From Francis.Dupont@fdupont.fr  Mon Aug 10 07:24:27 2009
Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1FB1E3A68A2; Mon, 10 Aug 2009 07:24:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.152
X-Spam-Level: 
X-Spam-Status: No, score=-2.152 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
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 Sg20a3BjUocn; Mon, 10 Aug 2009 07:24:26 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [91.121.26.85]) by core3.amsl.com (Postfix) with ESMTP id 197FE3A67B4; Mon, 10 Aug 2009 07:24:25 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.13.8/8.13.8) with ESMTP id n7AEOSRZ032456; Mon, 10 Aug 2009 16:24:28 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <200908101424.n7AEOSRZ032456@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
In-reply-to: Your message of Fri, 07 Aug 2009 15:31:11 EDT. <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> 
Date: Mon, 10 Aug 2009 16:24:28 +0200
Sender: Francis.Dupont@fdupont.fr
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2009 14:24:27 -0000

 In your previous mail you wrote:

       > the O UDP checksum proposal obsoletes all the today deployed nodes
       > which check them (so all hosts I know and perhaps a lot of
       > routers too)
   
   OK, so what are the other options for encapsulating a packet in a IPv6
   packet?
   
=> UDP-lite or a direct encapsulation (IMHO LISP should ask for
a (IPv6) protocol number).

   I'm told by some people that UDP-Lite isn't a standard yet? Or is it?

=> RFC 3828, protocol 136.

   Does UDP-Lite work through NAT boxes?

=> I don't know but there is no deployed IPv6 NATs.
   
Regards

Francis.Dupont@fdupont.fr

From dino@cisco.com  Mon Aug 10 10:08:38 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CB2293A6E72; Mon, 10 Aug 2009 10:08:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.211
X-Spam-Level: 
X-Spam-Status: No, score=-7.211 tagged_above=-999 required=5 tests=[AWL=0.788,  BAYES_00=-2.599, GB_I_LETTER=-2, J_CHICKENPOX_42=0.6, 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 tUutR8B0HBPB; Mon, 10 Aug 2009 10:08:37 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id D31073A6B04; Mon, 10 Aug 2009 10:08:37 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAIPxf0qrR7PE/2dsb2JhbAC5aYgrjm0FhBiBUQ
X-IronPort-AV: E=Sophos;i="4.43,354,1246838400"; d="scan'208";a="225888452"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 10 Aug 2009 17:08:40 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n7AH8fSv011588;  Mon, 10 Aug 2009 10:08:41 -0700
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7AH8f7G019277; Mon, 10 Aug 2009 17:08:41 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 10 Aug 2009 10:08:41 -0700
Received: from [192.168.1.5] ([10.21.68.32]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 10 Aug 2009 10:08:41 -0700
Message-Id: <150A17A6-D122-4ED3-BCD3-CF3DBE4F7470@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Havard Eidnes <he@uninett.no>
In-Reply-To: <20090808.022204.92569755.he@uninett.no>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux
Date: Mon, 10 Aug 2009 10:08:40 -0700
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <20090808.022204.92569755.he@uninett.no>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 10 Aug 2009 17:08:41.0369 (UTC) FILETIME=[35BF8090:01CA19DD]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1705; t=1249924121; x=1250788121; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20Flow=20label=20redux |Sender:=20; bh=CcjaVJ/O6/hDJt7acvdMeU2r7rS+ymFE8L4fnvtqN4E=; b=s3kxatI/0t4l/yYBpIO2XwVAtAVyDA9t9/mWh38VJM5PWdu3UD8M2OAess 7TrFdmqAT7nV2Wdustt7E50ELnCgLpw98f1p570tcsWpj0ks0zE3NYneNEG2 KKvjTOWFso;
Authentication-Results: sj-dkim-4; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); 
Cc: ipv6@ietf.org, jnc@mercury.lcs.mit.edu, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2009 17:08:38 -0000

>>> the O UDP checksum proposal obsoletes all the today deployed nodes
>>> which check them (so all hosts I know and perhaps a lot of routers =20=

>>> too)
>>
>> OK, so what are the other options for encapsulating a packet in a =20
>> IPv6
>> packet?
>
> Um, surely, routers are not specified to validate layer-4
> checksums for transit traffic?!?

Right, or have to build pseudo-headers in a contiguous buffer with the =20=

*entire* data packet to calculate such a UDP checksum.

> Let's look at this another way?  As I understood it, UDP 0 would
> be used by LISP encapsulating/decapsulating devices.

Right. But on the ETR, it is spec'ed to "ignore" checksums because =20
there are NATs that rewrite UDP checksum fields regardless if the NAT =20=

receives the packet with a zero or non-zero UDP checksum.

> If some random (non-LISP encap/decap) host by mistake received a
> 0 UDP packet, it would be dropped, which should do no harm.

As would a router (acting as a hsot) that is not doing LISP.

> In practical terms, only LISP encap/decap devices would need to
> be modified to accept 0 UDP packets under some specific rule /
> circumstance, as an exception to the general rule.

Right (modulo what I wrote above about ignoring UDP checksums on the =20
decapsulator).

> The only thing which would prevent this would be one of
> conformance to the letter of the original spec, which apparently
> bans 0 UDP checksums.

Right.

> So what's so bad about that?

Good question.

Dino

>
> Regards,
>
> - H=E5vard
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From jmh@joelhalpern.com  Mon Aug 10 10:11:24 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 85CD13A68CE; Mon, 10 Aug 2009 10:11:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.433
X-Spam-Level: 
X-Spam-Status: No, score=-4.433 tagged_above=-999 required=5 tests=[AWL=1.166,  BAYES_00=-2.599, GB_I_LETTER=-2, 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 gSdZwgvyjKHx; Mon, 10 Aug 2009 10:11:23 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id AA19C3A6EE1; Mon, 10 Aug 2009 10:11:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id B6EF74303DA; Mon, 10 Aug 2009 10:11:27 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id AABAC4303BC; Mon, 10 Aug 2009 10:11:26 -0700 (PDT)
Message-ID: <4A8054BD.8090508@joelhalpern.com>
Date: Mon, 10 Aug 2009 13:11:25 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Havard Eidnes <he@uninett.no>
Subject: Re: [lisp] Flow label redux
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <20090808.022204.92569755.he@uninett.no>
In-Reply-To: <20090808.022204.92569755.he@uninett.no>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2009 17:11:24 -0000

Actually, looking at this as a LISP problem is probalby misleading.

This issue applies to any intermediate device based, high capacity, 
tunnel mechanism.
1) High capacity tunnel mechanisms are going to be concerned to 
implement in hardware, where the UDP checksum may be difficult
2) High capacity tunnels are the very ones whose traffic could and 
should make use of ECMP / LAG operation.

Starting from there, the line of argument then proceeds to look at what 
works.
What works in the real world IPv6 deployments is UDP with 0 checksum. 
That enables ECMP / LAG without excessive effort / overhead.
Note that UDP-lite is not an answer in terms of what works now.  The 
vast majority of deployed provider-edge (PE) and provider-core (P) 
devices will not look at the port numbers in the UDP-lite header because 
they do not recognize the protocol.

The next question is whether this could change.  I am still collecting 
information on this.  Product seems to fall into three categories:
1) Software forwarders.  Obviously, these can change
2) Microcoded packet processors - These can probably change which field 
is looked at, within limits
3) Hardware mechanisms - these really can not change their handling, as 
they are in the field.

Preliminary data indicates that there are a non-trivial number of 
hardware devices already out there and handling IPv6.
There are a noticeable number of core devices that could be changed in 
small ways (microcoded or software), for example to use the flow-label 
instead of some other piece of information in the packet.

We can look at the hardware and complain, or we can look at it and thank 
the vendor for acting promptly on RFCs.
We can not reasonably expect the hardware to change in any meaningful 
time frame.

I am still colelcting implementation data, so I may be misled by what I 
have gotten.  But it seems to me that we are unfortunately stuck with 
UDP with 0 checksums if we want high capacity tunnels to be able to make 
use of ECMP / LAG in the moderate time period (out through at least 5 
years, maybe longer.)

Yours,
Joel

Havard Eidnes wrote:
>>     > the O UDP checksum proposal obsoletes all the today deployed nodes
>>     > which check them (so all hosts I know and perhaps a lot of routers too)
>>
>> OK, so what are the other options for encapsulating a packet in a IPv6
>> packet?
> 
> Um, surely, routers are not specified to validate layer-4
> checksums for transit traffic?!?
> 
> Let's look at this another way?  As I understood it, UDP 0 would
> be used by LISP encapsulating/decapsulating devices.
> 
> If some random (non-LISP encap/decap) host by mistake received a
> 0 UDP packet, it would be dropped, which should do no harm.
> 
> In practical terms, only LISP encap/decap devices would need to
> be modified to accept 0 UDP packets under some specific rule /
> circumstance, as an exception to the general rule.
> 
> The only thing which would prevent this would be one of
> conformance to the letter of the original spec, which apparently
> bans 0 UDP checksums.
> 
> So what's so bad about that?
> 
> Regards,
> 
> - Håvard
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp
> 

From rcallon@juniper.net  Mon Aug 10 11:25:00 2009
Return-Path: <rcallon@juniper.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 229F128C0F0; Mon, 10 Aug 2009 11:25:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.299
X-Spam-Level: 
X-Spam-Status: No, score=-7.299 tagged_above=-999 required=5 tests=[AWL=1.300,  BAYES_00=-2.599, GB_I_LETTER=-2, 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 psxEJ8qisGxJ; Mon, 10 Aug 2009 11:24:59 -0700 (PDT)
Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169]) by core3.amsl.com (Postfix) with ESMTP id 0BAE73A69BF; Mon, 10 Aug 2009 11:24:55 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob108.postini.com ([64.18.6.12]) with SMTP ID DSNKSoBl++4Y+O7qA/d+o9CDtUdIzlZvT5B/@postini.com; Mon, 10 Aug 2009 11:25:03 PDT
Received: from p-emfe01-wf.jnpr.net (172.28.145.24) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 10 Aug 2009 11:20:09 -0700
Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe01-wf.jnpr.net ([fe80::d0d1:653d:5b91:a123%11]) with mapi; Mon, 10 Aug 2009 14:20:04 -0400
From: Ross Callon <rcallon@juniper.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, Havard Eidnes <he@uninett.no>
Date: Mon, 10 Aug 2009 14:20:02 -0400
Subject: RE: [lisp] Flow label redux
Thread-Topic: [lisp] Flow label redux
Thread-Index: AcoZ3awgQ9fS2alLRfajspTo+87pdQAAYULw
Message-ID: <DF7F294AF4153D498141CBEFADB1770498845ED693@EMBX01-WF.jnpr.net>
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <20090808.022204.92569755.he@uninett.no> <4A8054BD.8090508@joelhalpern.com>
In-Reply-To: <4A8054BD.8090508@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Mon, 10 Aug 2009 11:40:14 -0700
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2009 18:25:00 -0000

I agree with Joel that this problem is broader than just LISP. This is an i=
ssue with any device that is encapsulating quite a bit of traffic (that rep=
resents many smaller flows that could be split) in a tunnel over IPv6. It w=
ould (IMHO) serve us well to do this right.=20

I also agree with Joel that there is a wide range of existing equipment dep=
loyed, and at least some of the existing high speed (core) IPv6 routers cou=
ld include the flow label in the hash, at the cost of a microcode software =
update, and probably removing something else from the hash.=20

There isn't all that much IPv6 traffic right now (some please correct me if=
 this is wrong), and the ramp-up speed seems relatively slow. Thus to me it=
 seems that the time frame that it would take to change router hardware is =
long, but no longer than the time frame that it is likely before we find ou=
rselves with enough IPv6 traffic that we actually need to do a good job of =
ECMP splitting of traffic going over an IPv6 tunnel. Thus I think that it w=
ould be okay to do this by putting a hash of higher layer flow information =
into the flow field, if we think that is the right way to do it.=20

Ross=20
(speaking as an individual contributor with my own personal opinion only).=
=20

-----Original Message-----
From: lisp-bounces@ietf.org [mailto:lisp-bounces@ietf.org] On Behalf Of Joe=
l M. Halpern
Sent: 10 August 2009 13:11
To: Havard Eidnes
Cc: ipv6@ietf.org; lisp@ietf.org
Subject: Re: [lisp] Flow label redux

Actually, looking at this as a LISP problem is probalby misleading.

This issue applies to any intermediate device based, high capacity,=20
tunnel mechanism.
1) High capacity tunnel mechanisms are going to be concerned to=20
implement in hardware, where the UDP checksum may be difficult
2) High capacity tunnels are the very ones whose traffic could and=20
should make use of ECMP / LAG operation.

Starting from there, the line of argument then proceeds to look at what=20
works.
What works in the real world IPv6 deployments is UDP with 0 checksum.=20
That enables ECMP / LAG without excessive effort / overhead.
Note that UDP-lite is not an answer in terms of what works now.  The=20
vast majority of deployed provider-edge (PE) and provider-core (P)=20
devices will not look at the port numbers in the UDP-lite header because=20
they do not recognize the protocol.

The next question is whether this could change.  I am still collecting=20
information on this.  Product seems to fall into three categories:
1) Software forwarders.  Obviously, these can change
2) Microcoded packet processors - These can probably change which field=20
is looked at, within limits
3) Hardware mechanisms - these really can not change their handling, as=20
they are in the field.

Preliminary data indicates that there are a non-trivial number of=20
hardware devices already out there and handling IPv6.
There are a noticeable number of core devices that could be changed in=20
small ways (microcoded or software), for example to use the flow-label=20
instead of some other piece of information in the packet.

We can look at the hardware and complain, or we can look at it and thank=20
the vendor for acting promptly on RFCs.
We can not reasonably expect the hardware to change in any meaningful=20
time frame.

I am still colelcting implementation data, so I may be misled by what I=20
have gotten.  But it seems to me that we are unfortunately stuck with=20
UDP with 0 checksums if we want high capacity tunnels to be able to make=20
use of ECMP / LAG in the moderate time period (out through at least 5=20
years, maybe longer.)

Yours,
Joel

Havard Eidnes wrote:
>>     > the O UDP checksum proposal obsoletes all the today deployed nodes
>>     > which check them (so all hosts I know and perhaps a lot of routers=
 too)
>>
>> OK, so what are the other options for encapsulating a packet in a IPv6
>> packet?
>=20
> Um, surely, routers are not specified to validate layer-4
> checksums for transit traffic?!?
>=20
> Let's look at this another way?  As I understood it, UDP 0 would
> be used by LISP encapsulating/decapsulating devices.
>=20
> If some random (non-LISP encap/decap) host by mistake received a
> 0 UDP packet, it would be dropped, which should do no harm.
>=20
> In practical terms, only LISP encap/decap devices would need to
> be modified to accept 0 UDP packets under some specific rule /
> circumstance, as an exception to the general rule.
>=20
> The only thing which would prevent this would be one of
> conformance to the letter of the original spec, which apparently
> bans 0 UDP checksums.
>=20
> So what's so bad about that?
>=20
> Regards,
>=20
> - H=E5vard
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp
>=20
_______________________________________________
lisp mailing list
lisp@ietf.org
https://www.ietf.org/mailman/listinfo/lisp

From christopher.morrow@gmail.com  Mon Aug 10 11:41:12 2009
Return-Path: <christopher.morrow@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7AF1A3A6EA7; Mon, 10 Aug 2009 11:41:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 nIblt65nt-JS; Mon, 10 Aug 2009 11:41:10 -0700 (PDT)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id B12AB3A6E60; Mon, 10 Aug 2009 11:41:09 -0700 (PDT)
Received: by qyk41 with SMTP id 41so3047737qyk.29 for <multiple recipients>; Mon, 10 Aug 2009 11:41:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=8bYrp02m7gTdKjwNzwrNpGPGyYWzylqab7kWKU+rRds=; b=oeC0kzoFS3sBbt/uzFpEp/8aTBvkOobRC/Hyusn+du2rq74Utsg5TOiiCwAQAMMv2t EKtVwiLfoeTgtDOz4Hzq2R1G7On90yN3KR+1/ytcDmUnogoMjzAruSpM7a4oFRSptlKV rI8Ff35HxJHzeeXPntmWtTLfRGti9Se9rznns=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=kvjxM0KBnNRJTt6L3aA2EfuBHRfqyFkjgOq24mmps7z6tkV1u60RpxJKK9uBzOBMAE 5ZBJ0rlyj8f8A5qdqCuTcmQWHvGR+MDyk7cInbgIvD3SDEcM0emwxDErWDGs1sXDuSTM K/FdJlrabCW1+fdbq9CofVtM1FchfURmq/Aug=
MIME-Version: 1.0
Sender: christopher.morrow@gmail.com
Received: by 10.224.74.21 with SMTP id s21mr3504721qaj.60.1249929669782; Mon,  10 Aug 2009 11:41:09 -0700 (PDT)
In-Reply-To: <DF7F294AF4153D498141CBEFADB1770498845ED693@EMBX01-WF.jnpr.net>
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <20090808.022204.92569755.he@uninett.no> <4A8054BD.8090508@joelhalpern.com> <DF7F294AF4153D498141CBEFADB1770498845ED693@EMBX01-WF.jnpr.net>
Date: Mon, 10 Aug 2009 14:41:09 -0400
X-Google-Sender-Auth: 1141e6678a94977d
Message-ID: <75cb24520908101141u503b0459h2b57bfe688b12fa4@mail.gmail.com>
Subject: Re: [lisp] Flow label redux
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Ross Callon <rcallon@juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Havard Eidnes <he@uninett.no>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2009 18:41:12 -0000

On Mon, Aug 10, 2009 at 2:20 PM, Ross Callon<rcallon@juniper.net> wrote:

> There isn't all that much IPv6 traffic right now (some please correct me if this is wrong), and the ramp-up speed seems relatively

'much global ipv6 traffic'. There are places with more ipv6 traffic,
where LAG/ECMP is important. These 'internet protocols' get used on
'not the internet' networks as well.  Additionally, across links not
gig in size, but still lag/ecmp-aware.

> slow. Thus to me it seems that the time frame that it would take to change router hardware is long, but no longer than the time
> frame that it is likely before we find ourselves with enough IPv6 traffic that we actually need to do a good job of ECMP splitting of

'enough global/public ipv6 traffic' - I would caution that there are
places where LAG/ECMP is necessary today, or will be in the very near
future, that are not publicly visible.

> traffic going over an IPv6 tunnel. Thus I think that it would be okay to do this by putting a hash of higher layer flow information into
> the flow field, if we think that is the right way to do it.

-chris

From mrw@sandstorm.net  Mon Aug 10 19:41:28 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7B93E3A6C78; Mon, 10 Aug 2009 19:41:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 aw5eabYxnY2g; Mon, 10 Aug 2009 19:41:27 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 0C6D63A67EC; Mon, 10 Aug 2009 19:41:26 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7B2fN6u069482 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 10 Aug 2009 22:41:24 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <1312CA4A-BB2F-4F7E-AC63-8BAEBA8AC682@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Francis Dupont <Francis.Dupont@fdupont.fr>
In-Reply-To: <200908071524.n77FONdo014337@givry.fdupont.fr>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
Date: Mon, 10 Aug 2009 22:41:23 -0400
References: <200908071524.n77FONdo014337@givry.fdupont.fr>
X-Mailer: Apple Mail (2.935.3)
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 02:41:28 -0000

On Aug 7, 2009, at 11:24 AM, Francis Dupont wrote:
> => in fact the IPv6 addresses don't need to be the same when xTRs are
> attached to regular links with /64 prefixes. So IMHO most of this
> discussion is insane:
> - if we need to vary things between a pair of IPv6 xTRs it should
>  be enough (and simple/easy) to vary the addresses

This is an interesting idea, and I think it is worth exploring.   
However, there are a couple of issues to overcome...

Would you perform DAD on these addresses before you use them?  Or  
would you somehow delegate a prefix (perhaps longer than a /64) to  
each xTR for this purpose?
>
> - the O UDP checksum proposal obsoletes all the today deployed nodes
>  which check them (so all hosts I know and perhaps a lot of routers  
> too),
>  so if we believe something has to be fixed some routers should be  
> fixed
>  and not all BSD/Linux/MacOS/Windows boxes (software and hardware).

I think that the idea is that the IPv6 UDP headers with zero checksums  
will only be sent between the ITR and ETR, so it is only LISP nodes  
that need to change.

However, I personally would like to be able to implement a compliant  
LISP node (ITR and ETR) on a desktop operating system like Windows or  
Unix, and I don't think that one can expect deployed desktop operating  
systems to be updated (to allow zero UDP checksums in IPv6) any faster  
than the estimates given for routing updates (3-5 years).

Also, the last time I dealt with zero UDP checksums (mid 1990s), it  
was only possible to disable UDP checksums (for IPv4) in the unix  
kernel, so they were on or off for the entire box.  Have things  
evolved since then?  Is it possible to have IPv4 UDP checksums enabled  
(both calculating them and checking them) for some sockets while they  
are disabled (set to zero, and not checked on receipt) for other  
sockets?  If so, what sockets option is commonly used for this in Unix  
operating systems?

Thanks,
Margaret




From mrw@sandstorm.net  Mon Aug 10 19:50:10 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 311923A6844; Mon, 10 Aug 2009 19:50:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 mGg8WA98sJg0; Mon, 10 Aug 2009 19:50:09 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 5FE3C3A6A1D; Mon, 10 Aug 2009 19:50:09 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7B2oAtJ069860 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 10 Aug 2009 22:50:11 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <1AFDBBB2-665C-4F53-9566-685EC826B58E@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Noel Chiappa <jnc@mercury.lcs.mit.edu>
In-Reply-To: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Mon, 10 Aug 2009 22:50:10 -0400
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 02:50:10 -0000

Hi Noel,

On Aug 7, 2009, at 3:31 PM, Noel Chiappa wrote:

>> From: Francis Dupont <Francis.Dupont@fdupont.fr>
>> the O UDP checksum proposal obsoletes all the today deployed nodes
>> which check them (so all hosts I know and perhaps a lot of routers  
>> too)
>
> OK, so what are the other options for encapsulating a packet in a IPv6
> packet?

We could just do an IP-in-IP encapsulation, so the headers would be  
IPv6-LISP-IP(v4 or v6), but that does not address the LAG/ECMP concern.
>
> I'm told by some people that UDP-Lite isn't a standard yet? Or is  
> it? (It
> seems to have a protocol number issued?) Does UDP-Lite work through  
> NAT
> boxes? (LISP has a mobile-node mode, which we would like to see work  
> through
> NAT boxes, so any proposed alternative solution has to work through  
> NAT boxes
> too.)

UDP-Lite is a proposed standard, RFC 3828.
>
> Also, hosts aren't an issue - and in fact it's a _feature_ that  
> hosts will
> discard any LISP packets they see (for having bad checksums).

Unless the host implements LISP.  See my earlier message on this  
subject...  Do we think it will be possible to disable IPv6 UDP  
checksums everywhere that LISP needs to run?  On many of today's host  
systems, sending a UDP packet with a zero checksum is simply treated  
as an indication that the NIC card should perform the checksum.

Margaret


From mrw@sandstorm.net  Mon Aug 10 19:53:06 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 467323A6844; Mon, 10 Aug 2009 19:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 t0DDisVBuzyh; Mon, 10 Aug 2009 19:53:05 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 73FB728C0E2; Mon, 10 Aug 2009 19:53:05 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7B2r4Nh070019 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 10 Aug 2009 22:53:04 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <99D56D74-9C01-4C95-AA37-461CE088612F@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Marshall Eubanks <tme@americafree.tv>
In-Reply-To: <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Mon, 10 Aug 2009 22:53:04 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <AA0E9D6C-AD43-4016-84CA-77DDF778BA1A@sandstorm.net> <7E300063-9664-4405-82D6-DA82DB49B06B@castlepoint.net> <tsltz0mcnk2.fsf@mit.edu> <F2ABDE1C-FBBA-4046-A9DC-8CD4B00B57BE@castlepoint.net> <11322FFB-FF74-4C64-B468-483C3BAE12ED@sandstorm.net> <75cb24520908051154g352ee2f8x8abdbe550dc2a773@mail.gmail.com> <13FE7E35-81D0-4D34-9AEC-E56B72886FAB@sandstorm.net> <75cb24520908051255x5c8794e3rb3b1acdfc613b815@mail.gmail.com> <B8514AA9-A2BE-46A8-A59E-3463D0EA0178@sandstorm.net> <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com> <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Christopher Morrow <morrowc.lists@gmail.com>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 02:53:06 -0000

>>
>> The dataset analyzed is not relevant to today's networking
>> connectivity or technologies. Looking very quickly at a small set of
>> data I have access to (servers serving web content to the internet
>> users):
>>
>> 32,945,810,591 packets received, 0 dropped due to bad checksum (ip
>> header checksum)
>>
>> 1,004,728,008 datagrams received, 0 bad checksum, 15886 with no
>> checksum (udp datagram stats)
>
> Just polling the routers here, I see a similar scenario, e.g.,
>
> 4,166,900,871 packets 0 dropped due to bad checksum

Marshal, do your routers actually calculate the checksums of the  
packets they process?

Shane, are you sure that checksums aren't be calculated lower down in  
the hardware than your counters are counting?  I have seen cases where  
error counters showed up as zero, because the packets that would have  
invoked those errors were already discarded at a lower level.

Margaret



From mrw@sandstorm.net  Mon Aug 10 20:02:30 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D30223A6A1D; Mon, 10 Aug 2009 20:02:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 2okLBtqwelqA; Mon, 10 Aug 2009 20:02:30 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 06AC43A6844; Mon, 10 Aug 2009 20:02:29 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7B32CYn070378 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 10 Aug 2009 23:02:18 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <1820CB68-042B-49A3-8F09-5160E5F330EF@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Iljitsch van Beijnum <iljitsch@muada.com>
In-Reply-To: <D73EB11B-9DAA-44FE-8F72-1686D8495987@muada.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Mon, 10 Aug 2009 23:02:12 -0400
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <D73EB11B-9DAA-44FE-8F72-1686D8495987@muada.com>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, Noel Chiappa <jnc@mercury.lcs.mit.edu>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 03:02:30 -0000

>
>> Does UDP-Lite work through NAT
>> boxes? (LISP has a mobile-node mode, which we would like to see  
>> work through
>> NAT boxes, so any proposed alternative solution has to work through  
>> NAT boxes
>> too.)
>
> For IPv6?

Sorry I didn't reply to this in the earlier message...

(1) There isn't enough NAT deployment for IPv6 (yet) to know how IPv6  
NAT boxes will behave.  It is possible to implement at v6 NAT that  
doesn't touch the transport headers at all.

(2) I've heard statements about LISP working through NATs, but I can't  
figure out how that would work...  Could you explain to me how LISP  
would work using IPv4 encapsulation behind an IPv4 NAT?   Are you  
expecting that there will be LISP ALGs to convert the inner headers as  
they are transmitted through the NAT in the outbound direction?   
Otherwise, it seems like EIDs from private address space (such as net  
10) will get injected into other networks, where they will be  
meaningless.

Margaret




From mrw@sandstorm.net  Mon Aug 10 20:09:32 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 720AA3A6B3B; Mon, 10 Aug 2009 20:09:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 VkoZoNZRIA2w; Mon, 10 Aug 2009 20:09:31 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 696B83A6DC1; Mon, 10 Aug 2009 20:08:54 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7B38t1r070549 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 10 Aug 2009 23:08:56 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <3D8BE8B8-E13E-4004-8286-BBE80BC9145B@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Havard Eidnes <he@uninett.no>
In-Reply-To: <20090808.022204.92569755.he@uninett.no>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux
Date: Mon, 10 Aug 2009 23:08:55 -0400
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <20090808.022204.92569755.he@uninett.no>
X-Mailer: Apple Mail (2.935.3)
Cc: ipv6@ietf.org, jnc@mercury.lcs.mit.edu, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 03:09:32 -0000

Hi Havard,

On Aug 7, 2009, at 8:22 PM, Havard Eidnes wrote:

>>> the O UDP checksum proposal obsoletes all the today deployed nodes
>>> which check them (so all hosts I know and perhaps a lot of routers  
>>> too)
>>
>> OK, so what are the other options for encapsulating a packet in a  
>> IPv6
>> packet?
>
> Um, surely, routers are not specified to validate layer-4
> checksums for transit traffic?!?
>
> Let's look at this another way?  As I understood it, UDP 0 would
> be used by LISP encapsulating/decapsulating devices.
>
> If some random (non-LISP encap/decap) host by mistake received a
> 0 UDP packet, it would be dropped, which should do no harm.

So, you are assuming that LISP is the _only_ protocol that will choose  
to specify zero UDP checksums?  And that LISP will be implemented  
solely on systems that implement LISP and no other protocols?

Margaret



From mrw@sandstorm.net  Mon Aug 10 20:22:32 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F0BB63A6B22; Mon, 10 Aug 2009 20:22:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 SY46eZVbVu7I; Mon, 10 Aug 2009 20:22:32 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 375323A6F01; Mon, 10 Aug 2009 20:22:32 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7B3MWip071122 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 10 Aug 2009 23:22:32 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Mon, 10 Aug 2009 23:22:32 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 03:22:33 -0000

On Aug 8, 2009, at 8:34 PM, Dino Farinacci wrote:
>
> The spec says ETRs MUST ignore the UDP checksum field. This is what  
> the LISP authors intended and has been implemented this way.
>
> The spec says ITRs MUST set the UDP checksum field to 0.

Could you tell us how to achieve this on commonly deployed desktop  
software/hardware that has two properties:

- There is no means to turn off the checking of UDP checksums.  They  
will be checked if they are non-zero in IPv4, and they will be checked  
in all cases in IPv6 with zero always being considered invalid.

- Networking Interface Cards that automatically calculate TCP/UDP  
checksums on transmission if a checksum of zero is sent to the card.

Systems with these properties are far more widely deployed than LAG/ 
ECMP routers, and they are no easier/quicker to update.

Margaret


From luigi@net.t-labs.tu-berlin.de  Tue Aug 11 00:57:59 2009
Return-Path: <luigi@net.t-labs.tu-berlin.de>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B347F3A67EB; Tue, 11 Aug 2009 00:57:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.967
X-Spam-Level: 
X-Spam-Status: No, score=-1.967 tagged_above=-999 required=5 tests=[AWL=0.282,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 FuvUFGI0qU3Q; Tue, 11 Aug 2009 00:57:58 -0700 (PDT)
Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by core3.amsl.com (Postfix) with ESMTP id 8568C3A6B18; Tue, 11 Aug 2009 00:57:58 -0700 (PDT)
Received: from dyn106.net.t-labs.tu-berlin.de (dyn106.net.t-labs.tu-berlin.de [130.149.220.106]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id 4ADD77064D60; Tue, 11 Aug 2009 09:58:01 +0200 (CEST)
Message-Id: <4688BD0B-0CF7-4B7C-9E5F-D12A41D4B295@net.t-labs.tu-berlin.de>
From: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <1312CA4A-BB2F-4F7E-AC63-8BAEBA8AC682@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Tue, 11 Aug 2009 09:58:00 +0200
References: <200908071524.n77FONdo014337@givry.fdupont.fr> <1312CA4A-BB2F-4F7E-AC63-8BAEBA8AC682@sandstorm.net>
X-Mailer: Apple Mail (2.936)
X-Mailman-Approved-At: Tue, 11 Aug 2009 01:01:27 -0700
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 07:57:59 -0000

On Aug 11, 2009, at 4:41 , Margaret Wasserman wrote:

>
> On Aug 7, 2009, at 11:24 AM, Francis Dupont wrote:
>> => in fact the IPv6 addresses don't need to be the same when xTRs are
>> attached to regular links with /64 prefixes. So IMHO most of this
>> discussion is insane:
>> - if we need to vary things between a pair of IPv6 xTRs it should
>> be enough (and simple/easy) to vary the addresses
>
> This is an interesting idea, and I think it is worth exploring.   
> However, there are a couple of issues to overcome...
>
> Would you perform DAD on these addresses before you use them?  Or  
> would you somehow delegate a prefix (perhaps longer than a /64) to  
> each xTR for this purpose?
>>
>> - the O UDP checksum proposal obsoletes all the today deployed nodes
>> which check them (so all hosts I know and perhaps a lot of routers  
>> too),
>> so if we believe something has to be fixed some routers should be  
>> fixed
>> and not all BSD/Linux/MacOS/Windows boxes (software and hardware).
>
> I think that the idea is that the IPv6 UDP headers with zero  
> checksums will only be sent between the ITR and ETR, so it is only  
> LISP nodes that need to change.
>
> However, I personally would like to be able to implement a compliant  
> LISP node (ITR and ETR) on a desktop operating system like Windows  
> or Unix, and I don't think that one can expect deployed desktop  
> operating systems to be updated (to allow zero UDP checksums in  
> IPv6) any faster than the estimates given for routing updates (3-5  
> years).

If you want LISP on a desktop OS you need to update that OS, hence at  
the same time you can patch it to handle the 0 UDP checksum  
consequently.  I do not see any real issue here.

Luigi


>
> Also, the last time I dealt with zero UDP checksums (mid 1990s), it  
> was only possible to disable UDP checksums (for IPv4) in the unix  
> kernel, so they were on or off for the entire box.  Have things  
> evolved since then?  Is it possible to have IPv4 UDP checksums  
> enabled (both calculating them and checking them) for some sockets  
> while they are disabled (set to zero, and not checked on receipt)  
> for other sockets?  If so, what sockets option is commonly used for  
> this in Unix operating systems?
>
> Thanks,
> Margaret
>
>
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From sthaug@nethelp.no  Tue Aug 11 01:11:26 2009
Return-Path: <sthaug@nethelp.no>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1EF463A6F7E for <ipv6@core3.amsl.com>; Tue, 11 Aug 2009 01:11:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 hHyFOVvfKVWV for <ipv6@core3.amsl.com>; Tue, 11 Aug 2009 01:11:24 -0700 (PDT)
Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by core3.amsl.com (Postfix) with SMTP id EE5E73A6FA0 for <ipv6@ietf.org>; Tue, 11 Aug 2009 01:11:23 -0700 (PDT)
Received: (qmail 63945 invoked from network); 11 Aug 2009 08:11:23 -0000
Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 11 Aug 2009 08:11:23 -0000
Date: Tue, 11 Aug 2009 10:11:23 +0200 (CEST)
Message-Id: <20090811.101123.74696609.sthaug@nethelp.no>
To: mrw@sandstorm.net
Subject: Re: [lisp] Flow label redux
From: sthaug@nethelp.no
In-Reply-To: <99D56D74-9C01-4C95-AA37-461CE088612F@sandstorm.net>
References: <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com> <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv> <99D56D74-9C01-4C95-AA37-461CE088612F@sandstorm.net>
X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: morrowc.lists@gmail.com, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 08:11:26 -0000

> >> The dataset analyzed is not relevant to today's networking
> >> connectivity or technologies. Looking very quickly at a small set of
> >> data I have access to (servers serving web content to the internet
> >> users):
> >>
> >> 32,945,810,591 packets received, 0 dropped due to bad checksum (ip
> >> header checksum)
> >>
> >> 1,004,728,008 datagrams received, 0 bad checksum, 15886 with no
> >> checksum (udp datagram stats)

Checking six of our name servers here (some pure recursive, some pure
authoritative):

- 11,125,766,153 IP packets received, with 0 bad header checksums
-  9,311,954,730 UDP datagrams received, with 1,300,228 bad checksums

Thus IP header checksum really looks like it is very close to zero,
probably because any IP packets with bad header checksums would be
dropped by the closest router.

However, the UDP bad checksum rate is very definitely not zero. I
get a rate of 1.39e-4 for my dataset.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

From mrw@sandstorm.net  Tue Aug 11 05:25:06 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 328103A6B67; Tue, 11 Aug 2009 05:25:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 stQ3vp49GQOX; Tue, 11 Aug 2009 05:25:05 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 678863A7097; Tue, 11 Aug 2009 05:25:05 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7BCNWCN099503 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 11 Aug 2009 08:23:33 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <9CE47ECF-340C-4846-A053-C03F19EB9590@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
In-Reply-To: <4688BD0B-0CF7-4B7C-9E5F-D12A41D4B295@net.t-labs.tu-berlin.de>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Tue, 11 Aug 2009 08:23:31 -0400
References: <200908071524.n77FONdo014337@givry.fdupont.fr> <1312CA4A-BB2F-4F7E-AC63-8BAEBA8AC682@sandstorm.net> <4688BD0B-0CF7-4B7C-9E5F-D12A41D4B295@net.t-labs.tu-berlin.de>
X-Mailer: Apple Mail (2.935.3)
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 12:25:06 -0000

On Aug 11, 2009, at 3:58 AM, Luigi Iannone wrote:
>
> If you want LISP on a desktop OS you need to update that OS, hence  
> at the same time you can patch it to handle the 0 UDP checksum  
> consequently.  I do not see any real issue here.

So, if I want LISP on a non-open-source desktop, you think I should  
just wait until the OS vendor gives it to me?

Why is this any more reasonable than telling ISPs that if they want to  
support LAG/ECMP for LISP flows, they need to buy new routers?

Margaret


From mrw@sandstorm.net  Tue Aug 11 05:29:44 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D9FA53A7099; Tue, 11 Aug 2009 05:29:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 SO7lomdJ6rlC; Tue, 11 Aug 2009 05:29:44 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id E83263A7124; Tue, 11 Aug 2009 05:29:08 -0700 (PDT)
Received: from [10.36.0.42] (pool-173-76-25-94.bstnma.fios.verizon.net [173.76.25.94]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7BCSb6n099945 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 11 Aug 2009 08:28:38 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <60641141-3600-4A7E-B4DD-956E2D5DCFAC@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: sthaug@nethelp.no
In-Reply-To: <20090811.101123.74696609.sthaug@nethelp.no>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Flow label redux
Date: Tue, 11 Aug 2009 08:28:36 -0400
References: <75cb24520908071159j225443eam5db10ec1924caa9f@mail.gmail.com> <99C129FC-5C9A-4D7C-B75A-7CB543608C6D@americafree.tv> <99D56D74-9C01-4C95-AA37-461CE088612F@sandstorm.net> <20090811.101123.74696609.sthaug@nethelp.no>
X-Mailer: Apple Mail (2.935.3)
Cc: morrowc.lists@gmail.com, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 12:29:45 -0000

Hi Steinar,

On Aug 11, 2009, at 4:11 AM, sthaug@nethelp.no wrote:

>>>> The dataset analyzed is not relevant to today's networking
>>>> connectivity or technologies. Looking very quickly at a small set  
>>>> of
>>>> data I have access to (servers serving web content to the internet
>>>> users):
>>>>
>>>> 32,945,810,591 packets received, 0 dropped due to bad checksum (ip
>>>> header checksum)
>>>>
>>>> 1,004,728,008 datagrams received, 0 bad checksum, 15886 with no
>>>> checksum (udp datagram stats)
>
> Checking six of our name servers here (some pure recursive, some pure
> authoritative):
>
> - 11,125,766,153 IP packets received, with 0 bad header checksums
> -  9,311,954,730 UDP datagrams received, with 1,300,228 bad checksums
>
> Thus IP header checksum really looks like it is very close to zero,
> probably because any IP packets with bad header checksums would be
> dropped by the closest router.

If LISP uses UDP checksums of zero with IPv6, packets with IP header  
corruption will not be dropped by the next router, they will be  
forwarded all the way to the ETR (or, in the case of destination  
address corruption) all the way to the wrong ETR or a non-LISP end-node.
>
> However, the UDP bad checksum rate is very definitely not zero. I
> get a rate of 1.39e-4 for my dataset.

This is potentially an argument for using UDP (or UDP-Lite) checksums  
in LISP for both IPv4 and IPv6, so that the corruption in the outer  
UDP header and the LISP header will be detected before these packets  
are processed on the remote end.

Margaret


From luigi@net.t-labs.tu-berlin.de  Tue Aug 11 06:22:25 2009
Return-Path: <luigi@net.t-labs.tu-berlin.de>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 054063A7053; Tue, 11 Aug 2009 06:22:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level: 
X-Spam-Status: No, score=-2.003 tagged_above=-999 required=5 tests=[AWL=0.246,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 LTTo+w+vdpT5; Tue, 11 Aug 2009 06:22:24 -0700 (PDT)
Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by core3.amsl.com (Postfix) with ESMTP id 31D2C3A6A0A; Tue, 11 Aug 2009 06:22:24 -0700 (PDT)
Received: from dyn106.net.t-labs.tu-berlin.de (dyn106.net.t-labs.tu-berlin.de [130.149.220.106]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id EF5F0701BA9C; Tue, 11 Aug 2009 14:44:02 +0200 (CEST)
Message-Id: <5305ACCA-612D-44E2-90D1-C20BAE0458F4@net.t-labs.tu-berlin.de>
From: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <9CE47ECF-340C-4846-A053-C03F19EB9590@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Tue, 11 Aug 2009 14:44:02 +0200
References: <200908071524.n77FONdo014337@givry.fdupont.fr> <1312CA4A-BB2F-4F7E-AC63-8BAEBA8AC682@sandstorm.net> <4688BD0B-0CF7-4B7C-9E5F-D12A41D4B295@net.t-labs.tu-berlin.de> <9CE47ECF-340C-4846-A053-C03F19EB9590@sandstorm.net>
X-Mailer: Apple Mail (2.936)
X-Mailman-Approved-At: Tue, 11 Aug 2009 06:50:07 -0700
Cc: Francis Dupont <Francis.Dupont@fdupont.fr>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 13:22:25 -0000

On Aug 11, 2009, at 14:23 , Margaret Wasserman wrote:

>
> On Aug 11, 2009, at 3:58 AM, Luigi Iannone wrote:
>>
>> If you want LISP on a desktop OS you need to update that OS, hence  
>> at the same time you can patch it to handle the 0 UDP checksum  
>> consequently.  I do not see any real issue here.
>
> So, if I want LISP on a non-open-source desktop, you think I should  
> just wait until the OS vendor gives it to me?

You have to wait only if you want the solution proposed by the vendor  
of the OS.

>
> Why is this any more reasonable than telling ISPs that if they want  
> to support LAG/ECMP for LISP flows, they need to buy new routers?
>

I did not claim that (or anything alike).

Luigi


> Margaret
>


From hartmans@mit.edu  Tue Aug 11 07:11:18 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0037A3A6F93; Tue, 11 Aug 2009 07:11:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.247
X-Spam-Level: 
X-Spam-Status: No, score=-2.247 tagged_above=-999 required=5 tests=[AWL=0.018,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 o+vPRNeF4V0r; Tue, 11 Aug 2009 07:11:17 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 3DB3F3A70E8; Tue, 11 Aug 2009 07:11:17 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 4329551C7; Tue, 11 Aug 2009 10:09:25 -0400 (EDT)
To: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Tue, 11 Aug 2009 10:09:25 -0400
In-Reply-To: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> (Noel Chiappa's message of "Fri\, 7 Aug 2009 15\:31\:11 -0400 \(EDT\)")
Message-ID: <tslzla6tpbe.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 14:11:18 -0000

>>>>> "Noel" == Noel Chiappa <jnc@mercury.lcs.mit.edu> writes:

    >> From: Francis Dupont <Francis.Dupont@fdupont.fr> the O UDP
    >> checksum proposal obsoletes all the today deployed nodes which
    >> check them (so all hosts I know and perhaps a lot of routers
    >> too)

    Noel> OK, so what are the other options for encapsulating a packet
    Noel> in a IPv6 packet?

    Noel> I'm told by some people that UDP-Lite isn't a standard yet?
    Noel> Or is it? (It seems to have a protocol number issued?) Does
    Noel> UDP-Lite work through NAT boxes? (LISP has a mobile-node
    Noel> mode, which we would like to see work through NAT boxes, so
    Noel> any proposed alternative solution has to work through NAT
    Noel> boxes too.)

We have not reached a consensus that LISP needs to work through NATs.
I'll take your message as a statement in favor of that and a personal
opinion that they need to.

I have not seen a lot of disagreement of this assumption, nor do I
want to start that discussion now.  I'm just trying to keep the
mailing list history accurate to make my job as a chair easier when I
have to turn this discussion into a conclusion.

From dino@cisco.com  Tue Aug 11 08:39:40 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A5853A68A4; Tue, 11 Aug 2009 08:39:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.548
X-Spam-Level: 
X-Spam-Status: No, score=-6.548 tagged_above=-999 required=5 tests=[AWL=0.051,  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 o0v4GOyLFgkz; Tue, 11 Aug 2009 08:39:39 -0700 (PDT)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71]) by core3.amsl.com (Postfix) with ESMTP id 308E23A6D9A; Tue, 11 Aug 2009 08:39:05 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAPssgUqrR7O6/2dsb2JhbAC6YogrkCMFhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="194462982"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-2.cisco.com with ESMTP; 11 Aug 2009 15:37:28 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n7BFbROn026801;  Tue, 11 Aug 2009 08:37:27 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n7BFbRF9021811; Tue, 11 Aug 2009 15:37:27 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 08:37:26 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 08:37:24 -0700
Message-Id: <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 08:37:24 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 15:37:24.0752 (UTC) FILETIME=[9FD7D100:01CA1A99]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=976; t=1250005048; x=1250869048; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=JZZ89lhVWDAc5cSZrFg09b1wqyYWSnJEVLOgCI/G67o=; b=rVQ4GhyDdo47mY3Izuj5xxzR+hJME0AycMoTXUUIIqttzMXesBTn9LX27R pUq+ZalfeNDv65Nm6tJYRg/JUFWflrIlxiRzrXv536PCl8whzkVUTm5vzrOA tGAC2bYUuW;
Authentication-Results: sj-dkim-2; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 15:39:40 -0000

> On Aug 8, 2009, at 8:34 PM, Dino Farinacci wrote:
>>
>> The spec says ETRs MUST ignore the UDP checksum field. This is what  
>> the LISP authors intended and has been implemented this way.
>>
>> The spec says ITRs MUST set the UDP checksum field to 0.
>
> Could you tell us how to achieve this on commonly deployed desktop  
> software/hardware that has two properties:

We don't want this rule on commonly deployed desktop hosts.

Dino

> - There is no means to turn off the checking of UDP checksums.  They  
> will be checked if they are non-zero in IPv4, and they will be  
> checked in all cases in IPv6 with zero always being considered  
> invalid.
>
> - Networking Interface Cards that automatically calculate TCP/UDP  
> checksums on transmission if a checksum of zero is sent to the card.
>
> Systems with these properties are far more widely deployed than LAG/ 
> ECMP routers, and they are no easier/quicker to update.
>
> Margaret
>


From mrw@sandstorm.net  Tue Aug 11 08:47:21 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 533AC3A6AC9; Tue, 11 Aug 2009 08:47:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.209
X-Spam-Level: 
X-Spam-Status: No, score=-2.209 tagged_above=-999 required=5 tests=[AWL=0.056,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 SeSa+W7QCJOm; Tue, 11 Aug 2009 08:47:20 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 78B9D3A67FD; Tue, 11 Aug 2009 08:47:20 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7BFiKss009164 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 11 Aug 2009 11:44:21 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 11:44:20 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 15:47:21 -0000

Hi Dino,

On Aug 11, 2009, at 11:37 AM, Dino Farinacci wrote:

>> On Aug 8, 2009, at 8:34 PM, Dino Farinacci wrote:
>>>
>>> The spec says ETRs MUST ignore the UDP checksum field. This is  
>>> what the LISP authors intended and has been implemented this way.
>>>
>>> The spec says ITRs MUST set the UDP checksum field to 0.
>>
>> Could you tell us how to achieve this on commonly deployed desktop  
>> software/hardware that has two properties:
>
> We don't want this rule on commonly deployed desktop hosts.

I am not sure what you are saying here.  I can think of two  
possibilities:

(1) You don't want LISP to be implemented on commonly deployed desktop  
hosts.

(2) You want to change the document to state a different rule, so that  
LISP can be implemented in a compliant manner on desktop hosts.

Could you elaborate?

Margaret


From dino@cisco.com  Tue Aug 11 08:49:40 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 22E3E3A67A2; Tue, 11 Aug 2009 08:49:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.553
X-Spam-Level: 
X-Spam-Status: No, score=-6.553 tagged_above=-999 required=5 tests=[AWL=0.046,  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 i1hwknc6-NcZ; Tue, 11 Aug 2009 08:49:39 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id BE5133A6A95; Tue, 11 Aug 2009 08:49:10 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEABcvgUqrR7MV/2dsb2JhbAC6WYgrkCcFhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="226411540"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-1.cisco.com with ESMTP; 11 Aug 2009 15:47:33 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n7BFlWGl008379;  Tue, 11 Aug 2009 08:47:32 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n7BFlWV5003987; Tue, 11 Aug 2009 15:47:32 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 08:47:32 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 08:47:31 -0700
Message-Id: <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 08:47:31 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 15:47:32.0120 (UTC) FILETIME=[09DCD180:01CA1A9B]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=995; t=1250005652; x=1250869652; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=EBebLjdSl+c/kgVrGTvcb66ee0W7cm7TdxOUtUu/Tqg=; b=AkDKeSDH8GEp/VoC5iiBOuVvSWDr7xWW5/6t2FSun1wfFcfOaXyE4p2NrT RZt+WbvSsrv0mRG+RStaUaQoMgn58dC4QkzJeACtstzVjzMDMMW2J4VtVI7y zH+VgLsGZSgtTVRrX0XAbinxRYBAXIZnuesir5PZsDspFNLtYzBJQ=;
Authentication-Results: sj-dkim-1; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 15:49:40 -0000

> Hi Dino,
>
> On Aug 11, 2009, at 11:37 AM, Dino Farinacci wrote:
>
>>> On Aug 8, 2009, at 8:34 PM, Dino Farinacci wrote:
>>>>
>>>> The spec says ETRs MUST ignore the UDP checksum field. This is  
>>>> what the LISP authors intended and has been implemented this way.
>>>>
>>>> The spec says ITRs MUST set the UDP checksum field to 0.
>>>
>>> Could you tell us how to achieve this on commonly deployed desktop  
>>> software/hardware that has two properties:
>>
>> We don't want this rule on commonly deployed desktop hosts.
>
> I am not sure what you are saying here.  I can think of two  
> possibilities:
>
> (1) You don't want LISP to be implemented on commonly deployed  
> desktop hosts.

Right, it is a network based solution.

> (2) You want to change the document to state a different rule, so  
> that LISP can be implemented in a compliant manner on desktop hosts.

That is not what I am suggesting.

Dino

>
> Could you elaborate?
>
> Margaret
>


From jmh@joelhalpern.com  Tue Aug 11 09:02:35 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 685073A6FC5; Tue, 11 Aug 2009 09:02:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.444
X-Spam-Level: 
X-Spam-Status: No, score=-3.444 tagged_above=-999 required=5 tests=[AWL=0.155,  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 7jSydcA0S81e; Tue, 11 Aug 2009 09:02:34 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id A75BE3A69D6; Tue, 11 Aug 2009 09:02:34 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 6306843031E; Tue, 11 Aug 2009 09:01:02 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 4535A43031C; Tue, 11 Aug 2009 09:01:01 -0700 (PDT)
Message-ID: <4A8195BC.5000709@joelhalpern.com>
Date: Tue, 11 Aug 2009 12:01:00 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Dino Farinacci <dino@cisco.com>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com>	<9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>	<4A76101E.7070207@gmail.com>	<E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>	<tslzlafn2un.fsf@mit.edu>	<5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>	<1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>	<9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>	<20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com>
In-Reply-To: <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:02:35 -0000

Given that LISP ITRs work by intercepting packets that are not addressed 
to them, a host implementation would need to be able to intercept 
packets "in the stack".  That is going to need some ability to modify 
kernel behavior.

(Yes, I think we will see LISP enabled hosts.  I don't think mobility is 
the only case where this will happen.  But it will mean someone has 
modified the kernel to do so.)

Yours,
Joel


Dino Farinacci wrote:
>> Hi Dino,
>>
>> On Aug 11, 2009, at 11:37 AM, Dino Farinacci wrote:
>>
>>>> On Aug 8, 2009, at 8:34 PM, Dino Farinacci wrote:
>>>>>
>>>>> The spec says ETRs MUST ignore the UDP checksum field. This is what 
>>>>> the LISP authors intended and has been implemented this way.
>>>>>
>>>>> The spec says ITRs MUST set the UDP checksum field to 0.
>>>>
>>>> Could you tell us how to achieve this on commonly deployed desktop 
>>>> software/hardware that has two properties:
>>>
>>> We don't want this rule on commonly deployed desktop hosts.
>>
>> I am not sure what you are saying here.  I can think of two 
>> possibilities:
>>
>> (1) You don't want LISP to be implemented on commonly deployed desktop 
>> hosts.
> 
> Right, it is a network based solution.
> 
>> (2) You want to change the document to state a different rule, so that 
>> LISP can be implemented in a compliant manner on desktop hosts.
> 
> That is not what I am suggesting.
> 
> Dino
> 
>>
>> Could you elaborate?
>>
>> Margaret
>>
> 
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp
> 

From jmh@joelhalpern.com  Tue Aug 11 09:22:14 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E56F33A6B91; Tue, 11 Aug 2009 09:22:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.448
X-Spam-Level: 
X-Spam-Status: No, score=-3.448 tagged_above=-999 required=5 tests=[AWL=0.151,  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 7uBF9alAEiv9; Tue, 11 Aug 2009 09:22:14 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 481F43A6774; Tue, 11 Aug 2009 09:22:14 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 5C27A430346; Tue, 11 Aug 2009 09:20:24 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 69F1F43033B; Tue, 11 Aug 2009 09:20:23 -0700 (PDT)
Message-ID: <4A819A46.9080801@joelhalpern.com>
Date: Tue, 11 Aug 2009 12:20:22 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Dino Farinacci <dino@cisco.com>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com>	<9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>	<4A76101E.7070207@gmail.com>	<E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>	<tslzlafn2un.fsf@mit.edu>	<5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>	<1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>	<9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>	<20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <58CCF81A-4581-4D04-A76D-AF52E454BF62@cisco.com>
In-Reply-To: <58CCF81A-4581-4D04-A76D-AF52E454BF62@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:22:15 -0000

I believe that saying "ITRs don't receiving packets." is a linguistic 
step that only confuses people.  ITRs receive unencapsulated packets 
from the site, and encapsulate them in LISP headers (assuming mappings 
are already available.)  Now, one can argue that the ITR function in the 
router does not "receive" packets, since it was the router that received 
the packet.  (One can even argue that the router "intercepted" the 
packet rather than "received" it.)  But functionally it is the same thing.

Yours,
Joel


Dino Farinacci wrote:
>> Given that LISP ITRs work by intercepting packets that are not 
>> addressed to them, a host implementation would need to be able to 
>> intercept packets "in the stack".  That is going to need some ability 
>> to modify kernel behavior.
> 
> (1) ITRs don't receive packets. They encapsulate packets.

From dino@cisco.com  Tue Aug 11 09:23:18 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2BC663A6774; Tue, 11 Aug 2009 09:23:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.555
X-Spam-Level: 
X-Spam-Status: No, score=-6.555 tagged_above=-999 required=5 tests=[AWL=0.044,  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 LG0WA0PiCAQj; Tue, 11 Aug 2009 09:23:07 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 3C3C03A70E5; Tue, 11 Aug 2009 09:23:07 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAPM0gUqrR7MV/2dsb2JhbAC6bogrkCwFhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="226426489"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-1.cisco.com with ESMTP; 11 Aug 2009 16:10:18 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n7BGAJtH029934;  Tue, 11 Aug 2009 09:10:19 -0700
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n7BGAJKs003071; Tue, 11 Aug 2009 16:10:19 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:10:19 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:10:18 -0700
Message-Id: <58CCF81A-4581-4D04-A76D-AF52E454BF62@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A8195BC.5000709@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 09:10:18 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com>	<9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>	<4A76101E.7070207@gmail.com>	<E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>	<tslzlafn2un.fsf@mit.edu>	<5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>	<1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>	<9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>	<20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 16:10:18.0770 (UTC) FILETIME=[38730F20:01CA1A9E]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3096; t=1250007019; x=1250871019; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=yvdjA3PbwI7sPAQuN4O9NcbAt+5UhyYD3YLadytcB7Y=; b=H/yVbiHAjQoKWrz+WwYcpQUej0aOGOm/oglRQxRhwCzCR4Sg/medpLjH9i xQoIisisAbcSWpsPdaUry6UP8pTQRJpuGL6M5fzSl5ToQZVZgU5XVgiVYDjn 2QzGeI+Jd3+2U0n24mjojquYXguf0zsBgsgaDLjvGWWSc3FUzVRPw=;
Authentication-Results: sj-dkim-1; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:23:18 -0000

> Given that LISP ITRs work by intercepting packets that are not  
> addressed to them, a host implementation would need to be able to  
> intercept packets "in the stack".  That is going to need some  
> ability to modify kernel behavior.

(1) ITRs don't receive packets. They encapsulate packets.

(2) ETRs receive encapsulated packets addressed to one of their RLOC  
addresses.

(3) For Map-Requests, there are 3 forms:
     i.  Encapsulated Map-Requests which are originated by the map- 
server the ETR is registered to
         and is addressed to the ETR.
     ii. Map-Requests which are addressed to EIDs but are traveled  
over the ALT. Only when an ETR is
         attached to the ALT (not a standard configuration  
recommendation), that it must process a
         packet that is not addressed to it. But this is a packet  
destined to port 4342 and not 4341.
         UDP port 4342 is the control port.
     iii. Data Probes (which is not default and probably will be  
deprecated behavior) are addressed
          to EIDs which ETRs must intercept. They are addressed to UDP  
port 4341. Data Probes can
          be sent on the underlying network (LISP variant 1) or sent  
on the ALT which means the
          requirements in ii must be adhered to.

> (Yes, I think we will see LISP enabled hosts.  I don't think  
> mobility is the only case where this will happen.  But it will mean  
> someone has modified the kernel to do so.)

I would not recommend it and I believe won't be accepted for the same  
reasons that shim6 wasn't accepted. You will use locator  
aggregatability for EID-prefixes if you do. The mapping database will  
be unnecessarily large. IMHO, a non-starter.

Where you can aggregate EIDs, you should. In a roaming case where you  
may not be able to, then you don't.

Dino

>
> Yours,
> Joel
>
>
> Dino Farinacci wrote:
>>> Hi Dino,
>>>
>>> On Aug 11, 2009, at 11:37 AM, Dino Farinacci wrote:
>>>
>>>>> On Aug 8, 2009, at 8:34 PM, Dino Farinacci wrote:
>>>>>>
>>>>>> The spec says ETRs MUST ignore the UDP checksum field. This is  
>>>>>> what the LISP authors intended and has been implemented this way.
>>>>>>
>>>>>> The spec says ITRs MUST set the UDP checksum field to 0.
>>>>>
>>>>> Could you tell us how to achieve this on commonly deployed  
>>>>> desktop software/hardware that has two properties:
>>>>
>>>> We don't want this rule on commonly deployed desktop hosts.
>>>
>>> I am not sure what you are saying here.  I can think of two  
>>> possibilities:
>>>
>>> (1) You don't want LISP to be implemented on commonly deployed  
>>> desktop hosts.
>> Right, it is a network based solution.
>>> (2) You want to change the document to state a different rule, so  
>>> that LISP can be implemented in a compliant manner on desktop hosts.
>> That is not what I am suggesting.
>> Dino
>>>
>>> Could you elaborate?
>>>
>>> Margaret
>>>
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp


From hartmans@mit.edu  Tue Aug 11 09:39:50 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F65C3A7022; Tue, 11 Aug 2009 09:39:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.251
X-Spam-Level: 
X-Spam-Status: No, score=-2.251 tagged_above=-999 required=5 tests=[AWL=0.014,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 qxQZKWEYnZ99; Tue, 11 Aug 2009 09:39:49 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id CEFAE3A69DD; Tue, 11 Aug 2009 09:39:49 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id A933C51C6; Tue, 11 Aug 2009 12:38:45 -0400 (EDT)
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Tue, 11 Aug 2009 12:38:45 -0400
In-Reply-To: <4A8195BC.5000709@joelhalpern.com> (Joel M. Halpern's message of "Tue\, 11 Aug 2009 12\:01\:00 -0400")
Message-ID: <tsl63cus3u2.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:39:50 -0000

    Joel> Given that LISP ITRs work by intercepting packets that are
    Joel> not addressed to them, a host implementation would need to
    Joel> be able to intercept packets "in the stack".  That is going
    Joel> to need some ability to modify kernel behavior.

I'm trying to figure out how an ITR does anything different than a
router with a tunneled interface.

Every host I'm aware of has a facility for setting up an interface
that routes some set of packets--including potentially the default
route--through a tunnel interface that then passes the packet to
userspace for processing.


From dino@cisco.com  Tue Aug 11 09:44:44 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5EA803A70B4; Tue, 11 Aug 2009 09:44:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.556
X-Spam-Level: 
X-Spam-Status: No, score=-6.556 tagged_above=-999 required=5 tests=[AWL=0.043,  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 EoulZM4803Sr; Tue, 11 Aug 2009 09:44:43 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 274C93A710A; Tue, 11 Aug 2009 09:44:07 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAK48gUqrR7MV/2dsb2JhbAC6fogrkC4FhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="365166732"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 11 Aug 2009 16:42:45 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n7BGgjJH003895;  Tue, 11 Aug 2009 09:42:45 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7BGgjQi021638; Tue, 11 Aug 2009 16:42:45 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:42:44 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:42:44 -0700
Message-Id: <34EC732C-EDF4-4093-B1AA-163C16BBCA15@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A819A46.9080801@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 09:42:44 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com>	<9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>	<4A76101E.7070207@gmail.com>	<E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>	<tslzlafn2un.fsf@mit.edu>	<5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>	<1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>	<9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>	<20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <58CCF81A-4581-4D04-A76D-AF52E454BF62@cisco.com> <4A819A46.9080801@joelhalpern.com>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 16:42:44.0546 (UTC) FILETIME=[C038EA20:01CA1AA2]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1433; t=1250008965; x=1250872965; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=Y8MJnf1ntxss+TJHW1/Pvu7aATj5Oj7+ebi6uO9Nk0E=; b=JmhoHo0pwN5aOkk9PjfHVl3HxdUGuZDh/dTHKSnwdteEJxt3fURF+z8ctE Fv4zz/cipBUgKWHt599voKNd4lFMHquWFgFGF62TKWyaSaV8DSbyt159SFVp QJLtnGzKiOpgyYkfymXCl8JbPMAlz3QhgmrlMn7GLX+GKIji/Y0Qs=;
Authentication-Results: sj-dkim-1; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:44:44 -0000

> I believe that saying "ITRs don't receiving packets." is a  
> linguistic step that only confuses people.

You are right, but your text wasn't clear if the packets were coming  
from the site or from the core. So I assumed you were referring to the  
Map-Request or Data-Probe case.

> ITRs receive unencapsulated packets from the site, and encapsulate  
> them in LISP headers (assuming

Right, just like any router does today.

> mappings are already available.)  Now, one can argue that the ITR  
> function in the router does not "receive" packets, since it was the  
> router that received the packet.  (One can even argue that the  
> router "intercepted" the packet rather than "received" it.)  But  
> functionally it is the same thing.

I am not following you, but don't bother to explain. You are making a  
subtle point about forwarding versus consuming packets? Where an ETR  
would consume an encapsulated packet because its addressed to itself  
and when an ITR receives packets from site hosts, that it is forwarding?

Dino

>
> Yours,
> Joel
>
>
> Dino Farinacci wrote:
>>> Given that LISP ITRs work by intercepting packets that are not  
>>> addressed to them, a host implementation would need to be able to  
>>> intercept packets "in the stack".  That is going to need some  
>>> ability to modify kernel behavior.
>> (1) ITRs don't receive packets. They encapsulate packets.


From jmh@joelhalpern.com  Tue Aug 11 09:45:28 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 880B23A6A95; Tue, 11 Aug 2009 09:45:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.452
X-Spam-Level: 
X-Spam-Status: No, score=-3.452 tagged_above=-999 required=5 tests=[AWL=0.148,  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 7bALzgf-gbwY; Tue, 11 Aug 2009 09:45:27 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id AF9EF3A710B; Tue, 11 Aug 2009 09:45:27 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id C309243031E; Tue, 11 Aug 2009 09:44:12 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-13.clppva.btas.verizon.net [71.161.51.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id A5DE1430320; Tue, 11 Aug 2009 09:44:11 -0700 (PDT)
Message-ID: <4A819FDA.5010702@joelhalpern.com>
Date: Tue, 11 Aug 2009 12:44:10 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com>	<9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>	<4A76101E.7070207@gmail.com>	<E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>	<tslzlafn2un.fsf@mit.edu>	<5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>	<1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>	<9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>	<20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net>	<200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com>	<4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu>
In-Reply-To: <tsl63cus3u2.fsf@mit.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:45:28 -0000

Maybe I was missing a bet.  You would have to direct all the packets 
from the host back to user space to be processed, since it is only the 
LISP logic that can decide whether the packet should be tunneled or not.
But if they support that concept, then it can be done.

And yes, that does seem to mean that if we could use the UDP stack right 
out of the box, then this would require no kernel modifications to add 
it.  Which is a nice benefit.

Given what has been discussed, this leads me to looking more closely at 
using the IPv6 flowID to enable load balacning, and not using UDP at 
all.  However, I do not know how to make this work with the deployed 
boxes that do hardware ECMP / LAG in the field already for IPv6.

Yours,
Joel


Sam Hartman wrote:
>     Joel> Given that LISP ITRs work by intercepting packets that are
>     Joel> not addressed to them, a host implementation would need to
>     Joel> be able to intercept packets "in the stack".  That is going
>     Joel> to need some ability to modify kernel behavior.
> 
> I'm trying to figure out how an ITR does anything different than a
> router with a tunneled interface.
> 
> Every host I'm aware of has a facility for setting up an interface
> that routes some set of packets--including potentially the default
> route--through a tunnel interface that then passes the packet to
> userspace for processing.
> 
> 

From dino@cisco.com  Tue Aug 11 09:47:43 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D6AD73A6F3F; Tue, 11 Aug 2009 09:47:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.558
X-Spam-Level: 
X-Spam-Status: No, score=-6.558 tagged_above=-999 required=5 tests=[AWL=0.041,  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 4Ncpvh-F36mj; Tue, 11 Aug 2009 09:47:43 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 1E1923A6DCD; Tue, 11 Aug 2009 09:47:43 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEANs9gUqrR7O6/2dsb2JhbAC7EIgrkCwFhBmBUYhG
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="365169228"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-6.cisco.com with ESMTP; 11 Aug 2009 16:46:19 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n7BGkGVK021428;  Tue, 11 Aug 2009 09:46:16 -0700
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7BGkGV8025760; Tue, 11 Aug 2009 16:46:16 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:46:16 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:46:16 -0700
Message-Id: <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
In-Reply-To: <tsl63cus3u2.fsf@mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 09:46:14 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 16:46:16.0329 (UTC) FILETIME=[3E746F90:01CA1AA3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1276; t=1250009179; x=1250873179; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=NQsSDiIizwKaMsoWfxA+TijAKrjwMEA+KbMSgzPgabE=; b=ntmSDJOqs+UCmiHRdJamxh7M1pyqJiOBBixmh9WQQd8KUYZ66L7XInVIyD LS8Y2DnTX6IalAM3zvTFO6fNrfIHn3Nrd/kmK6ObA8MR+SbUdaf0Ccwb+XxW dUcRKY7ajq;
Authentication-Results: sj-dkim-2; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:47:43 -0000

>    Joel> Given that LISP ITRs work by intercepting packets that are
>    Joel> not addressed to them, a host implementation would need to
>    Joel> be able to intercept packets "in the stack".  That is going
>    Joel> to need some ability to modify kernel behavior.
>
> I'm trying to figure out how an ITR does anything different than a
> router with a tunneled interface.

It doesn't. I mean there are subtleties about if a map-cache entry  
exists and what to do when it doesn't. But if a map-cache entry exists  
it is similar to a packet arriving on an interface and is sent on a  
GRE tunnel. There are implementation details that make it different,  
but from a conceptual level, they are the same.

> Every host I'm aware of has a facility for setting up an interface
> that routes some set of packets--including potentially the default
> route--through a tunnel interface that then passes the packet to
> userspace for processing.

We call "LISP tunnels" as "dynamic encapsulating tunnels" where an  
implementation must not implement the tunnel as a logical interface.  
The implementation cannot scale if it does this. You get the level of  
indirection by doing another lookup in another data structure called  
the "map-cache".

Dino






From dino@cisco.com  Tue Aug 11 09:56:38 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 556483A70B5; Tue, 11 Aug 2009 09:56:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.56
X-Spam-Level: 
X-Spam-Status: No, score=-6.56 tagged_above=-999 required=5 tests=[AWL=0.039,  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 Jt2auKHQ0UiN; Tue, 11 Aug 2009 09:56:37 -0700 (PDT)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71]) by core3.amsl.com (Postfix) with ESMTP id 2CE353A6FB5; Tue, 11 Aug 2009 09:56:37 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEALs/gUqrR7PD/2dsb2JhbAC7DogrkC0FhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="194502652"
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-2.cisco.com with ESMTP; 11 Aug 2009 16:55:21 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n7BGtLjc012921;  Tue, 11 Aug 2009 09:55:21 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7BGtLRE006730; Tue, 11 Aug 2009 16:55:21 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:55:21 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 09:55:20 -0700
Message-Id: <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Tue, 11 Aug 2009 09:55:19 -0700
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 16:55:20.0646 (UTC) FILETIME=[82E49E60:01CA1AA4]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=4605; t=1250009721; x=1250873721; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=rZJQpPaX3fkTlvhfi8t022gUYaq1sAM1CwH2S62g9pI=; b=W+VRyKO45kwo6F77tSwcNWK9yQNRcnHn/boX+yONCN6t50zdWudCuVzenZ aHcHD+rgYbfhlSVI8nlnFteIS+JPcJmLQfMDPL4fIk9dKxGdzY5SpeSU+kKK w1BpZhD+zL;
Authentication-Results: sj-dkim-3; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); 
Cc: ipv6@ietf.org, Noel Chiappa <jnc@mercury.lcs.mit.edu>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 16:56:38 -0000

Copying ipv6@ietf.org for a question.

If we changed the text in the LISP draft from "MUST" to "MAY", would  
we still need to write the accompanying document to RFC 2460?

Maybe Lars can comment on this.

See below for details.

Dino

On Aug 11, 2009, at 9:47 AM, Margaret Wasserman wrote:

>
> On Aug 11, 2009, at 12:18 PM, Noel Chiappa wrote:
>>
>>> There is widely deployed hardware that will calculate and insert a
>>> valid UDP checksum in packets that are transmitted by the TCP/IP  
>>> stack
>>> with zero UDP checksums.
>>
>> That's not necessarily a problem (e.g. it wouldn't be, for LISP). If
>> something fast computes a checksum for one - hey, one can either  
>> use it, if
>> one wishes, or ignore it, if one wishes; whatever floats one's boat.
>>
>> The only problem would be if something on the receiving end then  
>> either i)
>> slowed down processing by checking the checksum, even though it was  
>> not used,
>> or ii) (worse) discarded packets which had a bad checksum, _even  
>> if_ the
>> application didn't want the checksums (e.g. packet voice).
>
> As written, the LISP spec says:
>
> "UDP Checksum: this field MUST be transmitted as 0 and ignored on  
> receipt by the ETR. Note, even when the UDP checksum is transmitted  
> as 0 an intervening NAT device can recalculate the checksum and  
> rewrite the UDP checksum field to non-zero. For performance reasons,  
> the ETR MUST ignore the checksum and MUST not do a checksum  
> computation."
>
> This wording would make a LISP ITR that does send a non-zero  
> checksum non-compliant, and an ETR that checks non-zero checksums  
> non-compliant.
>
> Your paragraph above would be more reasonably translated as "UDP  
> Checksum:  this field MAY be transmitted as 0, and MAY be ignored on  
> receipt by the ETR".  So, what you are saying above does not seem to  
> agree with the current LISP specification.
>
> If we changed the MUSTs in the spec to MAYs, one could implement a  
> compliant (although perhaps not highly performing) LISP ITR or ETR  
> on a standard TCP/IP stack, even if I couldn't stop it from  
> computing outbound UDP checksums or checking inbound ones.  IMO,  
> this would be substantial improvement.
>
> However, the "MAY" wording still wouldn't be compliant with RFC 1122  
> (Requirements for Internet Hosts) or RFC 2460 (IPv6).
>
> RFC 1122 requires that all TCP/IP stacks support UDP checksums in  
> both direction, and that they check all non-zero checksums on  
> receipt.  So, to say "the ETR MUST ignore the checksum" (or even  
> "the ETR MAY ignore the checksum") in an IETF document, we would  
> need to get a standards track document approved that updates _both_  
> RFC 1122 and RFC 2460.
>
> If we want to boil this down to the (relatively simpler and more  
> tractable) question of getting a document approved that allows zero  
> UDP checksums in IPv6, we could change this wording to say:
>
> "UDP Checksums:  this field MAY be transmitted as 0 [normative  
> reference to document that makes this okay in IPv6].  Note, even  
> when the UDP checksum is transmitted as 0, an intervening NAT device  
> can recalculate the checksum and rewrite the UDP checksum field to  
> non-zero.  To address this concern, LISP ITRs SHOULD be capable of  
> calculating UDP checksums on encapsulated packets."  Alternatively,  
> you could state that LISP won't work through NAT boxes with this  
> property, perhaps in a middlebox considerations section.
>
> If you want LISP to actually _be_ RFC compliant, and not to  
> potentially lag behind standards-track RFC updates, you could simply  
> indicate that this field contains a valid UDP checksum value (MAY be  
> zero for IPv4, MUST NOT be zero for IPv6).  Since there are checksum  
> offload chips that can calculate a UDP checksum very quickly, it  
> should be possible to build LISP hardware that does calculate UDP  
> checksums at the necessary level of performance.
>
> This last choice, which I will summarize as "be RFC 1122 and 2460  
> compliant", would include checksum protection for the IPv6 header  
> _AND_ would support LAG/ECMP, at the cost of requiring that LISP  
> systems (which are the new thing we are building) be capable of  
> calculating checksums.  I think this may be the best trade-off  
> available, although I understand that it isn't cost-free.
>
> Margaret
>
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From fred@cisco.com  Tue Aug 11 10:14:58 2009
Return-Path: <fred@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CD33A3A69A2; Tue, 11 Aug 2009 10:14:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.944
X-Spam-Level: 
X-Spam-Status: No, score=-105.944 tagged_above=-999 required=5 tests=[AWL=0.655, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 VJOvJpay0udq; Tue, 11 Aug 2009 10:14:57 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 6060B3A6C1C; Tue, 11 Aug 2009 10:14:29 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="226465517"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 11 Aug 2009 17:13:32 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n7BHDWus003385;  Tue, 11 Aug 2009 10:13:32 -0700
Received: from [192.168.1.100] (sjc-vpn3-305.cisco.com [10.21.65.49]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7BHDWFf000200; Tue, 11 Aug 2009 17:13:32 GMT
Message-Id: <EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com>
From: Fred Baker <fred@cisco.com>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Tue, 11 Aug 2009 10:13:31 -0700
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>
X-Mailer: Apple Mail (2.936)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1308; t=1250010812; x=1250874812; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fred@cisco.com; z=From:=20Fred=20Baker=20<fred@cisco.com> |Subject:=20Re=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=3pMSCms93/2zYH9sNj83kF8/LnsGtzWwZ9FOyq6t7Us=; b=PFgdJzdty4L2BhFZ6QBq0GeQZbRrEC+r7Vtvc4oSayKcw/tJ1FjBAFx0iB ICYLEeihSHcv18CIN5xNIGQ13UbnagVnSEpHY+hAbmtrd7de4FCDBdDPECIj jp3b6XN2Dh;
Authentication-Results: sj-dkim-4; header.From=fred@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); 
Cc: lisp@ietf.org, ipv6@ietf.org, Noel Chiappa <jnc@mercury.lcs.mit.edu>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 17:14:58 -0000

> "UDP Checksum: this field MUST be transmitted as 0 and ignored on  
> receipt by the ETR. Note, even when the UDP checksum is transmitted  
> as 0 an intervening NAT device can recalculate the checksum and  
> rewrite the UDP checksum field to non-zero. For performance reasons,  
> the ETR MUST ignore the checksum and MUST not do a checksum  
> computation."

I would expect a NAT that saw a zero value to not recalculate the  
checksum.

I agree that the unilateral change to the UDP protocol built into RFC  
2460 was a bad idea; if you want to change UDP, change UDP. That is  
probably water under the bridge now.

I think that I would word this as:

UDP Checksum: this field MAY be transmitted as zero, and the receiver  
MAY ignore the checksum on receipt.

As to the performance issues, that is an implementation question. You  
can do a full packet checksum at 100 GBPS if you want to, it just has  
a cost implication (very different hardware than the usual store-and- 
forward design). The datagram will likely have to be handled in a flow- 
through manner and the checksum read from a register upon completion.

The argument in favor of this is, I think, that the interior packet  
has checksums on it, so this one is not called for, by the end-to-end  
principle.

From luigi@net.t-labs.tu-berlin.de  Tue Aug 11 10:19:57 2009
Return-Path: <luigi@net.t-labs.tu-berlin.de>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7EDBE3A67BE; Tue, 11 Aug 2009 10:19:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.03
X-Spam-Level: 
X-Spam-Status: No, score=-2.03 tagged_above=-999 required=5 tests=[AWL=0.219,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 EGNramgswUnF; Tue, 11 Aug 2009 10:19:56 -0700 (PDT)
Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by core3.amsl.com (Postfix) with ESMTP id 837773A6B63; Tue, 11 Aug 2009 10:19:05 -0700 (PDT)
Received: from dyn106.net.t-labs.tu-berlin.de (dyn106.net.t-labs.tu-berlin.de [130.149.220.106]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id DB08D701BA9C; Tue, 11 Aug 2009 19:18:16 +0200 (CEST)
Message-Id: <1EDE9780-517E-40D8-842F-35857527CC2F@net.t-labs.tu-berlin.de>
From: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
To: Joel M. Halpern <jmh@joelhalpern.com>
In-Reply-To: <4A8195BC.5000709@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 19:18:16 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com>	<9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>	<4A76101E.7070207@gmail.com>	<E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv>	<tslzlafn2un.fsf@mit.edu>	<5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com>	<1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net>	<9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com>	<20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com>
X-Mailer: Apple Mail (2.936)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 17:19:57 -0000

On Aug 11, 2009, at 18:01 , Joel M. Halpern wrote:

> Given that LISP ITRs work by intercepting packets that are not  
> addressed to them, a host implementation would need to be able to  
> intercept packets "in the stack".  That is going to need some  
> ability to modify kernel behavior.
>

We already did it for FreeBSD. (http://inl.info.ucl.ac.be/softwares/openlisp 
)

The latest version (not yet publicly available) supports IPv6, and yes  
it ignores the checksum (will be changed if the WG reaches a different  
consensus).

This is possible in OpenLISP since we capture the packet at IP level,  
before actually forwarding it to the UDP level.

The same applies for outgoing packets. They are captured at IP level  
just before the routing table lookup. This allows to encap (if  
necessary) no matter if the packet is coming from the upper layers or  
from the forwarding module.

Luigi



> (Yes, I think we will see LISP enabled hosts.  I don't think  
> mobility is the only case where this will happen.  But it will mean  
> someone has modified the kernel to do so.)
>
> Yours,
> Joel
>
>
> Dino Farinacci wrote:
>>> Hi Dino,
>>>
>>> On Aug 11, 2009, at 11:37 AM, Dino Farinacci wrote:
>>>
>>>>> On Aug 8, 2009, at 8:34 PM, Dino Farinacci wrote:
>>>>>>
>>>>>> The spec says ETRs MUST ignore the UDP checksum field. This is  
>>>>>> what the LISP authors intended and has been implemented this way.
>>>>>>
>>>>>> The spec says ITRs MUST set the UDP checksum field to 0.
>>>>>
>>>>> Could you tell us how to achieve this on commonly deployed  
>>>>> desktop software/hardware that has two properties:
>>>>
>>>> We don't want this rule on commonly deployed desktop hosts.
>>>
>>> I am not sure what you are saying here.  I can think of two  
>>> possibilities:
>>>
>>> (1) You don't want LISP to be implemented on commonly deployed  
>>> desktop hosts.
>> Right, it is a network based solution.
>>> (2) You want to change the document to state a different rule, so  
>>> that LISP can be implemented in a compliant manner on desktop hosts.
>> That is not what I am suggesting.
>> Dino
>>>
>>> Could you elaborate?
>>>
>>> Margaret
>>>
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From darlewis@cisco.com  Tue Aug 11 10:27:10 2009
Return-Path: <darlewis@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D94BD3A6AC6; Tue, 11 Aug 2009 10:27:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.454
X-Spam-Level: 
X-Spam-Status: No, score=-6.454 tagged_above=-999 required=5 tests=[AWL=0.145,  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 lWOP0lWCVu8c; Tue, 11 Aug 2009 10:27:10 -0700 (PDT)
Received: from sj-iport-3.cisco.com (sj-iport-3.cisco.com [171.71.176.72]) by core3.amsl.com (Postfix) with ESMTP id 0655E3A6A2F; Tue, 11 Aug 2009 10:27:10 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAEtGgUqrR7PD/2dsb2JhbAC7AIgrkDMFhBk
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="182777243"
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-3.cisco.com with ESMTP; 11 Aug 2009 17:25:57 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n7BHPvIJ019587;  Tue, 11 Aug 2009 10:25:57 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id n7BHPvlG026467; Tue, 11 Aug 2009 17:25:57 GMT
Received: from xmb-sjc-213.amer.cisco.com ([171.70.151.153]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 10:25:56 -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
Subject: RE: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Tue, 11 Aug 2009 10:25:56 -0700
Message-ID: <C0ACCB7B60E6F14B9AC46D742C1009A13CEFB6@xmb-sjc-213.amer.cisco.com>
In-Reply-To: <EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lisp] Judging Consensus on the UDP Checksum Issue
Thread-Index: Acoap04pyk+Yds2KT0uQOTwKNCBYzAAATmyw
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu><928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net><32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com>
From: "Darrel Lewis (darlewis)" <darlewis@cisco.com>
To: "Fred Baker (fred)" <fred@cisco.com>, "Dino Farinacci (dino)" <dino@cisco.com>
X-OriginalArrivalTime: 11 Aug 2009 17:25:56.0930 (UTC) FILETIME=[C9675220:01CA1AA8]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=741; t=1250011557; x=1250875557; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=darlewis@cisco.com; z=From:=20=22Darrel=20Lewis=20(darlewis)=22=20<darlewis@cisc o.com> |Subject:=20RE=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=TNF5O/XGn9PtRlRkh88Soaec2E0iup9ocGztnv+gMD0=; b=DRgN2mBvA1OJtprXDfpN+vQFA63tcIQgLVJfanj9SO6eXRm797JE7uCk8p Q8g/X8queAocCguivwVJ3k12JjHJBbgviHHPZ6XkjvXOF4iEY4CXRZykFK3r 2M77TnYzRq;
Authentication-Results: sj-dkim-3; header.From=darlewis@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); 
Cc: Margaret Wasserman <mrw@sandstorm.net>, ipv6@ietf.org, lisp@ietf.org, Noel Chiappa <jnc@mercury.lcs.mit.edu>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 17:27:10 -0000

> > "UDP Checksum: this field MUST be transmitted as 0 and ignored on =20
> > receipt by the ETR. Note, even when the UDP checksum is=20
> transmitted =20
> > as 0 an intervening NAT device can recalculate the checksum and =20
> > rewrite the UDP checksum field to non-zero. For performance=20
> reasons, =20
> > the ETR MUST ignore the checksum and MUST not do a checksum =20
> > computation."
>=20
> I would expect a NAT that saw a zero value to not recalculate the =20
> checksum.
>=20

Fred,

We found this not to be the case in our testing of LISP.  Many
commercial (netgear and linksys being two that come to mind) NATs do
indeed recalculate the checksum regardless of its initial value. =20

Regards,

-Darrel

From mrw@sandstorm.net  Tue Aug 11 10:50:27 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 123323A69BA; Tue, 11 Aug 2009 10:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.214
X-Spam-Level: 
X-Spam-Status: No, score=-2.214 tagged_above=-999 required=5 tests=[AWL=0.051,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 GtNx5Nc4SYKt; Tue, 11 Aug 2009 10:50:26 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id F31973A68DA; Tue, 11 Aug 2009 10:50:25 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7BHmFUC014815 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 11 Aug 2009 13:48:16 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 13:48:16 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 17:50:27 -0000

On Aug 11, 2009, at 12:46 PM, Dino Farinacci wrote:
>
>> Every host I'm aware of has a facility for setting up an interface
>> that routes some set of packets--including potentially the default
>> route--through a tunnel interface that then passes the packet to
>> userspace for processing.
>
> We call "LISP tunnels" as "dynamic encapsulating tunnels" where an  
> implementation must not implement the tunnel as a logical interface.  
> The implementation cannot scale if it does this. You get the level  
> of indirection by doing another lookup in another data structure  
> called the "map-cache".

I don't think I understand this...

Why couldn't LISP be implemented as a logical interface that  
encapsulates or not based on the contents of the LISP Mapping cache  
and the results of mapping lookups?

Margaret


From dino@cisco.com  Tue Aug 11 11:07:13 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E47C93A68BA; Tue, 11 Aug 2009 11:07:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.561
X-Spam-Level: 
X-Spam-Status: No, score=-6.561 tagged_above=-999 required=5 tests=[AWL=0.038,  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 DZ0gv2eAKgUT; Tue, 11 Aug 2009 11:07:13 -0700 (PDT)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71]) by core3.amsl.com (Postfix) with ESMTP id F3C6D3A6ACE; Tue, 11 Aug 2009 11:07:12 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEACNQgUqrR7PE/2dsb2JhbAC6fogrkDoFhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="194538189"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-2.cisco.com with ESMTP; 11 Aug 2009 18:05:07 +0000
Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n7BI57dD022414;  Tue, 11 Aug 2009 11:05:07 -0700
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-4.cisco.com (8.13.8/8.14.3) with ESMTP id n7BI57mH023674; Tue, 11 Aug 2009 18:05:07 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 11:05:07 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 11:05:06 -0700
Message-Id: <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 11:05:06 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 18:05:07.0024 (UTC) FILETIME=[422B3500:01CA1AAE]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1154; t=1250013907; x=1250877907; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=VHpkeueM8HFiwminWshNors6Fem3rPmIzQEOd9COGXk=; b=etQLNHgZ3wPtbL5uLtVTn6ix/FZ5m/nKktguWmtVGjA6YlMiWLlhkwBGrn Hl1QY1mqcudJ0268C+MF1xDOIjL9nxZFcC2SKNlSgz3k8oI+SFSWoVf114dr 7PguPECDVE;
Authentication-Results: sj-dkim-4; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 18:07:14 -0000

> On Aug 11, 2009, at 12:46 PM, Dino Farinacci wrote:
>>
>>> Every host I'm aware of has a facility for setting up an interface
>>> that routes some set of packets--including potentially the default
>>> route--through a tunnel interface that then passes the packet to
>>> userspace for processing.
>>
>> We call "LISP tunnels" as "dynamic encapsulating tunnels" where an  
>> implementation must not implement the tunnel as a logical  
>> interface. The implementation cannot scale if it does this. You get  
>> the level of indirection by doing another lookup in another data  
>> structure called the "map-cache".
>
> I don't think I understand this...
>
> Why couldn't LISP be implemented as a logical interface that  
> encapsulates or not based on the contents of the LISP Mapping cache  
> and the results of mapping lookups?

Because you could have 100K of them. Interface data structures come  
with all kinds of other stuff that doesn't apply here. And guess what  
if you had 100K map-cache entries, the number of logical interfaces is  
equal to the sum of all locators for all 100K entries.

Dino

>
> Margaret
>


From hartmans@mit.edu  Tue Aug 11 11:21:27 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 18FD63A6A79; Tue, 11 Aug 2009 11:21:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.252
X-Spam-Level: 
X-Spam-Status: No, score=-2.252 tagged_above=-999 required=5 tests=[AWL=0.013,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 W4EzoKmNfaF4; Tue, 11 Aug 2009 11:21:26 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 5901B3A68BA; Tue, 11 Aug 2009 11:21:26 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id F40FA51C5; Tue, 11 Aug 2009 14:18:56 -0400 (EDT)
To: Dino Farinacci <dino@cisco.com>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Tue, 11 Aug 2009 14:18:56 -0400
In-Reply-To: <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> (Dino Farinacci's message of "Tue\, 11 Aug 2009 09\:46\:14 -0700")
Message-ID: <tslab26qkmn.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 18:21:27 -0000

>>>>> "Dino" == Dino Farinacci <dino@cisco.com> writes:

    Dino> We call "LISP tunnels" as "dynamic encapsulating tunnels"
    Dino> where an implementation must not implement the tunnel as a
    Dino> logical interface.  The implementation cannot scale if it
    Dino> does this. You get the level of indirection by doing another
    Dino> lookup in another data structure called the "map-cache".

I see no text in draft-ietf-lisp-03 that says that lisp tunnels cannot
be logical interfaces and would object strongly to including such an
implementation detail in the spec.  I see text that says that they
must not be statically configured.

I also don't see the scaling argument you're making.  Perhaps you're
trying to say is that you want all traffic considered for lisp
encapsulation and do not want to flood the mapping database into the
local routing table.  That's probably true, but seems quite unrelated
to whether something is a logical interface at least with several host
routing implementations I'm familiar with.

From dino@cisco.com  Tue Aug 11 11:26:47 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 94CFA3A68DA; Tue, 11 Aug 2009 11:26:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.562
X-Spam-Level: 
X-Spam-Status: No, score=-6.562 tagged_above=-999 required=5 tests=[AWL=0.037,  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 ldO9-+8uJfrD; Tue, 11 Aug 2009 11:26:46 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id D64FE3A6B43; Tue, 11 Aug 2009 11:26:46 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAB5UgUqrR7O6/2dsb2JhbAC7AIgrkD4FhBmBUYhG
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="365244885"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-6.cisco.com with ESMTP; 11 Aug 2009 18:25:53 +0000
Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n7BIPrdr018453;  Tue, 11 Aug 2009 11:25:53 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-4.cisco.com (8.13.8/8.14.3) with ESMTP id n7BIPrLW003919; Tue, 11 Aug 2009 18:25:53 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 11:25:53 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 11:25:52 -0700
Message-Id: <49F25063-D004-43CD-BC3A-993534E9004D@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
In-Reply-To: <tslab26qkmn.fsf@mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 11:25:52 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <tslab26qkmn.fsf@mit.edu>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 18:25:52.0827 (UTC) FILETIME=[28B9A8B0:01CA1AB1]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1461; t=1250015153; x=1250879153; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=Lw6AFhiA7yKJtP1oD+1hmvESRESMCNAsSu0E44cAN4U=; b=Ll28dXsWeRcKZKOJIM3xVrRcr2QfYRvobyUendUCWPyruvAExA5gkTX8yn 1f4fLiyR/BQX8lSNZxr78cHYi4m7CusZGNtCGow3EwF12TQqVkiwxMPrYa5b p0wK54NUpY;
Authentication-Results: sj-dkim-2; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 18:26:47 -0000

>>>>>> "Dino" == Dino Farinacci <dino@cisco.com> writes:
>
>    Dino> We call "LISP tunnels" as "dynamic encapsulating tunnels"
>    Dino> where an implementation must not implement the tunnel as a
>    Dino> logical interface.  The implementation cannot scale if it
>    Dino> does this. You get the level of indirection by doing another
>    Dino> lookup in another data structure called the "map-cache".
>
> I see no text in draft-ietf-lisp-03 that says that lisp tunnels cannot
> be logical interfaces and would object strongly to including such an
> implementation detail in the spec.  I see text that says that they
> must not be statically configured.

Because it is an implementation issue.

If an ITR decided to encapsulate all its packets to a recursive  
encapsulator, it could build an implementation with a single logical  
interface.

> I also don't see the scaling argument you're making.  Perhaps you're
> trying to say is that you want all traffic considered for lisp
> encapsulation and do not want to flood the mapping database into the
> local routing table.  That's probably true, but seems quite unrelated
> to whether something is a logical interface at least with several host
> routing implementations I'm familiar with.

This is all implementation dependent. You can talk to dozens if not  
100s of IOS engineers about this next time you are in an IETF hallway.  
They will talk your ear off.  ;-)

Dino


From mrw@sandstorm.net  Tue Aug 11 11:30:00 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 220773A6A2F; Tue, 11 Aug 2009 11:30:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.216
X-Spam-Level: 
X-Spam-Status: No, score=-2.216 tagged_above=-999 required=5 tests=[AWL=0.049,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 qDRXuT9C+3fp; Tue, 11 Aug 2009 11:29:59 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 745A13A6EDA; Tue, 11 Aug 2009 11:29:54 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7BISwfT016882 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 11 Aug 2009 14:28:58 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <03166A50-6693-4979-A548-67BD33279E69@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 14:28:57 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net> <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 18:30:00 -0000

Hi Dino,

On Aug 11, 2009, at 2:05 PM, Dino Farinacci wrote:
>> Why couldn't LISP be implemented as a logical interface that  
>> encapsulates or not based on the contents of the LISP Mapping cache  
>> and the results of mapping lookups?
>
> Because you could have 100K of them. Interface data structures come  
> with all kinds of other stuff that doesn't apply here. And guess  
> what if you had 100K map-cache entries, the number of logical  
> interfaces is equal to the sum of all locators for all 100K entries.

I was talking about running an ITR as a logical interface on a LISP- 
aware end-node or a home gateway, so I'm not talking about something  
that would need to scale to handle 100K simultaneous connections.

This could be done in a way that _didn't_ involve a logical interface  
per map-cache entry, by having the code in the logical interface  
"driver" maintain and access the map-cache.

Margaret


From luigi@net.t-labs.tu-berlin.de  Tue Aug 11 11:36:57 2009
Return-Path: <luigi@net.t-labs.tu-berlin.de>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 921213A6A2F; Tue, 11 Aug 2009 11:36:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 YyJybgKjV0pd; Tue, 11 Aug 2009 11:36:56 -0700 (PDT)
Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by core3.amsl.com (Postfix) with ESMTP id 86D8D3A69BA; Tue, 11 Aug 2009 11:36:56 -0700 (PDT)
Received: from [192.168.2.101] (p4FC24BFC.dip.t-dialin.net [79.194.75.252]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id E6DB8701BA9C; Tue, 11 Aug 2009 20:35:58 +0200 (CEST)
Message-Id: <EE977993-B834-4700-95C8-49A65BAC2C97@net.t-labs.tu-berlin.de>
From: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 20:35:58 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net> <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com>
X-Mailer: Apple Mail (2.936)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 18:36:57 -0000

On Aug 11, 2009, at 20:05 , Dino Farinacci wrote:

>> On Aug 11, 2009, at 12:46 PM, Dino Farinacci wrote:
>>>
>>>> Every host I'm aware of has a facility for setting up an interface
>>>> that routes some set of packets--including potentially the default
>>>> route--through a tunnel interface that then passes the packet to
>>>> userspace for processing.
>>>
>>> We call "LISP tunnels" as "dynamic encapsulating tunnels" where an  
>>> implementation must not implement the tunnel as a logical  
>>> interface. The implementation cannot scale if it does this. You  
>>> get the level of indirection by doing another lookup in another  
>>> data structure called the "map-cache".
>>
>> I don't think I understand this...
>>
>> Why couldn't LISP be implemented as a logical interface that  
>> encapsulates or not based on the contents of the LISP Mapping cache  
>> and the results of mapping lookups?
>
> Because you could have 100K of them. Interface data structures come  
> with all kinds of other stuff that doesn't apply here. And guess  
> what if you had 100K map-cache entries, the number of logical  
> interfaces is equal to the sum of all locators for all 100K entries.

I fully support Dino. When we started to implement LISP, our first  
choice was to create a new logical interface, but we soon realized  
that it will never work.

Luigi

>
> Dino
>
>>
>> Margaret
>>
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From dino@cisco.com  Tue Aug 11 11:47:34 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9FA683A6B79; Tue, 11 Aug 2009 11:47:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.564
X-Spam-Level: 
X-Spam-Status: No, score=-6.564 tagged_above=-999 required=5 tests=[AWL=0.035,  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 PFZ1bbDJkVXQ; Tue, 11 Aug 2009 11:47:33 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 797783A6783; Tue, 11 Aug 2009 11:47:33 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAEZZgUqrR7PD/2dsb2JhbAC7B4grkEAFhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="226521298"
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-1.cisco.com with ESMTP; 11 Aug 2009 18:45:46 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n7BIjkkg030341;  Tue, 11 Aug 2009 11:45:46 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id n7BIjkv7015750; Tue, 11 Aug 2009 18:45:46 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 11:45:46 -0700
Received: from [192.168.1.3] ([10.21.67.70]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 11:45:45 -0700
Message-Id: <8D8080B4-0821-464C-84B3-2891CF67ECCF@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <03166A50-6693-4979-A548-67BD33279E69@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 11:45:45 -0700
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net> <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com> <03166A50-6693-4979-A548-67BD33279E69@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 11 Aug 2009 18:45:46.0093 (UTC) FILETIME=[EFF799D0:01CA1AB3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1243; t=1250016346; x=1250880346; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=95vqfEIzzlb+44nriT30Q5JbALbfh8mkH0E0GQpHiXE=; b=RDwqaesuZoUfx6gIZGJZ/SDL3H783oZI21l1nuyxWLKrta41GXwZ/QrG6r GmkNJn9sf1NlRJs4BHrL37rE8pZh077ssw3CotRmRfj9QwXr1t6gkWJENdoU kM0XpF3+Ts;
Authentication-Results: sj-dkim-3; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 18:47:34 -0000

I think this is off topic. If you want to continue the discussion,  
send me email privately.

> Hi Dino,
>
> On Aug 11, 2009, at 2:05 PM, Dino Farinacci wrote:
>>> Why couldn't LISP be implemented as a logical interface that  
>>> encapsulates or not based on the contents of the LISP Mapping  
>>> cache and the results of mapping lookups?
>>
>> Because you could have 100K of them. Interface data structures come  
>> with all kinds of other stuff that doesn't apply here. And guess  
>> what if you had 100K map-cache entries, the number of logical  
>> interfaces is equal to the sum of all locators for all 100K entries.
>
> I was talking about running an ITR as a logical interface on a LISP- 
> aware end-node or a home gateway, so I'm not talking about something  
> that would need to scale to handle 100K simultaneous connections.

Doesn't matter. You can still talk to 100s or 1000s of places, meaning  
you'd have a map-cache that large.

> This could be done in a way that _didn't_ involve a logical  
> interface per map-cache entry, by having the code in the logical  
> interface "driver" maintain and access the map-cache.

Sure, you are using the logical interface for a different reason.

Dino

From mrw@sandstorm.net  Tue Aug 11 11:58:08 2009
Return-Path: <mrw@sandstorm.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 892633A6917; Tue, 11 Aug 2009 11:58:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.218
X-Spam-Level: 
X-Spam-Status: No, score=-2.218 tagged_above=-999 required=5 tests=[AWL=0.047,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 yR+MgoFI0NRz; Tue, 11 Aug 2009 11:58:07 -0700 (PDT)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75]) by core3.amsl.com (Postfix) with ESMTP id 991CD3A635F; Tue, 11 Aug 2009 11:58:07 -0700 (PDT)
Received: from lilac.sandstorm.net (ip-69-33-111-74.bos.megapath.net [69.33.111.74]) (authenticated bits=0) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n7BIuPgA017947 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 11 Aug 2009 14:56:26 -0400 (EDT) (envelope-from mrw@sandstorm.net)
Message-Id: <3C922FC4-32E6-4CA8-88B2-3D74A73C4DD9@sandstorm.net>
From: Margaret Wasserman <mrw@sandstorm.net>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <8D8080B4-0821-464C-84B3-2891CF67ECCF@cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 14:56:25 -0400
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net> <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com> <03166A50-6693-4979-A548-67BD33279E69@sandstorm.net> <8! D8080B4-0821-464C-84B3-2891CF67ECCF@cisco.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 18:58:08 -0000

On Aug 11, 2009, at 2:45 PM, Dino Farinacci wrote:
>> I was talking about running an ITR as a logical interface on a LISP- 
>> aware end-node or a home gateway, so I'm not talking about  
>> something that would need to scale to handle 100K simultaneous  
>> connections.
>
> Doesn't matter. You can still talk to 100s or 1000s of places,  
> meaning you'd have a map-cache that large.

Or not.  The whole point of a cache is that it is an optimization...   
I don't connect to more than a couple of dozen hosts regularly, and I  
certainly don't connect to more than a few hundred hosts in the course  
of a few minutes.  So, I could be pretty happy with a cache that had a  
few thousand entries.  I'd just have to do a mapping lookup if my  
destination EID wasn't one of the last (or most frequent, depending on  
my cache aging algorithm) few thousand EIDs I'd visited.

I'm not arguing that this model would work for all ITRs.  Obviously if  
my ISP (Verizon) deploys an ITR that has to handle all of the hosts in  
Massachusetts, it will need to be _considerably_ more capable than my  
Mac or Windows PC.  I'd just like to make sure we also define  
something that can scale down to desktop PCs and to low cost home  
routers, etc.

Margaret


From luigi@net.t-labs.tu-berlin.de  Tue Aug 11 12:12:26 2009
Return-Path: <luigi@net.t-labs.tu-berlin.de>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 541C93A6FDF; Tue, 11 Aug 2009 12:12:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 cjhysXBtA+DJ; Tue, 11 Aug 2009 12:12:25 -0700 (PDT)
Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by core3.amsl.com (Postfix) with ESMTP id 4F08B3A6B05; Tue, 11 Aug 2009 12:12:25 -0700 (PDT)
Received: from [192.168.2.101] (p4FC24BFC.dip.t-dialin.net [79.194.75.252]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id 91E76701BA9C; Tue, 11 Aug 2009 20:41:20 +0200 (CEST)
Message-Id: <2E282E43-B60F-4871-8586-7BAFE4ECD9D9@net.t-labs.tu-berlin.de>
From: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <03166A50-6693-4979-A548-67BD33279E69@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 20:41:19 +0200
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net> <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com> <03166A50-6693-4979-A548-67BD33279E69@sandstorm.net>
X-Mailer: Apple Mail (2.936)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 19:12:26 -0000

On Aug 11, 2009, at 20:28 , Margaret Wasserman wrote:

>
> Hi Dino,
>
> On Aug 11, 2009, at 2:05 PM, Dino Farinacci wrote:
>>> Why couldn't LISP be implemented as a logical interface that  
>>> encapsulates or not based on the contents of the LISP Mapping  
>>> cache and the results of mapping lookups?
>>
>> Because you could have 100K of them. Interface data structures come  
>> with all kinds of other stuff that doesn't apply here. And guess  
>> what if you had 100K map-cache entries, the number of logical  
>> interfaces is equal to the sum of all locators for all 100K entries.
>
> I was talking about running an ITR as a logical interface on a LISP- 
> aware end-node or a home gateway, so I'm not talking about something  
> that would need to scale to handle 100K simultaneous connections.
>
> This could be done in a way that _didn't_ involve a logical  
> interface per map-cache entry,

Yes you can do that. _But_ this means that your routing table has to  
include entries in order to "route" the packet to the logical  
interface in order to be encapsulated. I do not think this will help  
to solve the scalability issue.

Luigi


> by having the code in the logical interface "driver" maintain and  
> access the map-cache.
>
> Margaret
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp


From dino@cisco.com  Tue Aug 11 12:50:18 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B162F3A6879; Tue, 11 Aug 2009 12:50:18 -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 t1mhR1H1VHE5; Tue, 11 Aug 2009 12:50:17 -0700 (PDT)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71]) by core3.amsl.com (Postfix) with ESMTP id C150B3A68FF; Tue, 11 Aug 2009 12:50:17 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAJJngUqrR7MV/2dsb2JhbAC7bYgrkEEFhBmBUQ
X-IronPort-AV: E=Sophos;i="4.43,361,1246838400"; d="scan'208";a="194584821"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-2.cisco.com with ESMTP; 11 Aug 2009 19:49:20 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n7BJnKlc027469;  Tue, 11 Aug 2009 12:49:20 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n7BJnKEv008869; Tue, 11 Aug 2009 19:49:20 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 12:49:20 -0700
Received: from dhcp-171-71-55-195.cisco.com ([171.71.55.195]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 11 Aug 2009 12:49:19 -0700
Message-Id: <38E8BA63-648D-41FD-ABC2-2FD440D601B5@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Margaret Wasserman <mrw@sandstorm.net>
In-Reply-To: <3C922FC4-32E6-4CA8-88B2-3D74A73C4DD9@sandstorm.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] IPv6 UDP checksum issue
Date: Tue, 11 Aug 2009 12:49:19 -0700
X-OriginalArrivalTime: 11 Aug 2009 19:49:20.0102 (UTC) FILETIME=[D14B3060:01CA1ABC]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1681; t=1250020160; x=1250884160; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20IPv6=20UDP=20checksum=20issue |Sender:=20; bh=YaYTDnCZKVmlzEGM7v6gDo/lKCUZIPnQOyoiewCAOdc=; b=A/k+UTM5tEMYTFcgsGU0OrmlkYUd3bOfWOeP1+iPAFSHjY9+M8Sb6Ug2ux b9U2cpILSjW/8weuhex+kzzdXzuZnd9F0bict4te4yUXbbAGw/xiUEN5/64O h5M5KabXtfnBKXFXuqTcVRF61Hfglldo1obiGz3hWzH6JTzZJwX3o=;
Authentication-Results: sj-dkim-1; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 19:50:18 -0000

References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv> <FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com> <C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com> <C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com> <0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com> <DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com> <9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com> <4A76101E.7070207@gmail.com> <E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <tslzlafn2un.fsf@mit.edu> <5CB1D2DE-14A8-4549-A9CE-90FD56043174@cisco.com> <1DCFF91C-5DC8-4F67-8316-A7D763C1E261@sandstorm.net> <9EEEFEBB-3F1B-4B30-88BE-8C2814D8CE52@cisco.com> <20E7DD15-3168-4054-B296-AD725F68B444@sandstorm.net> <200ABCA5-7016-481F-BF9B-309591FCA44E@cisco.com> <4A8195BC.5000709@joelhalpern.com> <tsl63cus3u2.fsf@mit.edu> <9E345E12-A236-4B1C-B5B5-CE6D21258981@cisco.com> <B88F3852-57B9-4FEB-9F24-24C01E39FE00@sandstorm.net> <879016E5-701B-4AA7-852A-59727DF9B560@cisco.com> <03166A50-6693-4979-A548-67BD33279E69@sandstorm.net> <8!
  D8080B4-0821-464C-84B3-2891CF67ECCF@cisco.com> <3C922FC4-32E6-4CA8-88B2-3D74A73C4DD9@sandstorm.net>
X-Mailer: Apple Mail (2.935.3)
Return-Path: dino@cisco.com
X-OriginalArrivalTime: 11 Aug 2009 19:49:19.0854 (UTC) FILETIME=[D12558E0:01CA1ABC]

> I'm not arguing that this model would work for all ITRs.  Obviously  
> if my ISP (Verizon) deploys an ITR that has to handle all of the  
> hosts in Massachusetts, it will need to be _considerably_ more  
> capable than my Mac or Windows PC. I'd just like to make sure we  
> also define something that can scale down to desktop PCs and to low  
> cost home routers, etc.

We are. There is nothing prohibiting this usage.

Dino


From Francis.Dupont@fdupont.fr  Wed Aug 12 15:02:59 2009
Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4C8C23A6AB7; Wed, 12 Aug 2009 15:02:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.172
X-Spam-Level: 
X-Spam-Status: No, score=-2.172 tagged_above=-999 required=5 tests=[AWL=0.077,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
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 8xMWnMmhR4bS; Wed, 12 Aug 2009 15:02:58 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [91.121.26.85]) by core3.amsl.com (Postfix) with ESMTP id 4CAD53A68CC; Wed, 12 Aug 2009 15:02:58 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.13.8/8.13.8) with ESMTP id n7CM0rbI047791; Thu, 13 Aug 2009 00:00:53 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <200908122200.n7CM0rbI047791@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Subject: Re: [lisp] Flow label redux 
In-reply-to: Your message of Mon, 10 Aug 2009 13:11:25 EDT. <4A8054BD.8090508@joelhalpern.com> 
Date: Thu, 13 Aug 2009 00:00:53 +0200
Sender: Francis.Dupont@fdupont.fr
Cc: ipv6@ietf.org, lisp@ietf.org, Havard Eidnes <he@uninett.no>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Aug 2009 22:02:59 -0000

 In your previous mail you wrote:

   I am still colelcting implementation data, so I may be misled by what I 
   have gotten.  But it seems to me that we are unfortunately stuck with 
   UDP with 0 checksums if we want high capacity tunnels to be able to make 
   use of ECMP / LAG in the moderate time period (out through at least 5 
   years, maybe longer.)
   
=> no, you can use varying IPv6 addresses with any no-checksum
encapsulation from now (and flow labels in some years...).

Regards

Francis.Dupont@fdupont.fr

From lars.eggert@nokia.com  Thu Aug 13 01:14:25 2009
Return-Path: <lars.eggert@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C02163A698D; Thu, 13 Aug 2009 01:14:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.607
X-Spam-Level: 
X-Spam-Status: No, score=-2.607 tagged_above=-999 required=5 tests=[AWL=-0.008, BAYES_00=-2.599]
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 oRwcD2fT+tCY; Thu, 13 Aug 2009 01:14:25 -0700 (PDT)
Received: from mail.fit.nokia.com (mail.fit.nokia.com [195.148.124.195]) by core3.amsl.com (Postfix) with ESMTP id 747943A69E0; Thu, 13 Aug 2009 01:14:23 -0700 (PDT)
Received: from wlan-226.fit.nokia.com (wlan-226.fit.nokia.com [195.148.124.226]) (authenticated bits=0) by mail.fit.nokia.com (8.14.3/8.14.3) with ESMTP id n7D7dudP011384 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 13 Aug 2009 10:39:57 +0300 (EEST) (envelope-from lars.eggert@nokia.com)
Message-Id: <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>
From: Lars Eggert <lars.eggert@nokia.com>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>
Content-Type: multipart/signed; boundary=Apple-Mail-8--888426508; micalg=sha1; protocol="application/pkcs7-signature"
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 10:39:56 +0300
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>
X-Mailer: Apple Mail (2.936)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.2 (mail.fit.nokia.com [195.148.124.194]); Thu, 13 Aug 2009 10:39:58 +0300 (EEST)
Cc: "lisp@ietf.org" <lisp@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 08:14:25 -0000

--Apple-Mail-8--888426508
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

On 2009-8-11, at 19:55, Dino Farinacci wrote:
> If we changed the text in the LISP draft from "MUST" to "MAY", would
> we still need to write the accompanying document to RFC 2460?
>
> Maybe Lars can comment on this.

In my opinion, any change from the MUST in RFC2460 requires updating  
RFC2460.

Lars
--Apple-Mail-8--888426508
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGQDCCAvkw
ggJioAMCAQICEEi7WbMMKa2GLKFpQDaOBQEwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDgyMzE3NDMzOVoXDTA5MDgyMzE3NDMz
OVowXDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2Vy
dDEkMCIGCSqGSIb3DQEJARYVbGFycy5lZ2dlcnRAbm9raWEuY29tMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAlwQVktJZCY89iU6jcW1XnZQN+aMgF2utCUT3H3ZKB5Jbet1SDWt0md/W
571bHjxtn9CfEJdochNL3l9f1WiJNdVbJ182557Ltx9SojqthpqtA0jKEqo2gqrf+raUj1demmo0
6ocsLqv046CrwidOp6k0RAfvkKPLhD4PD9Nk3oaZuxqBz1wY4u8Q83iWMArDeXiQxfNZnOBz5cDs
VvVjTjitm3VANkbD02tNkwl5AHw7htde4yH8hIwlfzqsAtHBEah3HyOvs9b+gHg2pFz9eS+HuotY
ZKycCweRs8NKXoCg+zAkVYi3zvZEH2VOuPlpMQMrB9+fLWg2UBsTeZ864wIDAQABozIwMDAgBgNV
HREEGTAXgRVsYXJzLmVnZ2VydEBub2tpYS5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUF
AAOBgQBMdV2U+ryV5t3nuBFH19XKflodN6Bc60GBYHHY/Z0+Cl08Q75qzTt02IILBg+/YVh/fygb
6pFrOm1sFtLN7fENBfbO2VtpFjP2lGUgbXTVT5xGM6+MtqZiBI6LqexAeY6gsd/taoUfy9fZG42d
ciBA9gSGlQjjWQyG8mb5HR8L9jCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJ
BgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMg
RGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3
DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3
MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5
KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzAN
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9
fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+
uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMB
Af8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3
dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgG
A1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNmrGcP
f6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH
2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8x
ggMQMIIDDAIBATB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo
UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQ
SLtZswwprYYsoWlANo4FATAJBgUrDgMCGgUAoIIBbzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB
MBwGCSqGSIb3DQEJBTEPFw0wOTA4MTMwNzM5NTdaMCMGCSqGSIb3DQEJBDEWBBTyNihbuRJUrM4P
LJMrvOSDy4EIzjCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEwgYcGCyqGSIb3DQEJEAILMXigdjBiMQsw
CQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEw
DQYJKoZIhvcNAQEBBQAEggEABhYeOXGoWg9nlmtQZNwvHrx8kAPd4OLFn2bxMoo10TDdWfNUCTtO
Ea74u2949LiWQso+w22wb7HG1QqDmdH2ez2EeMz4qCRGIVTG54jGLKDMGEOacVn4lRlS70oREoE3
n4OOloxIwtGX1i3mPZg+oMpIWXsVAMlj+aOUDQDsDLFVGAde1JN0TStSwaWXoSekTGlmgLeDJqo7
EXQoXnQXTukIPNpQ7dEzWEkuCVbaLDASW65gDh3695lLExob3uvpn5ICXZa7HQZRzNADCWLIsLnO
BIOnSkMmuMIihK6LTXVYq91/U+1YRQ2vmnUFOlV98FLSnRng+hM9b2vDrWGKEgAAAAAAAA==

--Apple-Mail-8--888426508--

From arifumi@nttv6.net  Thu Aug 13 03:34:35 2009
Return-Path: <arifumi@nttv6.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 91CD33A67AC for <ipv6@core3.amsl.com>; Thu, 13 Aug 2009 03:34:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 aiBq+n3PdkMz for <ipv6@core3.amsl.com>; Thu, 13 Aug 2009 03:34:23 -0700 (PDT)
Received: from mail.nttv6.net (mail.nttv6.net [IPv6:2001:fa8::25]) by core3.amsl.com (Postfix) with ESMTP id 4F7A03A6811 for <ipv6@ietf.org>; Thu, 13 Aug 2009 03:33:58 -0700 (PDT)
Received: from arifumi3.nttv6.com (arifumi3.nttv6.com [192.47.163.63]) by mail.nttv6.net (8.14.3/8.14.3) with ESMTP id n7DAXu10047030; Thu, 13 Aug 2009 19:33:56 +0900 (JST) (envelope-from arifumi@nttv6.net)
Message-Id: <11239490-BD90-4A63-B0D6-86EFF42CCA5F@nttv6.net>
From: Arifumi Matsumoto <arifumi@nttv6.net>
To: Aleksi Suhonen <Aleksi.Suhonen@tut.fi>
In-Reply-To: <4A7A2F4F.5050800@tut.fi>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: source address selection revisited
Date: Thu, 13 Aug 2009 19:33:56 +0900
References: <4A7A2F4F.5050800@tut.fi>
X-Mailer: Apple Mail (2.936)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (mail.nttv6.net [192.16.178.5]); Thu, 13 Aug 2009 19:33:57 +0900 (JST)
Cc: 6man <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 10:34:35 -0000

Hi,

FYI, I remember M. Bagnulo were working on similar problems
related to source addresse selection mechanism, which is
described in the following expired document.

http://tools.ietf.org/html/draft-bagnulo-ipv6-rfc3484-update-00

further comments below.

>
> This got me thinking, and here are some of the ideas I've had so  
> far, in random order:
>
> A) The data structure returned by getaddrinfo() doesn't have any  
> source address at all. In essence, it is source address agnostic.  
> The addresses returned by it are usually given to connect() calls,  
> typically with IN6ADDR_ANY as the effective source address.
>
> The API[3] doesn't specifically state how connect() should choose  
> the source address in this case. So if the implementation of  
> connect() went ahead and tried all "CandidateSource(D) addresses"  
> according to a new address selection algorithm, instead of just one,  
> this would not violate the API[3]. This would be only valid for  
> stateful transports (like TCP) and doesn't work very well for  
> stateless transports (like UDP), where such decisions would have to  
> be made on a higher protocol layer...
>
> B) The getaddrinfo() call could in theory return the same  
> destination address several times if there are several source  
> alternatives for it. The implementations of connect(), sendto() and  
> sendmsg() could then use a different source for the different copies  
> of the destination address.
>
> Could the ai_addr field in struct addrinfo be used to carry some  
> extra hidden information that would tell connect() et al. which  
> source address to use? Otherwise they would have to try to recognize  
> them by pointer address.
>
> Of course, if the application does something to upset these  
> attempts, like bind()s the source address or copies only parts of  
> the ai_addr structure somewhere else, then we can always just give  
> up and use a single source address. That's what the application  
> probably wanted anyway...

I'm afraid the latter change for getaddrinfo() might be also  
troublesome for
some applications.

As far as these are new APIs, they are nice to have,
just like winsock's newly defined APIs like WSAConnectByName().

However, what I'm afraid is that I do not see the specific and  
reasonable
separator for which addresses should be given to the application as the
candidate source addresses, and which addresses should not be.

For example, getaddrinfo() API should treat 6to4, Teredo, ULA and link- 
local
addresses as the candidate source address for a given destination  
address,
and return all the pair of source addresses and destination addresses to
the calling application ?

If we define this separator should be configurable, what should be the  
default ?


--
Arifumi Matsumoto
   Secure Communication Project
   NTT Information Sharing Platform Laboratories
   E-mail: arifumi@nttv6.net


From Francis.Dupont@fdupont.fr  Thu Aug 13 07:36:38 2009
Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8E5B93A6B0D; Thu, 13 Aug 2009 07:36:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.185
X-Spam-Level: 
X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5 tests=[AWL=-1.924, BAYES_00=-2.599, FRT_STOCK2=3.988, HELO_EQ_FR=0.35]
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 dUzNX0eNLedq; Thu, 13 Aug 2009 07:36:37 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [91.121.26.85]) by core3.amsl.com (Postfix) with ESMTP id 755193A6AAF; Thu, 13 Aug 2009 07:36:37 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.13.8/8.13.8) with ESMTP id n7DEYw68052404; Thu, 13 Aug 2009 16:34:58 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <200908131434.n7DEYw68052404@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: Margaret Wasserman <mrw@sandstorm.net>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
In-reply-to: Your message of Mon, 10 Aug 2009 22:41:23 EDT. <1312CA4A-BB2F-4F7E-AC63-8BAEBA8AC682@sandstorm.net> 
Date: Thu, 13 Aug 2009 16:34:58 +0200
Sender: Francis.Dupont@fdupont.fr
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, ipv6@ietf.org, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 14:36:38 -0000

 In your previous mail you wrote:

   This is an interesting idea, and I think it is worth exploring.   

=> this is a typical IPv6 idea (:-)...

   However, there are a couple of issues to overcome...
   
   Would you perform DAD on these addresses before you use them?  Or  
   would you somehow delegate a prefix (perhaps longer than a /64) to  
   each xTR for this purpose?

=> IMHO the second solution (what I called a virtual link) is simpler.
Of course, it wastes resources so I agree with the "longer than a /64".
In fact, this depends on how many addresses are needed (and don't
forget one can play on both source and destination addresses).

   >  and not all BSD/Linux/MacOS/Windows boxes (software and hardware).
   
   I think that the idea is that the IPv6 UDP headers with zero checksums  
   will only be sent between the ITR and ETR, so it is only LISP nodes  
   that need to change.
   
=> you know it is not reasonable to introduce a third kind of
IPv6 nodes (hosts, routers and LISP-capable routers :-).

   However, I personally would like to be able to implement a compliant  
   LISP node (ITR and ETR) on a desktop operating system like Windows or  
   Unix, and I don't think that one can expect deployed desktop operating  
   systems to be updated (to allow zero UDP checksums in IPv6) any faster  
   than the estimates given for routing updates (3-5 years).
   
=> I share this concern.

   Also, the last time I dealt with zero UDP checksums (mid 1990s), it  
   was only possible to disable UDP checksums (for IPv4) in the unix  
   kernel, so they were on or off for the entire box.  Have things  
   evolved since then?

=> as far as I know the answer is no. The only different in modern code
is the handling of checksum offloading in NIC hardware.

   Is it possible to have IPv4 UDP checksums enabled  
   (both calculating them and checking them) for some sockets while they  
   are disabled (set to zero, and not checked on receipt) for other  
   sockets?  If so, what sockets option is commonly used for this in Unix  
   operating systems?
   
=> BSDs have only a system-wide sysctl, Linux offers a setockopt()
(SO_NO_CHECK). I don't know for Windows. IMHO, it is a bad idea to
disable UDP checksums, UDP-lite should be used instead.

Thanks

Francis.Dupont@fdupont.fr

PS: about the original thread (0 checksums vs IPv4 to IPv6 translation),
DNS-OARC DITL should have the data.

From Francis.Dupont@fdupont.fr  Thu Aug 13 07:58:33 2009
Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0ECD23A6B67; Thu, 13 Aug 2009 07:58:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.018
X-Spam-Level: 
X-Spam-Status: No, score=-2.018 tagged_above=-999 required=5 tests=[AWL=0.231,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
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 D99QzVUogkdg; Thu, 13 Aug 2009 07:58:32 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [91.121.26.85]) by core3.amsl.com (Postfix) with ESMTP id 05DD03A6968; Thu, 13 Aug 2009 07:58:31 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.13.8/8.13.8) with ESMTP id n7DEuCJg052586; Thu, 13 Aug 2009 16:56:12 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <200908131456.n7DEuCJg052586@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
In-reply-to: Your message of Tue, 11 Aug 2009 09:58:00 +0200. <4688BD0B-0CF7-4B7C-9E5F-D12A41D4B295@net.t-labs.tu-berlin.de> 
Date: Thu, 13 Aug 2009 16:56:12 +0200
Sender: Francis.Dupont@fdupont.fr
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 14:58:33 -0000

 In your previous mail you wrote:

   If you want LISP on a desktop OS you need to update that OS, hence at  
   the same time you can patch it to handle the 0 UDP checksum  
   consequently.

=> I disagree, it is easy to implement LISP in user mode (using
the tun/tap interface/device driver for instance).

Regards

Francis.Dupont@fdupont.fr

From remi.despres@free.fr  Thu Aug 13 08:14:26 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71A3A3A6AF4; Thu, 13 Aug 2009 08:14:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.815
X-Spam-Level: 
X-Spam-Status: No, score=-1.815 tagged_above=-999 required=5 tests=[AWL=0.134,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 gH5-A92xDgiP; Thu, 13 Aug 2009 08:14:25 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id C92D63A6A6B; Thu, 13 Aug 2009 08:13:57 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 820FDE08056; Thu, 13 Aug 2009 17:13:36 +0200 (CEST)
Received: from [192.168.0.21] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 1F52CE0810F; Thu, 13 Aug 2009 17:13:34 +0200 (CEST)
In-Reply-To: <EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com>
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <EE1AB0C9-FEA2-4A37-AAC7-415C477A7155@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 17:13:30 +0200
To: Fred Baker <fred@cisco.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Margaret Wasserman <mrw@sandstorm.net>, ipv6@ietf.org, lisp@ietf.org, Dino Farinacci <dino@cisco.com>, Noel Chiappa <jnc@mercury.lcs.mit.edu>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 15:14:26 -0000

Fred,

Your proposal seems to me in the best direction.

For a full agreement, it would however be appropriate IMHO to be more =20=

precise:
- A v4 to v6 translator MAY (for efficiency) not recalculate =20
checksums of UDP datagrams received with zero checksums.
- If it doesn't recalculate them, it SHOULD forward datagrams with =20
their zero checksum
- An IPv4 host MAY transmit zero-checksum UDP datagrams and MUST =20
accept them
- An IPv6 host MUST transmit UDP datagrams with non-zero checksums =20
and MAY accept them with zero checksums.

Would this fit with what you wish?

Regards,
RD



Le 11 ao=FBt 09 =E0 19:13, Fred Baker a =E9crit :
> I would expect a NAT that saw a zero value to not recalculate the =20
> checksum.
>
> I agree that the unilateral change to the UDP protocol built into =20
> RFC 2460 was a bad idea; if you want to change UDP, change UDP. =20
> That is probably water under the bridge now.
>
> I think that I would word this as:
>
> UDP Checksum: this field MAY be transmitted as zero, and the =20
> receiver MAY ignore the checksum on receipt.

From dino@cisco.com  Thu Aug 13 08:33:10 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ACE7A3A6B67; Thu, 13 Aug 2009 08:33:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.57
X-Spam-Level: 
X-Spam-Status: No, score=-6.57 tagged_above=-999 required=5 tests=[AWL=0.029,  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 xWIYO0YvbwWo; Thu, 13 Aug 2009 08:33:10 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id E5E5E3A6A9C; Thu, 13 Aug 2009 08:33:09 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAO/Mg0qrR7MV/2dsb2JhbAC7aYgrkQAFhBk
X-IronPort-AV: E=Sophos;i="4.43,375,1246838400"; d="scan'208";a="366735264"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 13 Aug 2009 15:24:27 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n7DFOR7G004768;  Thu, 13 Aug 2009 08:24:27 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n7DFORcZ019122; Thu, 13 Aug 2009 15:24:27 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 13 Aug 2009 08:24:27 -0700
Received: from [192.168.1.3] ([10.21.71.150]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 13 Aug 2009 08:24:27 -0700
Message-Id: <86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Lars Eggert <lars.eggert@nokia.com>
In-Reply-To: <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 08:24:27 -0700
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 13 Aug 2009 15:24:27.0194 (UTC) FILETIME=[253561A0:01CA1C2A]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=453; t=1250177067; x=1251041067; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=ZJL5R0SximRSJLwLo8LizC4+vk3LEiWOdgLMv0dts7Q=; b=iP1464E6HM6ZPfWFbYlu/giKaNW/JdcoSCduHQTYWaWADtofxL25PQ4ysP h+XBfekK4DCB6bmZkrjam+ip5pVUbC7BGX9TbWYQohb6/C7U+biGDAprzDUC C9QqfdAzy0to5vfzRxi/rlD06gWfgTSg/ziDeBjdO8RL5w0TY6IZ8=;
Authentication-Results: sj-dkim-1; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: "lisp@ietf.org" <lisp@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 15:33:10 -0000

> On 2009-8-11, at 19:55, Dino Farinacci wrote:
>> If we changed the text in the LISP draft from "MUST" to "MAY", would
>> we still need to write the accompanying document to RFC 2460?
>>
>> Maybe Lars can comment on this.
>
> In my opinion, any change from the MUST in RFC2460 requires updating  
> RFC2460.
>
> Lars

 From my text I wrote above, if we changed from MUST to MAY *in the  
LISP draft*, do we have to update RFC2460?

Dino


From fred@cisco.com  Thu Aug 13 08:36:44 2009
Return-Path: <fred@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E8B3D3A6968; Thu, 13 Aug 2009 08:36:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.813
X-Spam-Level: 
X-Spam-Status: No, score=-105.813 tagged_above=-999 required=5 tests=[AWL=0.486, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 u2+SRLN0L2WN; Thu, 13 Aug 2009 08:36:44 -0700 (PDT)
Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by core3.amsl.com (Postfix) with ESMTP id 34B9D3A6945; Thu, 13 Aug 2009 08:36:44 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.43,375,1246838400"; d="scan'208";a="40831252"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-4.cisco.com with ESMTP; 13 Aug 2009 15:33:26 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n7DFXQkO023446;  Thu, 13 Aug 2009 08:33:26 -0700
Received: from stealth-10-32-244-222.cisco.com (stealth-10-32-244-222.cisco.com [10.32.244.222]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7DFXQPo016503; Thu, 13 Aug 2009 15:33:26 GMT
Message-Id: <5B6CD463-F1ED-4D17-A023-126F3DBB9374@cisco.com>
From: Fred Baker <fred@cisco.com>
To: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <EE1AB0C9-FEA2-4A37-AAC7-415C477A7155@free.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 08:33:25 -0700
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com> <EE1AB0C9-FEA2-4A37-AAC7-415C477A7155@free.fr>
X-Mailer: Apple Mail (2.936)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1515; t=1250177606; x=1251041606; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fred@cisco.com; z=From:=20Fred=20Baker=20<fred@cisco.com> |Subject:=20Re=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=kmGb/ffGClCSLg9wi4SQZN19MRz3kOrempPdAFqNQrU=; b=LcQWqTGja61Gbdw4wtH3uxgS7phLpBo96/e9aJM0qGRomCefqdr/6eSoNs e1pd/5/ZYIivYH6030lfQWmI+yoHvYSn/leilWK88h3/6irPrFNRWrJSYY2B U4zKdh6Jnd;
Authentication-Results: sj-dkim-4; header.From=fred@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); 
Cc: Margaret Wasserman <mrw@sandstorm.net>, ipv6@ietf.org, lisp@ietf.org, Dino Farinacci <dino@cisco.com>, Noel Chiappa <jnc@mercury.lcs.mit.edu>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 15:36:45 -0000

that of course begs the question of what a system that forwards =20
traffic from an interface to a tunnel-like encapsulation is; I tend to =20=

think that it did something with a packet not directed to it and is =20
therefore a router, but your text below would suggest that it is a host.

On Aug 13, 2009, at 8:13 AM, R=E9mi Despr=E9s wrote:

> Fred,
>
> Your proposal seems to me in the best direction.
>
> For a full agreement, it would however be appropriate IMHO to be =20
> more precise:
> - A v4 to v6 translator MAY (for efficiency) not recalculate =20
> checksums of UDP datagrams received with zero checksums.
> - If it doesn't recalculate them, it SHOULD forward datagrams with =20
> their zero checksum
> - An IPv4 host MAY transmit zero-checksum UDP datagrams and MUST =20
> accept them
> - An IPv6 host MUST transmit UDP datagrams with non-zero checksums =20
> and MAY accept them with zero checksums.
>
> Would this fit with what you wish?
>
> Regards,
> RD
>
>
>
> Le 11 ao=FBt 09 =E0 19:13, Fred Baker a =E9crit :
>> I would expect a NAT that saw a zero value to not recalculate the =20
>> checksum.
>>
>> I agree that the unilateral change to the UDP protocol built into =20
>> RFC 2460 was a bad idea; if you want to change UDP, change UDP. =20
>> That is probably water under the bridge now.
>>
>> I think that I would word this as:
>>
>> UDP Checksum: this field MAY be transmitted as zero, and the =20
>> receiver MAY ignore the checksum on receipt.


From fred@cisco.com  Thu Aug 13 08:39:39 2009
Return-Path: <fred@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E8AEA3A6968; Thu, 13 Aug 2009 08:39:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.976
X-Spam-Level: 
X-Spam-Status: No, score=-105.976 tagged_above=-999 required=5 tests=[AWL=0.623, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 ijwu3CuAYSBW; Thu, 13 Aug 2009 08:39:39 -0700 (PDT)
Received: from sj-iport-3.cisco.com (sj-iport-3.cisco.com [171.71.176.72]) by core3.amsl.com (Postfix) with ESMTP id 501623A6A57; Thu, 13 Aug 2009 08:38:55 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.43,375,1246838400"; d="scan'208";a="183258298"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-3.cisco.com with ESMTP; 13 Aug 2009 15:30:59 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n7DFUxw0032076;  Thu, 13 Aug 2009 08:30:59 -0700
Received: from stealth-10-32-244-222.cisco.com (stealth-10-32-244-222.cisco.com [10.32.244.222]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7DFUxVO012659; Thu, 13 Aug 2009 15:30:59 GMT
Message-Id: <621F6751-6352-4C1F-BDEA-5F30FB7B8A54@cisco.com>
From: Fred Baker <fred@cisco.com>
To: Lars Eggert <lars.eggert@nokia.com>
In-Reply-To: <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 08:30:59 -0700
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>
X-Mailer: Apple Mail (2.936)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=349; t=1250177459; x=1251041459; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fred@cisco.com; z=From:=20Fred=20Baker=20<fred@cisco.com> |Subject:=20Re=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=+bb7meVE1IFL7M8vC7r/UQ67gGNU2hXH9bjkzhNhNDA=; b=gW6YVSobN3asblxpbxZlAZqiG8ye44yVrBG1I2gmI6tV2NB3tjuJs8km12 gRHNakvEZXcp6Bk6bxr9g/Sm0oxR7zwQ1NoUH5P/D8BUSzQmb+kwKlGhrJqw auzwDtepQv;
Authentication-Results: sj-dkim-2; header.From=fred@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
Cc: Margaret Wasserman <mrw@sandstorm.net>, "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>, Noel Chiappa <jnc@mercury.lcs.mit.edu>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 15:39:40 -0000

On Aug 13, 2009, at 12:39 AM, Lars Eggert wrote:

> In my opinion, any change from the MUST in RFC2460 requires updating  
> RFC2460.

No problem. Rip out of 2460-bis anything that is not related to IPv6,  
and say that it MUST be implemented as a change to RFC 768 or whatever  
else. That's what should have happened in the first place.

From luigi@net.t-labs.tu-berlin.de  Thu Aug 13 08:45:02 2009
Return-Path: <luigi@net.t-labs.tu-berlin.de>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9B1183A68A6; Thu, 13 Aug 2009 08:45:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.07
X-Spam-Level: 
X-Spam-Status: No, score=-2.07 tagged_above=-999 required=5 tests=[AWL=0.179,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 vALxR8PWMArm; Thu, 13 Aug 2009 08:45:02 -0700 (PDT)
Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by core3.amsl.com (Postfix) with ESMTP id D14543A6882; Thu, 13 Aug 2009 08:45:01 -0700 (PDT)
Received: from dyn106.net.t-labs.tu-berlin.de (dyn106.net.t-labs.tu-berlin.de [130.149.220.106]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id 145C0700DBAC; Thu, 13 Aug 2009 17:41:51 +0200 (CEST)
Message-Id: <61B4EB06-2B89-4AA9-B0F2-B417F7173E77@net.t-labs.tu-berlin.de>
From: Luigi Iannone <luigi@net.t-labs.tu-berlin.de>
To: Francis Dupont <Francis.Dupont@fdupont.fr>
In-Reply-To: <200908131456.n7DEuCJg052586@givry.fdupont.fr>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue] 
Date: Thu, 13 Aug 2009 17:41:50 +0200
References: <200908131456.n7DEuCJg052586@givry.fdupont.fr>
X-Mailer: Apple Mail (2.936)
Cc: ipv6@ietf.org, lisp@ietf.org, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 15:45:02 -0000

On Aug 13, 2009, at 16:56 , Francis Dupont wrote:

> In your previous mail you wrote:
>
>   If you want LISP on a desktop OS you need to update that OS, hence  
> at
>   the same time you can patch it to handle the 0 UDP checksum
>   consequently.
>
> => I disagree, it is easy to implement LISP in user mode (using
> the tun/tap interface/device driver for instance).
>

It is also easy to do it with pcap and then you do what you want with  
the packet.

Luigi


> Regards
>
> Francis.Dupont@fdupont.fr


From lars.eggert@nokia.com  Thu Aug 13 09:46:41 2009
Return-Path: <lars.eggert@nokia.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4475D3A6B8A; Thu, 13 Aug 2009 09:46:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.456
X-Spam-Level: 
X-Spam-Status: No, score=-2.456 tagged_above=-999 required=5 tests=[AWL=0.143,  BAYES_00=-2.599]
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 DD4NeVxUWRxm; Thu, 13 Aug 2009 09:46:40 -0700 (PDT)
Received: from mail.fit.nokia.com (mail.fit.nokia.com [195.148.124.195]) by core3.amsl.com (Postfix) with ESMTP id E3E5A3A68CF; Thu, 13 Aug 2009 09:46:39 -0700 (PDT)
Received: from [10.0.1.5] (cs95024.pp.htv.fi [212.90.95.24]) (authenticated bits=0) by mail.fit.nokia.com (8.14.3/8.14.3) with ESMTP id n7DGLZUr039769 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 13 Aug 2009 19:21:35 +0300 (EEST) (envelope-from lars.eggert@nokia.com)
Message-Id: <E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com>
From: Lars Eggert <lars.eggert@nokia.com>
To: Dino Farinacci <dino@cisco.com>
In-Reply-To: <86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com>
Content-Type: multipart/signed; boundary=Apple-Mail-26--857127856; micalg=sha1; protocol="application/pkcs7-signature"
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 19:21:35 +0300
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com> <86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com>
X-Mailer: Apple Mail (2.936)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.2 (mail.fit.nokia.com [195.148.124.194]); Thu, 13 Aug 2009 19:21:35 +0300 (EEST)
Cc: "lisp@ietf.org" <lisp@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 16:46:41 -0000

--Apple-Mail-26--857127856
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hi,

yes, because RFC2460 says "MUST use always" and the intent here is to  
loosen that restriction for LISP and AMT.

(And I'm sure Noel will again call this "red-tape legalese", but the  
fact is that this change revises the standing IETF consensus, and  
there's a process for that.)

Lars

On 2009-8-13, at 18:24, Dino Farinacci wrote:

>> On 2009-8-11, at 19:55, Dino Farinacci wrote:
>>> If we changed the text in the LISP draft from "MUST" to "MAY", would
>>> we still need to write the accompanying document to RFC 2460?
>>>
>>> Maybe Lars can comment on this.
>>
>> In my opinion, any change from the MUST in RFC2460 requires updating
>> RFC2460.
>>
>> Lars
>
> From my text I wrote above, if we changed from MUST to MAY *in the
> LISP draft*, do we have to update RFC2460?
>
> Dino
>


--Apple-Mail-26--857127856
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGQDCCAvkw
ggJioAMCAQICEEi7WbMMKa2GLKFpQDaOBQEwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDgyMzE3NDMzOVoXDTA5MDgyMzE3NDMz
OVowXDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2Vy
dDEkMCIGCSqGSIb3DQEJARYVbGFycy5lZ2dlcnRAbm9raWEuY29tMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAlwQVktJZCY89iU6jcW1XnZQN+aMgF2utCUT3H3ZKB5Jbet1SDWt0md/W
571bHjxtn9CfEJdochNL3l9f1WiJNdVbJ182557Ltx9SojqthpqtA0jKEqo2gqrf+raUj1demmo0
6ocsLqv046CrwidOp6k0RAfvkKPLhD4PD9Nk3oaZuxqBz1wY4u8Q83iWMArDeXiQxfNZnOBz5cDs
VvVjTjitm3VANkbD02tNkwl5AHw7htde4yH8hIwlfzqsAtHBEah3HyOvs9b+gHg2pFz9eS+HuotY
ZKycCweRs8NKXoCg+zAkVYi3zvZEH2VOuPlpMQMrB9+fLWg2UBsTeZ864wIDAQABozIwMDAgBgNV
HREEGTAXgRVsYXJzLmVnZ2VydEBub2tpYS5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUF
AAOBgQBMdV2U+ryV5t3nuBFH19XKflodN6Bc60GBYHHY/Z0+Cl08Q75qzTt02IILBg+/YVh/fygb
6pFrOm1sFtLN7fENBfbO2VtpFjP2lGUgbXTVT5xGM6+MtqZiBI6LqexAeY6gsd/taoUfy9fZG42d
ciBA9gSGlQjjWQyG8mb5HR8L9jCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJ
BgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMg
RGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3
DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3
MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5
KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzAN
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9
fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+
uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMB
Af8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3
dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgG
A1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNmrGcP
f6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH
2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8x
ggMQMIIDDAIBATB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo
UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQ
SLtZswwprYYsoWlANo4FATAJBgUrDgMCGgUAoIIBbzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB
MBwGCSqGSIb3DQEJBTEPFw0wOTA4MTMxNjIxMzVaMCMGCSqGSIb3DQEJBDEWBBQVFRFJdHehtGHq
UFqTe65eiCzOHTCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEwgYcGCyqGSIb3DQEJEAILMXigdjBiMQsw
CQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEi7WbMMKa2GLKFpQDaOBQEw
DQYJKoZIhvcNAQEBBQAEggEABYrP6jvLyF0uiNzG2sF2GWyJx6Lse+LJ+GozuD2V4fpGNWQWIQIv
L8Rniqj+S5HRC5kwYU1RpZOguTp2YOTVPNkOc5EmP8iWMooSscLQlQextqHTzDy9JrJ1ZEpSmOHE
3pzHy/hNiVnkSj+FTyaI7njls8ZfTbwOn73+XXuwp2ivauyeypOHLI25otC1XbQYL05WMNU91VNT
3LLCuhNGCu5d6ZQYKR9yk+QII8Y9rdBiI/5h7ewgW1zh83nbv+FRVBHdrwcvEyea12UKlNXeoyEc
ysIPnyjSeJMK6tMpsf0/hjxs2+Mng/LJBkl2mo6PB312CVA78a4KWJE+o5+qqQAAAAAAAA==

--Apple-Mail-26--857127856--

From remi.despres@free.fr  Thu Aug 13 10:20:30 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 42B963A6AE6; Thu, 13 Aug 2009 10:20:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.822
X-Spam-Level: 
X-Spam-Status: No, score=-1.822 tagged_above=-999 required=5 tests=[AWL=0.127,  BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 p1Mexlv4RkCL; Thu, 13 Aug 2009 10:20:29 -0700 (PDT)
Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by core3.amsl.com (Postfix) with ESMTP id A65F43A693C; Thu, 13 Aug 2009 10:20:27 -0700 (PDT)
Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 36A0FE08096; Thu, 13 Aug 2009 19:20:13 +0200 (CEST)
Received: from [192.168.0.21] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp6-g21.free.fr (Postfix) with ESMTP id 85965E080E1; Thu, 13 Aug 2009 19:20:10 +0200 (CEST)
In-Reply-To: <5B6CD463-F1ED-4D17-A023-126F3DBB9374@cisco.com>
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com> <EE1AB0C9-FEA2-4A37-AAC7-415C477A7155@free.fr> <5B6CD463-F1ED-4D17-A023-126F3DBB9374@cisco.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <262D32F1-B0DE-45F8-864C-D1265AB2D99D@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 19:20:07 +0200
To: Fred Baker <fred@cisco.com>
X-Mailer: Apple Mail (2.753.1)
Cc: Margaret Wasserman <mrw@sandstorm.net>, ipv6@ietf.org, lisp@ietf.org, Dino Farinacci <dino@cisco.com>, Noel Chiappa <jnc@mercury.lcs.mit.edu>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 17:20:30 -0000

Le 13 ao=FBt 09 =E0 17:33, Fred Baker a =E9crit :

> that of course begs the question of what a system that forwards =20
> traffic from an interface to a tunnel-like encapsulation is; I tend =20=

> to think that it did something with a packet not directed to it and =20=

> is therefore a router,

The distinction between a router and a host is not always clear.
Basically, a node acts "as a host" on packets
- it receives with a destination address that is one of its own =20
addresses
- it sends with a source address that is one of its own addresses.
It acts "as a router" on other packets

Thus, an encapsulating function:
- acts "as a host" on the link where outer headers are routed.
- acts as link layer interface module to a "router function" on its =20
side where packets have only the inner headers.

Would this clarify (or make things worth)?

Regards,
RD




> but your text below would suggest that it is a host.
>
> On Aug 13, 2009, at 8:13 AM, R=E9mi Despr=E9s wrote:
>
>> Fred,
>>
>> Your proposal seems to me in the best direction.
>>
>> For a full agreement, it would however be appropriate IMHO to be =20
>> more precise:
>> - A v4 to v6 translator MAY (for efficiency) not recalculate =20
>> checksums of UDP datagrams received with zero checksums.
>> - If it doesn't recalculate them, it SHOULD forward datagrams with =20=

>> their zero checksum
>> - An IPv4 host MAY transmit zero-checksum UDP datagrams and MUST =20
>> accept them
>> - An IPv6 host MUST transmit UDP datagrams with non-zero checksums =20=

>> and MAY accept them with zero checksums.
>>
>> Would this fit with what you wish?
>>
>> Regards,
>> RD
>>
>>
>>
>> Le 11 ao=FBt 09 =E0 19:13, Fred Baker a =E9crit :
>>> I would expect a NAT that saw a zero value to not recalculate the =20=

>>> checksum.
>>>
>>> I agree that the unilateral change to the UDP protocol built into =20=

>>> RFC 2460 was a bad idea; if you want to change UDP, change UDP. =20
>>> That is probably water under the bridge now.
>>>
>>> I think that I would word this as:
>>>
>>> UDP Checksum: this field MAY be transmitted as zero, and the =20
>>> receiver MAY ignore the checksum on receipt.
>


From hartmans@mit.edu  Thu Aug 13 10:50:26 2009
Return-Path: <hartmans@mit.edu>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3067D3A6CCA; Thu, 13 Aug 2009 10:50:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.284
X-Spam-Level: 
X-Spam-Status: No, score=-2.284 tagged_above=-999 required=5 tests=[AWL=-0.019, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 yjF0HZqelQBE; Thu, 13 Aug 2009 10:50:25 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) by core3.amsl.com (Postfix) with ESMTP id 6EDDA3A6B9A; Thu, 13 Aug 2009 10:50:25 -0700 (PDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 15536641DA; Thu, 13 Aug 2009 13:50:21 -0400 (EDT)
To: Lars Eggert <lars.eggert@nokia.com>
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com> <86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com> <E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Thu, 13 Aug 2009 13:50:21 -0400
In-Reply-To: <E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com> (Lars Eggert's message of "Thu\, 13 Aug 2009 19\:21\:35 +0300")
Message-ID: <tslhbwbbo2q.fsf@mit.edu>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Margaret Wasserman <mrw@sandstorm.net>, "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Dino Farinacci <dino@cisco.com>, Noel Chiappa <jnc@mercury.lcs.mit.edu>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 17:50:26 -0000

>>>>> "Lars" == Lars Eggert <lars.eggert@nokia.com> writes:

    Lars> Hi, yes, because RFC2460 says "MUST use always" and the
    Lars> intent here is to loosen that restriction for LISP and AMT.

    Lars> (And I'm sure Noel will again call this "red-tape legalese",
    Lars> but the fact is that this change revises the standing IETF
    Lars> consensus, and there's a process for that.)

Something that apparently isn't obvious to some WG participants who
have contacted me off-list is that it is quite possible to change an
IETF consensus.  When Margaret, Lars and I talk about doing things
like updating RFC 2460, we're not talking about what we think should
be a obstruction once we've done the work to decide what the right
technical direction is.

We've all been on the IESG and are used to these sorts of updates as a
routine matter of IETF business.

In the simplest case, you're talking about writing a potentially short
draft that updates the spec in question.  You then find the
appropriate AD or working group to sponsor the draft and go through
the normal process.

Yes, you do actually have to build consensus.  For some updates,
that's easy, for others it is very difficult.  That's how we all
convince each other that we actually have thought things through and
come to the right decision.

From Fred.L.Templin@boeing.com  Thu Aug 13 11:18:48 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 601573A67AA; Thu, 13 Aug 2009 11:18:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.875
X-Spam-Level: 
X-Spam-Status: No, score=-5.875 tagged_above=-999 required=5 tests=[AWL=0.424,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 hHzdkVjtNmGT; Thu, 13 Aug 2009 11:18:47 -0700 (PDT)
Received: from slb-smtpout-01.boeing.com (slb-smtpout-01.boeing.com [130.76.64.48]) by core3.amsl.com (Postfix) with ESMTP id 831C53A6C2F; Thu, 13 Aug 2009 11:18:47 -0700 (PDT)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by slb-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7DIIOC9024842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Aug 2009 11:18:24 -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 n7DIIN2R003478; Thu, 13 Aug 2009 11:18:23 -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 n7DIIMbL003418; Thu, 13 Aug 2009 11:18:23 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 13 Aug 2009 11:18:18 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 11:18:15 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106455A2C@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <262D32F1-B0DE-45F8-864C-D1265AB2D99D@free.fr>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lisp] Judging Consensus on the UDP Checksum Issue
Thread-Index: AcocOnJScrAsfl1WRvy0Yf7FqvYBaAAB0tOQ
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu><928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net><32AADADD-6A45-4565-91D5-F095AE713215@cisco.com><EFF1C323-0C49-4CBC-9101-9009CA2308B2@cisco.com><EE1AB0C9-FEA2-4A37-AAC7-415C477A7155@free.fr><5B6CD463-F1ED-4D17-A023-126F3DBB9374@cisco.com> <262D32F1-B0DE-45F8-864C-D1265AB2D99D@free.fr>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: =?iso-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>, "Fred Baker" <fred@cisco.com>
X-OriginalArrivalTime: 13 Aug 2009 18:18:18.0397 (UTC) FILETIME=[6EB0A4D0:01CA1C42]
Cc: Noel Chiappa <jnc@mercury.lcs.mit.edu>, ipv6@ietf.org, lisp@ietf.org, Dino Farinacci <dino@cisco.com>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 18:18:48 -0000

Any node (host or router) that configures a tunnel endpoint
is the source of packets that it originates from its tunnel
interface. As such, it may perform host-based fragmentation,
receive ICMP errors, etc. in a way that is typically associated
with a host.

Whether you view it as a router with an embedded host function
or a host with an embedded gateway function is dependent on
specific use cases and/or one's point of view.

Fred
fred.l.templin@boeing.com

> -----Original Message-----
> From: R=E9mi Despr=E9s [mailto:remi.despres@free.fr]
> Sent: Thursday, August 13, 2009 10:20 AM
> To: Fred Baker
> Cc: Margaret Wasserman; ipv6@ietf.org; lisp@ietf.org; Dino Farinacci; =
Noel Chiappa
> Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
>=20
>=20
> Le 13 ao=FBt 09 =E0 17:33, Fred Baker a =E9crit :
>=20
> > that of course begs the question of what a system that forwards
> > traffic from an interface to a tunnel-like encapsulation is; I tend
> > to think that it did something with a packet not directed to it and
> > is therefore a router,
>=20
> The distinction between a router and a host is not always clear.
> Basically, a node acts "as a host" on packets
> - it receives with a destination address that is one of its own
> addresses
> - it sends with a source address that is one of its own addresses.
> It acts "as a router" on other packets
>=20
> Thus, an encapsulating function:
> - acts "as a host" on the link where outer headers are routed.
> - acts as link layer interface module to a "router function" on its
> side where packets have only the inner headers.
>=20
> Would this clarify (or make things worth)?
>=20
> Regards,
> RD
>=20
>=20
>=20
>=20
> > but your text below would suggest that it is a host.
> >
> > On Aug 13, 2009, at 8:13 AM, R=E9mi Despr=E9s wrote:
> >
> >> Fred,
> >>
> >> Your proposal seems to me in the best direction.
> >>
> >> For a full agreement, it would however be appropriate IMHO to be
> >> more precise:
> >> - A v4 to v6 translator MAY (for efficiency) not recalculate
> >> checksums of UDP datagrams received with zero checksums.
> >> - If it doesn't recalculate them, it SHOULD forward datagrams with
> >> their zero checksum
> >> - An IPv4 host MAY transmit zero-checksum UDP datagrams and MUST
> >> accept them
> >> - An IPv6 host MUST transmit UDP datagrams with non-zero checksums
> >> and MAY accept them with zero checksums.
> >>
> >> Would this fit with what you wish?
> >>
> >> Regards,
> >> RD
> >>
> >>
> >>
> >> Le 11 ao=FBt 09 =E0 19:13, Fred Baker a =E9crit :
> >>> I would expect a NAT that saw a zero value to not recalculate the
> >>> checksum.
> >>>
> >>> I agree that the unilateral change to the UDP protocol built into
> >>> RFC 2460 was a bad idea; if you want to change UDP, change UDP.
> >>> That is probably water under the bridge now.
> >>>
> >>> I think that I would word this as:
> >>>
> >>> UDP Checksum: this field MAY be transmitted as zero, and the
> >>> receiver MAY ignore the checksum on receipt.
> >
>=20
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------

From dino@cisco.com  Thu Aug 13 12:47:01 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3471828C1D1; Thu, 13 Aug 2009 12:47:01 -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 M0DX5ewKAvhB; Thu, 13 Aug 2009 12:47:00 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 47D7D3A67FF; Thu, 13 Aug 2009 12:47:00 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAAsLhEqrR7O6/2dsb2JhbAC7K4grkRoFhBk
X-IronPort-AV: E=Sophos;i="4.43,375,1246838400"; d="scan'208";a="366902668"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-6.cisco.com with ESMTP; 13 Aug 2009 19:46:57 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n7DJkv3u002987;  Thu, 13 Aug 2009 12:46:57 -0700
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id n7DJkv1R008119; Thu, 13 Aug 2009 19:46:57 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 13 Aug 2009 12:46:57 -0700
Received: from dhcp-171-71-55-195.cisco.com ([171.71.55.195]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 13 Aug 2009 12:46:57 -0700
Message-Id: <5AFA24E6-8971-4976-AA24-B1C48AC6470C@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Lars Eggert <lars.eggert@nokia.com>
In-Reply-To: <E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 12:46:57 -0700
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu> <928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net> <32AADADD-6A45-4565-91D5-F095AE713215@cisco.com> <CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com> <86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com> <E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 13 Aug 2009 19:46:57.0518 (UTC) FILETIME=[D12218E0:01CA1C4E]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=962; t=1250192817; x=1251056817; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=QnCWhm0jPdMHzzbJn0Op43VqAi0M2UVC8yQFTNrf1lo=; b=Y2HkcIYKz5UO6zLYNnQUAVmZf5l42ePiKbqgcaJngUS7hXbPiLjch4jGfA 1kl7xOzeMOv3gf4CjzM/yzGz8aRWLOAMsWwLg4DjsvQbEDhbklj9ri7x/09R 94QbL9L8E2;
Authentication-Results: sj-dkim-2; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
Cc: "lisp@ietf.org" <lisp@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, Margaret Wasserman <mrw@sandstorm.net>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 19:47:01 -0000

Ack. Thanks for the answer.

Dino

On Aug 13, 2009, at 9:21 AM, Lars Eggert wrote:

> Hi,
>
> yes, because RFC2460 says "MUST use always" and the intent here is  
> to loosen that restriction for LISP and AMT.
>
> (And I'm sure Noel will again call this "red-tape legalese", but the  
> fact is that this change revises the standing IETF consensus, and  
> there's a process for that.)
>
> Lars
>
> On 2009-8-13, at 18:24, Dino Farinacci wrote:
>
>>> On 2009-8-11, at 19:55, Dino Farinacci wrote:
>>>> If we changed the text in the LISP draft from "MUST" to "MAY",  
>>>> would
>>>> we still need to write the accompanying document to RFC 2460?
>>>>
>>>> Maybe Lars can comment on this.
>>>
>>> In my opinion, any change from the MUST in RFC2460 requires updating
>>> RFC2460.
>>>
>>> Lars
>>
>> From my text I wrote above, if we changed from MUST to MAY *in the
>> LISP draft*, do we have to update RFC2460?
>>
>> Dino
>>
>


From brian@innovationslab.net  Thu Aug 13 15:13:22 2009
Return-Path: <brian@innovationslab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D05C028C178; Thu, 13 Aug 2009 15:13:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 rDRBCNDPMzAK; Thu, 13 Aug 2009 15:13:22 -0700 (PDT)
Received: from uillean.fuaim.com (uillean.fuaim.com [206.197.161.140]) by core3.amsl.com (Postfix) with ESMTP id 0F8463A67B8; Thu, 13 Aug 2009 15:13:22 -0700 (PDT)
Received: from clairseach.fuaim.com (clairseach.fuaim.com [206.197.161.141]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by uillean.fuaim.com (Postfix) with ESMTP id 3B1AA8820F; Thu, 13 Aug 2009 13:54:55 -0700 (PDT)
Received: from Clemson-2.local (c-69-255-98-109.hsd1.md.comcast.net [69.255.98.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by clairseach.fuaim.com (Postfix) with ESMTP id CA0D5130002; Thu, 13 Aug 2009 13:54:52 -0700 (PDT)
Message-ID: <4A847D96.1070606@innovationslab.net>
Date: Thu, 13 Aug 2009 16:54:46 -0400
From: Brian Haberman <brian@innovationslab.net>
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu>	<928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net>	<32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>	<CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>	<86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com>	<E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com> <tslhbwbbo2q.fsf@mit.edu>
In-Reply-To: <tslhbwbbo2q.fsf@mit.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, Margaret Wasserman <mrw@sandstorm.net>, Dino Farinacci <dino@cisco.com>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 22:13:22 -0000

Sam Hartman wrote:
>>>>>> "Lars" == Lars Eggert <lars.eggert@nokia.com> writes:
> 
>     Lars> Hi, yes, because RFC2460 says "MUST use always" and the
>     Lars> intent here is to loosen that restriction for LISP and AMT.
> 
>     Lars> (And I'm sure Noel will again call this "red-tape legalese",
>     Lars> but the fact is that this change revises the standing IETF
>     Lars> consensus, and there's a process for that.)
> 
> Something that apparently isn't obvious to some WG participants who
> have contacted me off-list is that it is quite possible to change an
> IETF consensus.  When Margaret, Lars and I talk about doing things
> like updating RFC 2460, we're not talking about what we think should
> be a obstruction once we've done the work to decide what the right
> technical direction is.
> 
> We've all been on the IESG and are used to these sorts of updates as a
> routine matter of IETF business.
> 
> In the simplest case, you're talking about writing a potentially short
> draft that updates the spec in question.  You then find the
> appropriate AD or working group to sponsor the draft and go through
> the normal process.
> 
> Yes, you do actually have to build consensus.  For some updates,
> that's easy, for others it is very difficult.  That's how we all
> convince each other that we actually have thought things through and
> come to the right decision.

Finally a point that is appropriate to the 6man mailing list... There 
are two proposals on the table to do just that (modify the handling of 
UDP as defined in 2460).  The discussion should be on the tradeoffs of 
those two proposals.

http://tools.ietf.org/html/draft-eubanks-chimento-6man-00 proposes 
allowing UDP to have a zero checksum in certain conditions (i.e., outer 
checksum is zero as long as there is an encapsulated UDP checksum that 
is valid).

http://tools.ietf.org/html/draft-fairhurst-6man-tsvwg-udptt-01 proposes 
a "checksum per flow" approach that is applicable for UDP tunneled 
inside of UDP.

The chairs of 6MAN would like to here feedback on these drafts as they 
apply to the problem spaces raised (AMT, v4/v6 translators, and LISP).

Regards,
Brian

From tme@americafree.tv  Thu Aug 13 18:20:25 2009
Return-Path: <tme@americafree.tv>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 75CDA3A6A6C; Thu, 13 Aug 2009 18:20:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.582
X-Spam-Level: 
X-Spam-Status: No, score=-2.582 tagged_above=-999 required=5 tests=[AWL=0.017,  BAYES_00=-2.599]
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 TxoYfYGyLqQR; Thu, 13 Aug 2009 18:20:24 -0700 (PDT)
Received: from mail.americafree.tv (rossini.americafree.tv [63.105.122.34]) by core3.amsl.com (Postfix) with ESMTP id 7067A3A683A; Thu, 13 Aug 2009 18:20:24 -0700 (PDT)
Received: from [IPv6:::1] (rossini.americafree.tv [63.105.122.34]) by mail.americafree.tv (Postfix) with ESMTP id 49C5E47A0F11; Thu, 13 Aug 2009 21:20:27 -0400 (EDT)
Message-Id: <D6C226C3-8BF9-4C68-BBCB-9F9BB5430061@americafree.tv>
From: Marshall Eubanks <tme@americafree.tv>
To: Brian Haberman <brian@innovationslab.net>
In-Reply-To: <4A847D96.1070606@innovationslab.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 21:20:25 -0400
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu>	<928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net>	<32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>	<CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>	<86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com>	<E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com> <tslhbwbbo2q.fsf@mit.edu> <4A847D96.1070606@innovationslab.net>
X-Mailer: Apple Mail (2.936)
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, Margaret Wasserman <mrw@sandstorm.net>, Sam Hartman <hartmans-ietf@mit.edu>, Dino Farinacci <dino@cisco.com>, Noel Chiappa <jnc@mercury.lcs.mit.edu>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Aug 2009 01:20:25 -0000

On Aug 13, 2009, at 4:54 PM, Brian Haberman wrote:

> Sam Hartman wrote:
>>>>>>> "Lars" == Lars Eggert <lars.eggert@nokia.com> writes:
>>    Lars> Hi, yes, because RFC2460 says "MUST use always" and the
>>    Lars> intent here is to loosen that restriction for LISP and AMT.
>>    Lars> (And I'm sure Noel will again call this "red-tape legalese",
>>    Lars> but the fact is that this change revises the standing IETF
>>    Lars> consensus, and there's a process for that.)
>> Something that apparently isn't obvious to some WG participants who
>> have contacted me off-list is that it is quite possible to change an
>> IETF consensus.  When Margaret, Lars and I talk about doing things
>> like updating RFC 2460, we're not talking about what we think should
>> be a obstruction once we've done the work to decide what the right
>> technical direction is.
>> We've all been on the IESG and are used to these sorts of updates  
>> as a
>> routine matter of IETF business.
>> In the simplest case, you're talking about writing a potentially  
>> short
>> draft that updates the spec in question.  You then find the
>> appropriate AD or working group to sponsor the draft and go through
>> the normal process.
>> Yes, you do actually have to build consensus.  For some updates,
>> that's easy, for others it is very difficult.  That's how we all
>> convince each other that we actually have thought things through and
>> come to the right decision.
>
> Finally a point that is appropriate to the 6man mailing list...  
> There are two proposals on the table to do just that (modify the  
> handling of UDP as defined in 2460).  The discussion should be on  
> the tradeoffs of those two proposals.
>
> http://tools.ietf.org/html/draft-eubanks-chimento-6man-00 proposes  
> allowing UDP to have a zero checksum in certain conditions (i.e.,  
> outer checksum is zero as long as there is an encapsulated UDP  
> checksum that is valid).
>

We envision draft-eubanks-chimento-6man-00, should it
go through, as explicitly updating RFC2460 and the next version will  
reflect this.

Regards
Marshall

> http://tools.ietf.org/html/draft-fairhurst-6man-tsvwg-udptt-01  
> proposes a "checksum per flow" approach that is applicable for UDP  
> tunneled inside of UDP.
>
> The chairs of 6MAN would like to here feedback on these drafts as  
> they apply to the problem spaces raised (AMT, v4/v6 translators, and  
> LISP).
>
> Regards,
> Brian
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>


From dino@cisco.com  Thu Aug 13 20:44:31 2009
Return-Path: <dino@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E127D3A684C; Thu, 13 Aug 2009 20:44:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  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 LZKgjrbt0TsJ; Thu, 13 Aug 2009 20:44:30 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 284993A6881; Thu, 13 Aug 2009 20:44:30 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEANd6hEqrR7O6/2dsb2JhbAC6NIgrkSEFhBk
X-IronPort-AV: E=Sophos;i="4.43,378,1246838400"; d="scan'208";a="227835303"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-1.cisco.com with ESMTP; 14 Aug 2009 03:44:34 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n7E3iYxm028772;  Thu, 13 Aug 2009 20:44:34 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n7E3iYEK012362; Fri, 14 Aug 2009 03:44:34 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 13 Aug 2009 20:44:34 -0700
Received: from [192.168.1.4] ([10.21.72.137]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 13 Aug 2009 20:44:33 -0700
Message-Id: <63C59D04-8A9B-4F96-A69B-FE67BE0F08E2@cisco.com>
From: Dino Farinacci <dino@cisco.com>
To: Brian Haberman <brian@innovationslab.net>
In-Reply-To: <4A847D96.1070606@innovationslab.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: [lisp] Judging Consensus on the UDP Checksum Issue
Date: Thu, 13 Aug 2009 20:44:33 -0700
References: <20090811161852.7157A6BE591@mercury.lcs.mit.edu>	<928251FD-05DA-4588-96C1-2135A33AF96C@sandstorm.net>	<32AADADD-6A45-4565-91D5-F095AE713215@cisco.com>	<CEFD62DC-4877-49C3-9294-87DEFAE326E0@nokia.com>	<86D687BA-A9C9-4539-89FF-1FBD5E834C6A@cisco.com>	<E5FEC413-6EA4-4A2D-A6A5-C97384D65AE8@nokia.com> <tslhbwbbo2q.fsf@mit.edu> <4A847D96.1070606@innovationslab.net>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 14 Aug 2009 03:44:33.0765 (UTC) FILETIME=[89966150:01CA1C91]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=653; t=1250221474; x=1251085474; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[lisp]=20Judging=20Consensus=20on=20the =20UDP=20Checksum=20Issue |Sender:=20; bh=74HMcU8Ry6L/MwIz3YMh7if794kTrFLGdsR57IKGHu4=; b=HTyA4qThrNmXEjMWPEYcCLpMMDRuxcg1/EFbJPVbPUEKS8lck3A66poUkA taSwtl8xhd4poMTwg/Gk7HtZVComMPOH/7mFeB9f15vIFuc1OEzoPUDAw4KW aLF/HSQTNB;
Authentication-Results: sj-dkim-2; header.From=dino@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); 
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Noel Chiappa <jnc@mercury.lcs.mit.edu>, Margaret Wasserman <mrw@sandstorm.net>, Sam Hartman <hartmans-ietf@mit.edu>, "lisp@ietf.org" <lisp@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Aug 2009 03:44:32 -0000

> The chairs of 6MAN would like to here feedback on these drafts as  
> they apply to the problem spaces raised (AMT, v4/v6 translators, and  
> LISP).

 From my perspective, AMT and LISP both have the same requirements in  
terms of performance and having encapsulation work well over LAGs. It  
turns out that there is even a greater performance issue with AMT  
because as you replicate a multicast packet to each gateway tunnel,  
the outer IP addresses are different for each tunnel and therefore  
require a different pseudo-header to be built for each UDP replicated  
encapsulation.

So I am in support of Marshall's draft.

Dino


From bob.hinden@gmail.com  Fri Aug 14 12:29:53 2009
Return-Path: <bob.hinden@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E054A3A68E2 for <ipv6@core3.amsl.com>; Fri, 14 Aug 2009 12:29:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.421
X-Spam-Level: 
X-Spam-Status: No, score=-2.421 tagged_above=-999 required=5 tests=[AWL=0.178,  BAYES_00=-2.599]
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 vvTBBC86MzhE for <ipv6@core3.amsl.com>; Fri, 14 Aug 2009 12:29:53 -0700 (PDT)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by core3.amsl.com (Postfix) with ESMTP id 3E9BC28C1E4 for <ipv6@ietf.org>; Fri, 14 Aug 2009 12:29:48 -0700 (PDT)
Received: by fg-out-1718.google.com with SMTP id 16so376418fgg.18 for <ipv6@ietf.org>; Fri, 14 Aug 2009 12:29:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:subject:mime-version:date:cc :x-mailer; bh=4wjdAbSlrZM2Ddtg3WOkztBMjXWTuq+MqxzWnzTS1Kg=; b=Khd+EJ9jzt5uA8utkKYY0711X1TNUBTrOlTlBh3GwPB01or45pChL2INS81CVhXi8f kk6BvyO+feXwL32lOq2+lmP3CjzPTgBZypsybM7jPip4ovKu+SAoKq29o8Bc6d1l/Key 2oSrfUKPqF2lo7HroV7JYoYteC8stgN/LECQ8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:subject :mime-version:date:cc:x-mailer; b=A9Uz1P9+43W54O4yGN+opPuvB/GphmMvB29E3qYW29nKdxCbZW8iQELKBq6NIR+Gij Hjhx44Pw5d4Z0J3kXzOUjyvHxa6lE+R3GDqBkVBBP0ib7ptPzYAHZ7d+r26IOxNkGziV mfKm8Xdya5/lVHH5OS4D4+WDxkmk5zaCMPKPA=
Received: by 10.86.94.7 with SMTP id r7mr1444370fgb.11.1250278190014; Fri, 14 Aug 2009 12:29:50 -0700 (PDT)
Received: from ?209.97.124.53? ([209.97.124.53]) by mx.google.com with ESMTPS id 4sm2621168fgg.7.2009.08.14.12.29.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 Aug 2009 12:29:49 -0700 (PDT)
Message-Id: <D6B4DAD6-9281-4A62-ADF7-0BC535E7722C@gmail.com>
From: Bob Hinden <bob.hinden@gmail.com>
To: 6man Mailing List <ipv6@ietf.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Subject: IETF75 6man minutes
Mime-Version: 1.0 (Apple Message framework v936)
Date: Fri, 14 Aug 2009 12:29:26 -0700
X-Mailer: Apple Mail (2.936)
Cc: Brian Haberman <brian@innovationslab.net>, Bob Hinden <bob.hinden@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Aug 2009 19:29:54 -0000

The minutes for 6man session held at the Stockholm IETF can be found at:

   http://www.ietf.org/proceedings/75/minutes/6man.html

Many thanks to Aleksi Suhonen for taking the minutes!

Please send updates and/or corrections to the chairs.

Thanks,
Bob Hinden / Brian Haberman



From tme@americafree.tv  Fri Aug 14 15:45:40 2009
Return-Path: <tme@americafree.tv>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D79B33A6BEB for <ipv6@core3.amsl.com>; Fri, 14 Aug 2009 15:45:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.582
X-Spam-Level: 
X-Spam-Status: No, score=-2.582 tagged_above=-999 required=5 tests=[AWL=0.017,  BAYES_00=-2.599]
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 EjXxWtTDiYMg for <ipv6@core3.amsl.com>; Fri, 14 Aug 2009 15:45:40 -0700 (PDT)
Received: from mail.americafree.tv (rossini.americafree.tv [63.105.122.34]) by core3.amsl.com (Postfix) with ESMTP id 2F73E3A6872 for <ipv6@ietf.org>; Fri, 14 Aug 2009 15:45:40 -0700 (PDT)
Received: from [IPv6:::1] (rossini.americafree.tv [63.105.122.34]) by mail.americafree.tv (Postfix) with ESMTP id 07E3347BE743; Fri, 14 Aug 2009 18:45:43 -0400 (EDT)
Message-Id: <AB8E8C60-369A-4C53-B76C-906053D5C37B@americafree.tv>
From: Marshall Eubanks <tme@americafree.tv>
To: Bob Hinden <bob.hinden@gmail.com>
In-Reply-To: <D6B4DAD6-9281-4A62-ADF7-0BC535E7722C@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: IETF75 6man minutes
Date: Fri, 14 Aug 2009 18:45:42 -0400
References: <D6B4DAD6-9281-4A62-ADF7-0BC535E7722C@gmail.com>
X-Mailer: Apple Mail (2.936)
Cc: Brian Haberman <brian@innovationslab.net>, 6man Mailing List <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Aug 2009 22:45:40 -0000

On Aug 14, 2009, at 3:29 PM, Bob Hinden wrote:

> The minutes for 6man session held at the Stockholm IETF can be found  
> at:
>
> http://www.ietf.org/proceedings/75/minutes/6man.html
>
> Many thanks to Aleksi Suhonen for taking the minutes!
>
> Please send updates and/or corrections to the chairs.

The part on

6. The UDP Tunnel Transport mode

works for me.

Marshall

>
> Thanks,
> Bob Hinden / Brian Haberman
>
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>


From gnakibly@yahoo.com  Mon Aug 17 08:21:08 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A68893A6B03 for <ipv6@core3.amsl.com>; Mon, 17 Aug 2009 08:21:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.002
X-Spam-Level: 
X-Spam-Status: No, score=0.002 tagged_above=-999 required=5 tests=[BAYES_50=0.001, 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 rYIa4VcUp7wc for <ipv6@core3.amsl.com>; Mon, 17 Aug 2009 08:21:07 -0700 (PDT)
Received: from n70.bullet.mail.sp1.yahoo.com (n70.bullet.mail.sp1.yahoo.com [98.136.44.38]) by core3.amsl.com (Postfix) with SMTP id 94F893A6AE4 for <ipv6@ietf.org>; Mon, 17 Aug 2009 08:21:07 -0700 (PDT)
Received: from [216.252.122.219] by n70.bullet.mail.sp1.yahoo.com with NNFMP; 17 Aug 2009 15:21:12 -0000
Received: from [69.147.84.88] by t4.bullet.sp1.yahoo.com with NNFMP; 17 Aug 2009 15:21:12 -0000
Received: from [127.0.0.1] by omp204.mail.sp1.yahoo.com with NNFMP; 17 Aug 2009 15:21:12 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 929255.96689.bm@omp204.mail.sp1.yahoo.com
Received: (qmail 83234 invoked by uid 60001); 17 Aug 2009 15:21:12 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250522472; bh=aFwhQp/2YAUeE6RiHthyLsD9Qv4v2E0QoYy/7DH9Ib8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=gklmzotnVChiwl3Avgw8BzwkZAi6REZ1273X2UzmCtoma7r9qA9/Iix5BaWWUNQTd5zyEOX1KIENjj122uGMZQUaIK1s7iW5aGwBOXMltGSkrevmvGb6yDcNJI+AdGjwHO6aZwbpDkM1Pj90wJIMswHUEDtn/2YWuxthWAvnSiQ=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=acJr3zedFbpo32lqoBllfc9pYrM2Y33MYC69MS/r4l9zAXuA5XgtZOG2Hhu91gBOsU83E5ak6A4Ik7+ZGUxv62/NGuyCGSMnhMedgl6o7u6lR87MTfmDhXGlty1FVZjmVVNwDBPwuUn3wZ4teSh+mYM9VXSLEosgTn/KlmzRyA8=;
Message-ID: <789539.81531.qm@web45502.mail.sp1.yahoo.com>
X-YMail-OSG: wbhj3XYVM1nend3JxUs6Y_qC4.6wg5WEdsq8eavbVZlCDQ340jP0xBjqiV94KT4mqH88BsCMCdwa6fJ3oBQlfI4ZM4fh40oun5y847yvqbPiZvfKmcmZ97tjcpSA38DfSSGLTVRsvNMeQlz0Y6ORZ5gu5OFFp9y0cpFJ_LsWuJGMOzYCscUtWl1bMLCfaDmK0.ytUXXf1HW5qD9u09HZ98tkwQ00GqwvztM6Ri9KMRiaOYHKwTiBaMBdKUzfYZM4_EoYZOyVxEIphgwpBIk2ZvB5DT2g8EFmXAikYm0lMu.HtZuh4.fV
Received: from [89.138.113.91] by web45502.mail.sp1.yahoo.com via HTTP; Mon, 17 Aug 2009 08:21:12 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
Date: Mon, 17 Aug 2009 08:21:12 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Routing loop attacks using IPv6 tunnels
To: v6ops <v6ops@ops.ietf.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-619404899-1250522472=:81531"
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2009 15:21:08 -0000

--0-619404899-1250522472=:81531
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,=0AI would like to draw the attention of the list to=A0some=A0resear=
ch=A0results which my colleague and I at the National EW Research=A0& Simul=
ation=A0Center have recently published. The research presents a=A0class of =
routing loop attacks that abuses 6to4, ISATAP and Teredo. The=A0paper can b=
e found at: http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pd=
f=0A=0AHere is the abstract:=0AIPv6 is the future network layer protocol fo=
r the Internet. Since it is not compatible with its predecessor, some inter=
operability mechanisms were designed. An important category of these mechan=
isms is automatic tunnels, which enable IPv6 communication over an IPv4 net=
work without prior configuration. This category includes ISATAP, 6to4 and T=
eredo. We present a novel class of attacks that exploit vulnerabilities in =
these tunnels. These attacks take advantage of inconsistencies between a tu=
nnel's overlay IPv6 routing state and the native IPv6 routing state. The at=
tacks form routing loops which can be abused as a vehicle for traffic ampli=
fication to facilitate DoS attacks. We exhibit five attacks of this class. =
One of the presented attacks can DoS a Teredo server using a single packet.=
 The exploited vulnerabilities are embedded in the design of the tunnels; h=
ence any implementation of these tunnels may be vulnerable. In particular, =
the attacks were tested
 against the ISATAP, 6to4 and Teredo implementations of Windows Vista and W=
indows Server 2008 R2. =0A=0AI think the results of the research warrant so=
me corrective action. If this=A0indeed shall be the general sentiment of th=
e list, I will be happy write an appropriate I-D. The mitigation measures w=
e suggested in the paper are the best we could think of to completely elimi=
nate the problem. However they are far from perfect since=A0they would requ=
ire=A0tunnel implementations to be updated in case new types of automatic t=
unnels are introduced.=0A=0AYour comments are welcome.=0A=0AGabi=0A=0A=0A  =
    
--0-619404899-1250522472=:81531
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:arial, helvetica, sans-serif;font-size:1=
2pt"><DIV>Hi all,</DIV>=0A<DIV>I would like to draw the attention of the li=
st to&nbsp;some&nbsp;research&nbsp;results which my colleague and I at the =
National EW Research&nbsp;&amp; Simulation&nbsp;Center have recently publis=
hed. The research presents a&nbsp;class of routing loop attacks that abuses=
 6to4, ISATAP and Teredo. The&nbsp;paper can be found at: <A href=3D"http:/=
/www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf">http://www.usen=
ix.org/events/woot09/tech/full_papers/nakibly.pdf</A></DIV>=0A<DIV>&nbsp;</=
DIV>=0A<DIV>Here is the abstract:</DIV>=0A<DIV><FONT face=3D"arial, helveti=
ca, sans-serif">IPv6 is the future network layer protocol for the Internet.=
 Since it is not compatible with its predecessor, some interoperability mec=
hanisms were designed. An important category of these mechanisms is automat=
ic tunnels, which enable IPv6 communication over an IPv4 network without pr=
ior configuration. This category includes ISATAP, 6to4 and Teredo. We prese=
nt a novel class of attacks that exploit vulnerabilities in these tunnels. =
These attacks take advantage of inconsistencies between a tunnel's overlay =
IPv6 routing state and the native IPv6 routing state. The attacks form rout=
ing loops which can be abused as a vehicle for traffic amplification to fac=
ilitate DoS attacks. We exhibit five attacks of this class. One of the pres=
ented attacks can DoS a Teredo server using a single packet. The exploited =
vulnerabilities are embedded in the design of the tunnels; hence any implem=
entation of these tunnels may be
 vulnerable. In particular, the attacks were tested against the ISATAP, 6to=
4 and Teredo implementations of Windows Vista and Windows Server 2008 R2. <=
/FONT></DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>I think the results of the research=
 warrant some corrective action. If this&nbsp;indeed shall be the general s=
entiment of the list, I will be happy write an appropriate I-D. The mitigat=
ion measures we suggested in the paper are the best we could think of to co=
mpletely eliminate the problem. However they are far from perfect since&nbs=
p;they would require&nbsp;tunnel implementations to be updated in case new =
types of automatic tunnels are introduced.</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV=
>Your comments are welcome.</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>Gabi<FONT size=
=3D1 face=3D"Times New Roman"><FONT size=3D1 face=3D"Times New Roman"></DIV=
></FONT></FONT></div><br>=0A=0A      </body></html>
--0-619404899-1250522472=:81531--


From remi@remlab.net  Mon Aug 17 09:54:48 2009
Return-Path: <remi@remlab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2911828C191; Mon, 17 Aug 2009 09:54:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 hQzYNEUYqOko; Mon, 17 Aug 2009 09:54:47 -0700 (PDT)
Received: from yop.chewa.net (yop.chewa.net [91.121.105.214]) by core3.amsl.com (Postfix) with ESMTP id A729528C2B8; Mon, 17 Aug 2009 09:54:06 -0700 (PDT)
Received: from basile.remlab.net (cs27060099.pp.htv.fi [89.27.60.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: remi) by yop.chewa.net (Postfix) with ESMTPSA id 07D462D4; Mon, 17 Aug 2009 18:54:09 +0200 (CEST)
From: "=?iso-8859-15?q?R=E9mi?= Denis-Courmont" <remi@remlab.net>
Organization: Remlab.net
To: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
Date: Mon, 17 Aug 2009 19:54:06 +0300
User-Agent: KMail/1.12.0 (Linux/2.6.30.4; KDE/4.3.0; i686; ; )
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com>
In-Reply-To: <789539.81531.qm@web45502.mail.sp1.yahoo.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200908171954.07106.remi@remlab.net>
Cc: v6ops <v6ops@ops.ietf.org>, ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2009 16:54:48 -0000

Le lundi 17 ao=FBt 2009 18:21:12 Gabi Nakibly, vous avez =E9crit :
> Hi all,
> I would like to draw the attention of the list to some research results
> which my colleague and I at the National EW Research & Simulation Center
> have recently published. The research presents a class of routing loop
> attacks that abuses 6to4, ISATAP and Teredo. The paper can be found at:
> http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf

Attack E has been known for at least 2 years, though I do not have a Micros=
oft=20
implementation to verify: http://www.remlab.net/miredo/mtfl-sa-0603.shtml.en

Note that it *does* affect Linux-based in the sense that a non-privileged=20
local user could screw up (an unlikely scenario on a Teredo server, anyway).


I'm now trying to verify attack D.


=2D-=20
R=E9mi Denis-Courmont
http://www.remlab.net/

From Fred.L.Templin@boeing.com  Mon Aug 17 10:35:17 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6A63B3A6D39; Mon, 17 Aug 2009 10:35:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.76
X-Spam-Level: 
X-Spam-Status: No, score=-5.76 tagged_above=-999 required=5 tests=[AWL=0.238,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, 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 qsXAopEIIv3R; Mon, 17 Aug 2009 10:35:10 -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 712353A6B87; Mon, 17 Aug 2009 10:35:10 -0700 (PDT)
Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7HHZAt2001095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 17 Aug 2009 10:35:10 -0700 (PDT)
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 n7HHZAB3016048; Mon, 17 Aug 2009 10:35:10 -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 n7HHZ8XE015894; Mon, 17 Aug 2009 10:35:10 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 17 Aug 2009 10:35:10 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA1F61.10FEDC58"
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Mon, 17 Aug 2009 10:35:08 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106497BE7@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <789539.81531.qm@web45502.mail.sp1.yahoo.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: AcofTmXEPOk1UYNFRUS+bwV+J7jmOAADteKg
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 17 Aug 2009 17:35:10.0344 (UTC) FILETIME=[11BE1880:01CA1F61]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2009 17:35:17 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA1F61.10FEDC58
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Gabi,

=20

Thanks for publishing this work. In the document, attacks A, B and C

correspond to a configuration that violates section 6.2 of RFC5214:

=20

> 6.2.  ISATAP Interface Address Configuration

>=20

>   Each ISATAP interface configures a set of locators consisting of
IPv4

>   address-to-interface mappings from a single site; i.e., an ISATAP

>   interface's locator set MUST NOT span multiple sites.

=20

In particular, in scenarios A, B and C the IPv4 locator used for ISATAP

is seen both within the enterprise as site #1 and within the global
Internet

itself as site #2. If the ISATAP interface is to be used as an
enterprise-

interior interface, it should therefore not accept IP-proto-41 packets

coming from an IPv4 source outside of the enterprise nor source

IP-proto-41 packets that are destined to an IPv4 node outside of the

enterprise. This condition should be satisfied by having the site border

routers implement IPv4 ingress filtering and ip-protocol-41 filtering as

required in Section 10 of RFC5214.

=20

It is mentioned that attack C could also occur when the routers reside

in the same site, where their addresses may be private. This would

correspond to a case in which an attacker within the site attacks the

site itself, which can easily be traced - especially when source address

spoofing from a node within the site is prevented through proper ingress

filtering.

=20

Fred

fred.l.templin@boeing.com

=20

________________________________

From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=20
Sent: Monday, August 17, 2009 8:21 AM
To: v6ops
Cc: ipv6@ietf.org; secdir@ietf.org
Subject: Routing loop attacks using IPv6 tunnels

=20

Hi all,

I would like to draw the attention of the list to some research results
which my colleague and I at the National EW Research & Simulation Center
have recently published. The research presents a class of routing loop
attacks that abuses 6to4, ISATAP and Teredo. The paper can be found at:
http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf

=20

Here is the abstract:

IPv6 is the future network layer protocol for the Internet. Since it is
not compatible with its predecessor, some interoperability mechanisms
were designed. An important category of these mechanisms is automatic
tunnels, which enable IPv6 communication over an IPv4 network without
prior configuration. This category includes ISATAP, 6to4 and Teredo. We
present a novel class of attacks that exploit vulnerabilities in these
tunnels. These attacks take advantage of inconsistencies between a
tunnel's overlay IPv6 routing state and the native IPv6 routing state.
The attacks form routing loops which can be abused as a vehicle for
traffic amplification to facilitate DoS attacks. We exhibit five attacks
of this class. One of the presented attacks can DoS a Teredo server
using a single packet. The exploited vulnerabilities are embedded in the
design of the tunnels; hence any implementation of these tunnels may be
vulnerable. In particular, the attacks were tested against the ISATAP,
6to4 and Teredo implementations of Windows Vista and Windows Server 2008
R2.=20

=20

I think the results of the research warrant some corrective action. If
this indeed shall be the general sentiment of the list, I will be happy
write an appropriate I-D. The mitigation measures we suggested in the
paper are the best we could think of to completely eliminate the
problem. However they are far from perfect since they would require
tunnel implementations to be updated in case new types of automatic
tunnels are introduced.

=20

Your comments are welcome.

=20

Gabi

=20


------_=_NextPart_001_01CA1F61.10FEDC58
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Gabi,</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for publishing this work. In =
the
document, attacks A, B and C</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>correspond to a configuration that
violates section 6.2 of RFC5214:</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&gt; 6.2.&nbsp; ISATAP Interface =
Address
Configuration</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&gt;&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&gt; &nbsp;&nbsp;Each ISATAP =
interface
configures a set of locators consisting of IPv4</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&gt;&nbsp;&nbsp; =
address-to-interface
mappings from a single site; i.e., an ISATAP</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&gt;&nbsp;&nbsp; interface's =
locator set
MUST NOT span multiple sites.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>In particular, in scenarios A, B =
and C the
IPv4 locator used for ISATAP</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>is seen both within the enterprise =
as site
#1 and within the global Internet</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>itself as site #2. If the ISATAP =
interface
is to be used as an enterprise-</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>interior interface, it should =
therefore
not accept IP-proto-41 packets</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>coming from an IPv4 source outside =
of the
enterprise nor source</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>IP-proto-41 packets that are =
destined to an
IPv4 node outside of the</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>enterprise. This condition should =
be
satisfied by having the site border</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>routers implement IPv4 ingress =
filtering
and ip-protocol-41 filtering as</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>required in Section 10 of =
RFC5214.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>It is mentioned that attack C could =
also
occur when the routers reside</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>in the same site, where their =
addresses
may be private. This would</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>correspond to a case in which an =
attacker
within the site attacks the</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>site itself, which can easily be =
traced &#8211;
especially when source address</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>spoofing from a node within the =
site is
prevented through proper ingress</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>filtering.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Fred</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>fred.l.templin@boeing.com</span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Gabi =
Nakibly
[mailto:gnakibly@yahoo.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, August 17, =
2009 8:21
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> v6ops<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> ipv6@ietf.org; =
secdir@ietf.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Routing loop =
attacks
using IPv6 tunnels</span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>Hi all,</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>I would like to draw the attention of the list
to&nbsp;some&nbsp;research&nbsp;results which my colleague and I at the
National EW Research&nbsp;&amp; Simulation&nbsp;Center have recently =
published.
The research presents a&nbsp;class of routing loop attacks that abuses =
6to4,
ISATAP and Teredo. The&nbsp;paper can be found at: <a
href=3D"http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf"=
>http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf</a></sp=
an></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>Here is the abstract:</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>IPv6 is the future network layer protocol for the =
Internet.
Since it is not compatible with its predecessor, some interoperability
mechanisms were designed. An important category of these mechanisms is
automatic tunnels, which enable IPv6 communication over an IPv4 network =
without
prior configuration. This category includes ISATAP, 6to4 and Teredo. We =
present
a novel class of attacks that exploit vulnerabilities in these tunnels. =
These
attacks take advantage of inconsistencies between a tunnel's overlay =
IPv6
routing state and the native IPv6 routing state. The attacks form =
routing loops
which can be abused as a vehicle for traffic amplification to facilitate =
DoS
attacks. We exhibit five attacks of this class. One of the presented =
attacks
can DoS a Teredo server using a single packet. The exploited =
vulnerabilities
are embedded in the design of the tunnels; hence any implementation of =
these
tunnels may be vulnerable. In particular, the attacks were tested =
against the
ISATAP, 6to4 and Teredo implementations of Windows Vista and Windows =
Server
2008 R2. </span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>I think the results of the research warrant some =
corrective
action. If this&nbsp;indeed shall be the general sentiment of the list, =
I will
be happy write an appropriate I-D. The mitigation measures we suggested =
in the
paper are the best we could think of to completely eliminate the =
problem.
However they are far from perfect since&nbsp;they would =
require&nbsp;tunnel
implementations to be updated in case new types of automatic tunnels are
introduced.</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>Your comments are welcome.</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial'>Gabi</span></font></p>

</div>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</div>

</body>

</html>

------_=_NextPart_001_01CA1F61.10FEDC58--

From gnakibly@yahoo.com  Tue Aug 18 02:34:56 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 58DA43A6A8D for <ipv6@core3.amsl.com>; Tue, 18 Aug 2009 02:34:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.8
X-Spam-Level: 
X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5 tests=[AWL=-0.498,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, MIME_8BIT_HEADER=0.3, MIME_QP_LONG_LINE=1.396]
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 HM9qrTE7OJJI for <ipv6@core3.amsl.com>; Tue, 18 Aug 2009 02:34:56 -0700 (PDT)
Received: from n65.bullet.mail.sp1.yahoo.com (n65.bullet.mail.sp1.yahoo.com [98.136.44.190]) by core3.amsl.com (Postfix) with SMTP id 4363E3A695D for <ipv6@ietf.org>; Tue, 18 Aug 2009 02:34:56 -0700 (PDT)
Received: from [216.252.122.219] by n65.bullet.mail.sp1.yahoo.com with NNFMP; 18 Aug 2009 09:29:59 -0000
Received: from [69.147.84.95] by t4.bullet.sp1.yahoo.com with NNFMP; 18 Aug 2009 09:29:58 -0000
Received: from [127.0.0.1] by omp205.mail.sp1.yahoo.com with NNFMP; 18 Aug 2009 09:29:58 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 901327.2085.bm@omp205.mail.sp1.yahoo.com
Received: (qmail 63969 invoked by uid 60001); 18 Aug 2009 09:29:58 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250587798; bh=Xog9xZ5c5UeuLK5xjiGcY3IlKftxHwVbSeOxGNAv/e4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=kMCSK5bHviRPpp7J0s2MRCI2a6c8+1+Qr2txf9ORTR4zR+zDWE50Nam/HCsdY3kq5BC2AmtjZXX0GyRvW75oqlcolG29bfb/GZkhmR5y4w8U/7CieXq1+6xrEnEF9V1ihZAFJGwhw5XIlEtPQQS5WUKgLvtwjolSDGz/lhYq3co=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ye8fVTICRwVLgrpcxbItMxp4a9qB+0evHYmayEke/eZFKxCnNM98uLga1qUpxr+YLlps5tj3niEV6NGtcQOjIDMSxnPtommJlqJOfm2ic4PUSPvEX1b0WlFX/UpboPM2yQZSzgZkgN9838baYPsu1Cg7XEh/1cbWcx5aqdStZwA=;
Message-ID: <726098.63579.qm@web45508.mail.sp1.yahoo.com>
X-YMail-OSG: PuL04akVM1nrwaa8C1Zdq8RfdVDvtbNk50H_YjqX7uR.fHDa7HcfS3XJBZ95VzonvXg_vy8iPV3Dpz4O_HSfC_nPoco58MX1TNmhzqOyEaAQm3sNNvLUWaqYiJ_GxqWNWGodWVxPFpXRCypVj.lSPxApZnrJ5xYZoRlaBXMt0HWb2MKMLLZVbHESuO3VO9cJglkCx1e_XRdte6qSxW_m3BTO2L1W9JY7L2vJNyiDBzXMvBhCDNzdf07mfFferaz4DWu99t53xHeLuPVIiuMGcFqrtUTMOZV47Ub4NZN0ZKG9zkS3GL0-
Received: from [89.138.113.91] by web45508.mail.sp1.yahoo.com via HTTP; Tue, 18 Aug 2009 02:29:58 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <200908171954.07106.remi@remlab.net>
Date: Tue, 18 Aug 2009 02:29:58 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: =?iso-8859-1?Q?R=E9mi_Denis-Courmont?= <remi@remlab.net>
In-Reply-To: <200908171954.07106.remi@remlab.net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1408785047-1250587798=:63579"
Cc: v6ops <v6ops@ops.ietf.org>, ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Aug 2009 09:34:56 -0000

--0-1408785047-1250587798=:63579
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Indeed, the vulnerability of attack 5 was noted and fixed in Miredo. Howeve=
r, I am not aware of any updates=A0to the Teredo specification to mitigate =
it. This means that new implementations will=A0always be vulnerable as in t=
he case of Windows Server 2008 R2. This vulnerability was reported to Micro=
soft a few months ago. They have reproduced it on their end. A fix should b=
e released in the next RC.=0AI did not realize that the attack can be succe=
ssful also on Linux. Thanks for the correction.=0A=0APlease let me know the=
 results of your check on attack #4. If you wish, I can send you (off-list)=
=A0the details of my setup for this attack. By the way, I encourage other p=
eople on the list to verify the attacks in different scenarios.=0A=0AGabi=
=0A=0A=A0=0A=0A________________________________=0AFrom: R=E9mi Denis-Courmo=
nt <remi@remlab.net>=0ATo: Gabi Nakibly <gnakibly@yahoo.com>=0ACc: v6ops <v=
6ops@ops.ietf.org>; secdir@ietf.org; ipv6@ietf.org=0ASent: Monday, August 1=
7, 2009 7:54:06 PM=0ASubject: Re: Routing loop attacks using IPv6 tunnels=
=0A=0ALe lundi 17 ao=FBt 2009 18:21:12 Gabi Nakibly, vous avez =E9crit :=0A=
> Hi all,=0A> I would like to draw the attention of the list to some resear=
ch results=0A> which my colleague and I at the National EW Research & Simul=
ation Center=0A> have recently published. The research presents a class of =
routing loop=0A> attacks that abuses 6to4, ISATAP and Teredo. The paper can=
 be found at:=0A> http://www.usenix.org/events/woot09/tech/full_papers/naki=
bly.pdf=0A=0AAttack E has been known for at least 2 years, though I do not =
have a Microsoft =0Aimplementation to verify: http://www.remlab.net/miredo/=
mtfl-sa-0603.shtml.en=0A=0ANote that it *does* affect Linux-based in the se=
nse that a non-privileged =0Alocal user could screw up (an unlikely scenari=
o on a Teredo server, anyway).=0A=0A=0AI'm now trying to verify attack D.=
=0A=0A=0A-- =0AR=E9mi Denis-Courmont=0Ahttp://www.remlab.net/=0A=0A=0A=0A  =
    
--0-1408785047-1250587798=:63579
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:arial, helvetica, sans-serif;font-size:1=
2pt"><DIV>Indeed, the vulnerability of attack 5 was noted and fixed in Mire=
do. However, I am not aware of any updates&nbsp;to the Teredo specification=
 to mitigate it. This means that new implementations will&nbsp;always be vu=
lnerable as in the case of Windows Server 2008 R2. This vulnerability was r=
eported to Microsoft a few months ago. They have reproduced it on their end=
.. A fix should be released in the next RC.</DIV>=0A<DIV>I did not realize t=
hat the attack can be successful also on Linux. Thanks for the correction.<=
/DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>Please let me know the results of your che=
ck on attack #4. If you wish, I can send you (off-list)&nbsp;the details of=
 my setup for this attack. By the way, I encourage other people on the list=
 to verify the attacks in different scenarios.</DIV>=0A<DIV style=3D"FONT-F=
AMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">&nbsp;</DIV>=0A<DIV s=
tyle=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">Gabi</D=
IV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 1=
2pt"><BR>&nbsp;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-s=
erif; FONT-SIZE: 13px"><FONT size=3D2 face=3DTahoma>=0A<HR SIZE=3D1>=0A<B><=
SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B> R=E9mi Denis-Courmont &lt=
;remi@remlab.net&gt;<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B>=
 Gabi Nakibly &lt;gnakibly@yahoo.com&gt;<BR><B><SPAN style=3D"FONT-WEIGHT: =
bold">Cc:</SPAN></B> v6ops &lt;v6ops@ops.ietf.org&gt;; secdir@ietf.org; ipv=
6@ietf.org<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Monday,=
 August 17, 2009 7:54:06 PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Subject=
:</SPAN></B> Re: Routing loop attacks using IPv6 tunnels<BR></FONT><BR>Le l=
undi 17 ao=FBt 2009 18:21:12 Gabi Nakibly, vous avez =E9crit :<BR>&gt; Hi a=
ll,<BR>&gt; I would like to draw the attention of the list to some research=
 results<BR>&gt; which my colleague and I at the National EW Research &amp;=
 Simulation Center<BR>&gt; have recently published. The research presents a=
 class of routing loop<BR>&gt; attacks that abuses 6to4, ISATAP and Teredo.=
 The paper can be found at:<BR>&gt;
 http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf<BR><BR>At=
tack E has been known for at least 2 years, though I do not have a Microsof=
t <BR>implementation to verify: http://www.remlab.net/miredo/mtfl-sa-0603.s=
html.en<BR><BR>Note that it *does* affect Linux-based in the sense that a n=
on-privileged <BR>local user could screw up (an unlikely scenario on a Tere=
do server, anyway).<BR><BR><BR>I'm now trying to verify attack D.<BR><BR><B=
R>-- <BR>R=E9mi Denis-Courmont<BR>http://www.remlab.net/<BR></DIV></div><br=
>=0A=0A=0A=0A      </body></html>
--0-1408785047-1250587798=:63579--


From gnakibly@yahoo.com  Tue Aug 18 03:35:28 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8643628C0F2 for <ipv6@core3.amsl.com>; Tue, 18 Aug 2009 03:35:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level: 
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[AWL=-0.099, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, MIME_QP_LONG_LINE=1.396]
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 1GfWrbVpKgG8 for <ipv6@core3.amsl.com>; Tue, 18 Aug 2009 03:35:28 -0700 (PDT)
Received: from n67a.bullet.mail.sp1.yahoo.com (n67a.bullet.mail.sp1.yahoo.com [98.136.45.14]) by core3.amsl.com (Postfix) with SMTP id 69EFC3A69A4 for <ipv6@ietf.org>; Tue, 18 Aug 2009 03:35:28 -0700 (PDT)
Received: from [69.147.84.145] by n67.bullet.mail.sp1.yahoo.com with NNFMP; 18 Aug 2009 10:29:27 -0000
Received: from [69.147.65.182] by t8.bullet.mail.sp1.yahoo.com with NNFMP; 18 Aug 2009 10:29:27 -0000
Received: from [127.0.0.1] by omp301.mail.sp1.yahoo.com with NNFMP; 18 Aug 2009 10:29:27 -0000
X-Yahoo-Newman-Property: ymail-5
X-Yahoo-Newman-Id: 118509.54912.bm@omp301.mail.sp1.yahoo.com
Received: (qmail 44992 invoked by uid 60001); 18 Aug 2009 10:29:27 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250591367; bh=FhrggRYJfMQPyzw933PNcehrE2GcrLL8yvQV75aq6fg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=c2ncJKmi+IvpWWl+/0XblUJqFhD6Kke//EwQzKZArrfAqZywwQJLvsNjpwaQhQdyhCsoFVdm2LgeUwh7mjh+Wam7rMtf7nhvav4QKK3KAoGQ6TRzFBACG9GrBkGzOU6sxThFQhqp/iKfXQqV0xUHAbz0LeLIsKwl9kz9Bk0XY6c=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=0yD4r7gEQf6M8btJ0pELKZSFEbB7/rWoTdyfD8evzVfk2ObDgD6/8DiazZEjr5Q8opQbrB7XIRtsQo/Aj3hHt+Qecf9cQ/3mBAMLyq8MFAp48bLMSVNrRvIvDdVtX/EhPcXSHKLBZ4UFsJ4pk5NXZr3prVNah+jtY1QcNa/cpsQ=;
Message-ID: <2705.42043.qm@web45502.mail.sp1.yahoo.com>
X-YMail-OSG: VBI9GEkVM1llUTTNFOz1BkkiBeoEYErNwFMrfpoXtT.d3KOzB_djLgS3
Received: from [89.138.113.91] by web45502.mail.sp1.yahoo.com via HTTP; Tue, 18 Aug 2009 03:29:26 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106497BE7@XCH-NW-7V2.nw.nos.boeing.com>
Date: Tue, 18 Aug 2009 03:29:26 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, v6ops <v6ops@ops.ietf.org>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A106497BE7@XCH-NW-7V2.nw.nos.boeing.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1918408619-1250591366=:42043"
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Aug 2009 10:35:28 -0000

--0-1918408619-1250591366=:42043
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Indeed the ISATAP interface of the ISATAP router is meant to be an enterpri=
se-interior (note that=C2=A0it is still=C2=A0assumed that the associated IP=
v4 address is=C2=A0non-private). As=C2=A0we explicitly note in the paper, t=
he first three attacks=C2=A0will be mitigated=C2=A0if proper protocol-41 fi=
ltering is deployed on the site's border. However, note that RFC5214 does n=
ot mandate or require this filtering. It is only mentioned as a possible mi=
tigation against incoming spurious protocol-41 packets. In addition, Sectio=
n 10 of RFC5214 only mentions=C2=A0ingress not=C2=A0egress filtering.=C2=A0=
Hence it=C2=A0will not stop attack #2.=C2=A0=0AIn addition, as mentioned, p=
rotocol-41 filtering is not helpful when attack #3 is launched on two route=
rs that reside in the same site. Note that=C2=A0it=C2=A0may be=C2=A0possibl=
e for=C2=A0the attack packet=C2=A0to be sourced from outside the site unles=
s proper filtering of incoming IPv6 packets is deployed. If the attacker re=
sides in the site, usually ingress filtering will not be helpful since it i=
s deployed in general on the site's border.=0A=0AIn general, I would like t=
o point out that indeed as in most other attacks these attacks may also be =
mitigated by proper firewall rules. However, I do not believe that this=C2=
=A0should be our only answer against these attacks. I believe that since th=
ese attacks are made possible due to the inherent characteristics of the tu=
nnels they=C2=A0should be stopped intrinsically as much as possible by the =
tunnel participants and not relay on outside filtering rules.=0A=0AGabi=0A=
=0A=0A________________________________=0AFrom: "Templin, Fred L" <Fred.L.Te=
mplin@boeing.com>=0ATo: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops=
..ietf.org>=0ACc: ipv6@ietf.org; secdir@ietf.org=0ASent: Monday, August 17, =
2009 8:35:08 PM=0ASubject: RE: Routing loop attacks using IPv6 tunnels=0A=
=0A=0AGabi,=0A=C2=A0=0AThanks for publishing this work. In the document, at=
tacks A, B and C=0Acorrespond to a configuration that violates section 6.2 =
of RFC5214:=0A=C2=A0=0A> 6.2.=C2=A0 ISATAP Interface Address Configuration=
=0A>=C2=A0=0A> =C2=A0=C2=A0Each ISATAP interface configures a set of locato=
rs consisting of IPv4=0A>=C2=A0=C2=A0 address-to-interface mappings from a =
single site; i.e., an ISATAP=0A>=C2=A0=C2=A0 interface's locator set MUST N=
OT span multiple sites.=0A=C2=A0=0AIn particular, in scenarios A, B and C t=
he IPv4 locator used for ISATAP=0Ais seen both within the enterprise as sit=
e #1 and within the global Internet=0Aitself as site #2. If the ISATAP inte=
rface is to be used as an enterprise-=0Ainterior interface, it should there=
fore not accept IP-proto-41 packets=0Acoming from an IPv4 source outside of=
 the enterprise nor source=0AIP-proto-41 packets that are destined to an IP=
v4 node outside of the=0Aenterprise. This condition should be satisfied by =
having the site border=0Arouters implement IPv4 ingress filtering and ip-pr=
otocol-41 filtering as=0Arequired in Section 10 of RFC5214.=0A=C2=A0=0AIt i=
s mentioned that attack C could also occur when the routers reside=0Ain the=
 same site, where their addresses may be private. This would=0Acorrespond t=
o a case in which an attacker within the site attacks the=0Asite itself, wh=
ich can easily be traced =E2=80=93 especially when source address=0Aspoofin=
g from a node within the site is prevented through proper ingress=0Afilteri=
ng.=0A=C2=A0=0AFred=0Afred.l.templin@boeing.com=0A=C2=A0=0A=0A_____________=
___________________=0A=0AFrom:Gabi Nakibly [mailto:gnakibly@yahoo.com] =0AS=
ent: Monday, August 17, 2009 8:21 AM=0ATo: v6ops=0ACc: ipv6@ietf.org; secdi=
r@ietf.org=0ASubject: Routing loop attacks using IPv6 tunnels=0A=C2=A0=0AHi=
 all,=0AI would like to draw the attention of the list to=C2=A0some=C2=A0re=
search=C2=A0results which my colleague and I at the National EW Research=C2=
=A0& Simulation=C2=A0Center have recently published. The research presents =
a=C2=A0class of routing loop attacks that abuses 6to4, ISATAP and Teredo. T=
he=C2=A0paper can be found at: http://www.usenix.org/events/woot09/tech/ful=
l_papers/nakibly.pdf=0A=C2=A0=0AHere is the abstract:=0AIPv6 is the future =
network layer protocol for the Internet. Since it is not compatible with it=
s predecessor, some interoperability mechanisms were designed. An important=
 category of these mechanisms is automatic tunnels, which enable IPv6 commu=
nication over an IPv4 network without prior configuration. This category in=
cludes ISATAP, 6to4 and Teredo. We present a novel class of attacks that ex=
ploit vulnerabilities in these tunnels. These attacks take advantage of inc=
onsistencies between a tunnel's overlay IPv6 routing state and the native I=
Pv6 routing state. The attacks form routing loops which can be abused as a =
vehicle for traffic amplification to facilitate DoS attacks. We exhibit fiv=
e attacks of this class. One of the presented attacks can DoS a Teredo serv=
er using a single packet. The exploited vulnerabilities are embedded in the=
 design of the tunnels; hence any implementation of these tunnels may be vu=
lnerable. In particular, the attacks were tested
 against the ISATAP, 6to4 and Teredo implementations of Windows Vista and W=
indows Server 2008 R2. =0A=C2=A0=0AI think the results of the research warr=
ant some corrective action. If this=C2=A0indeed shall be the general sentim=
ent of the list, I will be happy write an appropriate I-D. The mitigation m=
easures we suggested in the paper are the best we could think of to complet=
ely eliminate the problem. However they are far from perfect since=C2=A0the=
y would require=C2=A0tunnel implementations to be updated in case new types=
 of automatic tunnels are introduced.=0A=C2=A0=0AYour comments are welcome.=
=0A=C2=A0=0AGabi=0A=0A=0A      
--0-1918408619-1250591366=:42043
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:arial, helvetica, sans-serif;font-size:1=
2pt"><DIV>Indeed the ISATAP interface of the ISATAP router is meant to be a=
n enterprise-interior (note that&nbsp;it is still&nbsp;assumed that the ass=
ociated IPv4 address is&nbsp;non-private). As&nbsp;we explicitly note in th=
e paper, the first three attacks&nbsp;will be mitigated&nbsp;if proper prot=
ocol-41 filtering is deployed on the site's border. However, note that RFC5=
214 does not mandate or require this filtering. It is only mentioned as a p=
ossible mitigation against incoming spurious protocol-41 packets. In additi=
on, Section 10 of RFC5214 only mentions&nbsp;ingress not&nbsp;egress filter=
ing.&nbsp;Hence it&nbsp;will not stop attack #2.&nbsp;</DIV>=0A<DIV style=
=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">In addition=
, as mentioned, protocol-41 filtering is not helpful when attack #3 is laun=
ched on two routers that reside in the same site. Note that&nbsp;it&nbsp;ma=
y be&nbsp;possible for&nbsp;the attack packet&nbsp;to be sourced from outsi=
de the site unless proper filtering of incoming IPv6 packets is deployed. I=
f the attacker resides in the site, usually ingress filtering will not be h=
elpful since it is deployed in general on the site's border.</DIV>=0A<DIV s=
tyle=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">&nbsp;<=
/DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE:=
 12pt">In general, I would like to point out that indeed as in most other a=
ttacks these attacks may also be mitigated by proper firewall rules. Howeve=
r, I do not believe that this&nbsp;should be our only answer against these =
attacks. I believe that since these attacks are made possible due to the in=
herent characteristics of the tunnels they&nbsp;should be stopped intrinsic=
ally as much as possible by the tunnel participants and not relay on outsid=
e filtering rules.</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, san=
s-serif; FONT-SIZE: 12pt">&nbsp;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, =
helvetica, sans-serif; FONT-SIZE: 12pt">Gabi</DIV>=0A<DIV style=3D"FONT-FAM=
ILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">&nbsp;</DIV>=0A<DIV sty=
le=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">=0A<DIV s=
tyle=3D"FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12=
pt"><FONT size=3D2 face=3DTahoma>=0A<HR SIZE=3D1>=0A<B><SPAN style=3D"FONT-=
WEIGHT: bold">From:</SPAN></B> "Templin, Fred L" &lt;Fred.L.Templin@boeing.=
com&gt;<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> Gabi Nakibly=
 &lt;gnakibly@yahoo.com&gt;; v6ops &lt;v6ops@ops.ietf.org&gt;<BR><B><SPAN s=
tyle=3D"FONT-WEIGHT: bold">Cc:</SPAN></B> ipv6@ietf.org; secdir@ietf.org<BR=
><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, August 17, 2=
009 8:35:08 PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> =
RE: Routing loop attacks using IPv6 tunnels<BR></FONT><BR>=0A<META content=
=3Doff http-equiv=3Dx-dns-prefetch-control>=0A<STYLE> <!--    _filtered {fo=
nt-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}   p.MsoNormal, li.MsoNorma=
l, div.MsoNormal =09{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font=
-family:"Times New Roman";} a:link, span.MsoHyperlink =09{color:blue;text-d=
ecoration:underline;} a:visited, span.MsoHyperlinkFollowed =09{color:blue;t=
ext-decoration:underline;} span.EmailStyle17 =09{font-family:Arial;color:na=
vy;}  _filtered {margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 =09{} --> =
</STYLE>=0A=0A<DIV class=3DSection1>=0A<P class=3DMsoNormal><FONT color=3Dn=
avy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; F=
ONT-SIZE: 10pt">Gabi,</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=
=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: nav=
y; FONT-SIZE: 10pt">&nbsp;</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT c=
olor=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR:=
 navy; FONT-SIZE: 10pt">Thanks for publishing this work. In the document, a=
ttacks A, B and C</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dna=
vy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FO=
NT-SIZE: 10pt">correspond to a configuration that violates section 6.2 of R=
FC5214:</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D=
2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 1=
0pt">&nbsp;</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy siz=
e=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZ=
E: 10pt">&gt; 6.2.&nbsp; ISATAP Interface Address Configuration</SPAN></FON=
T></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPA=
N style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">&gt;&nbsp;</SP=
AN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DAr=
ial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">&gt; &=
nbsp;&nbsp;Each ISATAP interface configures a set of locators consisting of=
 IPv4</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 =
face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10p=
t">&gt;&nbsp;&nbsp; address-to-interface mappings from a single site; i.e.,=
 an ISATAP</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=
=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE=
: 10pt">&gt;&nbsp;&nbsp; interface's locator set MUST NOT span multiple sit=
es.</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 fa=
ce=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"=
>&nbsp;</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D=
2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 1=
0pt">In particular, in scenarios A, B and C the IPv4 locator used for ISATA=
P</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=
=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">i=
s seen both within the enterprise as site #1 and within the global Internet=
</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=
=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">i=
tself as site #2. If the ISATAP interface is to be used as an enterprise-</=
SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3D=
Arial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">inte=
rior interface, it should therefore not accept IP-proto-41 packets</SPAN></=
FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><=
SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">coming from=
 an IPv4 source outside of the enterprise nor source</SPAN></FONT></P>=0A<P=
 class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"=
FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">IP-proto-41 packets that =
are destined to an IPv4 node outside of the</SPAN></FONT></P>=0A<P class=3D=
MsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMI=
LY: Arial; COLOR: navy; FONT-SIZE: 10pt">enterprise. This condition should =
be satisfied by having the site border</SPAN></FONT></P>=0A<P class=3DMsoNo=
rmal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: A=
rial; COLOR: navy; FONT-SIZE: 10pt">routers implement IPv4 ingress filterin=
g and ip-protocol-41 filtering as</SPAN></FONT></P>=0A<P class=3DMsoNormal>=
<FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial;=
 COLOR: navy; FONT-SIZE: 10pt">required in Section 10 of RFC5214.</SPAN></F=
ONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><S=
PAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">&nbsp;</SPAN=
></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DAria=
l><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">It is me=
ntioned that attack C could also occur when the routers reside</SPAN></FONT=
></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN=
 style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">in the same sit=
e, where their addresses may be private. This would</SPAN></FONT></P>=0A<P =
class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"F=
ONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">correspond to a case in wh=
ich an attacker within the site attacks the</SPAN></FONT></P>=0A<P class=3D=
MsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMI=
LY: Arial; COLOR: navy; FONT-SIZE: 10pt">site itself, which can easily be t=
raced =E2=80=93 especially when source address</SPAN></FONT></P>=0A<P class=
=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-F=
AMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">spoofing from a node within the=
 site is prevented through proper ingress</SPAN></FONT></P>=0A<P class=3DMs=
oNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FONT-FAMILY=
: Arial; COLOR: navy; FONT-SIZE: 10pt">filtering.</SPAN></FONT></P>=0A<P cl=
ass=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D"FON=
T-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">&nbsp;</SPAN></FONT></P>=0A<=
P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN style=3D=
"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Fred</SPAN></FONT></P>=
=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 face=3DArial><SPAN styl=
e=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">fred.l.templin@boein=
g.com</SPAN></FONT></P>=0A<P class=3DMsoNormal><FONT color=3Dnavy size=3D2 =
face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10p=
t">&nbsp;</SPAN></FONT></P>=0A<DIV style=3D"BORDER-BOTTOM: medium none; BOR=
DER-LEFT: blue 1.5pt solid; PADDING-BOTTOM: 0in; PADDING-LEFT: 4pt; PADDING=
-RIGHT: 0in; BORDER-TOP: medium none; BORDER-RIGHT: medium none; PADDING-TO=
P: 0in">=0A<DIV>=0A<DIV style=3D"TEXT-ALIGN: center" class=3DMsoNormal alig=
n=3Dcenter><FONT size=3D3 face=3D"Times New Roman"><SPAN style=3D"FONT-SIZE=
: 12pt">=0A<HR tabIndex=3D-1 align=3Dcenter SIZE=3D2 width=3D"100%">=0A</SP=
AN></FONT></DIV>=0A<P class=3DMsoNormal><B><FONT size=3D2 face=3DTahoma><SP=
AN style=3D"FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:<=
/SPAN></FONT></B><FONT size=3D2 face=3DTahoma><SPAN style=3D"FONT-FAMILY: T=
ahoma; FONT-SIZE: 10pt"> Gabi Nakibly [mailto:gnakibly@yahoo.com] <BR><B><S=
PAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, August 17, 2009 8:=
21 AM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> v6ops<BR><B><S=
PAN style=3D"FONT-WEIGHT: bold">Cc:</SPAN></B> ipv6@ietf.org; secdir@ietf.o=
rg<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> Routing loop=
 attacks using IPv6 tunnels</SPAN></FONT></P></DIV>=0A<P class=3DMsoNormal>=
<FONT size=3D3 face=3D"Times New Roman"><SPAN style=3D"FONT-SIZE: 12pt">&nb=
sp;</SPAN></FONT></P>=0A<DIV>=0A<DIV>=0A<P class=3DMsoNormal><FONT size=3D3=
 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 12pt">Hi all,</=
SPAN></FONT></P></DIV>=0A<DIV>=0A<P class=3DMsoNormal><FONT size=3D3 face=
=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 12pt">I would like t=
o draw the attention of the list to&nbsp;some&nbsp;research&nbsp;results wh=
ich my colleague and I at the National EW Research&nbsp;&amp; Simulation&nb=
sp;Center have recently published. The research presents a&nbsp;class of ro=
uting loop attacks that abuses 6to4, ISATAP and Teredo. The&nbsp;paper can =
be found at: http://www.usenix.org/events/woot09/tech/full_papers/nakibly.p=
df</SPAN></FONT></P></DIV>=0A<DIV>=0A<P class=3DMsoNormal><FONT size=3D3 fa=
ce=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 12pt">&nbsp;</SPAN=
></FONT></P></DIV>=0A<DIV>=0A<P class=3DMsoNormal><FONT size=3D3 face=3DAri=
al><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 12pt">Here is the abstract=
:</SPAN></FONT></P></DIV>=0A<DIV>=0A<P class=3DMsoNormal><FONT size=3D3 fac=
e=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 12pt">IPv6 is the f=
uture network layer protocol for the Internet. Since it is not compatible w=
ith its predecessor, some interoperability mechanisms were designed. An imp=
ortant category of these mechanisms is automatic tunnels, which enable IPv6=
 communication over an IPv4 network without prior configuration. This categ=
ory includes ISATAP, 6to4 and Teredo. We present a novel class of attacks t=
hat exploit vulnerabilities in these tunnels. These attacks take advantage =
of inconsistencies between a tunnel's overlay IPv6 routing state and the na=
tive IPv6 routing state. The attacks form routing loops which can be abused=
 as a vehicle for traffic amplification to facilitate DoS attacks. We exhib=
it five attacks of this class. One of the presented attacks can DoS a Tered=
o server using a single packet. The exploited vulnerabilities are embedded =
in the design of the tunnels; hence
 any implementation of these tunnels may be vulnerable. In particular, the =
attacks were tested against the ISATAP, 6to4 and Teredo implementations of =
Windows Vista and Windows Server 2008 R2. </SPAN></FONT></P></DIV>=0A<DIV>=
=0A<P class=3DMsoNormal><FONT size=3D3 face=3DArial><SPAN style=3D"FONT-FAM=
ILY: Arial; FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></P></DIV>=0A<DIV>=0A<P cl=
ass=3DMsoNormal><FONT size=3D3 face=3DArial><SPAN style=3D"FONT-FAMILY: Ari=
al; FONT-SIZE: 12pt">I think the results of the research warrant some corre=
ctive action. If this&nbsp;indeed shall be the general sentiment of the lis=
t, I will be happy write an appropriate I-D. The mitigation measures we sug=
gested in the paper are the best we could think of to completely eliminate =
the problem. However they are far from perfect since&nbsp;they would requir=
e&nbsp;tunnel implementations to be updated in case new types of automatic =
tunnels are introduced.</SPAN></FONT></P></DIV>=0A<DIV>=0A<P class=3DMsoNor=
mal><FONT size=3D3 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZ=
E: 12pt">&nbsp;</SPAN></FONT></P></DIV>=0A<DIV>=0A<P class=3DMsoNormal><FON=
T size=3D3 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 12pt"=
>Your comments are welcome.</SPAN></FONT></P></DIV>=0A<DIV>=0A<P class=3DMs=
oNormal><FONT size=3D3 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT=
-SIZE: 12pt">&nbsp;</SPAN></FONT></P></DIV>=0A<DIV>=0A<P class=3DMsoNormal>=
<FONT size=3D3 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 1=
2pt">Gabi</SPAN></FONT></P></DIV></DIV>=0A<P class=3DMsoNormal><FONT size=
=3D3 face=3D"Times New Roman"><SPAN style=3D"FONT-SIZE: 12pt">&nbsp;</SPAN>=
</FONT></P></DIV></DIV>=0A<META content=3Don http-equiv=3Dx-dns-prefetch-co=
ntrol></DIV></DIV></div><br>=0A=0A      </body></html>
--0-1918408619-1250591366=:42043--


From remi@remlab.net  Tue Aug 18 04:53:34 2009
Return-Path: <remi@remlab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E11F43A67A3; Tue, 18 Aug 2009 04:53:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.067
X-Spam-Level: 
X-Spam-Status: No, score=-2.067 tagged_above=-999 required=5 tests=[AWL=0.232,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 LnUTjGX4HegI; Tue, 18 Aug 2009 04:53:34 -0700 (PDT)
Received: from yop.chewa.net (yop.chewa.net [91.121.105.214]) by core3.amsl.com (Postfix) with ESMTP id 1802C3A676A; Tue, 18 Aug 2009 04:53:34 -0700 (PDT)
Received: by yop.chewa.net (Postfix, from userid 33) id 4C342494; Tue, 18 Aug 2009 13:51:30 +0200 (CEST)
To: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
MIME-Version: 1.0
Date: Tue, 18 Aug 2009 13:51:30 +0200
From: =?UTF-8?Q?R=C3=A9mi_Denis-Courmont?= <remi@remlab.net>
Organization: Remlab.net
In-Reply-To: <726098.63579.qm@web45508.mail.sp1.yahoo.com>
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <200908171954.07106.remi@remlab.net> <726098.63579.qm@web45508.mail.sp1.yahoo.com>
Message-ID: <6c60aa25c21d90342161a94ee190d34f@chewa.net>
X-Sender: remi@remlab.net
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Cc: v6ops <v6ops@ops.ietf.org>, ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Aug 2009 11:53:35 -0000

On Tue, 18 Aug 2009 02:29:58 -0700 (PDT), Gabi Nakibly <gnakibly@yahoo.com>
wrote:
> Indeed, the vulnerability of attack 5 was noted and fixed in Miredo.
> However, I am not aware of any updatesÂ to the Teredo specification to
> mitigate it. This means that new implementations willÂ always be
vulnerable
> as in the case of Windows Server 2008 R2. This vulnerability was reported
> to Microsoft a few months ago. They have reproduced it on their end. A
fix
> should be released in the next RC.
> I did not realize that the attack can be successful also on Linux. Thanks
> for the correction.

Well, it is as simple as not looping packet back to yourself, isn't it?
There could be a warning in the spec, but it's really an implementation
error, I think.

> Please let me know the results of your check on attack #4. If you wish, I
> can send you (off-list)Â the details of my setup for this attack. By the
> way, I encourage other people on the list to verify the attacks in
> different scenarios.

I managed to reproduce it. Single-homed NATs have absolutely no excuse in
forwarding a packet with their own IP address as the source. But yeah -
there is a problem.

-- 
RÃ©mi Denis-Courmont


From Fred.L.Templin@boeing.com  Tue Aug 18 08:49:30 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 937473A68F3; Tue, 18 Aug 2009 08:49:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.719
X-Spam-Level: 
X-Spam-Status: No, score=-5.719 tagged_above=-999 required=5 tests=[AWL=0.280,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6, 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 QDPCosr5GhYS; Tue, 18 Aug 2009 08:49:29 -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 EB1813A6886; Tue, 18 Aug 2009 08:49:01 -0700 (PDT)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7IFmlUr005723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 10:48:48 -0500 (CDT)
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 n7IFmltf008992; Tue, 18 Aug 2009 08:48:47 -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 n7IFmhgn008798; Tue, 18 Aug 2009 08:48:47 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 18 Aug 2009 08:48:46 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Tue, 18 Aug 2009 08:48:45 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106498101@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <2705.42043.qm@web45502.mail.sp1.yahoo.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: Acof7sREBI8RyOgVTuWZvjFQVikJ0AAJPgow
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106497BE7@XCH-NW-7V2.nw.nos.boeing.com> <2705.42043.qm@web45502.mail.sp1.yahoo.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 18 Aug 2009 15:48:46.0762 (UTC) FILETIME=[5F3E88A0:01CA201B]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Aug 2009 15:49:30 -0000

Gabi,

________________________________________
From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=20
Sent: Tuesday, August 18, 2009 3:29 AM
To: Templin, Fred L; v6ops
> Cc: ipv6@ietf.org; secdir@ietf.org
> Subject: Re: Routing loop attacks using IPv6 tunnels
>=20
> Indeed the ISATAP interface of the ISATAP router is meant
> to be an enterprise-interior (note that=A0it is still=A0assumed
> that the associated IPv4 address is=A0non-private). As=A0we
> explicitly note in the paper, the first three attacks=A0will
> be mitigated=A0if proper protocol-41 filtering is deployed on
> the site's border. However, note that RFC5214 does not mandate
> or require this filtering.

The RFC5214 Security Considerations makes clear the
consequences of not implementing IPv4 ingress filtering
and ip-protocol-41 filtering (i.e., a possible spooing
attack in which spurious ip-protocol-41 packets are
injected into an ISATAP link from outside). RFC5214
Section 6.2 additionally requires that an ISATAP interface's
locator set MUST NOT span multiple sites. This means that the
ISATAP interface must not decapsulate nor source ip-proto-41
packets within multiple sites, where the enterprise interior
is site #1 and the global Internet is site #2. ip-protocol-41
filtering is the way in which the ISATAP interface is
restricted to a single site.=20

> It is only mentioned as a possible mitigation against
> incoming spurious protocol-41 packets. In addition,
> Section 10 of RFC5214 only mentions=A0ingress not=A0egress
> filtering.=A0Hence it=A0will not stop attack #2.

We are now talking about ip-proto-41 filtering; not ingress
filtering. ip-proto-41 filtering is in both directions. It
prevents ip-proto-41 packets from entering the enterprise
interior ISATAP site from the Internet and prevents
ip-proto-41 packets from entering the Internet ISATAP
site from the enterprise interior. Else the ISATAP
interface would span multiple sites.

Besides, "ingress" filtering is not about packets coming
from the Internet into the end site, but rather it is
about packets leaving the end site and going out into
the Internet. RFC2827 (BCP38) documents ingress filtering.

> In addition,
> as mentioned, protocol-41 filtering is not helpful when
> attack #3 is launched on two routers that reside in the
> same site. Note that=A0it=A0may be=A0possible for=A0the attack
> packet=A0to be sourced from outside the site unless proper
> filtering of incoming IPv6 packets is deployed. If the
> attacker resides in the site, usually ingress filtering
> will not be helpful since it is deployed in general on
> the site's border.

Here, we have the ISATAP router in both cases sourcing a
packet from a foreign prefix. This attack is mitigated by=20
IPv6 ingress filtering which is an IPv6 security consideration
and not an ISATAP nor IPv4 security consideration. BCP
recommendations for network ingress filtering are documented
in RFC2827 and it is expected that IPv6 routers that configure
ISATAP interfaces will implement IPv6 ingress filtering
according to the BCP.
=A0
> In general, I would like to point out that indeed as in
> most other attacks these attacks may also be mitigated by
> proper firewall rules. However, I do not believe that this
> should be our only answer against these attacks. I believe
> that since these attacks are made possible due to the
> inherent characteristics of the tunnels they=A0should be
> stopped intrinsically as much as possible by the tunnel
> participants and not relay on outside filtering rules.

In RFC5214, Section 10 we have: "restricting access to the
link can be achieved by restricting access to the site". The
mitigations do exactly that, and in such a way that ISATAP
nodes can operate with only the necessary and sufficient
checks. So on this point, I do not share your opinion.

Fred
fred.l.templin@boeing.com
=A0
________________________________________
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
Cc: ipv6@ietf.org; secdir@ietf.org
Sent: Monday, August 17, 2009 8:35:08 PM
Subject: RE: Routing loop attacks using IPv6 tunnels


Gabi,
=A0
Thanks for publishing this work. In the document, attacks A, B and C
correspond to a configuration that violates section 6.2 of RFC5214:
=A0
> 6.2.=A0 ISATAP Interface Address Configuration
>=A0
> =A0=A0Each ISATAP interface configures a set of locators consisting of =
IPv4
>=A0=A0 address-to-interface mappings from a single site; i.e., an =
ISATAP
>=A0=A0 interface's locator set MUST NOT span multiple sites.
=A0
In particular, in scenarios A, B and C the IPv4 locator used for ISATAP
is seen both within the enterprise as site #1 and within the global =
Internet
itself as site #2. If the ISATAP interface is to be used as an =
enterprise-
interior interface, it should therefore not accept IP-proto-41 packets
coming from an IPv4 source outside of the enterprise nor source
IP-proto-41 packets that are destined to an IPv4 node outside of the
enterprise. This condition should be satisfied by having the site border
routers implement IPv4 ingress filtering and ip-protocol-41 filtering as
required in Section 10 of RFC5214.
=A0
It is mentioned that attack C could also occur when the routers reside
in the same site, where their addresses may be private. This would
correspond to a case in which an attacker within the site attacks the
site itself, which can easily be traced - especially when source address
spoofing from a node within the site is prevented through proper ingress
filtering.
=A0
Fred
fred.l.templin@boeing.com
=A0
________________________________________
From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=20
Sent: Monday, August 17, 2009 8:21 AM
To: v6ops
Cc: ipv6@ietf.org; secdir@ietf.org
Subject: Routing loop attacks using IPv6 tunnels
=A0
Hi all,
I would like to draw the attention of the list =
to=A0some=A0research=A0results which my colleague and I at the National =
EW Research=A0& Simulation=A0Center have recently published. The =
research presents a=A0class of routing loop attacks that abuses 6to4, =
ISATAP and Teredo. The=A0paper can be found at: =
http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf
=A0
Here is the abstract:
IPv6 is the future network layer protocol for the Internet. Since it is =
not compatible with its predecessor, some interoperability mechanisms =
were designed. An important category of these mechanisms is automatic =
tunnels, which enable IPv6 communication over an IPv4 network without =
prior configuration. This category includes ISATAP, 6to4 and Teredo. We =
present a novel class of attacks that exploit vulnerabilities in these =
tunnels. These attacks take advantage of inconsistencies between a =
tunnel's overlay IPv6 routing state and the native IPv6 routing state. =
The attacks form routing loops which can be abused as a vehicle for =
traffic amplification to facilitate DoS attacks. We exhibit five attacks =
of this class. One of the presented attacks can DoS a Teredo server =
using a single packet. The exploited vulnerabilities are embedded in the =
design of the tunnels; hence any implementation of these tunnels may be =
vulnerable. In particular, the attacks were tested against the ISATAP, =
6to4 and Teredo implementations of Windows Vista and Windows Server 2008 =
R2.=20
=A0
I think the results of the research warrant some corrective action. If =
this=A0indeed shall be the general sentiment of the list, I will be =
happy write an appropriate I-D. The mitigation measures we suggested in =
the paper are the best we could think of to completely eliminate the =
problem. However they are far from perfect since=A0they would =
require=A0tunnel implementations to be updated in case new types of =
automatic tunnels are introduced.
=A0
Your comments are welcome.
=A0
Gabi
=A0


From remi.despres@free.fr  Tue Aug 18 10:00:45 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A244B3A6BB1; Tue, 18 Aug 2009 10:00:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Level: 
X-Spam-Status: No, score=-1.949 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 1vGohu1WbNe5; Tue, 18 Aug 2009 10:00:44 -0700 (PDT)
Received: from smtp2a.orange.fr (smtp2a.orange.fr [80.12.242.140]) by core3.amsl.com (Postfix) with ESMTP id B56D93A6922; Tue, 18 Aug 2009 10:00:43 -0700 (PDT)
Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a23.orange.fr (SMTP Server) with ESMTP id 321A980003C0; Tue, 18 Aug 2009 19:00:48 +0200 (CEST)
Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a23.orange.fr (SMTP Server) with ESMTP id 2622680000B9; Tue, 18 Aug 2009 19:00:48 +0200 (CEST)
Received: from [193.248.104.104] (Mix-Lille-207-14-104.w193-248.abo.wanadoo.fr [193.248.104.104]) by mwinf2a23.orange.fr (SMTP Server) with ESMTP id 78E3D80003C0; Tue, 18 Aug 2009 19:00:45 +0200 (CEST)
X-ME-UUID: 20090818170045495.78E3D80003C0@mwinf2a23.orange.fr
In-Reply-To: <789539.81531.qm@web45502.mail.sp1.yahoo.com>
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <6D7FF41F-717B-42D2-A744-750DC874356B@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: Routing loop attacks using IPv6 tunnels - the 6rd case
Date: Tue, 18 Aug 2009 19:00:42 +0200
To: Gabi Nakibly <gnakibly@yahoo.com>
X-Mailer: Apple Mail (2.753.1)
Cc: v6ops <v6ops@ops.ietf.org>, 6man 6man <ipv6@ietf.org>, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Aug 2009 17:00:45 -0000

Hi Gabi,

First, thanks to you and your colleagues for this research, and for =20
the clear presentation of its results.
In my understanding, your contribution is important for transition =20
solutions to be carefully selected, and where needed improved.

This mail is to complement the analysis with what applies to 6rd.

For those who don't know it, 6rd, like 6to4, ISATAP and Teredo, is an =20=

automatic tunnel mechanism in actual use for IPv6 across IPv4 clouds.
With it, service providers can offer native IPv6 to their customers =20
while using for this their existing IPv4 infrastructures.
Publication of the RFC that describes it, RFC 5569, has been delayed =20
since May for a reason related to intellectual property rights =20
applicable to independent submissions.
But the draft on which 6rd is based is still available, and a new =20
draft to extend its applicability is also available:
- tools.ietf.org/html/draft-despres-6rd-03
- tools.ietf.org/html/draft-townsley-ipv6-6rd-01


(1) Case of ISPs that operate 6rd relays and no 6to4 relays (and =20
neither Teredo relays nor ISP-infrastructure NATs)

In its sec. 3, draft-despres-6rd-03 says:
<<<
    The IPv4 anycast address of 6rd relays may be chosen =20
independently by
    each ISP.  The only constraint is that routes toward the ISP that =20=

are
    advertised must not include this address.
 >>>
In view of your study and in my understanding, it should be completed =20=

with:
"Also, the ISP must not forward toward the global IPv4 global =20
Internet packets having this address as source."

With this, an ISP that operates 6rd relays but operates neither 6to4 =20
relays nor Teredo relays nor NATs is immune to the routing loop =20
attack because:
- An IPv6 packet forwarded to the IPv6 Internet by a 6rd relay cannot =20=

come back to an IPv4 interface of a 6rd relay of the same ISP: there =20
is no IPv4 route back to the ISP for its 6rd anycast address.
- An IPv6 packet received from the IPv6 Internet by a 6rd relay =20
cannot be sent back to the IPv4 global Internet: the source address =20
of its IPv4 encapsulating packet is the 6rd anycast address, which =20
prevents it from reaching the IPv4 global Internet.

Note that, if interfaces of the ISP to the IPv4 global Internet are =20
already subject to ingress filtering (packets received by the global =20
Internet are discarded if there is no reverse path available for =20
them), the added sentence is not necessary. It is just just a double =20
precaution for cases where such ingress filtering doesn't apply.



(2) Case of ISPs that operate 6rd relays AND 6to4 relays (but neither =20=

Teredo relays nor ISP-infrastructure NATs)

In its sec. 5 on security, draft-despres-6rd-03 says:
<<<
    o  RELAY PACKETS TOWARD THE INTERNET: The IPv6 source must be a 6rd
       address that matches the IPv4 source.  The IPv6 destination must
       not start with the ISP 6rd prefix.
...
    o  RELAY PACKETS FROM THE INTERNET: The IPv6 source must not be a =20=

6rd
       address of the ISP.  The IPv4 destination must not be multicast,
       i.e. must not start with 224/3...
 >>>

In view of your study and in my understanding, it MUST be completed =20
with:
- after the first quoted paragraph:
"Furthermore, if the ISP also operates 6to4 relays that advertise on =20
the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 source must =20=

be neither the 6to4 anycast address 192.88.99.0 nor any of its =20
equivalent IPv4 unicast addresses."
- after the second quoted paragraph:
"Furthermore, if the ISP also operates 6to4 relays that advertise on =20
the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 destination =20=

derived from the IPv6 destination must be neither the IPv4 anycast =20
address 192.88.99.0 nor any of its equivalent IPv4 unicast addresses."

With this, an ISP that operates both 6rd and 6to4 relays is also =20
immune to the routing-loop attack because:
- an IPv6 packet forwarded to the global Internet by 6rd relays can =20
come back to the ISP IPv4 network via one of the 6to4 relays of the =20
ISP BUT cannot be accepted again by a 6rd relay: its IPv4 source =20
address is then one of a 6to4 relay, which, with the first added =20
sentence, prevents it from being accepted by the 6rd relay.
- an IPv6 packet received from the IPv6 Internet by a 6rd relay =20
cannot be sent back to the IPv4 global Internet via one of the 6to4 =20
relays: the IPv4 address derived from its IPv6 destination would have =20=

for this to be one of a 6to4 relays, which, with the second added =20
sentence, prevents it from being forwarded by the 6rd relay.

Note: RFC 3068, where the 6to4 anycast address is introduced, says =20
that "each 6to4 relay router that advertise the 6to4 anycast prefix =20
MUST also provide an equivalent IPv4 unicast address". Whether this =20
is really important in practice is IMHO unclear. On the other hand, =20
if this MUST is dispensed with, the above security precaution can be =20
implemented in 6rd relays without a need to handle a variable number =20
of addresses, and to administratively configure them (with the =20
associated risks of human errors).



To conclude:
- Without needing to modify 6to4 relays, ISATAP relays, and Teredo =20
relays, ISPs that support 6rd and don't support 6to4 appear to be =20
already protected against routing loop attacks if ingress filtering =20
is operational at their interfaces to the IPv4 global Internet. With =20
an additional simple precaution in 6rd relays, they can also be =20
immune in the absence of such filtering.
- A necessary additional security precaution against routing-loop =20
attacks is now identified for ISPs that support 6rd and that, having =20
started with 6to4, wish to keep it for backward compatibility. Thanks =20=

again for your analysis which made it possible.


Best regards,
RD



Le 17 ao=FBt 09 =E0 17:21, Gabi Nakibly a =E9crit :

> Hi all,
> I would like to draw the attention of the list to some research =20
> results which my colleague and I at the National EW Research & =20
> Simulation Center have recently published. The research presents a =20
> class of routing loop attacks that abuses 6to4, ISATAP and Teredo. =20
> The paper can be found at: http://www.usenix.org/events/woot09/tech/=20=

> full_papers/nakibly.pdf
>
> Here is the abstract:
> IPv6 is the future network layer protocol for the Internet. Since =20
> it is not compatible with its predecessor, some interoperability =20
> mechanisms were designed. An important category of these mechanisms =20=

> is automatic tunnels, which enable IPv6 communication over an IPv4 =20
> network without prior configuration. This category includes ISATAP, =20=

> 6to4 and Teredo. We present a novel class of attacks that exploit =20
> vulnerabilities in these tunnels. These attacks take advantage of =20
> inconsistencies between a tunnel's overlay IPv6 routing state and =20
> the native IPv6 routing state. The attacks form routing loops which =20=

> can be abused as a vehicle for traffic amplification to facilitate =20
> DoS attacks. We exhibit five attacks of this class. One of the =20
> presented attacks can DoS a Teredo server using a single packet. =20
> The exploited vulnerabilities are embedded in the design of the =20
> tunnels; hence any implementation of these tunnels may be =20
> vulnerable. In particular, the attacks were tested against the =20
> ISATAP, 6to4 and Teredo implementations of Windows Vista and =20
> Windows Server 2008 R2.
>
> I think the results of the research warrant some corrective action. =20=

> If this indeed shall be the general sentiment of the list, I will =20
> be happy write an appropriate I-D. The mitigation measures we =20
> suggested in the paper are the best we could think of to completely =20=

> eliminate the problem. However they are far from perfect since they =20=

> would require tunnel implementations to be updated in case new =20
> types of automatic tunnels are introduced.
>
> Your comments are welcome.
>
> Gabi
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------




From fernando@gont.com.ar  Tue Aug 18 23:37:40 2009
Return-Path: <fernando@gont.com.ar>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DEA773A6B29 for <ipv6@core3.amsl.com>; Tue, 18 Aug 2009 23:37:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.668
X-Spam-Level: 
X-Spam-Status: No, score=-0.668 tagged_above=-999 required=5 tests=[AWL=-0.518, BAYES_05=-1.11, RCVD_IN_BL_SPAMCOP_NET=1.96, 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 xrfkrLADsE+l for <ipv6@core3.amsl.com>; Tue, 18 Aug 2009 23:37:40 -0700 (PDT)
Received: from smtp1.xmundo.net (smtp1.xmundo.net [201.216.232.80]) by core3.amsl.com (Postfix) with ESMTP id E75363A6A1F for <ipv6@ietf.org>; Tue, 18 Aug 2009 23:37:39 -0700 (PDT)
Received: from venus.xmundo.net (venus.xmundo.net [201.216.232.56]) by smtp1.xmundo.net (Postfix) with ESMTP id 98FE56B65BD for <ipv6@ietf.org>; Wed, 19 Aug 2009 03:27:08 -0300 (ART)
Received: from [192.168.0.151] (129-130-17-190.fibertel.com.ar [190.17.130.129]) (authenticated bits=0) by venus.xmundo.net (8.14.1/8.14.1) with ESMTP id n7J6QjAU002792; Wed, 19 Aug 2009 03:26:46 -0300
Message-ID: <4A8B9B2A.30300@gont.com.ar>
Date: Wed, 19 Aug 2009 03:26:50 -0300
From: Fernando Gont <fernando@gont.com.ar>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: ipv6@ietf.org
Subject: Recommended value for the Hop Limit?
X-Enigmail-Version: 0.95.7
OpenPGP: id=D076FFF1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (venus.xmundo.net [201.216.232.56]); Wed, 19 Aug 2009 03:27:07 -0300 (ART)
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 06:37:41 -0000

Hello, folks,

Is there a recommended value for the Hop Limit of IPv6 packets?

The IANA ipv6-parameters file states that the Hop Limit is not a
parameter (?).

FWIW, the recommended value for the IPv4 TTL is 64, and it seems that
some v6 implementations follow the same advice for the IPv6 Hop Limit.
e.g., at least in some Junipers it defaults to 64.
(http://www.juniper.net/techpubs/software/erx/junose700/swcmdref-a-m/html/i-commands285.html)

Thanks!

Kind regards,
-- 
Fernando Gont
e-mail: fernando@gont.com.ar || fgont@acm.org
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1





From fred@cisco.com  Wed Aug 19 00:20:03 2009
Return-Path: <fred@cisco.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AFF053A6C05 for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 00:20:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.078
X-Spam-Level: 
X-Spam-Status: No, score=-106.078 tagged_above=-999 required=5 tests=[AWL=0.521, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 mlAFhWyfST0X for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 00:20:02 -0700 (PDT)
Received: from sj-iport-3.cisco.com (sj-iport-3.cisco.com [171.71.176.72]) by core3.amsl.com (Postfix) with ESMTP id E647628C29B for <ipv6@ietf.org>; Wed, 19 Aug 2009 00:19:14 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAMBEi0qrR7MV/2dsb2JhbAC9fogtkTMFhBmBUw
X-IronPort-AV: E=Sophos;i="4.43,407,1246838400"; d="scan'208";a="184317145"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-3.cisco.com with ESMTP; 19 Aug 2009 07:19:19 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n7J7JKxK021913;  Wed, 19 Aug 2009 00:19:20 -0700
Received: from stealth-10-32-244-219.cisco.com (stealth-10-32-244-219.cisco.com [10.32.244.219]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n7J7JKxQ017830; Wed, 19 Aug 2009 07:19:20 GMT
Message-Id: <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com>
From: Fred Baker <fred@cisco.com>
To: Fernando Gont <fernando@gont.com.ar>
In-Reply-To: <4A8B9B2A.30300@gont.com.ar>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: Recommended value for the Hop Limit?
Date: Wed, 19 Aug 2009 00:19:16 -0700
References: <4A8B9B2A.30300@gont.com.ar>
X-Mailer: Apple Mail (2.936)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1394; t=1250666360; x=1251530360; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fred@cisco.com; z=From:=20Fred=20Baker=20<fred@cisco.com> |Subject:=20Re=3A=20Recommended=20value=20for=20the=20Hop=2 0Limit? |Sender:=20; bh=g3wr+Wfbjb4TInVHuSiNXiNwltk7qgYGJl0dDblYSYE=; b=A3irKGjcfeufY5LqxnXuS+Vlo3KovZewPPOo2UhSl1SXwJaWd7BDM6U7Th cUBqQdL+g6qLDUlttA8t2IAim1B2ptOtq6HHOpN9uHEiorg+/UYO4A373znT inVwu8P3nBpS55UlPvi39LRqXcXa1Zk05pMR+8ySLG9xkWBCL29MY=;
Authentication-Results: sj-dkim-1; header.From=fred@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 07:20:03 -0000

There are a number of RFCs with specific values. You might look at RFC  
2473 (64), RFC 3122 (255), and RFC 3315 (32). Neighbor Discovery wants  
a hop limit of one. each of those specifies a specific case in which  
the value applies.

For IPv6 unicast traffic, I think it's fair to say "wider than the  
network diameter". IPv4 seems to be using 64 pretty consistently for  
that these days. I remember when the magic number was 16 and when it  
was 32.


On Aug 18, 2009, at 11:26 PM, Fernando Gont wrote:

> Hello, folks,
>
> Is there a recommended value for the Hop Limit of IPv6 packets?
>
> The IANA ipv6-parameters file states that the Hop Limit is not a
> parameter (?).
>
> FWIW, the recommended value for the IPv4 TTL is 64, and it seems that
> some v6 implementations follow the same advice for the IPv6 Hop Limit.
> e.g., at least in some Junipers it defaults to 64.
> (http://www.juniper.net/techpubs/software/erx/junose700/swcmdref-a-m/html/i-commands285.html 
> )
>
> Thanks!
>
> Kind regards,
> -- 
> Fernando Gont
> e-mail: fernando@gont.com.ar || fgont@acm.org
> PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
>
>
>
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------


From fernando@gont.com.ar  Wed Aug 19 00:35:18 2009
Return-Path: <fernando@gont.com.ar>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A610B3A6889 for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 00:35:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.153
X-Spam-Level: 
X-Spam-Status: No, score=-1.153 tagged_above=-999 required=5 tests=[AWL=0.486,  BAYES_00=-2.599, RCVD_IN_BL_SPAMCOP_NET=1.96, 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 lVVVUiw1fXm6 for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 00:35:18 -0700 (PDT)
Received: from smtp1.xmundo.net (smtp1.xmundo.net [201.216.232.80]) by core3.amsl.com (Postfix) with ESMTP id D00A23A683D for <ipv6@ietf.org>; Wed, 19 Aug 2009 00:35:16 -0700 (PDT)
Received: from venus.xmundo.net (venus.xmundo.net [201.216.232.56]) by smtp1.xmundo.net (Postfix) with ESMTP id 66C3B6B65AE; Wed, 19 Aug 2009 04:35:21 -0300 (ART)
Received: from [192.168.0.151] (129-130-17-190.fibertel.com.ar [190.17.130.129]) (authenticated bits=0) by venus.xmundo.net (8.14.1/8.14.1) with ESMTP id n7J7Z4Di032045; Wed, 19 Aug 2009 04:35:04 -0300
Message-ID: <4A8BAB30.4010803@gont.com.ar>
Date: Wed, 19 Aug 2009 04:35:12 -0300
From: Fernando Gont <fernando@gont.com.ar>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Fred Baker <fred@cisco.com>
Subject: Re: Recommended value for the Hop Limit?
References: <4A8B9B2A.30300@gont.com.ar> <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com>
In-Reply-To: <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com>
X-Enigmail-Version: 0.95.7
OpenPGP: id=D076FFF1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (venus.xmundo.net [201.216.232.56]); Wed, 19 Aug 2009 04:35:19 -0300 (ART)
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 07:35:18 -0000

Hello, Fred,

> There are a number of RFCs with specific values. You might look at RFC
> 2473 (64), RFC 3122 (255), and RFC 3315 (32). Neighbor Discovery wants a
> hop limit of one. 

(Side-tracked, but: think it wants 255, for GTSM)


>each of those specifies a specific case in which the
> value applies.

Yes. However, I was wondering about the recommended default value for
"normal" unicast traffic.



> For IPv6 unicast traffic, I think it's fair to say "wider than the
> network diameter". IPv4 seems to be using 64 pretty consistently for
> that these days. I remember when the magic number was 16 and when it was
> 32.

I was expecting a recommended value in the IANA ipv6-parameters file.
Not sure why it's not there.

Thanks!

Kind regards,
-- 
Fernando Gont
e-mail: fernando@gont.com.ar || fgont@acm.org
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1





From gnakibly@yahoo.com  Wed Aug 19 00:39:36 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B67828C35A for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 00:39:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.518
X-Spam-Level: 
X-Spam-Status: No, score=-0.518 tagged_above=-999 required=5 tests=[AWL=-0.216, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, MIME_8BIT_HEADER=0.3, MIME_QP_LONG_LINE=1.396]
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 ps+WUqLXHETR for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 00:39:35 -0700 (PDT)
Received: from n66.bullet.mail.sp1.yahoo.com (n66.bullet.mail.sp1.yahoo.com [98.136.44.50]) by core3.amsl.com (Postfix) with SMTP id 7F41C28C34B for <ipv6@ietf.org>; Wed, 19 Aug 2009 00:39:35 -0700 (PDT)
Received: from [69.147.84.145] by n66.bullet.mail.sp1.yahoo.com with NNFMP; 19 Aug 2009 07:39:06 -0000
Received: from [69.147.65.164] by t8.bullet.mail.sp1.yahoo.com with NNFMP; 19 Aug 2009 07:39:06 -0000
Received: from [127.0.0.1] by omp409.mail.sp1.yahoo.com with NNFMP; 19 Aug 2009 07:39:06 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 681436.51418.bm@omp409.mail.sp1.yahoo.com
Received: (qmail 64125 invoked by uid 60001); 19 Aug 2009 07:39:06 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250667546; bh=7bN4ZkxUxlGfnlbM+D2OvAFp+zdZ7kIMSeHOC/rBpu4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=GUVIG85O/ot5prUqbHB007EOirb0hIOc8t5Sh2Y+mC6dE5qXlqz1ZWRUZlecuLc162gUaY5Dp/w28aQv2SXOlTgjCEqEng6JDmfMgdShef55y90l2OgaHzvjwVUrtBkm8x22nq03TJ7UU/RyrQsKibt97FPE26QMtrsbfk8cNLw=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=qklO4fYI4eclcb95Mpm7qg8Jvs9hzdDV2swgii21yNn6Z9Fdyrrg0UsWR9qucVpyvpzfECuoVzu2yua4MdW8PWdsy+LyZg7BjaDmGTN3ciSjpFYlC+W1tVWoCBarQXGfTh/GSEgf8zimvqswj0aD/p6WEG+c9beRnO0mInRJpMg=;
Message-ID: <528095.63282.qm@web45508.mail.sp1.yahoo.com>
X-YMail-OSG: 7q85LW4VM1lrswtKVNnoJbGcElDXfHFl9q_8EGzN14EcvrZYK35sib3cxM.CJ8vrU_LUJVa65AhrOZHuOL5OHAhd3eT5vS9gTNe5ijtyFVUaV83JSoS9VFDwABkozkndNA5a3B__cjOs1.Cz_rvPxse7sRi.6.Fm6BOU84jICLwCBsHrPlsu4rwSCbfwMnzW8hMmqmUxlke.FjMQ6kspemMbAeuds5po0SoMZXhqsk4NOh7YcvaoYNG99Ut1nAdM47Rry_195koYs2.RujzZA3T60qHDY0Wx1HpEP6R_CRcTVKTkiUs-
Received: from [89.138.133.93] by web45508.mail.sp1.yahoo.com via HTTP; Wed, 19 Aug 2009 00:39:06 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <200908171954.07106.remi@remlab.net> <726098.63579.qm@web45508.mail.sp1.yahoo.com> <6c60aa25c21d90342161a94ee190d34f@chewa.net>
Date: Wed, 19 Aug 2009 00:39:06 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: =?iso-8859-1?Q?R=E9mi_Denis-Courmont?= <remi@remlab.net>
In-Reply-To: <6c60aa25c21d90342161a94ee190d34f@chewa.net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-202411197-1250667546=:63282"
Cc: v6ops <v6ops@ops.ietf.org>, ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 07:39:36 -0000

--0-202411197-1250667546=:63282
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Remi,=0AWell, I also think that there should also be a proper check in the =
spec.=0ANotice, that there are valid cases in which looping a packet back t=
o yourself is OK. For example, if two processes on the same host communicat=
e with each other. However, I do think that an alert implementer of a Tered=
o server could avoid this loop.=0A=0AGabi=0A=0A=0A=0A=0A___________________=
_____________=0AFrom: R=E9mi Denis-Courmont <remi@remlab.net>=0ATo: Gabi Na=
kibly <gnakibly@yahoo.com>=0ACc: v6ops <v6ops@ops.ietf.org>; secdir@ietf.or=
g; ipv6@ietf.org=0ASent: Tuesday, August 18, 2009 2:51:30 PM=0ASubject: Re:=
 Routing loop attacks using IPv6 tunnels=0A=0A=0AOn Tue, 18 Aug 2009 02:29:=
58 -0700 (PDT), Gabi Nakibly <gnakibly@yahoo.com>=0Awrote:=0A> Indeed, the =
vulnerability of attack 5 was noted and fixed in Miredo.=0A> However, I am =
not aware of any updates=A0to the Teredo specification to=0A> mitigate it. =
This means that new implementations will=A0always be=0Avulnerable=0A> as in=
 the case of Windows Server 2008 R2. This vulnerability was reported=0A> to=
 Microsoft a few months ago. They have reproduced it on their end. A=0Afix=
=0A> should be released in the next RC.=0A> I did not realize that the atta=
ck can be successful also on Linux. Thanks=0A> for the correction.=0A=0AWel=
l, it is as simple as not looping packet back to yourself, isn't it?=0ATher=
e could be a warning in the spec, but it's really an implementation=0Aerror=
, I think.=0A=0A> Please let me know the results of your check on attack #4=
.. If you wish, I=0A> can send you (off-list)=A0the details of my setup for =
this attack. By the=0A> way, I encourage other people on the list to verify=
 the attacks in=0A> different scenarios.=0A=0AI managed to reproduce it. Si=
ngle-homed NATs have absolutely no excuse in=0Aforwarding a packet with the=
ir own IP address as the source. But yeah -=0Athere is a problem.=0A=0A-- =
=0AR=E9mi Denis-Courmont=0A=0A=0A      
--0-202411197-1250667546=:63282
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:arial, helvetica, sans-serif;font-size:1=
2pt"><DIV>Remi,</DIV>=0A<DIV>Well, I also think that there should also be a=
 proper check in the spec.</DIV>=0A<DIV>Notice, that there are valid cases =
in which looping a packet back to yourself is OK. For example, if two proce=
sses on the same host communicate with each other. However, I do think that=
 an alert implementer of a Teredo server could avoid this loop.</DIV>=0A<DI=
V>&nbsp;</DIV>=0A<DIV>Gabi<BR></DIV>=0A<DIV style=3D"FONT-FAMILY: arial, he=
lvetica, sans-serif; FONT-SIZE: 12pt"><BR>=0A<DIV style=3D"FONT-FAMILY: ari=
al, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=3D2 face=3DTahoma>=
=0A<HR SIZE=3D1>=0A<B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B> R=
=E9mi Denis-Courmont &lt;remi@remlab.net&gt;<BR><B><SPAN style=3D"FONT-WEIG=
HT: bold">To:</SPAN></B> Gabi Nakibly &lt;gnakibly@yahoo.com&gt;<BR><B><SPA=
N style=3D"FONT-WEIGHT: bold">Cc:</SPAN></B> v6ops &lt;v6ops@ops.ietf.org&g=
t;; secdir@ietf.org; ipv6@ietf.org<BR><B><SPAN style=3D"FONT-WEIGHT: bold">=
Sent:</SPAN></B> Tuesday, August 18, 2009 2:51:30 PM<BR><B><SPAN style=3D"F=
ONT-WEIGHT: bold">Subject:</SPAN></B> Re: Routing loop attacks using IPv6 t=
unnels<BR></FONT><BR><BR>On Tue, 18 Aug 2009 02:29:58 -0700 (PDT), Gabi Nak=
ibly &lt;<A href=3D"mailto:gnakibly@yahoo.com" ymailto=3D"mailto:gnakibly@y=
ahoo.com">gnakibly@yahoo.com</A>&gt;<BR>wrote:<BR>&gt; Indeed, the vulnerab=
ility of attack 5 was noted and fixed in Miredo.<BR>&gt; However, I am not =
aware of any updates&nbsp;to the Teredo specification to<BR>&gt; mitigate i=
t. This means that new implementations will&nbsp;always be<BR>vulnerable<BR=
>&gt; as in the case of
 Windows Server 2008 R2. This vulnerability was reported<BR>&gt; to Microso=
ft a few months ago. They have reproduced it on their end. A<BR>fix<BR>&gt;=
 should be released in the next RC.<BR>&gt; I did not realize that the atta=
ck can be successful also on Linux. Thanks<BR>&gt; for the correction.<BR><=
BR>Well, it is as simple as not looping packet back to yourself, isn't it?<=
BR>There could be a warning in the spec, but it's really an implementation<=
BR>error, I think.<BR><BR>&gt; Please let me know the results of your check=
 on attack #4. If you wish, I<BR>&gt; can send you (off-list)&nbsp;the deta=
ils of my setup for this attack. By the<BR>&gt; way, I encourage other peop=
le on the list to verify the attacks in<BR>&gt; different scenarios.<BR><BR=
>I managed to reproduce it. Single-homed NATs have absolutely no excuse in<=
BR>forwarding a packet with their own IP address as the source. But yeah -<=
BR>there is a problem.<BR><BR>-- <BR>R=E9mi
 Denis-Courmont<BR><BR></DIV></DIV></div><br>=0A=0A=0A=0A      </body></htm=
l>
--0-202411197-1250667546=:63282--


From gnakibly@yahoo.com  Wed Aug 19 01:49:45 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2AD843A68E6 for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 01:49:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.614
X-Spam-Level: 
X-Spam-Status: No, score=-0.614 tagged_above=-999 required=5 tests=[AWL=-0.012, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, MIME_QP_LONG_LINE=1.396]
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 eJZjtWGxchg6 for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 01:49:43 -0700 (PDT)
Received: from n78a.bullet.mail.sp1.yahoo.com (n78a.bullet.mail.sp1.yahoo.com [98.136.45.25]) by core3.amsl.com (Postfix) with SMTP id DE0293A6AE7 for <ipv6@ietf.org>; Wed, 19 Aug 2009 01:49:20 -0700 (PDT)
Received: from [216.252.122.217] by n78.bullet.mail.sp1.yahoo.com with NNFMP; 19 Aug 2009 08:49:25 -0000
Received: from [69.147.84.107] by t2.bullet.sp1.yahoo.com with NNFMP; 19 Aug 2009 08:49:24 -0000
Received: from [127.0.0.1] by omp202.mail.sp1.yahoo.com with NNFMP; 19 Aug 2009 08:49:24 -0000
X-Yahoo-Newman-Property: ymail-5
X-Yahoo-Newman-Id: 953854.74478.bm@omp202.mail.sp1.yahoo.com
Received: (qmail 40614 invoked by uid 60001); 19 Aug 2009 08:49:24 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250671764; bh=4hS1kj1cOnGp39rwvdnEz6YnnR8ObYiprTdsa9Q8fp8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=c1vPizDKWs5YKM97am0dD3cgFb8e/TvAfAe3YZuszrQG6tyWOStAKjjXuyMJE7PrjFOXqWZw1FsoiKuSL07T9f+JvoWNJ1VB7XoXIMXrcKxo8fcgmWbrA6Xo4nq0PQNOc6ijqE+d0BPdeJbCrUMcOxVMs8qrdTnmySMFd+RjwPg=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=nZCeaaH0Zy9kwEkPR3RxNZg05lCV5R6n1a32W6pZ04aeH1nX0irT7Hy/N/QqhyyYBM2h5uE+lPS/p2rCVJwc7Y8DVCcyJNK3G4sZBbqFJuTA4WcObFJibw2KRHb+A7r1Mu+3h8Yr4tQzcWMFYBDkb9Wj1WQSN3e3KDoqndyIJ34=;
Message-ID: <689783.40421.qm@web45505.mail.sp1.yahoo.com>
X-YMail-OSG: bcyq8tsVM1nRC5ugn3B7gvrfZYgkIXfXOSu0b.J3pUwlrtd39UrR.4nA
Received: from [89.138.133.93] by web45505.mail.sp1.yahoo.com via HTTP; Wed, 19 Aug 2009 01:49:23 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106497BE7@XCH-NW-7V2.nw.nos.boeing.com> <2705.42043.qm@web45502.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106498101@XCH-NW-7V2.nw.nos.boeing.com>
Date: Wed, 19 Aug 2009 01:49:23 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, v6ops <v6ops@ops.ietf.org>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A106498101@XCH-NW-7V2.nw.nos.boeing.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-967350343-1250671763=:40421"
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 08:49:45 -0000

--0-967350343-1250671763=:40421
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Fred,=0ASee my comments inline (<gn>).=0A=0A=0A=0A_________________________=
_______=0A=0AFrom: "Templin, Fred L" <Fred.L.Templin@boeing.com>=0ATo: Gabi=
 Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>=0ACc: ipv6@ietf.o=
rg; secdir@ietf.org=0ASent: Tuesday, August 18, 2009 6:48:45 PM=0ASubject: =
RE: Routing loop attacks using IPv6 tunnels=0A=0ANow let me see that I unde=
rstand Section 6.2 correctly. In attack #2, for example, I assume the ISATA=
P router has two physical interfaces. A site-internal IPv4 interface with a=
n address IPisatap and a site-external IPv6 interface. I also assume that t=
here=A0is another border router which connects the site to the IPv4 Interne=
t.=A0The ISATAP router has an ISATAP interface with a single locator: (IPis=
atap, site-internal interface).=A0When the ISATAP router gets an IPv6 via i=
ts external interface it will encapsulate the packet accordingly and forwar=
d it through the internal IPv4 interface. If the encapsulated packet is=A0d=
estined to a node outside the site then the only thing that stops it is=A0a=
 proto-41 filtering at the=A0other border router of the site. Did I get thi=
s right?=0A</gn>=0A=0A> It is only mentioned as a possible mitigation again=
st=0A> incoming spurious protocol-41 packets. In addition,=0A> Section 10 o=
f RFC5214 only mentions=A0ingress not=A0egress=0A> filtering.=A0Hence it=A0=
will not stop attack #2.=0A=0AWe are now talking about ip-proto-41 filterin=
g; not ingress=0Afiltering. ip-proto-41 filtering is in both directions. It=
=0Aprevents ip-proto-41 packets from entering the enterprise=0Ainterior ISA=
TAP site from the Internet and prevents=0Aip-proto-41 packets from entering=
 the Internet ISATAP=0Asite from the enterprise interior. Else the ISATAP=
=0Ainterface would span multiple sites.=0A=0ABesides, "ingress" filtering i=
s not about packets coming=0Afrom the Internet into the end site, but rathe=
r it is=0Aabout packets leaving the end site and going out into=0Athe Inter=
net. RFC2827 (BCP38) documents ingress filtering.=0A<gn>=0AOK. I see what y=
ou are saying here.=0A</gn>=0A=0A> In addition,=0A> as mentioned, protocol-=
41 filtering is not helpful when=0A> attack #3 is launched on two routers t=
hat reside in the=0A> same site. Note that=A0it=A0may be=A0possible for=A0t=
he attack=0A> packet=A0to be sourced from outside the site unless proper=0A=
> filtering of incoming IPv6 packets is deployed. If the=0A> attacker resid=
es in the site, usually ingress filtering=0A> will not be helpful since it =
is deployed in general on=0A> the site's border.=0A=0AHere, we have the ISA=
TAP router in both cases sourcing a=0Apacket from a foreign prefix. =0A<gn>=
=0AWell, I do not see how this is correct. In attacks #1 and #3 the ISATAP =
router sources (actually forwards) an IPv6=A0packet with=A0a source address=
 having=A0the corresponding=A0prefix of the ISATAP tunnel. In attacks #2 an=
d #3 the ISATAP router sources and IPv4 packet with its own IPv4 address as=
 the source address.=0A</gn>=A0=0AThis attack is mitigated by =0AIPv6 ingre=
ss filtering which is an IPv6 security consideration=0Aand not an ISATAP no=
r IPv4 security consideration. BCP=0Arecommendations for network ingress fi=
ltering are documented=0Ain RFC2827 and it is expected that IPv6 routers th=
at configure=0AISATAP interfaces will implement IPv6 ingress filtering=0Aac=
cording to the BCP.=0A<gn>=0ASo If my last comment is correct than I do not=
 see how ingress filtering would help here. The only case where=A0ingress f=
iltering can help is in case of attack #3 when the routers reside at the sa=
me site. In that case if the attack packet (packet 0) is sent from outside =
the site then ingress filtering on the border of the site will drop the pac=
ket.=0A</gn>=0A=0A> In general, I would like to point out that indeed as in=
=0A> most other attacks these attacks may also be mitigated by=0A> proper f=
irewall rules. However, I do not believe that this=0A> should be our only a=
nswer against these attacks. I believe=0A> that since these attacks are mad=
e possible due to the=0A> inherent characteristics of the tunnels they=A0sh=
ould be=0A> stopped intrinsically as much as possible by the tunnel=0A> par=
ticipants and not relay on outside filtering rules.=0A=0AIn RFC5214, Sectio=
n 10 we have: "restricting access to the=0Alink can be achieved by restrict=
ing access to the site". The=0Amitigations do exactly that, and in such a w=
ay that ISATAP=0Anodes can operate with only the necessary and sufficient=
=0Achecks. So on this point, I do not share your opinion.=0A<gn>=0AWhat abo=
ut two ISATAP tunnels that reside on the same site like in attack #3. Do yo=
u=A0also think that proto-41 filtering should barrier between the two tunne=
ls within the site?=A0=0A</gn>=0A=0AFred=0Afred.l.templin@boeing.com=0A=A0=
=0A________________________________________=0AFrom: "Templin, Fred L" <Fred=
..L.Templin@boeing.com>=0ATo: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6op=
s@ops.ietf.org>=0ACc: ipv6@ietf.org; secdir@ietf.org=0ASent: Monday, August=
 17, 2009 8:35:08 PM=0ASubject: RE: Routing loop attacks using IPv6 tunnels=
=0A=0A=0AGabi,=0A=A0=0AThanks for publishing this work. In the document, at=
tacks A, B and C=0Acorrespond to a configuration that violates section 6.2 =
of RFC5214:=0A=A0=0A> 6.2.=A0 ISATAP Interface Address Configuration=0A>=A0=
=0A> =A0=A0Each ISATAP interface configures a set of locators consisting of=
 IPv4=0A>=A0=A0 address-to-interface mappings from a single site; i.e., an =
ISATAP=0A>=A0=A0 interface's locator set MUST NOT span multiple sites.=0A=
=A0=0AIn particular, in scenarios A, B and C the IPv4 locator used for ISAT=
AP=0Ais seen both within the enterprise as site #1 and within the global In=
ternet=0Aitself as site #2. If the ISATAP interface is to be used as an ent=
erprise-=0Ainterior interface, it should therefore not accept IP-proto-41 p=
ackets=0Acoming from an IPv4 source outside of the enterprise nor source=0A=
IP-proto-41 packets that are destined to an IPv4 node outside of the=0Aente=
rprise. This condition should be satisfied by having the site border=0Arout=
ers implement IPv4 ingress filtering and ip-protocol-41 filtering as=0Arequ=
ired in Section 10 of RFC5214.=0A=A0=0AIt is mentioned that attack C could =
also occur when the routers reside=0Ain the same site, where their addresse=
s may be private. This would=0Acorrespond to a case in which an attacker wi=
thin the site attacks the=0Asite itself, which can easily be traced - espec=
ially when source address=0Aspoofing from a node within the site is prevent=
ed through proper ingress=0Afiltering.=0A=A0=0AFred=0Afred.l.templin@boeing=
..com=0A=A0=0A________________________________________=0AFrom: Gabi Nakibly =
[mailto:gnakibly@yahoo.com] =0ASent: Monday, August 17, 2009 8:21 AM=0ATo: =
v6ops=0ACc: ipv6@ietf.org; secdir@ietf.org=0ASubject: Routing loop attacks =
using IPv6 tunnels=0A=A0=0AHi all,=0AI would like to draw the attention of =
the list to=A0some=A0research=A0results which my colleague and I at the Nat=
ional EW Research=A0& Simulation=A0Center have recently published. The rese=
arch presents a=A0class of routing loop attacks that abuses 6to4, ISATAP an=
d Teredo. The=A0paper can be found at: http://www.usenix.org/events/woot09/=
tech/full_papers/nakibly.pdf=0A=A0=0AHere is the abstract:=0AIPv6 is the fu=
ture network layer protocol for the Internet. Since it is not compatible wi=
th its predecessor, some interoperability mechanisms were designed. An impo=
rtant category of these mechanisms is automatic tunnels, which enable IPv6 =
communication over an IPv4 network without prior configuration. This catego=
ry includes ISATAP, 6to4 and Teredo. We present a novel class of attacks th=
at exploit vulnerabilities in these tunnels. These attacks take advantage o=
f inconsistencies between a tunnel's overlay IPv6 routing state and the nat=
ive IPv6 routing state. The attacks form routing loops which can be abused =
as a vehicle for traffic amplification to facilitate DoS attacks. We exhibi=
t five attacks of this class. One of the presented attacks can DoS a Teredo=
 server using a single packet. The exploited vulnerabilities are embedded i=
n the design of the tunnels; hence any implementation of these tunnels may =
be vulnerable. In particular, the attacks were tested
 against the ISATAP, 6to4 and Teredo implementations of Windows Vista and W=
indows Server 2008 R2. =0A=A0=0AI think the results of the research warrant=
 some corrective action. If this=A0indeed shall be the general sentiment of=
 the list, I will be happy write an appropriate I-D. The mitigation measure=
s we suggested in the paper are the best we could think of to completely el=
iminate the problem. However they are far from perfect since=A0they would r=
equire=A0tunnel implementations to be updated in case new types of automati=
c tunnels are introduced.=0A=A0=0AYour comments are welcome.=0A=A0=0AGabi=
=0A=A0=0A=0A=0AGabi,=0A=0A________________________________________=0AFrom: =
Gabi Nakibly [mailto:gnakibly@yahoo.com] =0ASent: Tuesday, August 18, 2009 =
3:29 AM=0ATo: Templin, Fred L; v6ops=0A> Cc: ipv6@ietf.org; secdir@ietf.org=
=0A> Subject: Re: Routing loop attacks using IPv6 tunnels=0A> =0A> Indeed t=
he ISATAP interface of the ISATAP router is meant=0A> to be an enterprise-i=
nterior (note that=A0it is still=A0assumed=0A> that the associated IPv4 add=
ress is=A0non-private). As=A0we=0A> explicitly note in the paper, the first=
 three attacks=A0will=0A> be mitigated=A0if proper protocol-41 filtering is=
 deployed on=0A> the site's border. However, note that RFC5214 does not man=
date=0A> or require this filtering.=0A=0AThe RFC5214 Security Consideration=
s makes clear the=0Aconsequences of not implementing IPv4 ingress filtering=
=0Aand ip-protocol-41 filtering (i.e., a possible spooing=0Aattack in which=
 spurious ip-protocol-41 packets are=0Ainjected into an ISATAP link from ou=
tside). RFC5214=0ASection 6.2 additionally requires that an ISATAP interfac=
e's=0Alocator set MUST NOT span multiple sites. This means that the=0AISATA=
P interface must not decapsulate nor source ip-proto-41=0Apackets within mu=
ltiple sites, where the enterprise interior=0Ais site #1 and the global Int=
ernet is site #2. ip-protocol-41=0Afiltering is the way in which the ISATAP=
 interface is=0Arestricted to a single site. =0A<gn>=0A=0A=0A      
--0-967350343-1250671763=:40421
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:arial, helvetica, sans-serif;font-size:1=
2pt"><DIV>Fred,</DIV>=0A<DIV>See my comments inline (&lt;gn&gt;).<BR></DIV>=
=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt=
"><BR><FONT size=3D2 face=3DTahoma>=0A<DIV style=3D"FONT-FAMILY: arial, hel=
vetica, sans-serif; FONT-SIZE: 13px">=0A<HR SIZE=3D1>=0A</DIV>=0A<DIV style=
=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><B><SPAN st=
yle=3D"FONT-WEIGHT: bold">From:</SPAN></B> "Templin, Fred L" &lt;Fred.L.Tem=
plin@boeing.com&gt;<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> =
Gabi Nakibly &lt;gnakibly@yahoo.com&gt;; v6ops &lt;v6ops@ops.ietf.org&gt;<B=
R><B><SPAN style=3D"FONT-WEIGHT: bold">Cc:</SPAN></B> ipv6@ietf.org; secdir=
@ietf.org<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday,=
 August 18, 2009 6:48:45 PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Subject=
:</SPAN></B> RE: Routing loop attacks using IPv6 tunnels<BR></FONT><BR>Gabi=
,<BR><BR>________________________________________<BR>From: Gabi Nakibly [ma=
ilto:<A href=3D"mailto:gnakibly@yahoo.com" ymailto=3D"mailto:gnakibly@yahoo=
..com">gnakibly@yahoo.com</A>] <BR>Sent: Tuesday, August 18, 2009 3:29 AM<BR=
>To: Templin, Fred L; v6ops<BR>&gt; Cc: <A href=3D"mailto:ipv6@ietf.org" ym=
ailto=3D"mailto:ipv6@ietf.org">ipv6@ietf.org</A>; <A
 href=3D"mailto:secdir@ietf.org" ymailto=3D"mailto:secdir@ietf.org">secdir@=
ietf.org</A><BR>&gt; Subject: Re: Routing loop attacks using IPv6 tunnels<B=
R>&gt; <BR>&gt; Indeed the ISATAP interface of the ISATAP router is meant<B=
R>&gt; to be an enterprise-interior (note that&nbsp;it is still&nbsp;assume=
d<BR>&gt; that the associated IPv4 address is&nbsp;non-private). As&nbsp;we=
<BR>&gt; explicitly note in the paper, the first three attacks&nbsp;will<BR=
>&gt; be mitigated&nbsp;if proper protocol-41 filtering is deployed on<BR>&=
gt; the site's border. However, note that RFC5214 does not mandate<BR>&gt; =
or require this filtering.<BR><BR>The RFC5214 Security Considerations makes=
 clear the<BR>consequences of not implementing IPv4 ingress filtering<BR>an=
d ip-protocol-41 filtering (i.e., a possible spooing<BR>attack in which spu=
rious ip-protocol-41 packets are<BR>injected into an ISATAP link from outsi=
de). RFC5214<BR>Section 6.2 additionally requires that an ISATAP
 interface's<BR>locator set MUST NOT span multiple sites. This means that t=
he<BR>ISATAP interface must not decapsulate nor source ip-proto-41<BR>packe=
ts within multiple sites, where the enterprise interior<BR>is site #1 and t=
he global Internet is site #2. ip-protocol-41<BR>filtering is the way in wh=
ich the ISATAP interface is<BR>restricted to a single site. <BR>&lt;gn&gt;<=
/DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE:=
 13px">Now let me see that I understand Section 6.2 correctly. In attack #2=
, for example, I assume the ISATAP router has two physical interfaces. A si=
te-internal IPv4 interface with an address IPisatap and a site-external IPv=
6 interface. I also assume that there&nbsp;is another border router which c=
onnects the site to the IPv4 Internet.&nbsp;The ISATAP router has an ISATAP=
 interface with a single locator: (IPisatap, site-internal interface).&nbsp=
;When the ISATAP router gets an IPv6 via its external interface it will enc=
apsulate the packet accordingly and forward it through the internal IPv4 in=
terface. If the encapsulated packet is&nbsp;destined to a node outside the =
site then the only thing that stops it is&nbsp;a proto-41 filtering at the&=
nbsp;other border router of the site. Did I get this right?</DIV>=0A<DIV st=
yle=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">&lt;/gn&=
gt;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-S=
IZE: 13px"><BR>&gt; It is only mentioned as a possible mitigation against<B=
R>&gt; incoming spurious protocol-41 packets. In addition,<BR>&gt; Section =
10 of RFC5214 only mentions&nbsp;ingress not&nbsp;egress<BR>&gt; filtering.=
&nbsp;Hence it&nbsp;will not stop attack #2.<BR><BR>We are now talking abou=
t ip-proto-41 filtering; not ingress<BR>filtering. ip-proto-41 filtering is=
 in both directions. It<BR>prevents ip-proto-41 packets from entering the e=
nterprise<BR>interior ISATAP site from the Internet and prevents<BR>ip-prot=
o-41 packets from entering the Internet ISATAP<BR>site from the enterprise =
interior. Else the ISATAP<BR>interface would span multiple sites.<BR><BR>Be=
sides, "ingress" filtering is not about packets coming<BR>from the Internet=
 into the end site, but rather it is<BR>about packets leaving the end site =
and going out into<BR>the Internet. RFC2827 (BCP38) documents ingress
 filtering.<BR>&lt;gn&gt;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helveti=
ca, sans-serif; FONT-SIZE: 13px">OK. I see what you are saying here.</DIV>=
=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px=
">&lt;/gn&gt;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-ser=
if; FONT-SIZE: 13px"><BR>&gt; In addition,<BR>&gt; as mentioned, protocol-4=
1 filtering is not helpful when<BR>&gt; attack #3 is launched on two router=
s that reside in the<BR>&gt; same site. Note that&nbsp;it&nbsp;may be&nbsp;=
possible for&nbsp;the attack<BR>&gt; packet&nbsp;to be sourced from outside=
 the site unless proper<BR>&gt; filtering of incoming IPv6 packets is deplo=
yed. If the<BR>&gt; attacker resides in the site, usually ingress filtering=
<BR>&gt; will not be helpful since it is deployed in general on<BR>&gt; the=
 site's border.<BR><BR>Here, we have the ISATAP router in both cases sourci=
ng a<BR>packet from a foreign prefix. </DIV>=0A<DIV style=3D"FONT-FAMILY: a=
rial, helvetica, sans-serif; FONT-SIZE: 13px">=0A<DIV style=3D"FONT-FAMILY:=
 arial, helvetica, sans-serif; FONT-SIZE: 13px">&lt;gn&gt;</DIV>=0A<DIV sty=
le=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">Well, I d=
o not see how this is correct. In attacks #1 and #3 the ISATAP router sourc=
es (actually forwards) an IPv6&nbsp;packet with&nbsp;a source address havin=
g&nbsp;the corresponding&nbsp;prefix of the ISATAP tunnel. In attacks #2 an=
d #3 the ISATAP router sources and IPv4 packet with its own IPv4 address as=
 the source address.</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, s=
ans-serif; FONT-SIZE: 13px">&lt;/gn&gt;&nbsp;</DIV></DIV>=0A<DIV style=3D"F=
ONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">This attack is m=
itigated by <BR>IPv6 ingress filtering which is an IPv6 security considerat=
ion<BR>and not an ISATAP nor IPv4 security consideration. BCP<BR>recommenda=
tions for network ingress filtering are documented<BR>in RFC2827 and it is =
expected that IPv6 routers that configure<BR>ISATAP interfaces will impleme=
nt IPv6 ingress filtering<BR>according to the BCP.<BR>&lt;gn&gt;</DIV>=0A<D=
IV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">So =
If my last comment is correct than I do not see how ingress filtering would=
 help here. The only case where&nbsp;ingress filtering can help is in case =
of attack #3 when the routers reside at the same site. In that case if the =
attack packet (packet 0) is sent from outside the site then ingress filteri=
ng on the border of the site will drop the packet.</DIV>=0A<DIV style=3D"FO=
NT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">&lt;/gn&gt;</DIV>=
=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px=
"><BR>&gt; In general, I would like to point out that indeed as in<BR>&gt; =
most other attacks these attacks may also be mitigated by<BR>&gt; proper fi=
rewall rules. However, I do not believe that this<BR>&gt; should be our onl=
y answer against these attacks. I believe<BR>&gt; that since these attacks =
are made possible due to the<BR>&gt; inherent characteristics of the tunnel=
s they&nbsp;should be<BR>&gt; stopped intrinsically as much as possible by =
the tunnel<BR>&gt; participants and not relay on outside filtering rules.<B=
R><BR>In RFC5214, Section 10 we have: "restricting access to the<BR>link ca=
n be achieved by restricting access to the site". The<BR>mitigations do exa=
ctly that, and in such a way that ISATAP<BR>nodes can operate with only the=
 necessary and sufficient<BR>checks. So on this point, I do not share your =
opinion.<BR>&lt;gn&gt;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica,=
 sans-serif; FONT-SIZE: 13px">What about two ISATAP tunnels that reside on =
the same site like in attack #3. Do you&nbsp;also think that proto-41 filte=
ring should barrier between the two tunnels within the site?&nbsp;</DIV>=0A=
<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">&=
lt;/gn&gt;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif;=
 FONT-SIZE: 13px"><BR>Fred<BR><A href=3D"mailto:fred.l.templin@boeing.com" =
ymailto=3D"mailto:fred.l.templin@boeing.com">fred.l.templin@boeing.com</A><=
BR>&nbsp;<BR>________________________________________<BR>From: "Templin, Fr=
ed L" &lt;<A href=3D"mailto:Fred.L.Templin@boeing.com" ymailto=3D"mailto:Fr=
ed.L.Templin@boeing.com">Fred.L.Templin@boeing.com</A>&gt;<BR>To: Gabi Naki=
bly &lt;<A href=3D"mailto:gnakibly@yahoo.com" ymailto=3D"mailto:gnakibly@ya=
hoo.com">gnakibly@yahoo.com</A>&gt;; v6ops &lt;<A href=3D"mailto:v6ops@ops.=
ietf.org" ymailto=3D"mailto:v6ops@ops.ietf.org">v6ops@ops.ietf.org</A>&gt;<=
BR>Cc: <A href=3D"mailto:ipv6@ietf.org" ymailto=3D"mailto:ipv6@ietf.org">ip=
v6@ietf.org</A>; <A href=3D"mailto:secdir@ietf.org" ymailto=3D"mailto:secdi=
r@ietf.org">secdir@ietf.org</A><BR>Sent: Monday, August 17, 2009 8:35:08 PM=
<BR>Subject: RE: Routing loop attacks using IPv6 tunnels<BR><BR><BR>Gabi,<B=
R>&nbsp;<BR>Thanks for publishing this
 work. In the document, attacks A, B and C<BR>correspond to a configuration=
 that violates section 6.2 of RFC5214:<BR>&nbsp;<BR>&gt; 6.2.&nbsp; ISATAP =
Interface Address Configuration<BR>&gt;&nbsp;<BR>&gt; &nbsp;&nbsp;Each ISAT=
AP interface configures a set of locators consisting of IPv4<BR>&gt;&nbsp;&=
nbsp; address-to-interface mappings from a single site; i.e., an ISATAP<BR>=
&gt;&nbsp;&nbsp; interface's locator set MUST NOT span multiple sites.<BR>&=
nbsp;<BR>In particular, in scenarios A, B and C the IPv4 locator used for I=
SATAP<BR>is seen both within the enterprise as site #1 and within the globa=
l Internet<BR>itself as site #2. If the ISATAP interface is to be used as a=
n enterprise-<BR>interior interface, it should therefore not accept IP-prot=
o-41 packets<BR>coming from an IPv4 source outside of the enterprise nor so=
urce<BR>IP-proto-41 packets that are destined to an IPv4 node outside of th=
e<BR>enterprise. This condition should be satisfied by having the
 site border<BR>routers implement IPv4 ingress filtering and ip-protocol-41=
 filtering as<BR>required in Section 10 of RFC5214.<BR>&nbsp;<BR>It is ment=
ioned that attack C could also occur when the routers reside<BR>in the same=
 site, where their addresses may be private. This would<BR>correspond to a =
case in which an attacker within the site attacks the<BR>site itself, which=
 can easily be traced - especially when source address<BR>spoofing from a n=
ode within the site is prevented through proper ingress<BR>filtering.<BR>&n=
bsp;<BR>Fred<BR><A href=3D"mailto:fred.l.templin@boeing.com" ymailto=3D"mai=
lto:fred.l.templin@boeing.com">fred.l.templin@boeing.com</A><BR>&nbsp;<BR>_=
_______________________________________<BR>From: Gabi Nakibly [mailto:<A hr=
ef=3D"mailto:gnakibly@yahoo.com" ymailto=3D"mailto:gnakibly@yahoo.com">gnak=
ibly@yahoo.com</A>] <BR>Sent: Monday, August 17, 2009 8:21 AM<BR>To: v6ops<=
BR>Cc: <A href=3D"mailto:ipv6@ietf.org"
 ymailto=3D"mailto:ipv6@ietf.org">ipv6@ietf.org</A>; <A href=3D"mailto:secd=
ir@ietf.org" ymailto=3D"mailto:secdir@ietf.org">secdir@ietf.org</A><BR>Subj=
ect: Routing loop attacks using IPv6 tunnels<BR>&nbsp;<BR>Hi all,<BR>I woul=
d like to draw the attention of the list to&nbsp;some&nbsp;research&nbsp;re=
sults which my colleague and I at the National EW Research&nbsp;&amp; Simul=
ation&nbsp;Center have recently published. The research presents a&nbsp;cla=
ss of routing loop attacks that abuses 6to4, ISATAP and Teredo. The&nbsp;pa=
per can be found at: http://www.usenix.org/events/woot09/tech/full_papers/n=
akibly.pdf<BR>&nbsp;<BR>Here is the abstract:<BR>IPv6 is the future network=
 layer protocol for the Internet. Since it is not compatible with its prede=
cessor, some interoperability mechanisms were designed. An important catego=
ry of these mechanisms is automatic tunnels, which enable IPv6 communicatio=
n over an IPv4 network without prior configuration. This category includes
 ISATAP, 6to4 and Teredo. We present a novel class of attacks that exploit =
vulnerabilities in these tunnels. These attacks take advantage of inconsist=
encies between a tunnel's overlay IPv6 routing state and the native IPv6 ro=
uting state. The attacks form routing loops which can be abused as a vehicl=
e for traffic amplification to facilitate DoS attacks. We exhibit five atta=
cks of this class. One of the presented attacks can DoS a Teredo server usi=
ng a single packet. The exploited vulnerabilities are embedded in the desig=
n of the tunnels; hence any implementation of these tunnels may be vulnerab=
le. In particular, the attacks were tested against the ISATAP, 6to4 and Ter=
edo implementations of Windows Vista and Windows Server 2008 R2. <BR>&nbsp;=
<BR>I think the results of the research warrant some corrective action. If =
this&nbsp;indeed shall be the general sentiment of the list, I will be happ=
y write an appropriate I-D. The mitigation measures we suggested in
 the paper are the best we could think of to completely eliminate the probl=
em. However they are far from perfect since&nbsp;they would require&nbsp;tu=
nnel implementations to be updated in case new types of automatic tunnels a=
re introduced.<BR>&nbsp;<BR>Your comments are welcome.<BR>&nbsp;<BR>Gabi<BR=
>&nbsp;<BR><BR></DIV></DIV></div><br>=0A=0A      </body></html>
--0-967350343-1250671763=:40421--


From iljitsch@muada.com  Wed Aug 19 03:01:39 2009
Return-Path: <iljitsch@muada.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 66B893A69E0; Wed, 19 Aug 2009 03:01:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.379
X-Spam-Level: 
X-Spam-Status: No, score=-6.379 tagged_above=-999 required=5 tests=[AWL=0.220,  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 uEfpZvD56mFh; Wed, 19 Aug 2009 03:01:38 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 77C093A6767; Wed, 19 Aug 2009 03:01:38 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.71]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n7JA13qH056960 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 19 Aug 2009 12:01:03 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <69B21F02-D497-4C52-8E3C-E7C5B8D44535@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
In-Reply-To: <tslzla6tpbe.fsf@mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: [lisp] Flow label redux [Re: IPv6 UDP checksum issue]
Date: Wed, 19 Aug 2009 12:01:30 +0200
References: <20090807193111.3BD9C6BE5C1@mercury.lcs.mit.edu> <tslzla6tpbe.fsf@mit.edu>
X-Mailer: Apple Mail (2.936)
Cc: ipv6@ietf.org, Noel Chiappa <jnc@mercury.lcs.mit.edu>, lisp@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 10:01:39 -0000

On 11 aug 2009, at 16:09, Sam Hartman wrote:

> We have not reached a consensus that LISP needs to work through NATs.
> I'll take your message as a statement in favor of that and a personal
> opinion that they need to.

Please put me down in the "that's insane" column.

From gnakibly@yahoo.com  Wed Aug 19 03:19:26 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6FD153A689F for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 03:19:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.159
X-Spam-Level: 
X-Spam-Status: No, score=-1.159 tagged_above=-999 required=5 tests=[AWL=0.539,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, MIME_8BIT_HEADER=0.3]
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 VxbxqiduSAXZ for <ipv6@core3.amsl.com>; Wed, 19 Aug 2009 03:19:26 -0700 (PDT)
Received: from web45510.mail.sp1.yahoo.com (web45510.mail.sp1.yahoo.com [68.180.197.134]) by core3.amsl.com (Postfix) with SMTP id 8165328C38C for <ipv6@ietf.org>; Wed, 19 Aug 2009 03:18:59 -0700 (PDT)
Received: (qmail 59099 invoked by uid 60001); 19 Aug 2009 10:12:23 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250676743; bh=fgEG8GI5HqCo2Qtq/R+Q3NCz0PDXy11Ot/e3qYXsC3o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=VnROBEhwpGYgY4wVpyMZ1LHDISyAmKs41l0U8s8WSx6Hbe7jqE6EK5CFN3+mm8xxGUve2bSYV69NvLZe6J6BcDaT4uze7sxMcAegzvIKfm12vATxn4+zj2CA1jJ/qQlVnh3aPmg0Y0bmxGTtLaUUX+L3/rIQirRxpBMveC8kfCM=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=r6B/Vucd5RQ5TjlHDK99hi+4Jt2n3Gpf2yXWzsiDLjSrl/gyMXLuEPDHWGng9yuawYuJYw+ODrWOIELNRC7qUvIYwXD97TQ0sELv6kivUdPAdqoxkE3VRlEWHGo+rzB9HmvBQJ5hor2tE3oaS4bPYSdhYY5tMu/aDJP0XlHBfrs=;
Message-ID: <808598.58470.qm@web45510.mail.sp1.yahoo.com>
X-YMail-OSG: T4Oul6IVM1na15zQ.T_OJYvfcXs4o131nz5Y7lO8W8bY4r64xlsXT55oBzVKMrZoRKYTEV1S6GXoBjRB2BngdNG2ZD5Df80WFl.9M949pHykqcOAuXv.2oYW6oy88P8t0O8Q_uH263LhSCGvCbOSkfU6426f_yFvLTBK1cjdn6lsMko5bC5dNlwL5egFoUiDRQaFJPyPXODGD9gTxf4_dylpNdcGgvJStmhlqHEWeNZP1gr7Dw9ZNX_1eTLVpiFb.qmQaWM1wFq5LJovnRbmGeodoZjr7rz4ku_wzlaCJeWZ04UTbuU-
Received: from [89.138.133.93] by web45510.mail.sp1.yahoo.com via HTTP; Wed, 19 Aug 2009 03:12:23 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <6D7FF41F-717B-42D2-A744-750DC874356B@free.fr>
Date: Wed, 19 Aug 2009 03:12:23 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels - the 6rd case
To: =?iso-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <6D7FF41F-717B-42D2-A744-750DC874356B@free.fr>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-73789995-1250676743=:58470"
Cc: v6ops <v6ops@ops.ietf.org>, 6man 6man <ipv6@ietf.org>, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 10:19:26 -0000

--0-73789995-1250676743=:58470
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Remi,=0ASee my comments inline (<gn>).=0A=0AGabi=0A=0A=0A__________________=
______________=0A=0AFrom: R=E9mi Despr=E9s <remi.despres@free.fr>=0ATo: Gab=
i Nakibly <gnakibly@yahoo.com>=0ACc: v6ops <v6ops@ops.ietf.org>; 6man 6man =
<ipv6@ietf.org>; secdir@ietf.org; Mark Townsley <townsley@cisco.com>=0ASent=
: Tuesday, August 18, 2009 8:00:42 PM=0ASubject: Re: Routing loop attacks u=
sing IPv6 tunnels - the 6rd case=0A=0AI must admit that this is the first t=
ime I read the spec of 6rd so forgive me if I miss something.=0A</gn>=0A=0A=
(1) Case of ISPs that operate 6rd relays and no 6to4 relays (and neither Te=
redo relays nor ISP-infrastructure NATs)=0A=0AIn its sec. 3, draft-despres-=
6rd-03 says:=0A<<<=0A=A0 The IPv4 anycast address of 6rd relays may be chos=
en independently by=0A=A0 each ISP.=A0 The only constraint is that routes t=
oward the ISP that are=0A=A0 advertised must not include this address.=0A>>=
>=0AIn view of your study and in my understanding, it should be completed w=
ith:=0A"Also, the ISP must not forward toward the global IPv4 global Intern=
et packets having this address as source."=0A=0AWith this, an ISP that oper=
ates 6rd relays but operates neither 6to4 relays nor Teredo relays nor NATs=
 is immune to the routing loop attack because:=0A- An IPv6 packet forwarded=
 to the IPv6 Internet by a 6rd relay cannot come back to an IPv4 interface =
of a 6rd relay of the same ISP: there is no IPv4 route back to the ISP for =
its 6rd anycast address.=0A- An IPv6 packet received from the IPv6 Internet=
 by a 6rd relay cannot be sent back to the IPv4 global Internet: the source=
 address of its IPv4 encapsulating packet is the 6rd anycast address, which=
 prevents it from reaching the IPv4 global Internet.=0A=0ANote that, if int=
erfaces of the ISP to the IPv4 global Internet are already subject to ingre=
ss filtering (packets received by the global Internet are discarded if ther=
e is no reverse path available for them), the added sentence is not necessa=
ry. It is just just a double precaution for cases where such ingress filter=
ing doesn't apply.=0A=0A<gn>=0AI=A0agree with you that above check will wor=
k. However, I might choose another way here:=A0the relay=A0must make the fo=
llowing two checks:=0A1)=A0When an IPv6 packet is received from the IPv6 In=
ternet the 6rd relay must ensure before encapsulation that the intended IPv=
4 destination address=A0belongs to one=A0of=A0the ISP's=A0clients (I assume=
 it can=A0make this check easily). This way no IPv6 packet received from th=
e IPv6 Internet will be relayed to a 6to4 relay (and then back to the 6rd r=
elay through the IPv6 Internet). =0A2) When an encapsulated packet is recei=
ved from the IPv4 network side the 6rd relay must check that the IPv6 desti=
nation does not include its own IPv4 address. For example the IPv6 destinat=
ion address must not be: 2002:<IPv4 address of 6rd relay>::/48. This will p=
revent the packet from ever reaching back=A0the 6rd relay through its IPv4 =
interface=0A=0AThis way=A0all the=A0checks=A0are done only at the 6rd relay=
 and not in=A0other IPv4 border routers of the ISP which should not be awar=
e of the 6rd deployment.=0A</gn>=0A=0A=0A(2) Case of ISPs that operate 6rd =
relays AND 6to4 relays (but neither Teredo relays nor ISP-infrastructure NA=
Ts)=0A=0AIn its sec. 5 on security, draft-despres-6rd-03 says:=0A<<<=0A=A0 =
o=A0 RELAY PACKETS TOWARD THE INTERNET: The IPv6 source must be a 6rd=0A=A0=
 =A0 =A0 address that matches the IPv4 source.=A0 The IPv6 destination must=
=0A=A0 =A0 =A0 not start with the ISP 6rd prefix.=0A...=0A=A0 o=A0 RELAY PA=
CKETS FROM THE INTERNET: The IPv6 source must not be a 6rd=0A=A0 =A0 =A0 ad=
dress of the ISP.=A0 The IPv4 destination must not be multicast,=0A=A0 =A0 =
=A0 i.e. must not start with 224/3...=0A>>>=0A=0AIn view of your study and =
in my understanding, it MUST be completed with:=0A- after the first quoted =
paragraph:=0A"Furthermore, if the ISP also operates 6to4 relays that advert=
ise on the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 source mus=
t be neither the 6to4 anycast address 192.88.99.0 nor any of its equivalent=
 IPv4 unicast addresses."=0A- after the second quoted paragraph:=0A"Further=
more, if the ISP also operates 6to4 relays that advertise on the IPv6 netwo=
rk the 6to4 IPv6 prefix 2002::/16, the IPv4 destination derived from the IP=
v6 destination must be neither the IPv4 anycast address 192.88.99.0 nor any=
 of its equivalent IPv4 unicast addresses."=0A=0A<gn>=0AActually, I believe=
 that the precautions I suggested above will work here also instead of thos=
e checks. Won't they?=0AIn general, I think that checks performed on the de=
stination address (IPv4 or IPv6) should be more robust than checks on a sou=
rce address.=0A</gn>=0A=0AWith this, an ISP that operates both 6rd and 6to4=
 relays is also immune to the routing-loop attack because:=0A- an IPv6 pack=
et forwarded to the global Internet by 6rd relays can come back to the ISP =
IPv4 network via one of the 6to4 relays of the ISP BUT cannot be accepted a=
gain by a 6rd relay: its IPv4 source address is then one of a 6to4 relay, w=
hich, with the first added sentence, prevents it from being accepted by the=
 6rd relay.=0A- an IPv6 packet received from the IPv6 Internet by a 6rd rel=
ay cannot be sent back to the IPv4 global Internet via one of the 6to4 rela=
ys: the IPv4 address derived from its IPv6 destination would have for this =
to be one of a 6to4 relays, which, with the second added sentence, prevents=
 it from being forwarded by the 6rd relay.=0A=0ANote: RFC 3068, where the 6=
to4 anycast address is introduced, says that "each 6to4 relay router that a=
dvertise the 6to4 anycast prefix MUST also provide an equivalent IPv4 unica=
st address". Whether this is really important in practice is IMHO unclear. =
On the other hand, if this MUST is dispensed with, the above security preca=
ution can be implemented in 6rd relays without a need to handle a variable =
number of addresses, and to administratively configure them (with the assoc=
iated risks of human errors).=0A=0A<gn>=0AIf you do the check on the destin=
ation address you can avoid this administrative configuration altogether.=
=0A</gn>=0A=0ATo conclude:=0A- Without needing to modify 6to4 relays, ISATA=
P relays, and Teredo relays, ISPs that support 6rd and don't support 6to4 a=
ppear to be already protected against routing loop attacks if ingress filte=
ring is operational at their interfaces to the IPv4 global Internet. With a=
n additional simple precaution in 6rd relays, they can also be immune in th=
e absence of such filtering.=0A<gn>=0AI fully agree.=0A</gn>=0A- A necessar=
y additional security precaution against routing-loop attacks is now identi=
fied for ISPs that support 6rd and that, having started with 6to4, wish to =
keep it for backward compatibility. Thanks again for your analysis which ma=
de it possible.=0A=0A=0ABest regards,=0ARD=0A=0A=0A=0ALe 17 ao=FBt 09 =E0 1=
7:21, Gabi Nakibly a =E9crit :=0A=0A> Hi all,=0A> I would like to draw the =
attention of the list to some research results which my colleague and I at =
the National EW Research & Simulation Center have recently published. The r=
esearch presents a class of routing loop attacks that abuses 6to4, ISATAP a=
nd Teredo. The paper can be found at: http://www.usenix.org/events/woot09/t=
ech/full_papers/nakibly.pdf=0A> =0A> Here is the abstract:=0A> IPv6 is the =
future network layer protocol for the Internet. Since it is not compatible =
with its predecessor, some interoperability mechanisms were designed. An im=
portant category of these mechanisms is automatic tunnels, which enable IPv=
6 communication over an IPv4 network without prior configuration. This cate=
gory includes ISATAP, 6to4 and Teredo. We present a novel class of attacks =
that exploit vulnerabilities in these tunnels. These attacks take advantage=
 of inconsistencies between a tunnel's overlay IPv6 routing state and the n=
ative IPv6 routing state. The attacks form routing loops which can be abuse=
d as a vehicle for traffic amplification to facilitate DoS attacks. We exhi=
bit five attacks of this class. One of the presented attacks can DoS a Tere=
do server using a single packet. The exploited vulnerabilities are embedded=
 in the design of the tunnels; hence any implementation of these tunnels ma=
y be vulnerable. In particular, the attacks were
 tested against the ISATAP, 6to4 and Teredo implementations of Windows Vist=
a and Windows Server 2008 R2.=0A> =0A> I think the results of the research =
warrant some corrective action. If this indeed shall be the general sentime=
nt of the list, I will be happy write an appropriate I-D. The mitigation me=
asures we suggested in the paper are the best we could think of to complete=
ly eliminate the problem. However they are far from perfect since they woul=
d require tunnel implementations to be updated in case new types of automat=
ic tunnels are introduced.=0A> =0A> Your comments are welcome.=0A> =0A> Gab=
i=0A> =0A> ----------------------------------------------------------------=
----=0A> IETF IPv6 working group mailing list=0A> ipv6@ietf.org=0A> Adminis=
trative Requests: https://www.ietf.org/mailman/listinfo/ipv6=0A> ----------=
----------------------------------------------------------=0A=0A=0A=0A=0AHi=
 Gabi,=0A=0AFirst, thanks to you and your colleagues for this research, and=
 for the clear presentation of its results.=0AIn my understanding, your con=
tribution is important for transition solutions to be carefully selected, a=
nd where needed improved.=0A=0AThis mail is to complement the analysis with=
 what applies to 6rd.=0A=0AFor those who don't know it, 6rd, like 6to4, ISA=
TAP and Teredo, is an automatic tunnel mechanism in actual use for IPv6 acr=
oss IPv4 clouds.=0AWith it, service providers can offer native IPv6 to thei=
r customers while using for this their existing IPv4 infrastructures.=0APub=
lication of the RFC that describes it, RFC 5569, has been delayed since May=
 for a reason related to intellectual property rights applicable to indepen=
dent submissions.=0ABut the draft on which 6rd is based is still available,=
 and a new draft to extend its applicability is also available:=0A- tools.i=
etf.org/html/draft-despres-6rd-03=0A- tools.ietf.org/html/draft-townsley-ip=
v6-6rd-01=0A<gn>=0A=0A=0A      
--0-73789995-1250676743=:58470
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:arial, helvetica, sans-serif;font-size:1=
2pt"><DIV>Remi,</DIV>=0A<DIV>See my comments inline (&lt;gn&gt;).<BR></DIV>=
=0A<DIV>Gabi</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-seri=
f; FONT-SIZE: 12pt"><BR><FONT size=3D2 face=3DTahoma>=0A<DIV style=3D"FONT-=
FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">=0A<HR SIZE=3D1>=0A<=
/DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE:=
 13px"><B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B> R=E9mi Despr=
=E9s &lt;remi.despres@free.fr&gt;<BR><B><SPAN style=3D"FONT-WEIGHT: bold">T=
o:</SPAN></B> Gabi Nakibly &lt;gnakibly@yahoo.com&gt;<BR><B><SPAN style=3D"=
FONT-WEIGHT: bold">Cc:</SPAN></B> v6ops &lt;v6ops@ops.ietf.org&gt;; 6man 6m=
an &lt;ipv6@ietf.org&gt;; secdir@ietf.org; Mark Townsley &lt;townsley@cisco=
.com&gt;<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, =
August 18, 2009 8:00:42 PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Subject:=
</SPAN></B> Re: Routing loop attacks using IPv6 tunnels - the 6rd case<BR><=
/FONT><BR>Hi Gabi,<BR><BR>First, thanks to you and your colleagues for this=
 research, and for the clear presentation of its results.<BR>In my understa=
nding, your contribution is important for transition solutions to be carefu=
lly selected, and where needed improved.<BR><BR>This mail is to complement =
the analysis with
 what applies to 6rd.<BR><BR>For those who don't know it, 6rd, like 6to4, I=
SATAP and Teredo, is an automatic tunnel mechanism in actual use for IPv6 a=
cross IPv4 clouds.<BR>With it, service providers can offer native IPv6 to t=
heir customers while using for this their existing IPv4 infrastructures.<BR=
>Publication of the RFC that describes it, RFC 5569, has been delayed since=
 May for a reason related to intellectual property rights applicable to ind=
ependent submissions.<BR>But the draft on which 6rd is based is still avail=
able, and a new draft to extend its applicability is also available:<BR>- <=
A href=3D"http://tools.ietf.org/html/draft-despres-6rd-03" target=3D_blank>=
tools.ietf.org/html/draft-despres-6rd-03</A><BR>- <A href=3D"http://tools.i=
etf.org/html/draft-townsley-ipv6-6rd-01" target=3D_blank>tools.ietf.org/htm=
l/draft-townsley-ipv6-6rd-01</A><BR>&lt;gn&gt;</DIV>=0A<DIV style=3D"FONT-F=
AMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">I must admit that thi=
s is the first time I read the spec of 6rd so forgive me if I miss somethin=
g.</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SI=
ZE: 13px">&lt;/gn&gt;<BR><BR>(1) Case of ISPs that operate 6rd relays and n=
o 6to4 relays (and neither Teredo relays nor ISP-infrastructure NATs)<BR><B=
R>In its sec. 3, draft-despres-6rd-03 says:<BR>&lt;&lt;&lt;<BR>&nbsp; The I=
Pv4 anycast address of 6rd relays may be chosen independently by<BR>&nbsp; =
each ISP.&nbsp; The only constraint is that routes toward the ISP that are<=
BR>&nbsp; advertised must not include this address.<BR>&gt;&gt;&gt;<BR>In v=
iew of your study and in my understanding, it should be completed with:<BR>=
"Also, the ISP must not forward toward the global IPv4 global Internet pack=
ets having this address as source."<BR><BR>With this, an ISP that operates =
6rd relays but operates neither 6to4 relays nor Teredo relays nor NATs is i=
mmune to the routing loop attack because:<BR>- An IPv6 packet forwarded to =
the IPv6 Internet by a 6rd relay cannot come back to an IPv4 interface of a=
 6rd
 relay of the same ISP: there is no IPv4 route back to the ISP for its 6rd =
anycast address.<BR>- An IPv6 packet received from the IPv6 Internet by a 6=
rd relay cannot be sent back to the IPv4 global Internet: the source addres=
s of its IPv4 encapsulating packet is the 6rd anycast address, which preven=
ts it from reaching the IPv4 global Internet.<BR><BR>Note that, if interfac=
es of the ISP to the IPv4 global Internet are already subject to ingress fi=
ltering (packets received by the global Internet are discarded if there is =
no reverse path available for them), the added sentence is not necessary. I=
t is just just a double precaution for cases where such ingress filtering d=
oesn't apply.<BR></DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans=
-serif; FONT-SIZE: 13px">&lt;gn&gt;</DIV>=0A<DIV style=3D"FONT-FAMILY: aria=
l, helvetica, sans-serif; FONT-SIZE: 13px">I&nbsp;agree with you that above=
 check will work. However, I might choose another way here:&nbsp;the relay&=
nbsp;must make the following two checks:</DIV>=0A<DIV style=3D"FONT-FAMILY:=
 arial, helvetica, sans-serif; FONT-SIZE: 13px">1)&nbsp;When an IPv6 packet=
 is received from the IPv6 Internet the 6rd relay must ensure before encaps=
ulation that the intended IPv4 destination address&nbsp;belongs to one&nbsp=
;of&nbsp;the ISP's&nbsp;clients (I assume it can&nbsp;make this check easil=
y). This way no IPv6 packet received from the IPv6 Internet will be relayed=
 to a 6to4 relay (and then back to the 6rd relay through the IPv6 Internet)=
. </DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SI=
ZE: 13px">2) When an encapsulated packet is received from the IPv4 network =
side the 6rd relay must check that the IPv6 destination does not include it=
s own IPv4 address. For example the IPv6 destination address must not be: 2=
002:&lt;IPv4 address of 6rd relay&gt;::/48. This will prevent the packet fr=
om ever reaching back&nbsp;the 6rd relay through its IPv4 interface</DIV>=
=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px=
">&nbsp;</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; F=
ONT-SIZE: 13px">This way&nbsp;all the&nbsp;checks&nbsp;are done only at the=
 6rd relay and not in&nbsp;other IPv4 border routers of the ISP which shoul=
d not be aware of the 6rd deployment.</DIV>=0A<DIV style=3D"FONT-FAMILY: ar=
ial, helvetica, sans-serif; FONT-SIZE: 13px">&lt;/gn&gt;<BR><BR><BR>(2) Cas=
e of ISPs that operate 6rd relays AND 6to4 relays (but neither Teredo relay=
s nor ISP-infrastructure NATs)<BR><BR>In its sec. 5 on security, draft-desp=
res-6rd-03 says:<BR>&lt;&lt;&lt;<BR>&nbsp; o&nbsp; RELAY PACKETS TOWARD THE=
 INTERNET: The IPv6 source must be a 6rd<BR>&nbsp; &nbsp; &nbsp; address th=
at matches the IPv4 source.&nbsp; The IPv6 destination must<BR>&nbsp; &nbsp=
; &nbsp; not start with the ISP 6rd prefix.<BR>...<BR>&nbsp; o&nbsp; RELAY =
PACKETS FROM THE INTERNET: The IPv6 source must not be a 6rd<BR>&nbsp; &nbs=
p; &nbsp; address of the ISP.&nbsp; The IPv4 destination must not be multic=
ast,<BR>&nbsp; &nbsp; &nbsp; i.e. must not start with 224/3...<BR>&gt;&gt;&=
gt;<BR><BR>In view of your study and in my understanding, it MUST be comple=
ted with:<BR>- after the first quoted paragraph:<BR>"Furthermore, if the IS=
P also operates 6to4 relays that
 advertise on the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 sou=
rce must be neither the 6to4 anycast address 192.88.99.0 nor any of its equ=
ivalent IPv4 unicast addresses."<BR>- after the second quoted paragraph:<BR=
>"Furthermore, if the ISP also operates 6to4 relays that advertise on the I=
Pv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 destination derived fr=
om the IPv6 destination must be neither the IPv4 anycast address 192.88.99.=
0 nor any of its equivalent IPv4 unicast addresses."<BR></DIV>=0A<DIV style=
=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">&lt;gn&gt;<=
/DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE:=
 13px">Actually, I believe that the precautions I suggested above will work=
 here also instead of those checks. Won't they?</DIV>=0A<DIV style=3D"FONT-=
FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">In general, I think =
that checks performed on the destination address (IPv4 or IPv6) should be m=
ore robust than checks on a source address.</DIV>=0A<DIV style=3D"FONT-FAMI=
LY: arial, helvetica, sans-serif; FONT-SIZE: 13px">&lt;/gn&gt;</DIV>=0A<DIV=
 style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><BR>W=
ith this, an ISP that operates both 6rd and 6to4 relays is also immune to t=
he routing-loop attack because:<BR>- an IPv6 packet forwarded to the global=
 Internet by 6rd relays can come back to the ISP IPv4 network via one of th=
e 6to4 relays of the ISP BUT cannot be accepted again by a 6rd relay: its I=
Pv4 source address is then one of a 6to4 relay, which, with the first added=
 sentence, prevents it from being accepted by the 6rd relay.<BR>- an IPv6 p=
acket received from the IPv6 Internet by a 6rd relay cannot be sent back to=
 the IPv4 global Internet via one of the 6to4 relays: the IPv4 address deri=
ved from its IPv6 destination would have for this to be one of a 6to4 relay=
s, which, with the second added sentence, prevents it from being forwarded =
by the 6rd relay.<BR><BR>Note: RFC 3068, where the 6to4 anycast address is =
introduced, says that "each 6to4 relay router that advertise the
 6to4 anycast prefix MUST also provide an equivalent IPv4 unicast address".=
 Whether this is really important in practice is IMHO unclear. On the other=
 hand, if this MUST is dispensed with, the above security precaution can be=
 implemented in 6rd relays without a need to handle a variable number of ad=
dresses, and to administratively configure them (with the associated risks =
of human errors).<BR><BR>&lt;gn&gt;</DIV>=0A<DIV style=3D"FONT-FAMILY: aria=
l, helvetica, sans-serif; FONT-SIZE: 13px">If you do the check on the desti=
nation address you can avoid this administrative configuration altogether.<=
/DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE:=
 13px">&lt;/gn&gt;<BR><BR>To conclude:<BR>- Without needing to modify 6to4 =
relays, ISATAP relays, and Teredo relays, ISPs that support 6rd and don't s=
upport 6to4 appear to be already protected against routing loop attacks if =
ingress filtering is operational at their interfaces to the IPv4 global Int=
ernet. With an additional simple precaution in 6rd relays, they can also be=
 immune in the absence of such filtering.</DIV>=0A<DIV style=3D"FONT-FAMILY=
: arial, helvetica, sans-serif; FONT-SIZE: 13px">&lt;gn&gt;</DIV>=0A<DIV st=
yle=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px">I fully =
agree.</DIV>=0A<DIV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FON=
T-SIZE: 13px">&lt;/gn&gt;<BR>- A necessary additional security precaution a=
gainst routing-loop attacks is now identified for ISPs that support 6rd and=
 that, having started with 6to4, wish to keep it for backward compatibility=
. Thanks again for your analysis which made it possible.<BR><BR><BR>Best re=
gards,<BR>RD<BR><BR><BR><BR>Le 17 ao=FBt 09 =E0 17:21, Gabi Nakibly a =E9cr=
it :<BR><BR>&gt; Hi all,<BR>&gt; I would like to draw the attention of the =
list to some research results which my colleague and I at the National EW R=
esearch &amp; Simulation Center have recently published. The research prese=
nts a class of routing loop attacks that abuses 6to4, ISATAP and Teredo. Th=
e paper can be found at: http://www.usenix.org/events/woot09/tech/full_pape=
rs/nakibly.pdf<BR>&gt; <BR>&gt; Here is the abstract:<BR>&gt; IPv6 is the f=
uture network layer protocol for the Internet. Since it is not compatible w=
ith its
 predecessor, some interoperability mechanisms were designed. An important =
category of these mechanisms is automatic tunnels, which enable IPv6 commun=
ication over an IPv4 network without prior configuration. This category inc=
ludes ISATAP, 6to4 and Teredo. We present a novel class of attacks that exp=
loit vulnerabilities in these tunnels. These attacks take advantage of inco=
nsistencies between a tunnel's overlay IPv6 routing state and the native IP=
v6 routing state. The attacks form routing loops which can be abused as a v=
ehicle for traffic amplification to facilitate DoS attacks. We exhibit five=
 attacks of this class. One of the presented attacks can DoS a Teredo serve=
r using a single packet. The exploited vulnerabilities are embedded in the =
design of the tunnels; hence any implementation of these tunnels may be vul=
nerable. In particular, the attacks were tested against the ISATAP, 6to4 an=
d Teredo implementations of Windows Vista and Windows Server 2008
 R2.<BR>&gt; <BR>&gt; I think the results of the research warrant some corr=
ective action. If this indeed shall be the general sentiment of the list, I=
 will be happy write an appropriate I-D. The mitigation measures we suggest=
ed in the paper are the best we could think of to completely eliminate the =
problem. However they are far from perfect since they would require tunnel =
implementations to be updated in case new types of automatic tunnels are in=
troduced.<BR>&gt; <BR>&gt; Your comments are welcome.<BR>&gt; <BR>&gt; Gabi=
<BR>&gt; <BR>&gt; ---------------------------------------------------------=
-----------<BR>&gt; IETF IPv6 working group mailing list<BR>&gt; <A href=3D=
"mailto:ipv6@ietf.org" ymailto=3D"mailto:ipv6@ietf.org">ipv6@ietf.org</A><B=
R>&gt; Administrative Requests: <A href=3D"https://www.ietf.org/mailman/lis=
tinfo/ipv6" target=3D_blank>https://www.ietf.org/mailman/listinfo/ipv6</A><=
BR>&gt;
 --------------------------------------------------------------------<BR><B=
R><BR><BR></DIV></DIV></div><br>=0A=0A      </body></html>
--0-73789995-1250676743=:58470--

From Fred.L.Templin@boeing.com  Wed Aug 19 08:16:20 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA5B63A6F79; Wed, 19 Aug 2009 08:16:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.528
X-Spam-Level: 
X-Spam-Status: No, score=-5.528 tagged_above=-999 required=5 tests=[AWL=0.471,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6, 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 CFOWYVmZfmwp; Wed, 19 Aug 2009 08:16:18 -0700 (PDT)
Received: from slb-smtpout-01.boeing.com (slb-smtpout-01.boeing.com [130.76.64.48]) by core3.amsl.com (Postfix) with ESMTP id A28F23A6AFD; Wed, 19 Aug 2009 08:16:18 -0700 (PDT)
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by slb-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7JFGKcd015199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 19 Aug 2009 08:16:21 -0700 (PDT)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id n7JFGKlO012175; Wed, 19 Aug 2009 10:16:20 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by stl-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id n7JFGHbw012098; Wed, 19 Aug 2009 10:16:20 -0500 (CDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 19 Aug 2009 08:16:20 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Wed, 19 Aug 2009 08:16:18 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A1064DB28F@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <689783.40421.qm@web45505.mail.sp1.yahoo.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: AcogqfWX02z6QDvcQleWnEJQ4OsboAAJVPYg
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106497BE7@XCH-NW-7V2.nw.nos.boeing.com> <2705.42043.qm@web45502.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106498101@XCH-NW-7V2.nw.nos.boeing.com> <689783.40421.qm@web45505.mail.sp1.yahoo.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 19 Aug 2009 15:16:20.0245 (UTC) FILETIME=[01715C50:01CA20E0]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2009 15:16:20 -0000

Hi Gabi,

I'm sorry to have to keep turning this into plaintext,
but annotation is difficult otherwise. See below for
my responses (=3D=3D>):

________________________________________
From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=20
Sent: Wednesday, August 19, 2009 1:49 AM
To: Templin, Fred L; v6ops
Cc: ipv6@ietf.org; secdir@ietf.org
Subject: Re: Routing loop attacks using IPv6 tunnels

Fred,
See my comments inline (<gn>).

________________________________________
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
Cc: ipv6@ietf.org; secdir@ietf.org
Sent: Tuesday, August 18, 2009 6:48:45 PM
Subject: RE: Routing loop attacks using IPv6 tunnels

Gabi,

________________________________________
From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=20
Sent: Tuesday, August 18, 2009 3:29 AM
To: Templin, Fred L; v6ops
> Cc: ipv6@ietf.org; secdir@ietf.org
> Subject: Re: Routing loop attacks using IPv6 tunnels
>=20
> Indeed the ISATAP interface of the ISATAP router is meant
> to be an enterprise-interior (note that=A0it is still=A0assumed
> that the associated IPv4 address is=A0non-private). As=A0we
> explicitly note in the paper, the first three attacks=A0will
> be mitigated=A0if proper protocol-41 filtering is deployed on
> the site's border. However, note that RFC5214 does not mandate
> or require this filtering.

The RFC5214 Security Considerations makes clear the
consequences of not implementing IPv4 ingress filtering
and ip-protocol-41 filtering (i.e., a possible spooing
attack in which spurious ip-protocol-41 packets are
injected into an ISATAP link from outside). RFC5214
Section 6.2 additionally requires that an ISATAP interface's
locator set MUST NOT span multiple sites. This means that the
ISATAP interface must not decapsulate nor source ip-proto-41
packets within multiple sites, where the enterprise interior
is site #1 and the global Internet is site #2. ip-protocol-41
filtering is the way in which the ISATAP interface is
restricted to a single site.=20
<gn>
Now let me see that I understand Section 6.2 correctly. In
attack #2, for example, I assume the ISATAP router has two
physical interfaces. A site-internal IPv4 interface with an
address IPisatap and a site-external IPv6 interface. I also
assume that there=A0is another border router which connects the
site to the IPv4 Internet.=A0The ISATAP router has an ISATAP
interface with a single locator: (IPisatap, site-internal
interface).=A0When the ISATAP router gets an IPv6 via its
external interface it will encapsulate the packet accordingly
and forward it through the internal IPv4 interface. If the
encapsulated packet is=A0destined to a node outside the site
then the only thing that stops it is=A0a proto-41 filtering
at the=A0other border router of the site. Did I get this right?
</gn>

=3D=3D> In this case, yes - the ip-proto-41 filtering is at a
=3D=3D> border router. I know of at least one major enterprise
=3D=3D> network that does this.

> It is only mentioned as a possible mitigation against
> incoming spurious protocol-41 packets. In addition,
> Section 10 of RFC5214 only mentions=A0ingress not=A0egress
> filtering.=A0Hence it=A0will not stop attack #2.

We are now talking about ip-proto-41 filtering; not ingress
filtering. ip-proto-41 filtering is in both directions. It
prevents ip-proto-41 packets from entering the enterprise
interior ISATAP site from the Internet and prevents
ip-proto-41 packets from entering the Internet ISATAP
site from the enterprise interior. Else the ISATAP
interface would span multiple sites.

Besides, "ingress" filtering is not about packets coming
from the Internet into the end site, but rather it is
about packets leaving the end site and going out into
the Internet. RFC2827 (BCP38) documents ingress filtering.
<gn>
OK. I see what you are saying here.
</gn>

=3D=3D> OK.

> In addition,
> as mentioned, protocol-41 filtering is not helpful when
> attack #3 is launched on two routers that reside in the
> same site. Note that=A0it=A0may be=A0possible for=A0the attack
> packet=A0to be sourced from outside the site unless proper
> filtering of incoming IPv6 packets is deployed. If the
> attacker resides in the site, usually ingress filtering
> will not be helpful since it is deployed in general on
> the site's border.

Here, we have the ISATAP router in both cases sourcing a
packet from a foreign prefix.=20
<gn>
Well, I do not see how this is correct. In attacks #1 and #3 the ISATAP =
router sources (actually forwards) an IPv6=A0packet with=A0a source =
address having=A0the corresponding=A0prefix of the ISATAP tunnel. In =
attacks #2 and #3 the ISATAP router sources and IPv4 packet with its own =
IPv4 address as the source address.
</gn>

=3D=3D> There were a number of errors in what I said in my last
=3D=3D> message, so let me see if I can get it right here:
=3D=3D>
=3D=3D> In attacks #1 and #2 there are two cases to consider. Case
=3D=3D> 1 in which a border router separates the 6to4 relay from the
=3D=3D> ISATAP router, and case 2 in which no border router separates
=3D=3D> the 6to4 relay from the ISATAP router.
=3D=3D>
=3D=3D> In attack #1, we have an IPv6 packet with a local source
=3D=3D> address entering the site from the outside. IPv6 ingress
=3D=3D> filtering at the site border router should prevent the
=3D=3D> packet from entering the site in the first place. If the
=3D=3D> 6to4 relay router is outside the site then ip-proto-41
=3D=3D> filtering at the border router will block the attack in
=3D=3D> the first place anyway. If the relay router is *inside*
=3D=3D> the site, then the IPv6 ingress filtering is the lone
=3D=3D> mitigation. The end result is that the 6to4 relay should
=3D=3D> really be positioned outside of the site's border routers;
=3D=3D> otherwise, it could be spoofed into thinking that the
=3D=3D> ISATAP router is a 6to4 router and not an ISATAP router.=20
=3D=3D>
=3D=3D> In attack #2, we have an IPv6 packet with a foreign source
=3D=3D> address being forwarded by the ISATAP router to a 6to4
=3D=3D> relay, but I mis-spoke when I said that this would be a
=3D=3D> case of the ISATAP router forwarding a packet with a foreign
=3D=3D> source address out of the ISATAP link. For all the ISATAP
=3D=3D> router knows, the 6to4 relay is just an ordinary host on
=3D=3D> the ISATAP link, so the ISATAP router actually believes it
=3D=3D> is forwarding the packet *into* the ISATAP link (not out of
=3D=3D> it). But as in attack #1, the attack is blocked by ip-proto-41
=3D=3D> filtering at the border router between the ISATAP router and
=3D=3D> the 6to4 relay. If there is no border router between the ISATAP
=3D=3D> router and the 6to4 relay, then we have an identical instance
=3D=3D> to attack #3 which I will discuss below. But, the best
=3D=3D> operational practice would again be to have the 6to4 relay
=3D=3D> oriented outside of a border router that filters ip-proto-41.
=3D=3D>
=3D=3D> Short summary is that in attack #1, the 6to4 relay thinks it
=3D=3D> is talking to a 6to4 router and not an ISATAP router. In
=3D=3D> attack #2, the ISATAP router thinks it is talking to a
=3D=3D> simple host on the link and not a 6to4 relay. In both cases,
=3D=3D> the attacks are mitigated when there is an ip-proto-41
=3D=3D> filtering border router between the ISATAP router and the
=3D=3D> 6to4 relay. Oftentimes, the "border router" will be a two-
=3D=3D> interface router that implements 6to4 on a site-external
=3D=3D> IPv4 interface and implements ISATAP on a site-internal
=3D=3D> IPv4 interface and performs ip-proto-41 filtering on packets
=3D=3D> from outside the site with an IPv4 destination corresponding
=3D=3D> to the ISATAP interface. I will discuss attack #3 below:
  =A0
This attack is mitigated by=20
IPv6 ingress filtering which is an IPv6 security consideration
and not an ISATAP nor IPv4 security consideration. BCP
recommendations for network ingress filtering are documented
in RFC2827 and it is expected that IPv6 routers that configure
ISATAP interfaces will implement IPv6 ingress filtering
according to the BCP.
<gn>
So If my last comment is correct than I do not see how ingress filtering =
would help here. The only case where=A0ingress filtering can help is in =
case of attack #3 when the routers reside at the same site. In that case =
if the attack packet (packet 0) is sent from outside the site then =
ingress filtering on the border of the site will drop the packet.
</gn>

=3D=3D> Correct about the IPv6 ingress filtering at the border,
=3D=3D> but as with attack #2 my error in the previous message
=3D=3D> was in thinking the ISATAP router A was forwarding the
=3D=3D> packet *out* of the ISATAP link when in fact from the
=3D=3D> ISATAP router's perspective it is forwarding the packet
=3D=3D> to a simple host *inside* of the link.
=3D=3D>
=3D=3D> The problem here is that the ISATAP router is blindly
=3D=3D> forwarding a packet to a node that it assumes is a simple
=3D=3D> host on the ISATAP link without first verifying that the
=3D=3D> node has demonstrated a willingness to participate as a
=3D=3D> host on the link. As you have pointed out, this can lead
=3D=3D> to strange scenarios when the anonymous node is a tunnel
=3D=3D> router of some sort that does not participate in the
=3D=3D> ISATAP link.
=3D=3D>
=3D=3D> It would not generally be possible for the ISATAP router
=3D=3D> to check whether the IPv6 destination address is an ISATAP
=3D=3D> address that embeds one of its own IPv4 addresses, because
=3D=3D> when IPv4 private addresses are used the same IPv4 address
=3D=3D> can (and often does) occur in multiple sites. So for example,
=3D=3D> if the ISATAP router configures an IPv4 address 10.0.0.1
=3D=3D> and is asked to forward an IPv6 packet with ISATAP
=3D=3D> destination address 2001:DB8::0:5EFE:10.0.0.1 where the
=3D=3D> IPv6 prefix is foreign, the router can't very well drop the
=3D=3D> packet as this would block legitimate communications. It
=3D=3D> is also not generally possible to check whether a foreign
=3D=3D> link is an ISATAP link by looking for the magic token
=3D=3D> "0:5EFE" as that token only has significance for ISATAP
=3D=3D> links and not other link types.
=3D=3D>
=3D=3D> Instead, the mitigation I think makes the most sense is
=3D=3D> for the ISATAP router to first verify that the node which
=3D=3D> it assumes to be a simple ISATAP host has demonstrated a
=3D=3D> willingness to participate in the link. That can be done
=3D=3D> by having the ISATAP router first check the neighbor cache
=3D=3D> when it has a packet to send to verify that there is a
=3D=3D> cached entry corresponding to the destination. For nodes
=3D=3D> that are willing ISATAP hosts on the link, there would
=3D=3D> have been a neighbor cache entry created when the node
=3D=3D> sends a Router Solicitation to the ISATAP router for the
=3D=3D> purpose of discovering default router lifetimes and on-
=3D=3D> link prefixes. So, the simple mitigations is for the ISATAP
=3D=3D> router to forward the packet only if there is a pre-existing
=3D=3D> neighbor cache entry and drop the packet otherwise. This
=3D=3D> implies that the router should keep neighbor cache entires
=3D=3D> for the duration of the minimum lifetime of the prefixes
=3D=3D> it advertises in its Router Advertisements. =20

> In general, I would like to point out that indeed as in
> most other attacks these attacks may also be mitigated by
> proper firewall rules. However, I do not believe that this
> should be our only answer against these attacks. I believe
> that since these attacks are made possible due to the
> inherent characteristics of the tunnels they=A0should be
> stopped intrinsically as much as possible by the tunnel
> participants and not relay on outside filtering rules.

In RFC5214, Section 10 we have: "restricting access to the
link can be achieved by restricting access to the site". The
mitigations do exactly that, and in such a way that ISATAP
nodes can operate with only the necessary and sufficient
checks. So on this point, I do not share your opinion.
<gn>
What about two ISATAP tunnels that reside on the same site like in =
attack #3. Do you=A0also think that proto-41 filtering should barrier =
between the two tunnels within the site?=A0
</gn>

=3D=3D> I think this may be overcome by the discussion above.
=3D=3D> Short story is that operational practices must be
=3D=3D> employed whereby an ISATAP router is not mistaken for
=3D=3D> a 6to4 router. This is through proper arrangement of
=3D=3D> 6to4 router/relay interfaces outside of the site border
=3D=3D> rather than inside, and ISATAP router interfaces inside
=3D=3D> of the site border rather than outside. Also proper
=3D=3D> ip-proto-41 filtering and IPv6 ingress filtering at
=3D=3D> site borders.
=3D=3D>
=3D=3D> Also, when there are multiple ISATAP links within the
=3D=3D> same local IPv4 routing region, an ISATAP router should
=3D=3D> first verify a node's willingness to act as a host on
=3D=3D> the ISATAP link before blindly sending a packet to it.
=3D=3D>
=3D=3D> Fred
=3D=3D> fred.l.templin@boeing.com

Fred
fred.l.templin@boeing.com
=A0
________________________________________
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
Cc: ipv6@ietf.org; secdir@ietf.org
Sent: Monday, August 17, 2009 8:35:08 PM
Subject: RE: Routing loop attacks using IPv6 tunnels


Gabi,
=A0
Thanks for publishing this work. In the document, attacks A, B and C
correspond to a configuration that violates section 6.2 of RFC5214:
=A0
> 6.2.=A0 ISATAP Interface Address Configuration
>=A0
> =A0=A0Each ISATAP interface configures a set of locators consisting of =
IPv4
>=A0=A0 address-to-interface mappings from a single site; i.e., an =
ISATAP
>=A0=A0 interface's locator set MUST NOT span multiple sites.
=A0
In particular, in scenarios A, B and C the IPv4 locator used for ISATAP
is seen both within the enterprise as site #1 and within the global =
Internet
itself as site #2. If the ISATAP interface is to be used as an =
enterprise-
interior interface, it should therefore not accept IP-proto-41 packets
coming from an IPv4 source outside of the enterprise nor source
IP-proto-41 packets that are destined to an IPv4 node outside of the
enterprise. This condition should be satisfied by having the site border
routers implement IPv4 ingress filtering and ip-protocol-41 filtering as
required in Section 10 of RFC5214.
=A0
It is mentioned that attack C could also occur when the routers reside
in the same site, where their addresses may be private. This would
correspond to a case in which an attacker within the site attacks the
site itself, which can easily be traced - especially when source address
spoofing from a node within the site is prevented through proper ingress
filtering.
=A0
Fred
fred.l.templin@boeing.com
=A0
________________________________________
From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=20
Sent: Monday, August 17, 2009 8:21 AM
To: v6ops
Cc: ipv6@ietf.org; secdir@ietf.org
Subject: Routing loop attacks using IPv6 tunnels
=A0
Hi all,
I would like to draw the attention of the list =
to=A0some=A0research=A0results which my colleague and I at the National =
EW Research=A0& Simulation=A0Center have recently published. The =
research presents a=A0class of routing loop attacks that abuses 6to4, =
ISATAP and Teredo. The=A0paper can be found at: =
http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf
=A0
Here is the abstract:
IPv6 is the future network layer protocol for the Internet. Since it is =
not compatible with its predecessor, some interoperability mechanisms =
were designed. An important category of these mechanisms is automatic =
tunnels, which enable IPv6 communication over an IPv4 network without =
prior configuration. This category includes ISATAP, 6to4 and Teredo. We =
present a novel class of attacks that exploit vulnerabilities in these =
tunnels. These attacks take advantage of inconsistencies between a =
tunnel's overlay IPv6 routing state and the native IPv6 routing state. =
The attacks form routing loops which can be abused as a vehicle for =
traffic amplification to facilitate DoS attacks. We exhibit five attacks =
of this class. One of the presented attacks can DoS a Teredo server =
using a single packet. The exploited vulnerabilities are embedded in the =
design of the tunnels; hence any implementation of these tunnels may be =
vulnerable. In particular, the attacks were tested against the ISATAP, =
6to4 and Teredo implementations of Windows Vista and Windows Server 2008 =
R2.=20
=A0
I think the results of the research warrant some corrective action. If =
this=A0indeed shall be the general sentiment of the list, I will be =
happy write an appropriate I-D. The mitigation measures we suggested in =
the paper are the best we could think of to completely eliminate the =
problem. However they are far from perfect since=A0they would =
require=A0tunnel implementations to be updated in case new types of =
automatic tunnels are introduced.
=A0
Your comments are welcome.
=A0
Gabi
=A0


From remi.despres@free.fr  Thu Aug 20 02:34:56 2009
Return-Path: <remi.despres@free.fr>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5EB3F3A6FEA; Thu, 20 Aug 2009 02:34:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.261
X-Spam-Level: 
X-Spam-Status: No, score=-1.261 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599, HELO_EQ_FR=0.35, J_CHICKENPOX_13=0.6, MIME_8BIT_HEADER=0.3]
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 9P8l54m1s5ZO; Thu, 20 Aug 2009 02:34:54 -0700 (PDT)
Received: from smtp28.orange.fr (smtp28.orange.fr [80.12.242.100]) by core3.amsl.com (Postfix) with ESMTP id D833428C21B; Thu, 20 Aug 2009 02:34:49 -0700 (PDT)
Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2806.orange.fr (SMTP Server) with ESMTP id 990C57000082; Thu, 20 Aug 2009 11:34:54 +0200 (CEST)
Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2806.orange.fr (SMTP Server) with ESMTP id 8CAB5700008D; Thu, 20 Aug 2009 11:34:54 +0200 (CEST)
Received: from [193.248.114.206] (Mix-Lille-207-3-206.w193-248.abo.wanadoo.fr [193.248.114.206]) by mwinf2806.orange.fr (SMTP Server) with ESMTP id 201507000082; Thu, 20 Aug 2009 11:34:50 +0200 (CEST)
X-ME-UUID: 20090820093451131.201507000082@mwinf2806.orange.fr
In-Reply-To: <808598.58470.qm@web45510.mail.sp1.yahoo.com>
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <6D7FF41F-717B-42D2-A744-750DC874356B@free.fr> <808598.58470.qm@web45510.mail.sp1.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id: <A63D19A5-2750-4075-A126-4936591F4A75@free.fr>
Content-Transfer-Encoding: quoted-printable
From: =?ISO-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
Subject: Re: Routing loop attacks using IPv6 tunnels - the 6rd case
Date: Thu, 20 Aug 2009 11:34:49 +0200
To: Gabi Nakibly <gnakibly@yahoo.com>
X-Mailer: Apple Mail (2.753.1)
Cc: v6ops <v6ops@ops.ietf.org>, 6man 6man <ipv6@ietf.org>, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Aug 2009 09:34:56 -0000

gabi,

Thanks for your quick answer.
Further remarks in line.

Le 19 ao=FBt 09 =E0 12:12, Gabi Nakibly a =E9crit :

> Remi,
> See my comments inline (<gn>).
> Gabi
>
> From: R=E9mi Despr=E9s <remi.despres@free.fr>
> To: Gabi Nakibly <gnakibly@yahoo.com>
> Cc: v6ops <v6ops@ops.ietf.org>; 6man 6man <ipv6@ietf.org>; =20
> secdir@ietf.org; Mark Townsley <townsley@cisco.com>
> Sent: Tuesday, August 18, 2009 8:00:42 PM
> Subject: Re: Routing loop attacks using IPv6 tunnels - the 6rd case
>
> Hi Gabi,
>
> First, thanks to you and your colleagues for this research, and for =20=

> the clear presentation of its results.
> In my understanding, your contribution is important for transition =20
> solutions to be carefully selected, and where needed improved.
>
> This mail is to complement the analysis with what applies to 6rd.
>
> For those who don't know it, 6rd, like 6to4, ISATAP and Teredo, is =20
> an automatic tunnel mechanism in actual use for IPv6 across IPv4 =20
> clouds.
> With it, service providers can offer native IPv6 to their customers =20=

> while using for this their existing IPv4 infrastructures.
> Publication of the RFC that describes it, RFC 5569, has been =20
> delayed since May for a reason related to intellectual property =20
> rights applicable to independent submissions.
> But the draft on which 6rd is based is still available, and a new =20
> draft to extend its applicability is also available:
> - tools.ietf.org/html/draft-despres-6rd-03
> - tools.ietf.org/html/draft-townsley-ipv6-6rd-01
> <gn>
> I must admit that this is the first time I read the spec of 6rd so =20
> forgive me if I miss something.
> </gn>
>
> (1) Case of ISPs that operate 6rd relays and no 6to4 relays (and =20
> neither Teredo relays nor ISP-infrastructure NATs)
>
> In its sec. 3, draft-despres-6rd-03 says:
> <<<
>   The IPv4 anycast address of 6rd relays may be chosen =20
> independently by
>   each ISP.  The only constraint is that routes toward the ISP that =20=

> are
>   advertised must not include this address.
> >>>
> In view of your study and in my understanding, it should be =20
> completed with:
> "Also, the ISP must not forward toward the global IPv4 global =20
> Internet packets having this address as source."
>
> With this, an ISP that operates 6rd relays but operates neither =20
> 6to4 relays nor Teredo relays nor NATs is immune to the routing =20
> loop attack because:
> - An IPv6 packet forwarded to the IPv6 Internet by a 6rd relay =20
> cannot come back to an IPv4 interface of a 6rd relay of the same =20
> ISP: there is no IPv4 route back to the ISP for its 6rd anycast =20
> address.
> - An IPv6 packet received from the IPv6 Internet by a 6rd relay =20
> cannot be sent back to the IPv4 global Internet: the source address =20=

> of its IPv4 encapsulating packet is the 6rd anycast address, which =20
> prevents it from reaching the IPv4 global Internet.
>
> Note that, if interfaces of the ISP to the IPv4 global Internet are =20=

> already subject to ingress filtering (packets received by the =20
> global Internet are discarded if there is no reverse path available =20=

> for them), the added sentence is not necessary. It is just just a =20
> double precaution for cases where such ingress filtering doesn't =20
> apply.
> <gn>
> I agree with you that above check will work. However, I might =20
> choose another way here: the relay must make the following two checks:
> 1) When an IPv6 packet is received from the IPv6 Internet the 6rd =20
> relay must ensure before encapsulation that the intended IPv4 =20
> destination address belongs to one of the ISP's clients (I assume =20
> it can make this check easily). This way no IPv6 packet received =20
> from the IPv6 Internet will be relayed to a 6to4 relay (and then =20
> back to the 6rd relay through the IPv6 Internet).

The problem is that this check is not easy "in general" because ISPs =20
typically have their IPv4 prefixes allocated one by one as they =20
increase the number of their clients.


> 2) When an encapsulated packet is received from the IPv4 network =20
> side the 6rd relay must check that the IPv6 destination does not =20
> include its own IPv4 address. For example the IPv6 destination =20
> address must not be: 2002:<IPv4 address of 6rd relay>::/48. This =20
> will prevent the packet from ever reaching back the 6rd relay =20
> through its IPv4 interface

The problem is that to be general, and as you noted, this test =20
depends on a knowledge of all formats used to embed IPv4 addresses in =20=

IPv6 addresses. When a new format is introduced, a security weakness =20
therefore holds until all relays are upgraded to support it.
Besides, and more important, some formats may use _ISP dependent =20
prefixes_ (and 6rd is already in this case!). These formats cannot be =20=

recognized by a constant code.


This being noted, I agree that, to extend applicability of 6rd relays =20=

to cases where ingress filtering doesn't apply, and to deal more =20
simply with the case of 6rd ISPs that also operate 6to4 relays, 6rd =20
relays SHOULD do as you propose:
*In 6rd relays, packets received on the IPv4 side should be discarded =20=

if their IPv6 destinations are 6to4 addresses containing the ISP 6rd =20
anycast address.*


>
> This way all the checks are done only at the 6rd relay and not in =20
> other IPv4 border routers of the ISP which should not be aware of =20
> the 6rd deployment.

Note that IPv4 border routers of the ISP need not to be aware of the =20
6rd in particular.
They only have to make sure that ingress filtering "in general" =20
applies to packets sent toward the global Internet.
(If their downstream neighbors do ingress filtering as they should, =20
these border routers have nothing specific to do. In cases where this =20=

isn't sure though, they should better prevent source address spoofing =20=

by filtering themselves source addresses for which they have no =20
reverse path.)

> </gn>
>
>
> (2) Case of ISPs that operate 6rd relays AND 6to4 relays (but =20
> neither Teredo relays nor ISP-infrastructure NATs)
>
> In its sec. 5 on security, draft-despres-6rd-03 says:
> <<<
>   o  RELAY PACKETS TOWARD THE INTERNET: The IPv6 source must be a 6rd
>       address that matches the IPv4 source.  The IPv6 destination must
>       not start with the ISP 6rd prefix.
> ...
>   o  RELAY PACKETS FROM THE INTERNET: The IPv6 source must not be a =20=

> 6rd
>       address of the ISP.  The IPv4 destination must not be multicast,
>       i.e. must not start with 224/3...
> >>>
>
> In view of your study and in my understanding, it MUST be completed =20=

> with:
> - after the first quoted paragraph:
> "Furthermore, if the ISP also operates 6to4 relays that advertise =20
> on the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 source =20=

> must be neither the 6to4 anycast address 192.88.99.0 nor any of its =20=

> equivalent IPv4 unicast addresses."
> - after the second quoted paragraph:
> "Furthermore, if the ISP also operates 6to4 relays that advertise =20
> on the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 =20
> destination derived from the IPv6 destination must be neither the =20
> IPv4 anycast address 192.88.99.0 nor any of its equivalent IPv4 =20
> unicast addresses."
> <gn>
> Actually, I believe that the precautions I suggested above will =20
> work here also instead of those checks. Won't they?

As explained above, it would be 100% safe only if all embedded IPv4 =20
addresses were guaranteed to be recognized, which is not the case.


> In general, I think that checks performed on the destination =20
> address (IPv4 or IPv6) should be more robust than checks on a =20
> source address.

In my understanding, not always.
Each scenario has to be studied for what it is.

> </gn>
>
> With this, an ISP that operates both 6rd and 6to4 relays is also =20
> immune to the routing-loop attack because:
> - an IPv6 packet forwarded to the global Internet by 6rd relays can =20=

> come back to the ISP IPv4 network via one of the 6to4 relays of the =20=

> ISP BUT cannot be accepted again by a 6rd relay: its IPv4 source =20
> address is then one of a 6to4 relay, which, with the first added =20
> sentence, prevents it from being accepted by the 6rd relay.
> - an IPv6 packet received from the IPv6 Internet by a 6rd relay =20
> cannot be sent back to the IPv4 global Internet via one of the 6to4 =20=

> relays: the IPv4 address derived from its IPv6 destination would =20
> have for this to be one of a 6to4 relays, which, with the second =20
> added sentence, prevents it from being forwarded by the 6rd relay.
>
> Note: RFC 3068, where the 6to4 anycast address is introduced, says =20
> that "each 6to4 relay router that advertise the 6to4 anycast prefix =20=

> MUST also provide an equivalent IPv4 unicast address". Whether this =20=

> is really important in practice is IMHO unclear. On the other hand, =20=

> if this MUST is dispensed with, the above security precaution can =20
> be implemented in 6rd relays without a need to handle a variable =20
> number of addresses, and to administratively configure them (with =20
> the associated risks of human errors).
>
> <gn>
> If you do the check on the destination address you can avoid this =20
> administrative configuration altogether.

Agreed for packets forwarded to the IPv6 side (see above).

Now, for packets from the IPv6 Internet, rather than checking that =20
the embedded IPv4 destination has one of the ISP allocated prefixes, =20
there is a better check I hadn't seen before sending the previous e-=20
mail:
*In 6rd relays, packets received on the IPv6 side should be discarded =20=

if their source addresses are 6to4 addresses containing the ISP 6rd =20
anycast address.*

The above administrative configuration is thus unnecessary, and the =20
6rd relay cannot participate in a routing loop attack even if its ISP =20=

also operates 6to4 relays.


NOTE: As a matter of fact, a source address check can also be used to =20=

improve the Mitigation Measures you proposed for 6to4, ISATAP and =20
Teredo relays:
*In your three forwarding conditions, it would be sufficient to add =20
"or source" after each occurrence of "destination".*
Thus, each of these relays becomes protected against rooting loop =20
attacks via any other 6to4, ISATAP, and Teredo relay, even if this =20
relay doesn't make the new check on destination addresses.



> </gn>
>
> To conclude:
> - Without needing to modify 6to4 relays, ISATAP relays, and Teredo =20
> relays, ISPs that support 6rd and don't support 6to4 appear to be =20
> already protected against routing loop attacks if ingress filtering =20=

> is operational at their interfaces to the IPv4 global Internet. =20
> With an additional simple precaution in 6rd relays, they can also =20
> be immune in the absence of such filtering.
> <gn>
> I fully agree.

Thanks.
Thoughts on the proposal to improve your mitigation measures?

Regards,
RD

> </gn>
> - A necessary additional security precaution against routing-loop =20
> attacks is now identified for ISPs that support 6rd and that, =20
> having started with 6to4, wish to keep it for backward =20
> compatibility. Thanks again for your analysis which made it possible.
>
>
> Best regards,
> RD
>
>
>
> Le 17 ao=FBt 09 =E0 17:21, Gabi Nakibly a =E9crit :
>
> > Hi all,
> > I would like to draw the attention of the list to some research =20
> results which my colleague and I at the National EW Research & =20
> Simulation Center have recently published. The research presents a =20
> class of routing loop attacks that abuses 6to4, ISATAP and Teredo. =20
> The paper can be found at: http://www.usenix.org/events/woot09/tech/=20=

> full_papers/nakibly.pdf
> >
> > Here is the abstract:
> > IPv6 is the future network layer protocol for the Internet. Since =20=

> it is not compatible with its predecessor, some interoperability =20
> mechanisms were designed. An important category of these mechanisms =20=

> is automatic tunnels, which enable IPv6 communication over an IPv4 =20
> network without prior configuration. This category includes ISATAP, =20=

> 6to4 and Teredo. We present a novel class of attacks that exploit =20
> vulnerabilities in these tunnels. These attacks take advantage of =20
> inconsistencies between a tunnel's overlay IPv6 routing state and =20
> the native IPv6 routing state. The attacks form routing loops which =20=

> can be abused as a vehicle for traffic amplification to facilitate =20
> DoS attacks. We exhibit five attacks of this class. One of the =20
> presented attacks can DoS a Teredo server using a single packet. =20
> The exploited vulnerabilities are embedded in the design of the =20
> tunnels; hence any implementation of these tunnels may be =20
> vulnerable. In particular, the attacks were tested against the =20
> ISATAP, 6to4 and Teredo implementations of Windows Vista and =20
> Windows Server 2008 R2.
> >
> > I think the results of the research warrant some corrective =20
> action. If this indeed shall be the general sentiment of the list, =20
> I will be happy write an appropriate I-D. The mitigation measures =20
> we suggested in the paper are the best we could think of to =20
> completely eliminate the problem. However they are far from perfect =20=

> since they would require tunnel implementations to be updated in =20
> case new types of automatic tunnels are introduced.
> >
> > Your comments are welcome.
> >
> > Gabi
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
>
>
>
>
>




From gorry@erg.abdn.ac.uk  Thu Aug 20 03:30:07 2009
Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DE94B3A6EA9 for <ipv6@core3.amsl.com>; Thu, 20 Aug 2009 03:30:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level: 
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.044,  BAYES_00=-2.599]
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 MjULfPshJx1Q for <ipv6@core3.amsl.com>; Thu, 20 Aug 2009 03:30:06 -0700 (PDT)
Received: from erg.abdn.ac.uk (dee.erg.abdn.ac.uk [IPv6:2001:630:241:204:203:baff:fe9a:8c9b]) by core3.amsl.com (Postfix) with ESMTP id 5474E28C1EF for <ipv6@ietf.org>; Thu, 20 Aug 2009 03:30:02 -0700 (PDT)
Received: from gorry-mac.erg.abdn.ac.uk (gorry-mac.erg.abdn.ac.uk [139.133.207.5]) (authenticated bits=0) by erg.abdn.ac.uk (8.13.4/8.13.4) with ESMTP id n7KATZFI000557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 20 Aug 2009 11:29:35 +0100 (BST)
Message-ID: <4A8D258F.3040508@erg.abdn.ac.uk>
Date: Thu, 20 Aug 2009 11:29:35 +0100
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Organization: The University of Aberdeen is a charity registered in Scotland,  No SC013683. 
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: Margaret Wasserman <mrw@sandstorm.net>
Subject: Re: [lisp] IPv6 UDP checksum issue
References: <F3FC18FF-E085-47E9-8376-2C4DA00D9F03@americafree.tv>	<FA1A0C09-FDE5-4ACD-AEA1-476B090C702D@cisco.com>	<C3C481AD-5AB6-462C-A48C-F16E968DE03D@nokia.com>	<C8F93853-FB91-4ABC-9CF5-E599FD27490E@cisco.com>	<0E71FC61-5A42-4C5A-A22A-69B3213A9EBA@nokia.com>	<DB892549-640F-437C-BB4C-2C12A985C4F1@cisco.com>	<9A49FB30-3293-4681-86FD-0ABF7CD60994@nokia.com>	<4A76101E.7070207@gmail.com>	<E883B21D-1DC9-423B-90D4-DF1BB1D774C9@americafree.tv> <41CC608D-E261-4CD8-A22E-86FCFEE220FD@sandstorm.net>
In-Reply-To: <41CC608D-E261-4CD8-A22E-86FCFEE220FD@sandstorm.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ERG-MailScanner: Found to be clean
X-ERG-MailScanner-From: gorry@erg.abdn.ac.uk
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Dino Farinacci <dino@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: gorry@erg.abdn.ac.uk
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Aug 2009 10:30:08 -0000

I'd be very concerned if the IETF consensus was to introduce a change to 
the UDP checksum without fully evaluating the implications for the 
network and before considering the procedures by which new protocols 
could access a zero-checksum mode.

As I understand, the proposal to update RFC 2460 is NOT just concerning 
LISP routers, there would be host uses, at least for AMT, and likely 
future other applications too, their would be implications on 
middleboxes and possibly on existing applications.

I think the list below is a good summary of key issues. I'd like to use 
this as the basis for a summary of the tradeoffs. I am aware there's 
been quite a lot of discussion on the list while I was on vacation (both 
before and after this email), and also some more quite some months ago 
elsewhere. I'm going to try to compile what I understand under these 
headings... and get back soon.

Gorry

Margaret Wasserman wrote:
> 
> On Aug 2, 2009, at 6:31 PM, Marshall Eubanks wrote:
>> http://tools.ietf.org/html/draft-eubanks-chimento-6man-00
>>
>> We intend to rev this shortly and comments would be appreciated.
> 
> If you do rev this document, I would like to see:
> 
> (1) An explanation of the difference in applicability between this 
> mechanism
>       and UDP-Lite.
> 
> (2) A specific applicability statement for when this mechanism can (and 
> can't)
>       be used.  Would we be allowing this mechanism _only_ for cases where
>       IP is tunneled inside UDP/IP?   What about the AMT case?
> 
> (3) A section listing considerations that must be documented for protocols
>       that use this mechanism, including:
> 
>     (3a) What happens when the destination IP address is corrupted in 
> transit?
>             (Note:  This isn't a concern in IPv4, as the IP header 
> checksum will result
>             in this packet being discarded by the receiving IP stack).
> 
>         (3a.i) What if a node that does not implement this protocol 
> receives the
>                    packet?
>         (3a.ii) What if a node that does implement this protocol 
> receives a packet
>                    destined for another node?
> 
>     (3b) What happens when the source IP address is corrupted in transit?
>             (Note:  This isn't a concern in IPv4, as the IP header 
> checksum will result
>             in this packet being discarded by the receiving IP stack).
> 
>     (3b.i) What happens when a node that does not implement this protocol
>                    receives the ICMP "port unreachable" error?
>         (3b.ii) What happens when a node that does implement this protocol
>                    receives an ICMP "port unreachable" error for a 
> packet it didn't send?
> 
>     (3c) What happens if one or both of the UDP ports are corrupted in 
> transit?
>             (Note:  This can happen in IPv4 in the zero checksum case, 
> too, but not
>             with UDP checksums turned on and/or UDP-Lite).
> 
>     (3d) What types of middleboxes does the protocol need to cross 
> (routers,
>              NAT boxes, firewalls, etc.), and how will those middleboxes 
> deal with
>              these packet
> 
> I don't really have enough knowledge to answer these questions for LISP.  I
> tried to go down this path in an earlier message, and Dino didn't 
> understand what
> I was saying, but I'll try to do it once again.  Please correct me if I 
> am missing
> something.
> 
> I am making the assumption that (unlike AMT), all LISP packets will be 
> sent to
> a specific UDP port assigned to LISP.  Also, I am making the assumption 
> that
> if we write this document, some other protocols (besides LISP) will make 
> use of
> it, so some IP stacks on non-LISP nodes will process these packets.
> 
> (3a.i)  If a node that doesn't implement LISP receives this packet, it 
> may be
>            passed up to UDP (if zero checksums are supported).  At that 
> point,
>            though, it will be thrown away because there is no process 
> listening
>            on the LISP port and an ICMPv6 "port unreachable" error will be
>            generated.  (This is different than the IPv4 case, where the 
> packet
>            will never make it to UDP).
> 
> (3a.ii) If a node that does implement LISP receives this packet, it will be
>            sent to the LISP process, which will recognize that it is an
>            encapsulated LISP packet.  What then?  (Note:  Again, this
>            wouldn't happen in IPv4, as the packet would be discarded by
>            the receiving IP stack.).
> 
> (3b.i) If a node that doesn't implement LISP receives an ICMP port
>           unreachable for the LISP port, it may have a process that is
>           using the local port from the original LISP packet.  Will that
>           process receive the destination unreachable?  Or will the
>           message be thrown away because the destination port doesn't
>           match?  I think this might depend on how the process was
>           bound to its socket, or something.  Can someone help me
>           out here?  (Note:  This won't happen in IPv4, because the
>           packet would have been discarded by IP, not by UDP).
> 
> (3b.ii) If a node that does implement LISP receives an ICMP port
>            unreachable, it still might not have a process that is using
>            the corresponding source port (right?).  In that case, I think
>            that this is the same as 3b.i...  Would another process
>            receive this error?  And, if so, how would it respond?
> 
> (3c) If the ports were corrupted in transit, we might get packets
>         delivered to the wrong process (on the right machine)
>         and/or responses or errors sent to the wrong process (on
>         the right machine).  I think this all would have been covered
>         by the above cases.
> 
> (3d) I don't know how middleboxes will deal with this...  What
>         do IPv6 routers do today with zero-checksum UDP packets?
>         What other IPv6 middleboxes exist today, and what would
>         they do?
> 
> Personally, I think this is something we would need to understand
> pretty fully before we could decide that turning off IPv6 UDP checksums
> is a superior choice to using IP-in-IPv6 encapsulation (no UDP),
> IP-in-IPv6/UDP-Lite encapsulation or UDP with checksums.
> 
> These are also areas that we should explore in a general sense before
> we decide to publish Marshall's document as an alternative to using
> IP-in-IPv6 encapsulation, UDP-Lite, or UDP with checksums.
> 
> Margaret
> 
> 
> 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
> 
> 


From root@core3.amsl.com  Mon Aug 24 03:45:02 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: ipv6@ietf.org
Delivered-To: ipv6@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 2C5F43A6A5C; Mon, 24 Aug 2009 03:45:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Subject: I-D Action:draft-ietf-6man-text-addr-representation-00.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090824104502.2C5F43A6A5C@core3.amsl.com>
Date: Mon, 24 Aug 2009 03:45:02 -0700 (PDT)
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 10:45:02 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IPv6 Maintenance Working Group of the IETF.


	Title           : A Recommendation for IPv6 Address Text Representation
	Author(s)       : S. Kawamura, M. Kawashima
	Filename        : draft-ietf-6man-text-addr-representation-00.txt
	Pages           : 14
	Date            : 2009-08-23

As IPv6 network grows, there will be more engineers and also non-
engineers who will have the need to use an IPv6 address in text.
While the IPv6 address architecture RFC 4291 section 2.2 depicts a
flexible model for text representation of an IPv6 address, this
flexibility has been causing problems for operators, system
engineers, and users.  This document will describe the problems that
a flexible text representation has been causing.  This document also
recommends a canonical representation format that best avoids
confusion.  It is expected that the canonical format is followed by
humans and systems when representing IPv6 addresses as text, but all
implementations must accept and be able to handle any legitimate
RFC4291 format.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-6man-text-addr-representation-00.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-6man-text-addr-representation-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-08-24033224.I-D@ietf.org>


--NextPart--

From gnakibly@yahoo.com  Mon Aug 24 04:50:32 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 10E1D3A6E4B for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 04:50:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_13=0.6]
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 G-Q1rr6froAS for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 04:50:31 -0700 (PDT)
Received: from web45510.mail.sp1.yahoo.com (web45510.mail.sp1.yahoo.com [68.180.197.134]) by core3.amsl.com (Postfix) with SMTP id E5FBD3A6E40 for <ipv6@ietf.org>; Mon, 24 Aug 2009 04:50:31 -0700 (PDT)
Received: (qmail 90224 invoked by uid 60001); 24 Aug 2009 11:43:57 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251114237; bh=vuHLAbMSy6zcbOoUueqA8TbzU4ESksA1bW4qjYizY94=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xKeV/jtHNS/f/hLhHsb3IOKerKznaTIp9L+deKIrkFgP95zJu953jKCUwo8iuM2hWUMTwQct2ISGHjmYm4xUbehap8Qc4HkDftzQ2rhsiOaCzlNUCWSepVlgN5krgpfWfILOhfeuoNXy6ELcoTqfYxAP07Ozs6t/0BQZ/BVCO3c=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=29SXcpI/dE7VEX1uZ3TiRtGpW4rjGvlk/IoI6dj7zfHiykH6sMk9Bk0iOl+TvtiCwjnEFO/ofh2cPPsZ0uaHuq7I1SVaikPIhUQmFHytixfohiOjyEu6HUY+WsOyE3bppr/r9BDV6Q70QRTO1FDs+IyJhIPCGWIb6eQ9GfqnyEY=;
Message-ID: <475898.88672.qm@web45510.mail.sp1.yahoo.com>
X-YMail-OSG: 0EOTXdEVM1nkTG9q3rRXGw8pcJXBRe20k0bI4xL18xpIzKwMJxJXXWeyXCGM_b05YDw7dkJKDmBsQSl4JoG_eoOzE_xnSu.wDNU7qQwsXHEttAcLUBefiS4pYs5PFvH2777deG1P2M6vAwmok5P.0pc1pojD8nVdY65iC.V7knheRYReF4k0BEnz4C9Qbp02yvsSYagsjTozD22bWV63y2xbyWqRYkYFTQ8XfUabbwP6YOhHccrTqu2hoe5bm0RSNGMvKDJHadjvsPjjgGs-
Received: from [89.139.41.78] by web45510.mail.sp1.yahoo.com via HTTP; Mon, 24 Aug 2009 04:43:57 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
Date: Mon, 24 Aug 2009 04:43:57 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, v6ops <v6ops@ops.ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 11:50:32 -0000

Fred,=0AI=A0initially very much=A0liked your suggestion regarding the check=
=A0of the neighbor cache before forwarding a packet into the tunnel.=A0It t=
ruly addresses the root cause of the problem ans is simple enough to implem=
ent. However, I realized that an attacker can send a spoofed=A0RS to the IS=
ATAP router as if it came from the 6to4 relay. The router would then send=
=A0a RA=A0to it=A0and consequently change its neighbor cache. So it seems=
=A0that this defense does not add much.=A0Wouldn't you agree?=A0=0A=A0=0AI =
completely agree with your observation on the non-feasibility of verifying=
=A0that the destination=A0ISATAP address does not include=A0a local=A0IPv4 =
address=A0since the ISATAP address may include a private IPv4 address. On t=
he other hand, a check on public IPv4 addresses is acceptable.=A0If the che=
ck would be done only on ISATAP addresses that include public IPv4 addresse=
s then this will eliminate the attacks in which the two victims reside=A0at=
 different sites. Note that if attack #3=A0is launched on two ISATAP router=
s=A0having private addresses at two different sites then the attack will no=
t work anyway since one router can not send a direct=A0IPv4 packet to the o=
ther. In addition, to=A0mitigate attacks in which the other victim is a 6to=
4 relay (such as attack #1) then a check would have to be done on a 6to4 ad=
dress, i.e. the destination address must not be "2002:<IPv4 address of the =
ISATAP router>::*". In this case the IPv4 address must be public, according=
 to
 the 6to4 spec.=0A=A0=0AAs you also noted there is another problem with thi=
s check since the string "200::5EFE" is not unique to ISATAP links. On the =
other hand, it seems that the probability to encounter a non-malicious pack=
et with a destination address having an IID that equals "200:5EFE:<my own p=
ublic IPv4 address>" is pretty slim.=0A=A0=0AThis check is definitely not a=
=A0perfect solution, and I sure hope that someone will come up with a bette=
r one for mitigating the routing loops. However, I would be happy if there =
is some kind of other mitigation=A0measures besides packet filtering=A0(pro=
to-41 and ingress) by=A0other nodes (which=A0does not necessarily exist). =
=0A=A0=0AGabi=0A=A0=0A----- Original Message ----=0AFrom: "Templin, Fred L"=
 <Fred.L.Templin@boeing.com>=0ATo: Gabi Nakibly <gnakibly@yahoo.com>; v6ops=
 <v6ops@ops.ietf.org>=0ACc: ipv6@ietf.org; secdir@ietf.org=0ASent: Wednesda=
y, August 19, 2009 6:16:18 PM=0ASubject: RE: Routing loop attacks using IPv=
6 tunnels=0A=0AHi Gabi,=0A=0AI'm sorry to have to keep turning this into pl=
aintext,=0Abut annotation is difficult otherwise. See below for=0Amy respon=
ses (=3D=3D>):=0A=0A________________________________________=0AFrom: Gabi N=
akibly [mailto:gnakibly@yahoo.com] =0ASent: Wednesday, August 19, 2009 1:49=
 AM=0ATo: Templin, Fred L; v6ops=0ACc: ipv6@ietf.org; secdir@ietf.org=0ASub=
ject: Re: Routing loop attacks using IPv6 tunnels=0A=0AFred,=0ASee my comme=
nts inline (<gn>).=0A=0A________________________________________=0AFrom: "T=
emplin, Fred L" <Fred.L.Templin@boeing.com>=0ATo: Gabi Nakibly <gnakibly@ya=
hoo.com>; v6ops <v6ops@ops.ietf.org>=0ACc: ipv6@ietf.org; secdir@ietf.org=
=0ASent: Tuesday, August 18, 2009 6:48:45 PM=0ASubject: RE: Routing loop at=
tacks using IPv6 tunnels=0A=0AGabi,=0A=0A__________________________________=
______=0AFrom: Gabi Nakibly [mailto:gnakibly@yahoo.com] =0ASent: Tuesday, A=
ugust 18, 2009 3:29 AM=0ATo: Templin, Fred L; v6ops=0A> Cc: ipv6@ietf.org; =
secdir@ietf.org=0A> Subject: Re: Routing loop attacks using IPv6 tunnels=0A=
> =0A> Indeed the ISATAP interface of the ISATAP router is meant=0A> to be =
an enterprise-interior (note that=A0it is still=A0assumed=0A> that the asso=
ciated IPv4 address is=A0non-private). As=A0we=0A> explicitly note in the p=
aper, the first three attacks=A0will=0A> be mitigated=A0if proper protocol-=
41 filtering is deployed on=0A> the site's border. However, note that RFC52=
14 does not mandate=0A> or require this filtering.=0A=0AThe RFC5214 Securit=
y Considerations makes clear the=0Aconsequences of not implementing IPv4 in=
gress filtering=0Aand ip-protocol-41 filtering (i.e., a possible spooing=0A=
attack in which spurious ip-protocol-41 packets are=0Ainjected into an ISAT=
AP link from outside). RFC5214=0ASection 6.2 additionally requires that an =
ISATAP interface's=0Alocator set MUST NOT span multiple sites. This means t=
hat the=0AISATAP interface must not decapsulate nor source ip-proto-41=0Apa=
ckets within multiple sites, where the enterprise interior=0Ais site #1 and=
 the global Internet is site #2. ip-protocol-41=0Afiltering is the way in w=
hich the ISATAP interface is=0Arestricted to a single site. =0A<gn>=0ANow l=
et me see that I understand Section 6.2 correctly. In=0Aattack #2, for exam=
ple, I assume the ISATAP router has two=0Aphysical interfaces. A site-inter=
nal IPv4 interface with an=0Aaddress IPisatap and a site-external IPv6 inte=
rface. I also=0Aassume that there=A0is another border router which connects=
 the=0Asite to the IPv4 Internet.=A0The ISATAP router has an ISATAP=0Ainter=
face with a single locator: (IPisatap, site-internal=0Ainterface).=A0When t=
he ISATAP router gets an IPv6 via its=0Aexternal interface it will encapsul=
ate the packet accordingly=0Aand forward it through the internal IPv4 inter=
face. If the=0Aencapsulated packet is=A0destined to a node outside the site=
=0Athen the only thing that stops it is=A0a proto-41 filtering=0Aat the=A0o=
ther border router of the site. Did I get this right?=0A</gn>=0A=0A=3D=3D> =
In this case, yes - the ip-proto-41 filtering is at a=0A=3D=3D> border rout=
er. I know of at least one major enterprise=0A=3D=3D> network that does thi=
s.=0A=0A> It is only mentioned as a possible mitigation against=0A> incomin=
g spurious protocol-41 packets. In addition,=0A> Section 10 of RFC5214 only=
 mentions=A0ingress not=A0egress=0A> filtering.=A0Hence it=A0will not stop =
attack #2.=0A=0AWe are now talking about ip-proto-41 filtering; not ingress=
=0Afiltering. ip-proto-41 filtering is in both directions. It=0Aprevents ip=
-proto-41 packets from entering the enterprise=0Ainterior ISATAP site from =
the Internet and prevents=0Aip-proto-41 packets from entering the Internet =
ISATAP=0Asite from the enterprise interior. Else the ISATAP=0Ainterface wou=
ld span multiple sites.=0A=0ABesides, "ingress" filtering is not about pack=
ets coming=0Afrom the Internet into the end site, but rather it is=0Aabout =
packets leaving the end site and going out into=0Athe Internet. RFC2827 (BC=
P38) documents ingress filtering.=0A<gn>=0AOK. I see what you are saying he=
re.=0A</gn>=0A=0A=3D=3D> OK.=0A=0A> In addition,=0A> as mentioned, protocol=
-41 filtering is not helpful when=0A> attack #3 is launched on two routers =
that reside in the=0A> same site. Note that=A0it=A0may be=A0possible for=A0=
the attack=0A> packet=A0to be sourced from outside the site unless proper=
=0A> filtering of incoming IPv6 packets is deployed. If the=0A> attacker re=
sides in the site, usually ingress filtering=0A> will not be helpful since =
it is deployed in general on=0A> the site's border.=0A=0AHere, we have the =
ISATAP router in both cases sourcing a=0Apacket from a foreign prefix. =0A<=
gn>=0AWell, I do not see how this is correct. In attacks #1 and #3 the ISAT=
AP router sources (actually forwards) an IPv6=A0packet with=A0a source addr=
ess having=A0the corresponding=A0prefix of the ISATAP tunnel. In attacks #2=
 and #3 the ISATAP router sources and IPv4 packet with its own IPv4 address=
 as the source address.=0A</gn>=0A=0A=3D=3D> There were a number of errors =
in what I said in my last=0A=3D=3D> message, so let me see if I can get it =
right here:=0A=3D=3D>=0A=3D=3D> In attacks #1 and #2 there are two cases to=
 consider. Case=0A=3D=3D> 1 in which a border router separates the 6to4 rel=
ay from the=0A=3D=3D> ISATAP router, and case 2 in which no border router s=
eparates=0A=3D=3D> the 6to4 relay from the ISATAP router.=0A=3D=3D>=0A=3D=
=3D> In attack #1, we have an IPv6 packet with a local source=0A=3D=3D> add=
ress entering the site from the outside. IPv6 ingress=0A=3D=3D> filtering a=
t the site border router should prevent the=0A=3D=3D> packet from entering =
the site in the first place. If the=0A=3D=3D> 6to4 relay router is outside =
the site then ip-proto-41=0A=3D=3D> filtering at the border router will blo=
ck the attack in=0A=3D=3D> the first place anyway. If the relay router is *=
inside*=0A=3D=3D> the site, then the IPv6 ingress filtering is the lone=0A=
=3D=3D> mitigation. The end result is that the 6to4 relay should=0A=3D=3D> =
really be positioned outside of the site's border routers;=0A=3D=3D> otherw=
ise, it could be spoofed into thinking that the=0A=3D=3D> ISATAP router is =
a 6to4 router and not an ISATAP router. =0A=3D=3D>=0A=3D=3D> In attack #2, =
we have an IPv6 packet with a foreign source=0A=3D=3D> address being forwar=
ded by the ISATAP router to a 6to4=0A=3D=3D> relay, but I mis-spoke when I =
said that this would be a=0A=3D=3D> case of the ISATAP router forwarding a =
packet with a foreign=0A=3D=3D> source address out of the ISATAP link. For =
all the ISATAP=0A=3D=3D> router knows, the 6to4 relay is just an ordinary h=
ost on=0A=3D=3D> the ISATAP link, so the ISATAP router actually believes it=
=0A=3D=3D> is forwarding the packet *into* the ISATAP link (not out of=0A=
=3D=3D> it). But as in attack #1, the attack is blocked by ip-proto-41=0A=
=3D=3D> filtering at the border router between the ISATAP router and=0A=3D=
=3D> the 6to4 relay. If there is no border router between the ISATAP=0A=3D=
=3D> router and the 6to4 relay, then we have an identical instance=0A=3D=3D=
> to attack #3 which I will discuss below. But, the best=0A=3D=3D> operatio=
nal practice would again be to have the 6to4 relay=0A=3D=3D> oriented outsi=
de of a border router that filters ip-proto-41.=0A=3D=3D>=0A=3D=3D> Short s=
ummary is that in attack #1, the 6to4 relay thinks it=0A=3D=3D> is talking =
to a 6to4 router and not an ISATAP router. In=0A=3D=3D> attack #2, the ISAT=
AP router thinks it is talking to a=0A=3D=3D> simple host on the link and n=
ot a 6to4 relay. In both cases,=0A=3D=3D> the attacks are mitigated when th=
ere is an ip-proto-41=0A=3D=3D> filtering border router between the ISATAP =
router and the=0A=3D=3D> 6to4 relay. Oftentimes, the "border router" will b=
e a two-=0A=3D=3D> interface router that implements 6to4 on a site-external=
=0A=3D=3D> IPv4 interface and implements ISATAP on a site-internal=0A=3D=3D=
> IPv4 interface and performs ip-proto-41 filtering on packets=0A=3D=3D> fr=
om outside the site with an IPv4 destination corresponding=0A=3D=3D> to the=
 ISATAP interface. I will discuss attack #3 below:=0A=A0 =A0=0AThis attack =
is mitigated by =0AIPv6 ingress filtering which is an IPv6 security conside=
ration=0Aand not an ISATAP nor IPv4 security consideration. BCP=0Arecommend=
ations for network ingress filtering are documented=0Ain RFC2827 and it is =
expected that IPv6 routers that configure=0AISATAP interfaces will implemen=
t IPv6 ingress filtering=0Aaccording to the BCP.=0A<gn>=0ASo If my last com=
ment is correct than I do not see how ingress filtering would help here. Th=
e only case where=A0ingress filtering can help is in case of attack #3 when=
 the routers reside at the same site. In that case if the attack packet (pa=
cket 0) is sent from outside the site then ingress filtering on the border =
of the site will drop the packet.=0A</gn>=0A=0A=3D=3D> Correct about the IP=
v6 ingress filtering at the border,=0A=3D=3D> but as with attack #2 my erro=
r in the previous message=0A=3D=3D> was in thinking the ISATAP router A was=
 forwarding the=0A=3D=3D> packet *out* of the ISATAP link when in fact from=
 the=0A=3D=3D> ISATAP router's perspective it is forwarding the packet=0A=
=3D=3D> to a simple host *inside* of the link.=0A=3D=3D>=0A=3D=3D> The prob=
lem here is that the ISATAP router is blindly=0A=3D=3D> forwarding a packet=
 to a node that it assumes is a simple=0A=3D=3D> host on the ISATAP link wi=
thout first verifying that the=0A=3D=3D> node has demonstrated a willingnes=
s to participate as a=0A=3D=3D> host on the link. As you have pointed out, =
this can lead=0A=3D=3D> to strange scenarios when the anonymous node is a t=
unnel=0A=3D=3D> router of some sort that does not participate in the=0A=3D=
=3D> ISATAP link.=0A=3D=3D>=0A=3D=3D> It would not generally be possible fo=
r the ISATAP router=0A=3D=3D> to check whether the IPv6 destination address=
 is an ISATAP=0A=3D=3D> address that embeds one of its own IPv4 addresses, =
because=0A=3D=3D> when IPv4 private addresses are used the same IPv4 addres=
s=0A=3D=3D> can (and often does) occur in multiple sites. So for example,=
=0A=3D=3D> if the ISATAP router configures an IPv4 address 10.0.0.1=0A=3D=
=3D> and is asked to forward an IPv6 packet with ISATAP=0A=3D=3D> destinati=
on address 2001:DB8::0:5EFE:10.0.0.1 where the=0A=3D=3D> IPv6 prefix is for=
eign, the router can't very well drop the=0A=3D=3D> packet as this would bl=
ock legitimate communications. It=0A=3D=3D> is also not generally possible =
to check whether a foreign=0A=3D=3D> link is an ISATAP link by looking for =
the magic token=0A=3D=3D> "0:5EFE" as that token only has significance for =
ISATAP=0A=3D=3D> links and not other link types.=0A=3D=3D>=0A=3D=3D> Instea=
d, the mitigation I think makes the most sense is=0A=3D=3D> for the ISATAP =
router to first verify that the node which=0A=3D=3D> it assumes to be a sim=
ple ISATAP host has demonstrated a=0A=3D=3D> willingness to participate in =
the link. That can be done=0A=3D=3D> by having the ISATAP router first chec=
k the neighbor cache=0A=3D=3D> when it has a packet to send to verify that =
there is a=0A=3D=3D> cached entry corresponding to the destination. For nod=
es=0A=3D=3D> that are willing ISATAP hosts on the link, there would=0A=3D=
=3D> have been a neighbor cache entry created when the node=0A=3D=3D> sends=
 a Router Solicitation to the ISATAP router for the=0A=3D=3D> purpose of di=
scovering default router lifetimes and on-=0A=3D=3D> link prefixes. So, the=
 simple mitigations is for the ISATAP=0A=3D=3D> router to forward the packe=
t only if there is a pre-existing=0A=3D=3D> neighbor cache entry and drop t=
he packet otherwise. This=0A=3D=3D> implies that the router should keep nei=
ghbor cache entires=0A=3D=3D> for the duration of the minimum lifetime of t=
he prefixes=0A=3D=3D> it advertises in its Router Advertisements.=A0 =0A=0A=
> In general, I would like to point out that indeed as in=0A> most other at=
tacks these attacks may also be mitigated by=0A> proper firewall rules. How=
ever, I do not believe that this=0A> should be our only answer against thes=
e attacks. I believe=0A> that since these attacks are made possible due to =
the=0A> inherent characteristics of the tunnels they=A0should be=0A> stoppe=
d intrinsically as much as possible by the tunnel=0A> participants and not =
relay on outside filtering rules.=0A=0AIn RFC5214, Section 10 we have: "res=
tricting access to the=0Alink can be achieved by restricting access to the =
site". The=0Amitigations do exactly that, and in such a way that ISATAP=0An=
odes can operate with only the necessary and sufficient=0Achecks. So on thi=
s point, I do not share your opinion.=0A<gn>=0AWhat about two ISATAP tunnel=
s that reside on the same site like in attack #3. Do you=A0also think that =
proto-41 filtering should barrier between the two tunnels within the site?=
=A0=0A</gn>=0A=0A=3D=3D> I think this may be overcome by the discussion abo=
ve.=0A=3D=3D> Short story is that operational practices must be=0A=3D=3D> e=
mployed whereby an ISATAP router is not mistaken for=0A=3D=3D> a 6to4 route=
r. This is through proper arrangement of=0A=3D=3D> 6to4 router/relay interf=
aces outside of the site border=0A=3D=3D> rather than inside, and ISATAP ro=
uter interfaces inside=0A=3D=3D> of the site border rather than outside. Al=
so proper=0A=3D=3D> ip-proto-41 filtering and IPv6 ingress filtering at=0A=
=3D=3D> site borders.=0A=3D=3D>=0A=3D=3D> Also, when there are multiple ISA=
TAP links within the=0A=3D=3D> same local IPv4 routing region, an ISATAP ro=
uter should=0A=3D=3D> first verify a node's willingness to act as a host on=
=0A=3D=3D> the ISATAP link before blindly sending a packet to it.=0A=3D=3D>=
=0A=3D=3D> Fred=0A=3D=3D> fred.l.templin@boeing.com=0A=0AFred=0Afred.l.temp=
lin@boeing.com=0A=A0=0A________________________________________=0AFrom: "Te=
mplin, Fred L" <Fred.L.Templin@boeing.com>=0ATo: Gabi Nakibly <gnakibly@yah=
oo.com>; v6ops <v6ops@ops.ietf.org>=0ACc: ipv6@ietf.org; secdir@ietf.org=0A=
Sent: Monday, August 17, 2009 8:35:08 PM=0ASubject: RE: Routing loop attack=
s using IPv6 tunnels=0A=0A=0AGabi,=0A=A0=0AThanks for publishing this work.=
 In the document, attacks A, B and C=0Acorrespond to a configuration that v=
iolates section 6.2 of RFC5214:=0A=A0=0A> 6.2.=A0 ISATAP Interface Address =
Configuration=0A>=A0=0A> =A0=A0Each ISATAP interface configures a set of lo=
cators consisting of IPv4=0A>=A0=A0 address-to-interface mappings from a si=
ngle site; i.e., an ISATAP=0A>=A0=A0 interface's locator set MUST NOT span =
multiple sites.=0A=A0=0AIn particular, in scenarios A, B and C the IPv4 loc=
ator used for ISATAP=0Ais seen both within the enterprise as site #1 and wi=
thin the global Internet=0Aitself as site #2. If the ISATAP interface is to=
 be used as an enterprise-=0Ainterior interface, it should therefore not ac=
cept IP-proto-41 packets=0Acoming from an IPv4 source outside of the enterp=
rise nor source=0AIP-proto-41 packets that are destined to an IPv4 node out=
side of the=0Aenterprise. This condition should be satisfied by having the =
site border=0Arouters implement IPv4 ingress filtering and ip-protocol-41 f=
iltering as=0Arequired in Section 10 of RFC5214.=0A=A0=0AIt is mentioned th=
at attack C could also occur when the routers reside=0Ain the same site, wh=
ere their addresses may be private. This would=0Acorrespond to a case in wh=
ich an attacker within the site attacks the=0Asite itself, which can easily=
 be traced - especially when source address=0Aspoofing from a node within t=
he site is prevented through proper ingress=0Afiltering.=0A=A0=0AFred=0Afre=
d.l.templin@boeing.com=0A=A0=0A________________________________________=0AF=
rom: Gabi Nakibly [mailto:gnakibly@yahoo.com] =0ASent: Monday, August 17, 2=
009 8:21 AM=0ATo: v6ops=0ACc: ipv6@ietf.org; secdir@ietf.org=0ASubject: Rou=
ting loop attacks using IPv6 tunnels=0A=A0=0AHi all,=0AI would like to draw=
 the attention of the list to=A0some=A0research=A0results which my colleagu=
e and I at the National EW Research=A0& Simulation=A0Center have recently p=
ublished. The research presents a=A0class of routing loop attacks that abus=
es 6to4, ISATAP and Teredo. The=A0paper can be found at: http://www.usenix.=
org/events/woot09/tech/full_papers/nakibly.pdf=0A=A0=0AHere is the abstract=
:=0AIPv6 is the future network layer protocol for the Internet. Since it is=
 not compatible with its predecessor, some interoperability mechanisms were=
 designed. An important category of these mechanisms is automatic tunnels, =
which enable IPv6 communication over an IPv4 network without prior configur=
ation. This category includes ISATAP, 6to4 and Teredo. We present a novel c=
lass of attacks that exploit vulnerabilities in these tunnels. These attack=
s take advantage of inconsistencies between a tunnel's overlay IPv6 routing=
 state and the native IPv6 routing state. The attacks form routing loops wh=
ich can be abused as a vehicle for traffic amplification to facilitate DoS =
attacks. We exhibit five attacks of this class. One of the presented attack=
s can DoS a Teredo server using a single packet. The exploited vulnerabilit=
ies are embedded in the design of the tunnels; hence any implementation of =
these tunnels may be vulnerable. In particular, the attacks were tested=0Aa=
gainst the ISATAP, 6to4 and Teredo implementations of Windows Vista and Win=
dows Server 2008 R2. =0A=A0=0AI think the results of the research warrant s=
ome corrective action. If this=A0indeed shall be the general sentiment of t=
he list, I will be happy write an appropriate I-D. The mitigation measures =
we suggested in the paper are the best we could think of to completely elim=
inate the problem. However they are far from perfect since=A0they would req=
uire=A0tunnel implementations to be updated in case new types of automatic =
tunnels are introduced.=0A=A0=0AYour comments are welcome.=0A=A0=0AGabi=0A=
=0A=0A      

From gnakibly@yahoo.com  Mon Aug 24 09:13:25 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ACEA028C257 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 09:13:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.303
X-Spam-Level: 
X-Spam-Status: No, score=-0.303 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_13=0.6, MIME_8BIT_HEADER=0.3, MIME_QP_LONG_LINE=1.396]
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 Paf1bfzDpvSf for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 09:13:25 -0700 (PDT)
Received: from n14.bullet.mail.mud.yahoo.com (n14.bullet.mail.mud.yahoo.com [68.142.206.41]) by core3.amsl.com (Postfix) with SMTP id 564FB28C224 for <ipv6@ietf.org>; Mon, 24 Aug 2009 09:13:25 -0700 (PDT)
Received: from [68.142.194.243] by n14.bullet.mail.mud.yahoo.com with NNFMP; 24 Aug 2009 16:13:29 -0000
Received: from [68.142.201.245] by t1.bullet.mud.yahoo.com with NNFMP; 24 Aug 2009 16:13:29 -0000
Received: from [127.0.0.1] by omp406.mail.mud.yahoo.com with NNFMP; 24 Aug 2009 16:13:29 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 493229.38665.bm@omp406.mail.mud.yahoo.com
Received: (qmail 57852 invoked by uid 60001); 24 Aug 2009 16:11:58 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251130318; bh=Z5S+vdzSLcYqgBnb1PXmFH30/JUIE1+UrWKg0MnGidA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XGMFXdLb0zdjmRkJhge7ufZk+kHJlAfd1CZfkTXu5/sexJ7zwJ/h2P/XvbN8iBaB7esRZNS9bkX35IS0OUNAUNWV6hJ7BrnQTEeH/2zF4zX8SAdwBtYO/oliLzhP9X3qm0lKlWxxAsE4h8zGPqQCBloFbMnz+Qw2Gpq373EzKtE=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xTka0r3PHg+JqqX48geadQeDIgLMq8N9xv08QdEargNVWDtIzNu+1+rZcLgoLOpxgWyjIZQZGmjjFqn4K2k/yYwwR39cCMSqGRM6VmhR9e/3mVsciq5rzjZM95PbDusfZzNq2SV7hUMX9YUnZdYUR6gyvCE8lZFwaXr+CW6E1+c=;
Message-ID: <852107.57254.qm@web45516.mail.sp1.yahoo.com>
X-YMail-OSG: BwdE_vYVM1l_QUwItUxA19HWhxOH2XcfwADSMeBP98NOt9z5vTVug3eSdhkThEsX7o2o0yN8v6nAfjZY.e.HDmnWyEUwLc8J0n24VqIW3tDbg3._jBQdcDBpW.1ELeMAHTQcw8LrtIWYnPVT407.OBZRP5_wbpf.DQPuY4BjYJ4Bz1bgjfN0_qnL8e5jK.c5lEaFaBXE4NUIQvOhUPDyQDKU0xE4kffrku7Ye1BruQN.9Z5x1vg-
Received: from [93.172.27.171] by web45516.mail.sp1.yahoo.com via HTTP; Mon, 24 Aug 2009 09:11:58 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <6D7FF41F-717B-42D2-A744-750DC874356B@free.fr> <808598.58470.qm@web45510.mail.sp1.yahoo.com> <A63D19A5-2750-4075-A126-4936591F4A75@free.fr>
Date: Mon, 24 Aug 2009 09:11:58 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels - the 6rd case
To: =?iso-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <A63D19A5-2750-4075-A126-4936591F4A75@free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: v6ops <v6ops@ops.ietf.org>, 6man 6man <ipv6@ietf.org>, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 16:13:25 -0000

Remi,=0ASee my comments inline (<gn>).=0A=0AGabi=0A=0A=0A=0A----- Original =
Message ----=0AFrom: R=E9mi Despr=E9s <remi.despres@free.fr>=0ATo: Gabi Nak=
ibly <gnakibly@yahoo.com>=0ACc: v6ops <v6ops@ops.ietf.org>; 6man 6man <ipv6=
@ietf.org>; secdir@ietf.org; Mark Townsley <townsley@cisco.com>=0ASent: Thu=
rsday, August 20, 2009 11:34:49 AM=0ASubject: Re: Routing loop attacks usin=
g IPv6 tunnels - the 6rd case=0A=0Agabi,=0A=0AThanks for your quick answer.=
=0AFurther remarks in line.=0A=0ALe 19 ao=FBt 09 =E0 12:12, Gabi Nakibly a =
=E9crit :=0A=0A> Remi,=0A> See my comments inline (<gn>).=0A> Gabi=0A> =0A>=
 From: R=E9mi Despr=E9s <remi.despres@free.fr>=0A> To: Gabi Nakibly <gnakib=
ly@yahoo.com>=0A> Cc: v6ops <v6ops@ops.ietf.org>; 6man 6man <ipv6@ietf.org>=
; secdir@ietf.org; Mark Townsley <townsley@cisco.com>=0A> Sent: Tuesday, Au=
gust 18, 2009 8:00:42 PM=0A> Subject: Re: Routing loop attacks using IPv6 t=
unnels - the 6rd case=0A> =0A> Hi Gabi,=0A> =0A> First, thanks to you and y=
our colleagues for this research, and for the clear presentation of its res=
ults.=0A> In my understanding, your contribution is important for transitio=
n solutions to be carefully selected, and where needed improved.=0A> =0A> T=
his mail is to complement the analysis with what applies to 6rd.=0A> =0A> F=
or those who don't know it, 6rd, like 6to4, ISATAP and Teredo, is an automa=
tic tunnel mechanism in actual use for IPv6 across IPv4 clouds.=0A> With it=
, service providers can offer native IPv6 to their customers while using fo=
r this their existing IPv4 infrastructures.=0A> Publication of the RFC that=
 describes it, RFC 5569, has been delayed since May for a reason related to=
 intellectual property rights applicable to independent submissions.=0A> Bu=
t the draft on which 6rd is based is still available, and a new draft to ex=
tend its applicability is also available:=0A> - tools.ietf.org/html/draft-d=
espres-6rd-03=0A> - tools.ietf.org/html/draft-townsley-ipv6-6rd-01=0A> <gn>=
=0A> I must admit that this is the first time I read the spec of 6rd so for=
give me if I miss something.=0A> </gn>=0A> =0A> (1) Case of ISPs that opera=
te 6rd relays and no 6to4 relays (and neither Teredo relays nor ISP-infrast=
ructure NATs)=0A> =0A> In its sec. 3, draft-despres-6rd-03 says:=0A> <<<=0A=
>=A0 The IPv4 anycast address of 6rd relays may be chosen independently by=
=0A>=A0 each ISP.=A0 The only constraint is that routes toward the ISP that=
 are=0A>=A0 advertised must not include this address.=0A> >>>=0A> In view o=
f your study and in my understanding, it should be completed with:=0A> "Als=
o, the ISP must not forward toward the global IPv4 global Internet packets =
having this address as source."=0A> =0A> With this, an ISP that operates 6r=
d relays but operates neither 6to4 relays nor Teredo relays nor NATs is imm=
une to the routing loop attack because:=0A> - An IPv6 packet forwarded to t=
he IPv6 Internet by a 6rd relay cannot come back to an IPv4 interface of a =
6rd relay of the same ISP: there is no IPv4 route back to the ISP for its 6=
rd anycast address.=0A> - An IPv6 packet received from the IPv6 Internet by=
 a 6rd relay cannot be sent back to the IPv4 global Internet: the source ad=
dress of its IPv4 encapsulating packet is the 6rd anycast address, which pr=
events it from reaching the IPv4 global Internet.=0A> =0A> Note that, if in=
terfaces of the ISP to the IPv4 global Internet are already subject to ingr=
ess filtering (packets received by the global Internet are discarded if the=
re is no reverse path available for them), the added sentence is not necess=
ary. It is just just a double precaution for cases where such ingress filte=
ring doesn't apply.=0A> <gn>=0A> I agree with you that above check will wor=
k. However, I might choose another way here: the relay must make the follow=
ing two checks:=0A> 1) When an IPv6 packet is received from the IPv6 Intern=
et the 6rd relay must ensure before encapsulation that the intended IPv4 de=
stination address belongs to one of the ISP's clients (I assume it can make=
 this check easily). This way no IPv6 packet received from the IPv6 Interne=
t will be relayed to a 6to4 relay (and then back to the 6rd relay through t=
he IPv6 Internet).=0A=0AThe problem is that this check is not easy "in gene=
ral" because ISPs typically have their IPv4 prefixes allocated one by one a=
s they increase the number of their clients.=0A=0A=0A> 2) When an encapsula=
ted packet is received from the IPv4 network side the 6rd relay must check =
that the IPv6 destination does not include its own IPv4 address. For exampl=
e the IPv6 destination address must not be: 2002:<IPv4 address of 6rd relay=
>::/48. This will prevent the packet from ever reaching back the 6rd relay =
through its IPv4 interface=0A=0AThe problem is that to be general, and as y=
ou noted, this test depends on a knowledge of all formats used to embed IPv=
4 addresses in IPv6 addresses. When a new format is introduced, a security =
weakness therefore holds until all relays are upgraded to support it.=0ABes=
ides, and more important, some formats may use _ISP dependent prefixes_ (an=
d 6rd is already in this case!). These formats cannot be recognized by a co=
nstant code.=0A=0A=0AThis being noted, I agree that, to extend applicabilit=
y of 6rd relays to cases where ingress filtering doesn't apply, and to deal=
 more simply with the case of 6rd ISPs that also operate 6to4 relays, 6rd r=
elays SHOULD do as you propose:=0A*In 6rd relays, packets received on the I=
Pv4 side should be discarded if their IPv6 destinations are 6to4 addresses =
containing the ISP 6rd anycast address.*=0A=0A=0A> =0A> This way all the ch=
ecks are done only at the 6rd relay and not in other IPv4 border routers of=
 the ISP which should not be aware of the 6rd deployment.=0A=0ANote that IP=
v4 border routers of the ISP need not to be aware of the 6rd in particular.=
=0AThey only have to make sure that ingress filtering "in general" applies =
to packets sent toward the global Internet.=0A(If their downstream neighbor=
s do ingress filtering as they should, these border routers have nothing sp=
ecific to do. In cases where this isn't sure though, they should better pre=
vent source address spoofing by filtering themselves source addresses for w=
hich they have no reverse path.)=0A=0A=0A<gn>=0A- For packets coming from t=
he IPv6 side:=A0if the first check I suggested=A0of the ISP's clients is no=
t easy, then you can=A0instead check, as you suggested below,=A0the IPv6 so=
urce address of the incoming packet to verify that it is not a 6to4 address=
 containing the 6rd relay IPv4 address. This can make the check of the sour=
ce address in other IPv4 border routers redundant.=0A- For packets coming f=
rom the IPv4 side: on second thought, if the 6rd spec already ensures that =
there is no IPv4 route from an external 6to4 relay to a 6rd relay, then ind=
eed the second check I proposed is redundant. Moreover, I completely agree =
that=A0this check=A0can=A0only eliminate=A0routing loops=A0with a 6to4 rela=
y and not with=A0relays of other types of tunnels.=A0=0A=A0</gn>=0A=0A=0A> =
</gn>=0A> =0A> =0A> (2) Case of ISPs that operate 6rd relays AND 6to4 relay=
s (but neither Teredo relays nor ISP-infrastructure NATs)=0A> =0A> In its s=
ec. 5 on security, draft-despres-6rd-03 says:=0A> <<<=0A>=A0 o=A0 RELAY PAC=
KETS TOWARD THE INTERNET: The IPv6 source must be a 6rd=0A>=A0 =A0 =A0 addr=
ess that matches the IPv4 source.=A0 The IPv6 destination must=0A>=A0 =A0 =
=A0 not start with the ISP 6rd prefix.=0A> ...=0A>=A0 o=A0 RELAY PACKETS FR=
OM THE INTERNET: The IPv6 source must not be a 6rd=0A>=A0 =A0 =A0 address o=
f the ISP.=A0 The IPv4 destination must not be multicast,=0A>=A0 =A0 =A0 i.=
e. must not start with 224/3...=0A> >>>=0A> =0A> In view of your study and =
in my understanding, it MUST be completed with:=0A> - after the first quote=
d paragraph:=0A> "Furthermore, if the ISP also operates 6to4 relays that ad=
vertise on the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 source=
 must be neither the 6to4 anycast address 192.88.99.0 nor any of its equiva=
lent IPv4 unicast addresses."=0A> - after the second quoted paragraph:=0A> =
"Furthermore, if the ISP also operates 6to4 relays that advertise on the IP=
v6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 destination derived fro=
m the IPv6 destination must be neither the IPv4 anycast address 192.88.99.0=
 nor any of its equivalent IPv4 unicast addresses."=0A> <gn>=0A> Actually, =
I believe that the precautions I suggested above will work here also instea=
d of those checks. Won't they?=0A=0AAs explained above, it would be 100% sa=
fe only if all embedded IPv4 addresses were guaranteed to be recognized, wh=
ich is not the case.=0A=0A=0A> In general, I think that checks performed on=
 the destination address (IPv4 or IPv6) should be more robust than checks o=
n a source address.=0A=0AIn my understanding, not always.=0AEach scenario h=
as to be studied for what it is.=0A=0A> </gn>=0A> =0A> With this, an ISP th=
at operates both 6rd and 6to4 relays is also immune to the routing-loop att=
ack because:=0A> - an IPv6 packet forwarded to the global Internet by 6rd r=
elays can come back to the ISP IPv4 network via one of the 6to4 relays of t=
he ISP BUT cannot be accepted again by a 6rd relay: its IPv4 source address=
 is then one of a 6to4 relay, which, with the first added sentence, prevent=
s it from being accepted by the 6rd relay.=0A> - an IPv6 packet received fr=
om the IPv6 Internet by a 6rd relay cannot be sent back to the IPv4 global =
Internet via one of the 6to4 relays: the IPv4 address derived from its IPv6=
 destination would have for this to be one of a 6to4 relays, which, with th=
e second added sentence, prevents it from being forwarded by the 6rd relay.=
=0A> =0A> Note: RFC 3068, where the 6to4 anycast address is introduced, say=
s that "each 6to4 relay router that advertise the 6to4 anycast prefix MUST =
also provide an equivalent IPv4 unicast address". Whether this is really im=
portant in practice is IMHO unclear. On the other hand, if this MUST is dis=
pensed with, the above security precaution can be implemented in 6rd relays=
 without a need to handle a variable number of addresses, and to administra=
tively configure them (with the associated risks of human errors).=0A> =0A>=
 <gn>=0A> If you do the check on the destination address you can avoid this=
 administrative configuration altogether.=0A=0AAgreed for packets forwarded=
 to the IPv6 side (see above).=0A=0ANow, for packets from the IPv6 Internet=
, rather than checking that the embedded IPv4 destination has one of the IS=
P allocated prefixes, there is a better check I hadn't seen before sending =
the previous e-mail:=0A*In 6rd relays, packets received on the IPv6 side sh=
ould be discarded if their source addresses are 6to4 addresses containing t=
he ISP 6rd anycast address.*=0A=0A<gn>=0AI fully agree.=0A<\gn>=0A=0A=A0=0A=
The above administrative configuration is thus unnecessary, and the 6rd rel=
ay cannot participate in a routing loop attack even if its ISP also operate=
s 6to4 relays.=0A=0ANOTE: As a matter of fact, a source address check can a=
lso be used to improve the Mitigation Measures you proposed for 6to4, ISATA=
P and Teredo relays:=0A*In your three forwarding conditions, it would be su=
fficient to add "or source" after each occurrence of "destination".*=0AThus=
, each of these relays becomes protected against rooting loop attacks via a=
ny other 6to4, ISATAP, and Teredo relay, even if this relay doesn't make th=
e new check on destination addresses.=0A=0A<gn>=0AYou are right. This can a=
dd another layer of security. However,=A0one must note=A0that for this chec=
k to work the other relay=A0that participates in the routing loop=A0must=A0=
indeed validate before it decapsulates a packet that its IPv4 source addres=
s corresponds to=A0its IPv6 source address. If this is not true, then the c=
heck of the source address you noted above is useless. I am making this not=
e, since I have encountered some implementations of 6to4 and ISATAP that do=
es not=A0follow their corresponding spec and do not=A0make this=A0validatio=
n, as they should.=A0=0ABut, again, I agree that this check can be used as =
another layer of security.=0A</gn>=0A=0A=0A> </gn>=0A> =0A> To conclude:=0A=
> - Without needing to modify 6to4 relays, ISATAP relays, and Teredo relays=
, ISPs that support 6rd and don't support 6to4 appear to be already protect=
ed against routing loop attacks if ingress filtering is operational at thei=
r interfaces to the IPv4 global Internet. With an additional simple precaut=
ion in 6rd relays, they can also be immune in the absence of such filtering=
..=0A> <gn>=0A> I fully agree.=0A=0AThanks.=0AThoughts on the proposal to im=
prove your mitigation measures?=0A=0ARegards,=0ARD=0A=0A> </gn>=0A> - A nec=
essary additional security precaution against routing-loop attacks is now i=
dentified for ISPs that support 6rd and that, having started with 6to4, wis=
h to keep it for backward compatibility. Thanks again for your analysis whi=
ch made it possible.=0A> =0A> =0A> Best regards,=0A> RD=0A> =0A> =0A> =0A> =
Le 17 ao=FBt 09 =E0 17:21, Gabi Nakibly a =E9crit :=0A> =0A> > Hi all,=0A> =
> I would like to draw the attention of the list to some research results w=
hich my colleague and I at the National EW Research & Simulation Center hav=
e recently published. The research presents a class of routing loop attacks=
 that abuses 6to4, ISATAP and Teredo. The paper can be found at: http://www=
..usenix.org/events/woot09/tech/full_papers/nakibly.pdf=0A> >=0A> > Here is =
the abstract:=0A> > IPv6 is the future network layer protocol for the Inter=
net. Since it is not compatible with its predecessor, some interoperability=
 mechanisms were designed. An important category of these mechanisms is aut=
omatic tunnels, which enable IPv6 communication over an IPv4 network withou=
t prior configuration. This category includes ISATAP, 6to4 and Teredo. We p=
resent a novel class of attacks that exploit vulnerabilities in these tunne=
ls. These attacks take advantage of inconsistencies between a tunnel's over=
lay IPv6 routing state and the native IPv6 routing state. The attacks form =
routing loops which can be abused as a vehicle for traffic amplification to=
 facilitate DoS attacks. We exhibit five attacks of this class. One of the =
presented attacks can DoS a Teredo server using a single packet. The exploi=
ted vulnerabilities are embedded in the design of the tunnels; hence any im=
plementation of these tunnels may be vulnerable. In particular, the attacks=
 were
 tested against the ISATAP, 6to4 and Teredo implementations of Windows Vist=
a and Windows Server 2008 R2.=0A> >=0A> > I think the results of the resear=
ch warrant some corrective action. If this indeed shall be the general sent=
iment of the list, I will be happy write an appropriate I-D. The mitigation=
 measures we suggested in the paper are the best we could think of to compl=
etely eliminate the problem. However they are far from perfect since they w=
ould require tunnel implementations to be updated in case new types of auto=
matic tunnels are introduced.=0A> >=0A> > Your comments are welcome.=0A> >=
=0A> > Gabi=0A> >=0A> > ---------------------------------------------------=
-----------------=0A> > IETF IPv6 working group mailing list=0A> > ipv6@iet=
f.org=0A> > Administrative Requests: https://www.ietf.org/mailman/listinfo/=
ipv6=0A> > ----------------------------------------------------------------=
----=0A> =0A> =0A> =0A> =0A> =0A=0A=0A      


From gnakibly@yahoo.com  Mon Aug 24 09:18:33 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5877228C255 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 09:18:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.303
X-Spam-Level: 
X-Spam-Status: No, score=-0.303 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_13=0.6, MIME_8BIT_HEADER=0.3, MIME_QP_LONG_LINE=1.396]
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 UYsm+jnol2sW for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 09:18:33 -0700 (PDT)
Received: from n10.bullet.mail.mud.yahoo.com (n10.bullet.mail.mud.yahoo.com [209.191.125.208]) by core3.amsl.com (Postfix) with SMTP id 1E92C28C277 for <ipv6@ietf.org>; Mon, 24 Aug 2009 09:18:33 -0700 (PDT)
Received: from [209.191.108.97] by n10.bullet.mail.mud.yahoo.com with NNFMP; 24 Aug 2009 16:18:39 -0000
Received: from [68.142.201.245] by t4.bullet.mud.yahoo.com with NNFMP; 24 Aug 2009 16:18:39 -0000
Received: from [127.0.0.1] by omp406.mail.mud.yahoo.com with NNFMP; 24 Aug 2009 16:18:39 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 484126.23324.bm@omp406.mail.mud.yahoo.com
Received: (qmail 57852 invoked by uid 60001); 24 Aug 2009 16:11:58 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251130318; bh=Z5S+vdzSLcYqgBnb1PXmFH30/JUIE1+UrWKg0MnGidA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XGMFXdLb0zdjmRkJhge7ufZk+kHJlAfd1CZfkTXu5/sexJ7zwJ/h2P/XvbN8iBaB7esRZNS9bkX35IS0OUNAUNWV6hJ7BrnQTEeH/2zF4zX8SAdwBtYO/oliLzhP9X3qm0lKlWxxAsE4h8zGPqQCBloFbMnz+Qw2Gpq373EzKtE=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xTka0r3PHg+JqqX48geadQeDIgLMq8N9xv08QdEargNVWDtIzNu+1+rZcLgoLOpxgWyjIZQZGmjjFqn4K2k/yYwwR39cCMSqGRM6VmhR9e/3mVsciq5rzjZM95PbDusfZzNq2SV7hUMX9YUnZdYUR6gyvCE8lZFwaXr+CW6E1+c=;
Message-ID: <852107.57254.qm@web45516.mail.sp1.yahoo.com>
X-YMail-OSG: BwdE_vYVM1l_QUwItUxA19HWhxOH2XcfwADSMeBP98NOt9z5vTVug3eSdhkThEsX7o2o0yN8v6nAfjZY.e.HDmnWyEUwLc8J0n24VqIW3tDbg3._jBQdcDBpW.1ELeMAHTQcw8LrtIWYnPVT407.OBZRP5_wbpf.DQPuY4BjYJ4Bz1bgjfN0_qnL8e5jK.c5lEaFaBXE4NUIQvOhUPDyQDKU0xE4kffrku7Ye1BruQN.9Z5x1vg-
Received: from [93.172.27.171] by web45516.mail.sp1.yahoo.com via HTTP; Mon, 24 Aug 2009 09:11:58 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <789539.81531.qm@web45502.mail.sp1.yahoo.com> <6D7FF41F-717B-42D2-A744-750DC874356B@free.fr> <808598.58470.qm@web45510.mail.sp1.yahoo.com> <A63D19A5-2750-4075-A126-4936591F4A75@free.fr>
Date: Mon, 24 Aug 2009 09:11:58 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels - the 6rd case
To: =?iso-8859-1?Q?R=E9mi_Despr=E9s?= <remi.despres@free.fr>
In-Reply-To: <A63D19A5-2750-4075-A126-4936591F4A75@free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: v6ops <v6ops@ops.ietf.org>, 6man 6man <ipv6@ietf.org>, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 16:18:33 -0000

Remi,=0ASee my comments inline (<gn>).=0A=0AGabi=0A=0A=0A=0A----- Original =
Message ----=0AFrom: R=E9mi Despr=E9s <remi.despres@free.fr>=0ATo: Gabi Nak=
ibly <gnakibly@yahoo.com>=0ACc: v6ops <v6ops@ops.ietf.org>; 6man 6man <ipv6=
@ietf.org>; secdir@ietf.org; Mark Townsley <townsley@cisco.com>=0ASent: Thu=
rsday, August 20, 2009 11:34:49 AM=0ASubject: Re: Routing loop attacks usin=
g IPv6 tunnels - the 6rd case=0A=0Agabi,=0A=0AThanks for your quick answer.=
=0AFurther remarks in line.=0A=0ALe 19 ao=FBt 09 =E0 12:12, Gabi Nakibly a =
=E9crit :=0A=0A> Remi,=0A> See my comments inline (<gn>).=0A> Gabi=0A> =0A>=
 From: R=E9mi Despr=E9s <remi.despres@free.fr>=0A> To: Gabi Nakibly <gnakib=
ly@yahoo.com>=0A> Cc: v6ops <v6ops@ops.ietf.org>; 6man 6man <ipv6@ietf.org>=
; secdir@ietf.org; Mark Townsley <townsley@cisco.com>=0A> Sent: Tuesday, Au=
gust 18, 2009 8:00:42 PM=0A> Subject: Re: Routing loop attacks using IPv6 t=
unnels - the 6rd case=0A> =0A> Hi Gabi,=0A> =0A> First, thanks to you and y=
our colleagues for this research, and for the clear presentation of its res=
ults.=0A> In my understanding, your contribution is important for transitio=
n solutions to be carefully selected, and where needed improved.=0A> =0A> T=
his mail is to complement the analysis with what applies to 6rd.=0A> =0A> F=
or those who don't know it, 6rd, like 6to4, ISATAP and Teredo, is an automa=
tic tunnel mechanism in actual use for IPv6 across IPv4 clouds.=0A> With it=
, service providers can offer native IPv6 to their customers while using fo=
r this their existing IPv4 infrastructures.=0A> Publication of the RFC that=
 describes it, RFC 5569, has been delayed since May for a reason related to=
 intellectual property rights applicable to independent submissions.=0A> Bu=
t the draft on which 6rd is based is still available, and a new draft to ex=
tend its applicability is also available:=0A> - tools.ietf.org/html/draft-d=
espres-6rd-03=0A> - tools.ietf.org/html/draft-townsley-ipv6-6rd-01=0A> <gn>=
=0A> I must admit that this is the first time I read the spec of 6rd so for=
give me if I miss something.=0A> </gn>=0A> =0A> (1) Case of ISPs that opera=
te 6rd relays and no 6to4 relays (and neither Teredo relays nor ISP-infrast=
ructure NATs)=0A> =0A> In its sec. 3, draft-despres-6rd-03 says:=0A> <<<=0A=
>=A0 The IPv4 anycast address of 6rd relays may be chosen independently by=
=0A>=A0 each ISP.=A0 The only constraint is that routes toward the ISP that=
 are=0A>=A0 advertised must not include this address.=0A> >>>=0A> In view o=
f your study and in my understanding, it should be completed with:=0A> "Als=
o, the ISP must not forward toward the global IPv4 global Internet packets =
having this address as source."=0A> =0A> With this, an ISP that operates 6r=
d relays but operates neither 6to4 relays nor Teredo relays nor NATs is imm=
une to the routing loop attack because:=0A> - An IPv6 packet forwarded to t=
he IPv6 Internet by a 6rd relay cannot come back to an IPv4 interface of a =
6rd relay of the same ISP: there is no IPv4 route back to the ISP for its 6=
rd anycast address.=0A> - An IPv6 packet received from the IPv6 Internet by=
 a 6rd relay cannot be sent back to the IPv4 global Internet: the source ad=
dress of its IPv4 encapsulating packet is the 6rd anycast address, which pr=
events it from reaching the IPv4 global Internet.=0A> =0A> Note that, if in=
terfaces of the ISP to the IPv4 global Internet are already subject to ingr=
ess filtering (packets received by the global Internet are discarded if the=
re is no reverse path available for them), the added sentence is not necess=
ary. It is just just a double precaution for cases where such ingress filte=
ring doesn't apply.=0A> <gn>=0A> I agree with you that above check will wor=
k. However, I might choose another way here: the relay must make the follow=
ing two checks:=0A> 1) When an IPv6 packet is received from the IPv6 Intern=
et the 6rd relay must ensure before encapsulation that the intended IPv4 de=
stination address belongs to one of the ISP's clients (I assume it can make=
 this check easily). This way no IPv6 packet received from the IPv6 Interne=
t will be relayed to a 6to4 relay (and then back to the 6rd relay through t=
he IPv6 Internet).=0A=0AThe problem is that this check is not easy "in gene=
ral" because ISPs typically have their IPv4 prefixes allocated one by one a=
s they increase the number of their clients.=0A=0A=0A> 2) When an encapsula=
ted packet is received from the IPv4 network side the 6rd relay must check =
that the IPv6 destination does not include its own IPv4 address. For exampl=
e the IPv6 destination address must not be: 2002:<IPv4 address of 6rd relay=
>::/48. This will prevent the packet from ever reaching back the 6rd relay =
through its IPv4 interface=0A=0AThe problem is that to be general, and as y=
ou noted, this test depends on a knowledge of all formats used to embed IPv=
4 addresses in IPv6 addresses. When a new format is introduced, a security =
weakness therefore holds until all relays are upgraded to support it.=0ABes=
ides, and more important, some formats may use _ISP dependent prefixes_ (an=
d 6rd is already in this case!). These formats cannot be recognized by a co=
nstant code.=0A=0A=0AThis being noted, I agree that, to extend applicabilit=
y of 6rd relays to cases where ingress filtering doesn't apply, and to deal=
 more simply with the case of 6rd ISPs that also operate 6to4 relays, 6rd r=
elays SHOULD do as you propose:=0A*In 6rd relays, packets received on the I=
Pv4 side should be discarded if their IPv6 destinations are 6to4 addresses =
containing the ISP 6rd anycast address.*=0A=0A=0A> =0A> This way all the ch=
ecks are done only at the 6rd relay and not in other IPv4 border routers of=
 the ISP which should not be aware of the 6rd deployment.=0A=0ANote that IP=
v4 border routers of the ISP need not to be aware of the 6rd in particular.=
=0AThey only have to make sure that ingress filtering "in general" applies =
to packets sent toward the global Internet.=0A(If their downstream neighbor=
s do ingress filtering as they should, these border routers have nothing sp=
ecific to do. In cases where this isn't sure though, they should better pre=
vent source address spoofing by filtering themselves source addresses for w=
hich they have no reverse path.)=0A=0A=0A<gn>=0A- For packets coming from t=
he IPv6 side:=A0if the first check I suggested=A0of the ISP's clients is no=
t easy, then you can=A0instead check, as you suggested below,=A0the IPv6 so=
urce address of the incoming packet to verify that it is not a 6to4 address=
 containing the 6rd relay IPv4 address. This can make the check of the sour=
ce address in other IPv4 border routers redundant.=0A- For packets coming f=
rom the IPv4 side: on second thought, if the 6rd spec already ensures that =
there is no IPv4 route from an external 6to4 relay to a 6rd relay, then ind=
eed the second check I proposed is redundant. Moreover, I completely agree =
that=A0this check=A0can=A0only eliminate=A0routing loops=A0with a 6to4 rela=
y and not with=A0relays of other types of tunnels.=A0=0A=A0</gn>=0A=0A=0A> =
</gn>=0A> =0A> =0A> (2) Case of ISPs that operate 6rd relays AND 6to4 relay=
s (but neither Teredo relays nor ISP-infrastructure NATs)=0A> =0A> In its s=
ec. 5 on security, draft-despres-6rd-03 says:=0A> <<<=0A>=A0 o=A0 RELAY PAC=
KETS TOWARD THE INTERNET: The IPv6 source must be a 6rd=0A>=A0 =A0 =A0 addr=
ess that matches the IPv4 source.=A0 The IPv6 destination must=0A>=A0 =A0 =
=A0 not start with the ISP 6rd prefix.=0A> ...=0A>=A0 o=A0 RELAY PACKETS FR=
OM THE INTERNET: The IPv6 source must not be a 6rd=0A>=A0 =A0 =A0 address o=
f the ISP.=A0 The IPv4 destination must not be multicast,=0A>=A0 =A0 =A0 i.=
e. must not start with 224/3...=0A> >>>=0A> =0A> In view of your study and =
in my understanding, it MUST be completed with:=0A> - after the first quote=
d paragraph:=0A> "Furthermore, if the ISP also operates 6to4 relays that ad=
vertise on the IPv6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 source=
 must be neither the 6to4 anycast address 192.88.99.0 nor any of its equiva=
lent IPv4 unicast addresses."=0A> - after the second quoted paragraph:=0A> =
"Furthermore, if the ISP also operates 6to4 relays that advertise on the IP=
v6 network the 6to4 IPv6 prefix 2002::/16, the IPv4 destination derived fro=
m the IPv6 destination must be neither the IPv4 anycast address 192.88.99.0=
 nor any of its equivalent IPv4 unicast addresses."=0A> <gn>=0A> Actually, =
I believe that the precautions I suggested above will work here also instea=
d of those checks. Won't they?=0A=0AAs explained above, it would be 100% sa=
fe only if all embedded IPv4 addresses were guaranteed to be recognized, wh=
ich is not the case.=0A=0A=0A> In general, I think that checks performed on=
 the destination address (IPv4 or IPv6) should be more robust than checks o=
n a source address.=0A=0AIn my understanding, not always.=0AEach scenario h=
as to be studied for what it is.=0A=0A> </gn>=0A> =0A> With this, an ISP th=
at operates both 6rd and 6to4 relays is also immune to the routing-loop att=
ack because:=0A> - an IPv6 packet forwarded to the global Internet by 6rd r=
elays can come back to the ISP IPv4 network via one of the 6to4 relays of t=
he ISP BUT cannot be accepted again by a 6rd relay: its IPv4 source address=
 is then one of a 6to4 relay, which, with the first added sentence, prevent=
s it from being accepted by the 6rd relay.=0A> - an IPv6 packet received fr=
om the IPv6 Internet by a 6rd relay cannot be sent back to the IPv4 global =
Internet via one of the 6to4 relays: the IPv4 address derived from its IPv6=
 destination would have for this to be one of a 6to4 relays, which, with th=
e second added sentence, prevents it from being forwarded by the 6rd relay.=
=0A> =0A> Note: RFC 3068, where the 6to4 anycast address is introduced, say=
s that "each 6to4 relay router that advertise the 6to4 anycast prefix MUST =
also provide an equivalent IPv4 unicast address". Whether this is really im=
portant in practice is IMHO unclear. On the other hand, if this MUST is dis=
pensed with, the above security precaution can be implemented in 6rd relays=
 without a need to handle a variable number of addresses, and to administra=
tively configure them (with the associated risks of human errors).=0A> =0A>=
 <gn>=0A> If you do the check on the destination address you can avoid this=
 administrative configuration altogether.=0A=0AAgreed for packets forwarded=
 to the IPv6 side (see above).=0A=0ANow, for packets from the IPv6 Internet=
, rather than checking that the embedded IPv4 destination has one of the IS=
P allocated prefixes, there is a better check I hadn't seen before sending =
the previous e-mail:=0A*In 6rd relays, packets received on the IPv6 side sh=
ould be discarded if their source addresses are 6to4 addresses containing t=
he ISP 6rd anycast address.*=0A=0A<gn>=0AI fully agree.=0A<\gn>=0A=0A=A0=0A=
The above administrative configuration is thus unnecessary, and the 6rd rel=
ay cannot participate in a routing loop attack even if its ISP also operate=
s 6to4 relays.=0A=0ANOTE: As a matter of fact, a source address check can a=
lso be used to improve the Mitigation Measures you proposed for 6to4, ISATA=
P and Teredo relays:=0A*In your three forwarding conditions, it would be su=
fficient to add "or source" after each occurrence of "destination".*=0AThus=
, each of these relays becomes protected against rooting loop attacks via a=
ny other 6to4, ISATAP, and Teredo relay, even if this relay doesn't make th=
e new check on destination addresses.=0A=0A<gn>=0AYou are right. This can a=
dd another layer of security. However,=A0one must note=A0that for this chec=
k to work the other relay=A0that participates in the routing loop=A0must=A0=
indeed validate before it decapsulates a packet that its IPv4 source addres=
s corresponds to=A0its IPv6 source address. If this is not true, then the c=
heck of the source address you noted above is useless. I am making this not=
e, since I have encountered some implementations of 6to4 and ISATAP that do=
es not=A0follow their corresponding spec and do not=A0make this=A0validatio=
n, as they should.=A0=0ABut, again, I agree that this check can be used as =
another layer of security.=0A</gn>=0A=0A=0A> </gn>=0A> =0A> To conclude:=0A=
> - Without needing to modify 6to4 relays, ISATAP relays, and Teredo relays=
, ISPs that support 6rd and don't support 6to4 appear to be already protect=
ed against routing loop attacks if ingress filtering is operational at thei=
r interfaces to the IPv4 global Internet. With an additional simple precaut=
ion in 6rd relays, they can also be immune in the absence of such filtering=
..=0A> <gn>=0A> I fully agree.=0A=0AThanks.=0AThoughts on the proposal to im=
prove your mitigation measures?=0A=0ARegards,=0ARD=0A=0A> </gn>=0A> - A nec=
essary additional security precaution against routing-loop attacks is now i=
dentified for ISPs that support 6rd and that, having started with 6to4, wis=
h to keep it for backward compatibility. Thanks again for your analysis whi=
ch made it possible.=0A> =0A> =0A> Best regards,=0A> RD=0A> =0A> =0A> =0A> =
Le 17 ao=FBt 09 =E0 17:21, Gabi Nakibly a =E9crit :=0A> =0A> > Hi all,=0A> =
> I would like to draw the attention of the list to some research results w=
hich my colleague and I at the National EW Research & Simulation Center hav=
e recently published. The research presents a class of routing loop attacks=
 that abuses 6to4, ISATAP and Teredo. The paper can be found at: http://www=
..usenix.org/events/woot09/tech/full_papers/nakibly.pdf=0A> >=0A> > Here is =
the abstract:=0A> > IPv6 is the future network layer protocol for the Inter=
net. Since it is not compatible with its predecessor, some interoperability=
 mechanisms were designed. An important category of these mechanisms is aut=
omatic tunnels, which enable IPv6 communication over an IPv4 network withou=
t prior configuration. This category includes ISATAP, 6to4 and Teredo. We p=
resent a novel class of attacks that exploit vulnerabilities in these tunne=
ls. These attacks take advantage of inconsistencies between a tunnel's over=
lay IPv6 routing state and the native IPv6 routing state. The attacks form =
routing loops which can be abused as a vehicle for traffic amplification to=
 facilitate DoS attacks. We exhibit five attacks of this class. One of the =
presented attacks can DoS a Teredo server using a single packet. The exploi=
ted vulnerabilities are embedded in the design of the tunnels; hence any im=
plementation of these tunnels may be vulnerable. In particular, the attacks=
 were
 tested against the ISATAP, 6to4 and Teredo implementations of Windows Vist=
a and Windows Server 2008 R2.=0A> >=0A> > I think the results of the resear=
ch warrant some corrective action. If this indeed shall be the general sent=
iment of the list, I will be happy write an appropriate I-D. The mitigation=
 measures we suggested in the paper are the best we could think of to compl=
etely eliminate the problem. However they are far from perfect since they w=
ould require tunnel implementations to be updated in case new types of auto=
matic tunnels are introduced.=0A> >=0A> > Your comments are welcome.=0A> >=
=0A> > Gabi=0A> >=0A> > ---------------------------------------------------=
-----------------=0A> > IETF IPv6 working group mailing list=0A> > ipv6@iet=
f.org=0A> > Administrative Requests: https://www.ietf.org/mailman/listinfo/=
ipv6=0A> > ----------------------------------------------------------------=
----=0A> =0A> =0A> =0A> =0A> =0A=0A=0A      


From narten@us.ibm.com  Mon Aug 24 09:20:24 2009
Return-Path: <narten@us.ibm.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B961428C288 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 09:20:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.135
X-Spam-Level: 
X-Spam-Status: No, score=-6.135 tagged_above=-999 required=5 tests=[AWL=0.465,  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 zWiaaN2n0d4Q for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 09:20:23 -0700 (PDT)
Received: from e8.ny.us.ibm.com (e8.ny.us.ibm.com [32.97.182.138]) by core3.amsl.com (Postfix) with ESMTP id 4C4A528C2A2 for <ipv6@ietf.org>; Mon, 24 Aug 2009 09:19:26 -0700 (PDT)
Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e8.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n7OCJ59C022990 for <ipv6@ietf.org>; Mon, 24 Aug 2009 08:19:05 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n7OGJSBq1372282 for <ipv6@ietf.org>; Mon, 24 Aug 2009 12:19:29 -0400
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n7OGJS8K024929 for <ipv6@ietf.org>; Mon, 24 Aug 2009 10:19:28 -0600
Received: from cichlid.raleigh.ibm.com (sig-9-65-219-102.mts.ibm.com [9.65.219.102]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n7OGJQoO024800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Aug 2009 10:19:27 -0600
Received: from cichlid.raleigh.ibm.com (localhost [127.0.0.1]) by cichlid.raleigh.ibm.com (8.14.3/8.12.5) with ESMTP id n7OGJP75017234; Mon, 24 Aug 2009 12:19:25 -0400
Message-Id: <200908241619.n7OGJP75017234@cichlid.raleigh.ibm.com>
To: Fred Baker <fred@cisco.com>
Subject: Re: Recommended value for the Hop Limit?
In-reply-to: <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com>
References: <4A8B9B2A.30300@gont.com.ar> <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com>
Comments: In-reply-to Fred Baker <fred@cisco.com> message dated "Wed, 19 Aug 2009 00:19:16 -0700."
Date: Mon, 24 Aug 2009 12:19:25 -0400
From: Thomas Narten <narten@us.ibm.com>
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 16:20:24 -0000

Fred Baker <fred@cisco.com> writes:

> There are a number of RFCs with specific values. You might look at RFC  
> 2473 (64),

Specifically, the text at issue says:

>           Hop Limit:
> 
>             The tunnel IPv6 header hop limit is set to a pre-configured
>             value - see section 6.3.
> 
>             The default value for hosts is the Neighbor Discovery
>             advertised hop limit [ND-Spec].  The default value for
>             routers is the default IPv6 Hop Limit value from the
>             Assigned Numbers RFC (64 at the time of writing this
>             document).

The intention of that wording was that the value to be used was the
same one as recommended for general use for IPv4, which IANA records.

http://www.iana.org/assignments/ip-parameters says:

> IP TIME TO LIVE PARAMETER
> 
> The current recommended default time to live (TTL) for the Internet
> Protocol (IP) is 64 [RFC791, RFC1122].

Obviously, this could be a bit clearer. IANA should have a similar
entry for Hop Limit, which might well just point to the IPv4 TTL
value.

Thomas

From fernando.gont.netbook@gmail.com  Mon Aug 24 10:37:15 2009
Return-Path: <fernando.gont.netbook@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 884703A6BA6 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 10:37:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 iRHJ5sc1KXb5 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 10:37:14 -0700 (PDT)
Received: from mail-vw0-f128.google.com (mail-vw0-f128.google.com [209.85.212.128]) by core3.amsl.com (Postfix) with ESMTP id B11173A6999 for <ipv6@ietf.org>; Mon, 24 Aug 2009 10:37:14 -0700 (PDT)
Received: by vws34 with SMTP id 34so55822vws.31 for <ipv6@ietf.org>; Mon, 24 Aug 2009 10:37:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=sH+rJljy1y2jkp+rNXIB5DuQoE4cU9otD5idSaJmEy4=; b=bD9UVqwL6aP45s9u3SaH2BOduWaw/TDUtgAm656MZeqdFyZfW/xgj5t2c0hbXFZMyx Emx+twX4bc7Q+dqnUmRjzncdTTeESvcmqaN6PY5k1GEGtO9NsYN1NxQxW4Zf4g95lwdE J36e20qB+FFd8xVzXG+efx+TXlT55aAycVwSM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=TIv3xtnB77ffbVFCNxRqFvbpih+tyLICgGjCoopGIGi07y7I8S0iPUoYew5Y94T3wB WEJbMCrUJFjhgKIqhkMIXMg/bJP0EI4/RQqnNKjtxjF6n5ES/o5SI1xOekpJel635G64 UEXNnVZy2AgsfKLZu9L2V0+cOiigcJT9pM/Ds=
MIME-Version: 1.0
Sender: fernando.gont.netbook@gmail.com
Received: by 10.220.69.102 with SMTP id y38mr5986793vci.86.1251135437946; Mon,  24 Aug 2009 10:37:17 -0700 (PDT)
In-Reply-To: <200908241619.n7OGJP75017234@cichlid.raleigh.ibm.com>
References: <4A8B9B2A.30300@gont.com.ar> <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com> <200908241619.n7OGJP75017234@cichlid.raleigh.ibm.com>
Date: Mon, 24 Aug 2009 14:37:17 -0300
X-Google-Sender-Auth: be6310dadebb43c2
Message-ID: <6468cc520908241037r32fd5f54pb833c25594609e61@mail.gmail.com>
Subject: Re: Recommended value for the Hop Limit?
From: Fernando Gont <fernando@gont.com.ar>
To: Thomas Narten <narten@us.ibm.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, Fred Baker <fred@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 17:38:16 -0000

On Mon, Aug 24, 2009 at 1:19 PM, Thomas Narten <narten@us.ibm.com> wrote:

> > =A0 =A0 =A0 =A0 =A0 =A0 The default value for hosts is the Neighbor Dis=
covery
> > =A0 =A0 =A0 =A0 =A0 =A0 advertised hop limit [ND-Spec]. =A0The default =
value for
> > =A0 =A0 =A0 =A0 =A0 =A0 routers is the default IPv6 Hop Limit value fro=
m the
> > =A0 =A0 =A0 =A0 =A0 =A0 Assigned Numbers RFC (64 at the time of writing=
 this
> > =A0 =A0 =A0 =A0 =A0 =A0 document).
>
> The intention of that wording was that the value to be used was the
> same one as recommended for general use for IPv4, which IANA records.

What about nodes that are e.g. statically configured?



> > IP TIME TO LIVE PARAMETER
> >
> > The current recommended default time to live (TTL) for the Internet
> > Protocol (IP) is 64 [RFC791, RFC1122].
>
> Obviously, this could be a bit clearer. IANA should have a similar
> entry for Hop Limit, which might well just point to the IPv4 TTL
> value.

Yes, I believe the ipv6-parameters file should specify what the
default value for the Hop Limit is. Any hint on how to get this done?

Thanks!

Kind regards,
Fernando

From narten@us.ibm.com  Mon Aug 24 10:41:38 2009
Return-Path: <narten@us.ibm.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1839D28C266 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 10:41:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.173
X-Spam-Level: 
X-Spam-Status: No, score=-4.173 tagged_above=-999 required=5 tests=[AWL=-1.574, BAYES_00=-2.599]
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 H6UdBfBY2vrQ for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 10:41:35 -0700 (PDT)
Received: from e9.ny.us.ibm.com (e9.ny.us.ibm.com [32.97.182.139]) by core3.amsl.com (Postfix) with ESMTP id 9DB3A28C152 for <ipv6@ietf.org>; Mon, 24 Aug 2009 10:41:34 -0700 (PDT)
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e9.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n7OHeGmR031772 for <ipv6@ietf.org>; Mon, 24 Aug 2009 13:40:16 -0400
Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n7OHfe28173232 for <ipv6@ietf.org>; Mon, 24 Aug 2009 13:41:40 -0400
Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n7OHfd3s024084 for <ipv6@ietf.org>; Mon, 24 Aug 2009 13:41:40 -0400
Received: from cichlid.raleigh.ibm.com (sig-9-65-219-102.mts.ibm.com [9.65.219.102]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n7OHfcAs024052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Aug 2009 13:41:39 -0400
Received: from cichlid.raleigh.ibm.com (localhost [127.0.0.1]) by cichlid.raleigh.ibm.com (8.14.3/8.12.5) with ESMTP id n7OHfbLO000957; Mon, 24 Aug 2009 13:41:37 -0400
Message-Id: <200908241741.n7OHfbLO000957@cichlid.raleigh.ibm.com>
To: Fernando Gont <fernando@gont.com.ar>
Subject: Re: Recommended value for the Hop Limit?
In-reply-to: <6468cc520908241037r32fd5f54pb833c25594609e61@mail.gmail.com>
References: <4A8B9B2A.30300@gont.com.ar> <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com> <200908241619.n7OGJP75017234@cichlid.raleigh.ibm.com> <6468cc520908241037r32fd5f54pb833c25594609e61@mail.gmail.com>
Comments: In-reply-to Fernando Gont <fernando@gont.com.ar> message dated "Mon, 24 Aug 2009 14:37:17 -0300."
Date: Mon, 24 Aug 2009 13:41:37 -0400
From: Thomas Narten <narten@us.ibm.com>
Cc: ipv6@ietf.org, Fred Baker <fred@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 17:41:38 -0000

Fernando Gont <fernando@gont.com.ar> writes:

> > The intention of that wording was that the value to be used was the
> > same one as recommended for general use for IPv4, which IANA records.

> What about nodes that are e.g. statically configured?

The intention of the Hop Limit, I think, is that implementations (not
operations) configure it by default to 64. The value rarely seems to
change, so an operator/user should only need to change it if for some
reason the default is not good enough.

So it really shouldn't in general need to be statically configured.

> > > IP TIME TO LIVE PARAMETER
> > >
> > > The current recommended default time to live (TTL) for the Internet
> > > Protocol (IP) is 64 [RFC791, RFC1122].
> >
> > Obviously, this could be a bit clearer. IANA should have a similar
> > entry for Hop Limit, which might well just point to the IPv4 TTL
> > value.

> Yes, I believe the ipv6-parameters file should specify what the
> default value for the Hop Limit is. Any hint on how to get this done?

A note to IANA might be sufficient, and at some point, when we update
the relevant specs, we should clarify the language. I don't see this
as being a huge problem that needs fixing. It has been years since
anyone asked a question about what the documents say on this point...

Thomas

From fernando.gont.netbook@gmail.com  Mon Aug 24 11:02:27 2009
Return-Path: <fernando.gont.netbook@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AC7B43A6E77 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 11:02:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 WPQ3Wz6FyIcH for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 11:02:27 -0700 (PDT)
Received: from mail-vw0-f128.google.com (mail-vw0-f128.google.com [209.85.212.128]) by core3.amsl.com (Postfix) with ESMTP id D74B33A6C54 for <ipv6@ietf.org>; Mon, 24 Aug 2009 11:02:26 -0700 (PDT)
Received: by vws34 with SMTP id 34so56186vws.31 for <ipv6@ietf.org>; Mon, 24 Aug 2009 11:02:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=V1ewpDVIDSGIB51iEd+9AT59FiSyfcjanBlb9wYgm68=; b=t1Hjs45TuQmOuj6Q85NpJr/5DMMkzk0qfvcxAVrlIkGTfLkXI/7sI+f/YY5VcH1daY OT1pNFogPcjSW9CLRcgFwfYTKI8N8BZrH8lJs2LjlQLVu9aOsoD6HbyDdtHiDPm+S+xX NHhDZYtnG2CqL1elLdrj31AL7BADtM28ks1B0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=KAkxuqptzqJHWU0c853pypgCTa1TIPZj0bNU74yIQpJIL4Q26mDMarDD90ALuY+Pzw e+5EGY/EkShaRhpI0maMgtxD5CPojasaIeceZ19Gzx+yL0Brq0gXQD1cQ5amz5Jo8IfB w4dZb6p2+kRfYmAi70vAE+l2Uciy8Eb/g/XTs=
MIME-Version: 1.0
Sender: fernando.gont.netbook@gmail.com
Received: by 10.220.112.130 with SMTP id w2mr6193118vcp.115.1251136950478;  Mon, 24 Aug 2009 11:02:30 -0700 (PDT)
In-Reply-To: <200908241741.n7OHfbLO000957@cichlid.raleigh.ibm.com>
References: <4A8B9B2A.30300@gont.com.ar> <DE5213D0-4FCE-493A-96C9-4E8C493388B9@cisco.com> <200908241619.n7OGJP75017234@cichlid.raleigh.ibm.com> <6468cc520908241037r32fd5f54pb833c25594609e61@mail.gmail.com> <200908241741.n7OHfbLO000957@cichlid.raleigh.ibm.com>
Date: Mon, 24 Aug 2009 15:02:30 -0300
X-Google-Sender-Auth: ebc072b33b816d04
Message-ID: <6468cc520908241102p55811b25k17eae21192809f04@mail.gmail.com>
Subject: Re: Recommended value for the Hop Limit?
From: Fernando Gont <fernando@gont.com.ar>
To: Thomas Narten <narten@us.ibm.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: ipv6@ietf.org, Fred Baker <fred@cisco.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 18:02:27 -0000

On Mon, Aug 24, 2009 at 2:41 PM, Thomas Narten<narten@us.ibm.com> wrote:

>> What about nodes that are e.g. statically configured?
>
> The intention of the Hop Limit, I think, is that implementations (not
> operations) configure it by default to 64. The value rarely seems to
> change, so an operator/user should only need to change it if for some
> reason the default is not good enough.

I just just arguing that the quoted text wouldn't apply to
static-configuration scenarios (in which parameters are not learn by
means of ICMPv6)



>> > Obviously, this could be a bit clearer. IANA should have a similar
>> > entry for Hop Limit, which might well just point to the IPv4 TTL
>> > value.
>
>> Yes, I believe the ipv6-parameters file should specify what the
>> default value for the Hop Limit is. Any hint on how to get this done?
>
> A note to IANA might be sufficient, and at some point, when we update
> the relevant specs, we should clarify the language. I don't see this
> as being a huge problem that needs fixing. It has been years since
> anyone asked a question about what the documents say on this point...

I don't think ths is a huge point, either. Just that it would be great
if this was clarified.

Thanks!

Kind regards,
Fernando

From Fred.L.Templin@boeing.com  Mon Aug 24 13:04:44 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CBBD83A6922; Mon, 24 Aug 2009 13:04:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.523
X-Spam-Level: 
X-Spam-Status: No, score=-5.523 tagged_above=-999 required=5 tests=[AWL=0.476,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6, 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 3JR+sk4nF5g4; Mon, 24 Aug 2009 13:04:42 -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 74A633A6DE7; Mon, 24 Aug 2009 13:04:42 -0700 (PDT)
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7OK4bpE010056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 24 Aug 2009 13:04:38 -0700 (PDT)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id n7OK4bvn018369; Mon, 24 Aug 2009 15:04:37 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by stl-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id n7OK4ZZJ018294; Mon, 24 Aug 2009 15:04:37 -0500 (CDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 24 Aug 2009 13:04:36 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Mon, 24 Aug 2009 13:04:34 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106514554@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <475898.88672.qm@web45510.mail.sp1.yahoo.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: AcoksCuqHixy6VRJRM+9z8CEAFFcGAAKv6pg
References: <475898.88672.qm@web45510.mail.sp1.yahoo.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 24 Aug 2009 20:04:36.0496 (UTC) FILETIME=[1AE09100:01CA24F6]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 20:04:44 -0000

Gabi,

> -----Original Message-----
> From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> Sent: Monday, August 24, 2009 4:44 AM
> To: Templin, Fred L; v6ops
> Cc: ipv6@ietf.org; secdir@ietf.org
> Subject: Re: Routing loop attacks using IPv6 tunnels
>=20
> Fred,
> I=A0initially very much=A0liked your suggestion regarding the =
check=A0of the neighbor cache before
> forwarding a packet into the tunnel.=A0It truly addresses the root =
cause of the problem ans is simple
> enough to implement. However, I realized that an attacker can send a =
spoofed=A0RS to the ISATAP router
> as if it came from the 6to4 relay. The router would then send=A0a =
RA=A0to it=A0and consequently change its
> neighbor cache. So it seems=A0that this defense does not add =
much.=A0Wouldn't you agree?

I agree that my proposed mitigation is only useful when there
is assurance of a coherent neighbor cache in the ISATAP router.
That would be true in the case in which the ISATAP router is
located within a site protected by border routers that perform
ip-proto-41 and ingress filtering, and in which there is no
untraceable IPv4 source address spoofing. So AFAICT, my proposed
mitigation is still necessary for preventing attack #3 when
ISATAP routers A and B are on separate ISATAP links within
the same site-internal IPv4 routing region.

> I completely agree with your observation on the non-feasibility of =
verifying=A0that the
> destination=A0ISATAP address does not include=A0a local=A0IPv4 =
address=A0since the ISATAP address may include
> a private IPv4 address. On the other hand, a check on public IPv4 =
addresses is acceptable.=A0If the
> check would be done only on ISATAP addresses that include public IPv4 =
addresses then this will
> eliminate the attacks in which the two victims reside=A0at different =
sites. Note that if attack #3=A0is
> launched on two ISATAP routers=A0having private addresses at two =
different sites then the attack will
> not work anyway since one router can not send a direct=A0IPv4 packet =
to the other. In addition,
> to=A0mitigate attacks in which the other victim is a 6to4 relay (such =
as attack #1) then a check would
> have to be done on a 6to4 address, i.e. the destination address must =
not be "2002:<IPv4 address of
> the ISATAP router>::*". In this case the IPv4 address must be public, =
according to
>  the 6to4 spec.
>=20
> As you also noted there is another problem with this check since the =
string "200::5EFE" is not unique
> to ISATAP links. On the other hand, it seems that the probability to =
encounter a non-malicious packet
> with a destination address having an IID that equals "200:5EFE:<my own =
public IPv4 address>" is
> pretty slim.
>=20
> This check is definitely not a=A0perfect solution, and I sure hope =
that someone will come up with a
> better one for mitigating the routing loops. However, I would be happy =
if there is some kind of other
> mitigation=A0measures besides packet filtering=A0(proto-41 and =
ingress) by=A0other nodes (which=A0does not
> necessarily exist).

You seem to be envisioning a scenario of ISATAP router operation
with public IPv4 addresses and outside of any site border routers
that perform ingress filtering and ip-proto-41 filtering. That has
traditionally been seen as the domain of 6to4, but I am happy to
discuss the possibility of what I called the "inside-out ISATAP
model" in a list message long ago (which AFAICT is the scenario
you are alluding to).

So, if the public IPv4 Internet were considered as one gigantic
"site" and we wanted to do ISATAP on that site, it would be nice
to divide the site into multiple logical partitions, with each
partition identified by a PRL name and a unique set of IPv6
prefixes. But then, we have the scenario you are describing in
which we can't trust the integrity of the ISATAP router's
neighbor cache due to the possibility for untraceable IPv4
source address spoofing such that the neighbor cache check
mitigation can be subverted.

This means that if we want to support the inside-out ISATAP
model then the routing loops could be mitigated either by
1) implementing the destination address checks you are
suggesting, or 2) by not allowing ISATAP router interfaces
that are not behind filtering border routers to advertise
non-link-local on-link IPv6 prefixes and/or forward packets
from non-link-local prefixes in the first place.

If we took the easy way out and did 2), then the entire
IPv4 Internet would look like one gigantic ISATAP link that
only did IPv6 link-local. So, nodes could ping6 each others'
ISATAP link-local addresses but that's about it.=20

If we took the more ambitious route and allowed ISATAP to
flourish fully within the global IPv4 Internet, then we
would essentially be deprecating 6to4 - so it isn't
surprising that your address checks mostly involve 6to4
suppression. Assuming this, if I read your attack scenarios
1 through 3 correctly then scenarios 1 and 3 are mitigated
by a receive-side check and scenario 2 is mitigated by a
send-side check. In particular, the pseudo-code would be:

  isatap_rcv() {
    ...
    if (dst =3D=3D "2002:<my_ipv4_addr>::*")
      drop_pkt(); /* attack #1 mitigation */

    if (dst =3D=3D "*::0200:5efe:<my_ipv4_addr>")
	drop_pkt(); /* attack #3 mitigation */
    ...
  }

  isatap_xmt() {
    ...
    if (dst =3D=3D "*::0200:5efe:192.88.99.1")
      drop_pkt(); /* attack #2 mitigation */
    ...
  }

Does the above look right to you? And is this everything,
or are there other scenarios we need to consider?

Thanks - Fred
fred.l.templin@boeing.com

>=20
> Gabi
>=20
> ----- Original Message ----
> From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
> To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
> Cc: ipv6@ietf.org; secdir@ietf.org
> Sent: Wednesday, August 19, 2009 6:16:18 PM
> Subject: RE: Routing loop attacks using IPv6 tunnels
>=20
> Hi Gabi,
>=20
> I'm sorry to have to keep turning this into plaintext,
> but annotation is difficult otherwise. See below for
> my responses (=3D=3D>):
>=20
> ________________________________________
> From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> Sent: Wednesday, August 19, 2009 1:49 AM
> To: Templin, Fred L; v6ops
> Cc: ipv6@ietf.org; secdir@ietf.org
> Subject: Re: Routing loop attacks using IPv6 tunnels
>=20
> Fred,
> See my comments inline (<gn>).
>=20
> ________________________________________
> From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
> To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
> Cc: ipv6@ietf.org; secdir@ietf.org
> Sent: Tuesday, August 18, 2009 6:48:45 PM
> Subject: RE: Routing loop attacks using IPv6 tunnels
>=20
> Gabi,
>=20
> ________________________________________
> From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> Sent: Tuesday, August 18, 2009 3:29 AM
> To: Templin, Fred L; v6ops
> > Cc: ipv6@ietf.org; secdir@ietf.org
> > Subject: Re: Routing loop attacks using IPv6 tunnels
> >
> > Indeed the ISATAP interface of the ISATAP router is meant
> > to be an enterprise-interior (note that=A0it is still=A0assumed
> > that the associated IPv4 address is=A0non-private). As=A0we
> > explicitly note in the paper, the first three attacks=A0will
> > be mitigated=A0if proper protocol-41 filtering is deployed on
> > the site's border. However, note that RFC5214 does not mandate
> > or require this filtering.
>=20
> The RFC5214 Security Considerations makes clear the
> consequences of not implementing IPv4 ingress filtering
> and ip-protocol-41 filtering (i.e., a possible spooing
> attack in which spurious ip-protocol-41 packets are
> injected into an ISATAP link from outside). RFC5214
> Section 6.2 additionally requires that an ISATAP interface's
> locator set MUST NOT span multiple sites. This means that the
> ISATAP interface must not decapsulate nor source ip-proto-41
> packets within multiple sites, where the enterprise interior
> is site #1 and the global Internet is site #2. ip-protocol-41
> filtering is the way in which the ISATAP interface is
> restricted to a single site.
> <gn>
> Now let me see that I understand Section 6.2 correctly. In
> attack #2, for example, I assume the ISATAP router has two
> physical interfaces. A site-internal IPv4 interface with an
> address IPisatap and a site-external IPv6 interface. I also
> assume that there=A0is another border router which connects the
> site to the IPv4 Internet.=A0The ISATAP router has an ISATAP
> interface with a single locator: (IPisatap, site-internal
> interface).=A0When the ISATAP router gets an IPv6 via its
> external interface it will encapsulate the packet accordingly
> and forward it through the internal IPv4 interface. If the
> encapsulated packet is=A0destined to a node outside the site
> then the only thing that stops it is=A0a proto-41 filtering
> at the=A0other border router of the site. Did I get this right?
> </gn>
>=20
> =3D=3D> In this case, yes - the ip-proto-41 filtering is at a
> =3D=3D> border router. I know of at least one major enterprise
> =3D=3D> network that does this.
>=20
> > It is only mentioned as a possible mitigation against
> > incoming spurious protocol-41 packets. In addition,
> > Section 10 of RFC5214 only mentions=A0ingress not=A0egress
> > filtering.=A0Hence it=A0will not stop attack #2.
>=20
> We are now talking about ip-proto-41 filtering; not ingress
> filtering. ip-proto-41 filtering is in both directions. It
> prevents ip-proto-41 packets from entering the enterprise
> interior ISATAP site from the Internet and prevents
> ip-proto-41 packets from entering the Internet ISATAP
> site from the enterprise interior. Else the ISATAP
> interface would span multiple sites.
>=20
> Besides, "ingress" filtering is not about packets coming
> from the Internet into the end site, but rather it is
> about packets leaving the end site and going out into
> the Internet. RFC2827 (BCP38) documents ingress filtering.
> <gn>
> OK. I see what you are saying here.
> </gn>
>=20
> =3D=3D> OK.
>=20
> > In addition,
> > as mentioned, protocol-41 filtering is not helpful when
> > attack #3 is launched on two routers that reside in the
> > same site. Note that=A0it=A0may be=A0possible for=A0the attack
> > packet=A0to be sourced from outside the site unless proper
> > filtering of incoming IPv6 packets is deployed. If the
> > attacker resides in the site, usually ingress filtering
> > will not be helpful since it is deployed in general on
> > the site's border.
>=20
> Here, we have the ISATAP router in both cases sourcing a
> packet from a foreign prefix.
> <gn>
> Well, I do not see how this is correct. In attacks #1 and #3 the =
ISATAP router sources (actually
> forwards) an IPv6=A0packet with=A0a source address having=A0the =
corresponding=A0prefix of the ISATAP tunnel.
> In attacks #2 and #3 the ISATAP router sources and IPv4 packet with =
its own IPv4 address as the
> source address.
> </gn>
>=20
> =3D=3D> There were a number of errors in what I said in my last
> =3D=3D> message, so let me see if I can get it right here:
> =3D=3D>
> =3D=3D> In attacks #1 and #2 there are two cases to consider. Case
> =3D=3D> 1 in which a border router separates the 6to4 relay from the
> =3D=3D> ISATAP router, and case 2 in which no border router separates
> =3D=3D> the 6to4 relay from the ISATAP router.
> =3D=3D>
> =3D=3D> In attack #1, we have an IPv6 packet with a local source
> =3D=3D> address entering the site from the outside. IPv6 ingress
> =3D=3D> filtering at the site border router should prevent the
> =3D=3D> packet from entering the site in the first place. If the
> =3D=3D> 6to4 relay router is outside the site then ip-proto-41
> =3D=3D> filtering at the border router will block the attack in
> =3D=3D> the first place anyway. If the relay router is *inside*
> =3D=3D> the site, then the IPv6 ingress filtering is the lone
> =3D=3D> mitigation. The end result is that the 6to4 relay should
> =3D=3D> really be positioned outside of the site's border routers;
> =3D=3D> otherwise, it could be spoofed into thinking that the
> =3D=3D> ISATAP router is a 6to4 router and not an ISATAP router.
> =3D=3D>
> =3D=3D> In attack #2, we have an IPv6 packet with a foreign source
> =3D=3D> address being forwarded by the ISATAP router to a 6to4
> =3D=3D> relay, but I mis-spoke when I said that this would be a
> =3D=3D> case of the ISATAP router forwarding a packet with a foreign
> =3D=3D> source address out of the ISATAP link. For all the ISATAP
> =3D=3D> router knows, the 6to4 relay is just an ordinary host on
> =3D=3D> the ISATAP link, so the ISATAP router actually believes it
> =3D=3D> is forwarding the packet *into* the ISATAP link (not out of
> =3D=3D> it). But as in attack #1, the attack is blocked by ip-proto-41
> =3D=3D> filtering at the border router between the ISATAP router and
> =3D=3D> the 6to4 relay. If there is no border router between the =
ISATAP
> =3D=3D> router and the 6to4 relay, then we have an identical instance
> =3D=3D> to attack #3 which I will discuss below. But, the best
> =3D=3D> operational practice would again be to have the 6to4 relay
> =3D=3D> oriented outside of a border router that filters ip-proto-41.
> =3D=3D>
> =3D=3D> Short summary is that in attack #1, the 6to4 relay thinks it
> =3D=3D> is talking to a 6to4 router and not an ISATAP router. In
> =3D=3D> attack #2, the ISATAP router thinks it is talking to a
> =3D=3D> simple host on the link and not a 6to4 relay. In both cases,
> =3D=3D> the attacks are mitigated when there is an ip-proto-41
> =3D=3D> filtering border router between the ISATAP router and the
> =3D=3D> 6to4 relay. Oftentimes, the "border router" will be a two-
> =3D=3D> interface router that implements 6to4 on a site-external
> =3D=3D> IPv4 interface and implements ISATAP on a site-internal
> =3D=3D> IPv4 interface and performs ip-proto-41 filtering on packets
> =3D=3D> from outside the site with an IPv4 destination corresponding
> =3D=3D> to the ISATAP interface. I will discuss attack #3 below:
>=20
> This attack is mitigated by
> IPv6 ingress filtering which is an IPv6 security consideration
> and not an ISATAP nor IPv4 security consideration. BCP
> recommendations for network ingress filtering are documented
> in RFC2827 and it is expected that IPv6 routers that configure
> ISATAP interfaces will implement IPv6 ingress filtering
> according to the BCP.
> <gn>
> So If my last comment is correct than I do not see how ingress =
filtering would help here. The only
> case where=A0ingress filtering can help is in case of attack #3 when =
the routers reside at the same
> site. In that case if the attack packet (packet 0) is sent from =
outside the site then ingress
> filtering on the border of the site will drop the packet.
> </gn>
>=20
> =3D=3D> Correct about the IPv6 ingress filtering at the border,
> =3D=3D> but as with attack #2 my error in the previous message
> =3D=3D> was in thinking the ISATAP router A was forwarding the
> =3D=3D> packet *out* of the ISATAP link when in fact from the
> =3D=3D> ISATAP router's perspective it is forwarding the packet
> =3D=3D> to a simple host *inside* of the link.
> =3D=3D>
> =3D=3D> The problem here is that the ISATAP router is blindly
> =3D=3D> forwarding a packet to a node that it assumes is a simple
> =3D=3D> host on the ISATAP link without first verifying that the
> =3D=3D> node has demonstrated a willingness to participate as a
> =3D=3D> host on the link. As you have pointed out, this can lead
> =3D=3D> to strange scenarios when the anonymous node is a tunnel
> =3D=3D> router of some sort that does not participate in the
> =3D=3D> ISATAP link.
> =3D=3D>
> =3D=3D> It would not generally be possible for the ISATAP router
> =3D=3D> to check whether the IPv6 destination address is an ISATAP
> =3D=3D> address that embeds one of its own IPv4 addresses, because
> =3D=3D> when IPv4 private addresses are used the same IPv4 address
> =3D=3D> can (and often does) occur in multiple sites. So for example,
> =3D=3D> if the ISATAP router configures an IPv4 address 10.0.0.1
> =3D=3D> and is asked to forward an IPv6 packet with ISATAP
> =3D=3D> destination address 2001:DB8::0:5EFE:10.0.0.1 where the
> =3D=3D> IPv6 prefix is foreign, the router can't very well drop the
> =3D=3D> packet as this would block legitimate communications. It
> =3D=3D> is also not generally possible to check whether a foreign
> =3D=3D> link is an ISATAP link by looking for the magic token
> =3D=3D> "0:5EFE" as that token only has significance for ISATAP
> =3D=3D> links and not other link types.
> =3D=3D>
> =3D=3D> Instead, the mitigation I think makes the most sense is
> =3D=3D> for the ISATAP router to first verify that the node which
> =3D=3D> it assumes to be a simple ISATAP host has demonstrated a
> =3D=3D> willingness to participate in the link. That can be done
> =3D=3D> by having the ISATAP router first check the neighbor cache
> =3D=3D> when it has a packet to send to verify that there is a
> =3D=3D> cached entry corresponding to the destination. For nodes
> =3D=3D> that are willing ISATAP hosts on the link, there would
> =3D=3D> have been a neighbor cache entry created when the node
> =3D=3D> sends a Router Solicitation to the ISATAP router for the
> =3D=3D> purpose of discovering default router lifetimes and on-
> =3D=3D> link prefixes. So, the simple mitigations is for the ISATAP
> =3D=3D> router to forward the packet only if there is a pre-existing
> =3D=3D> neighbor cache entry and drop the packet otherwise. This
> =3D=3D> implies that the router should keep neighbor cache entires
> =3D=3D> for the duration of the minimum lifetime of the prefixes
> =3D=3D> it advertises in its Router Advertisements.
>=20
> > In general, I would like to point out that indeed as in
> > most other attacks these attacks may also be mitigated by
> > proper firewall rules. However, I do not believe that this
> > should be our only answer against these attacks. I believe
> > that since these attacks are made possible due to the
> > inherent characteristics of the tunnels they=A0should be
> > stopped intrinsically as much as possible by the tunnel
> > participants and not relay on outside filtering rules.
>=20
> In RFC5214, Section 10 we have: "restricting access to the
> link can be achieved by restricting access to the site". The
> mitigations do exactly that, and in such a way that ISATAP
> nodes can operate with only the necessary and sufficient
> checks. So on this point, I do not share your opinion.
> <gn>
> What about two ISATAP tunnels that reside on the same site like in =
attack #3. Do you=A0also think that
> proto-41 filtering should barrier between the two tunnels within the =
site?
> </gn>
>=20
> =3D=3D> I think this may be overcome by the discussion above.
> =3D=3D> Short story is that operational practices must be
> =3D=3D> employed whereby an ISATAP router is not mistaken for
> =3D=3D> a 6to4 router. This is through proper arrangement of
> =3D=3D> 6to4 router/relay interfaces outside of the site border
> =3D=3D> rather than inside, and ISATAP router interfaces inside
> =3D=3D> of the site border rather than outside. Also proper
> =3D=3D> ip-proto-41 filtering and IPv6 ingress filtering at
> =3D=3D> site borders.
> =3D=3D>
> =3D=3D> Also, when there are multiple ISATAP links within the
> =3D=3D> same local IPv4 routing region, an ISATAP router should
> =3D=3D> first verify a node's willingness to act as a host on
> =3D=3D> the ISATAP link before blindly sending a packet to it.
> =3D=3D>
> =3D=3D> Fred
> =3D=3D> fred.l.templin@boeing.com
>=20
> Fred
> fred.l.templin@boeing.com
>=20
> ________________________________________
> From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
> To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
> Cc: ipv6@ietf.org; secdir@ietf.org
> Sent: Monday, August 17, 2009 8:35:08 PM
> Subject: RE: Routing loop attacks using IPv6 tunnels
>=20
>=20
> Gabi,
>=20
> Thanks for publishing this work. In the document, attacks A, B and C
> correspond to a configuration that violates section 6.2 of RFC5214:
>=20
> > 6.2.=A0 ISATAP Interface Address Configuration
> >
> > =A0=A0Each ISATAP interface configures a set of locators consisting =
of IPv4
> >=A0=A0 address-to-interface mappings from a single site; i.e., an =
ISATAP
> >=A0=A0 interface's locator set MUST NOT span multiple sites.
>=20
> In particular, in scenarios A, B and C the IPv4 locator used for =
ISATAP
> is seen both within the enterprise as site #1 and within the global =
Internet
> itself as site #2. If the ISATAP interface is to be used as an =
enterprise-
> interior interface, it should therefore not accept IP-proto-41 packets
> coming from an IPv4 source outside of the enterprise nor source
> IP-proto-41 packets that are destined to an IPv4 node outside of the
> enterprise. This condition should be satisfied by having the site =
border
> routers implement IPv4 ingress filtering and ip-protocol-41 filtering =
as
> required in Section 10 of RFC5214.
>=20
> It is mentioned that attack C could also occur when the routers reside
> in the same site, where their addresses may be private. This would
> correspond to a case in which an attacker within the site attacks the
> site itself, which can easily be traced - especially when source =
address
> spoofing from a node within the site is prevented through proper =
ingress
> filtering.
>=20
> Fred
> fred.l.templin@boeing.com
>=20
> ________________________________________
> From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> Sent: Monday, August 17, 2009 8:21 AM
> To: v6ops
> Cc: ipv6@ietf.org; secdir@ietf.org
> Subject: Routing loop attacks using IPv6 tunnels
>=20
> Hi all,
> I would like to draw the attention of the list =
to=A0some=A0research=A0results which my colleague and I at
> the National EW Research=A0& Simulation=A0Center have recently =
published. The research presents a=A0class
> of routing loop attacks that abuses 6to4, ISATAP and Teredo. =
The=A0paper can be found at:
> http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf
>=20
> Here is the abstract:
> IPv6 is the future network layer protocol for the Internet. Since it =
is not compatible with its
> predecessor, some interoperability mechanisms were designed. An =
important category of these
> mechanisms is automatic tunnels, which enable IPv6 communication over =
an IPv4 network without prior
> configuration. This category includes ISATAP, 6to4 and Teredo. We =
present a novel class of attacks
> that exploit vulnerabilities in these tunnels. These attacks take =
advantage of inconsistencies
> between a tunnel's overlay IPv6 routing state and the native IPv6 =
routing state. The attacks form
> routing loops which can be abused as a vehicle for traffic =
amplification to facilitate DoS attacks.
> We exhibit five attacks of this class. One of the presented attacks =
can DoS a Teredo server using a
> single packet. The exploited vulnerabilities are embedded in the =
design of the tunnels; hence any
> implementation of these tunnels may be vulnerable. In particular, the =
attacks were tested
> against the ISATAP, 6to4 and Teredo implementations of Windows Vista =
and Windows Server 2008 R2.
>=20
> I think the results of the research warrant some corrective action. If =
this=A0indeed shall be the
> general sentiment of the list, I will be happy write an appropriate =
I-D. The mitigation measures we
> suggested in the paper are the best we could think of to completely =
eliminate the problem. However
> they are far from perfect since=A0they would require=A0tunnel =
implementations to be updated in case new
> types of automatic tunnels are introduced.
>=20
> Your comments are welcome.
>=20
> Gabi
>=20
>=20
>=20

From Fred.L.Templin@boeing.com  Mon Aug 24 13:53:05 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 41FB928C372; Mon, 24 Aug 2009 13:53:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.818
X-Spam-Level: 
X-Spam-Status: No, score=-5.818 tagged_above=-999 required=5 tests=[AWL=0.781,  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 e-BbvKHnJzLv; Mon, 24 Aug 2009 13:53:04 -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 8D50B28C36D; Mon, 24 Aug 2009 13:53:04 -0700 (PDT)
Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7OKr6D2007877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 24 Aug 2009 13:53:06 -0700 (PDT)
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 n7OKr6bd005336; Mon, 24 Aug 2009 13:53:06 -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 n7OKr5xV005279; Mon, 24 Aug 2009 13:53:06 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 24 Aug 2009 13:53:02 -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
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Mon, 24 Aug 2009 13:53:00 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A1065145AE@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A106514554@XCH-NW-7V2.nw.nos.boeing.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: AcoksCuqHixy6VRJRM+9z8CEAFFcGAAKv6pgAAhXLcA=
References: <475898.88672.qm@web45510.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106514554@XCH-NW-7V2.nw.nos.boeing.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 24 Aug 2009 20:53:02.0615 (UTC) FILETIME=[DF0F2270:01CA24FC]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Aug 2009 20:53:05 -0000

Slight correction:

>     if (dst =3D=3D "*::0200:5efe:<my_ipv4_addr>")
> 	  drop_pkt(); /* attack #3 mitigation */

should be:

  if (dst =3D=3D "<foreign_prefix>::0200:5efe:<my_ipv4_addr>")
    drop_pkt(); /* attack #3 mitigation */

Fred
fred.l.templin@boeing.com

From brian.e.carpenter@gmail.com  Mon Aug 24 21:06:13 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 047273A6ED7 for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 21:06:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.44
X-Spam-Level: 
X-Spam-Status: No, score=-2.44 tagged_above=-999 required=5 tests=[AWL=0.159,  BAYES_00=-2.599]
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 cMqBAG69WnIP for <ipv6@core3.amsl.com>; Mon, 24 Aug 2009 21:06:12 -0700 (PDT)
Received: from mail-px0-f171.google.com (mail-px0-f171.google.com [209.85.216.171]) by core3.amsl.com (Postfix) with ESMTP id D6C6A3A6ECA for <ipv6@ietf.org>; Mon, 24 Aug 2009 21:05:49 -0700 (PDT)
Received: by pxi1 with SMTP id 1so6127301pxi.31 for <ipv6@ietf.org>; Mon, 24 Aug 2009 21:05:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=5tPCkaakkDpDuyKI0yq7MfnCPktng9jMs5fBgBv4bTY=; b=qKRqfNhlPFO4h18ZH2O4eIUIsPORf/972Jgo8dJ8ntDlwfMhx0t14+mimAUdyKqowC 6ldVuXVuDjb1uJKM8/ghvnjKDvWfhE3vK6HIEG2IHgAX+lDSFQl3rLf+NWRKk5vgsCuh qoBlcUxdxK1jh0e7L3HVg05/qu58nBIYsl3GI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; b=Q40aLaM5hSQ7yKEHG+63UmfH9TkYkjk9udxMJRN06iLVhbCo2CgTCh5E6TdXftCuFq HVAiM8CiLqL+EE2xTKofXv5ZbbqxhnLCV5h/Y9J6tUCwEsyYBIAgjQ/nRplK0fA/X7F/ X1hSY8gPBpZ6rqdCixFAtbr16pIExzv6/XbCk=
Received: by 10.114.165.18 with SMTP id n18mr8226470wae.154.1251173153903; Mon, 24 Aug 2009 21:05:53 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id j39sm984956waf.45.2009.08.24.21.05.52 (version=SSLv3 cipher=RC4-MD5); Mon, 24 Aug 2009 21:05:53 -0700 (PDT)
Message-ID: <4A936312.8020807@gmail.com>
Date: Tue, 25 Aug 2009 16:05:38 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: 6man <ipv6@ietf.org>
Subject: Re: I-D Action:draft-axu-addr-sel-00.txt
References: <20090729163001.639D73A6ED2@core3.amsl.com>
In-Reply-To: <20090729163001.639D73A6ED2@core3.amsl.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Aug 2009 04:06:13 -0000

Hi,

> 2.2.  Autoconfiguration for Global Scope
...
>    This usually means that the next hop of that default route will only
>    be useable with the source address learned from that default router.

Can you be more explicit that any global scope routing table MAY
contain a default route and that the default route could be different
for each source address? (I do mean MAY; there might be source addresses
with no default route.)

> 2.3.  Site Local Scope

Since we abolished this for IPv6 and it is undefined for IPv4,
could you try a more neutral phrase such as

 2.3.  Limited Scope

(For some thoughts about limited scope,
see draft-carpenter-behave-referral-object.)

Then please define what you mean by it for IPv4 (RFC1918??)
and IPv6 (ULA??). Or do you mean whatever set of addresses
happens to be routed only inside some scope boundary? In many
corporate networks, that will be addresses appear to have global scope.

> 3.1.  Route and Table Preferences
...
>    In order to perform source address selection, only one destination
>    address SHOULD be presented to the algorithm, which will then look
>    for the address in all tables and sort the source addresses where it
>    was found according to the precedences.
> 
>    In order to perform destination address selection, only one source
>    address SHOULD be presented to the algorithm along with the set of
>    destination addresses.  The algorithm will then look for all the
>    given destination addresses in the table associated with the source
>    address and sort the results according to the precedences.

I see this as a bit of a problem. The underlying issue for
host-based multipath approaches (including shim6) is to pick
the best address pair, not to pick the best source given a
destination or vice versa. We should allow for such an algorithm
as well.

    Brian

From hvn@archred.com  Tue Aug 25 12:32:08 2009
Return-Path: <hvn@archred.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4DDF43A6F68 for <ipv6@core3.amsl.com>; Tue, 25 Aug 2009 12:32:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 gw21C1l8UcUP for <ipv6@core3.amsl.com>; Tue, 25 Aug 2009 12:32:07 -0700 (PDT)
Received: from mail.archred.com (mail.archred.com [IPv6:2001:670:8c:26::19]) by core3.amsl.com (Postfix) with ESMTP id 2AEDB3A6FE1 for <ipv6@ietf.org>; Tue, 25 Aug 2009 12:32:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.archred.com (Postfix) with ESMTP id 65C6DA2119 for <ipv6@ietf.org>; Tue, 25 Aug 2009 22:32:11 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at archred.com
Received: from mail.archred.com ([127.0.0.1]) by localhost (mail.archred.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E4YdxdkH84GL for <ipv6@ietf.org>; Tue, 25 Aug 2009 22:32:10 +0300 (EEST)
Received: from [172.20.3.142] (unknown [172.20.3.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.archred.com (Postfix) with ESMTPSA id BC579A2118 for <ipv6@ietf.org>; Tue, 25 Aug 2009 22:32:10 +0300 (EEST)
Message-ID: <4A943C38.2010506@archred.com>
Date: Tue, 25 Aug 2009 22:32:08 +0300
From: Heikki Vatiainen <hvn@archred.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
MIME-Version: 1.0
To: ipv6@ietf.org
Subject: One more example for draft-ietf-6man-text-addr-representation
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 25 Aug 2009 13:19:43 -0700
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Aug 2009 19:32:08 -0000

In case examples of problems with address presentation are useful, here
is one more.

RFC 5280 "Internet X.509 Public Key Infrastructure Certificate and
Certificate Revocation List (CRL) Profile" section 4.2.1.6. "Subject
Alternative Name" says that IPv6 addresses can be contained in
subjectAltName. No news there.

When actually using a certificate that has an IPv6 address the following
behaviour was seen with various SSL related components:

Perl library Net::SSLeay returns the IPv6 subjectAltName in this format:
fdf1:a315:9433:27:0:0:0:27

Perl Socket6 library contains inet_ntop that returns address in this
format: fdf1:a315:9433:27::27

OpenSSL utility that dumps the certificate in text format shows the
address like this: FDF1:A315:9433:27:0:0:0:27

Just recently I was debugging a perl program that had a problem with
certificate verification. Certificate verification failed when the
certificate presented by peer had subjectAltName with IPv6 address
fdf1:a315:9433:27:0:0:0:27 and this did not match the address where the
connection came from: fdf1:a315:9433:27::27.

Same address but different presentation was the cause here too since the
comparison was done using text strings.

Thanks for documenting these issues!

-- 
Heikki Vatiainen, Arch Red Oy
+358 44 087 6547

From kawamucho@mesh.ad.jp  Wed Aug 26 20:55:25 2009
Return-Path: <kawamucho@mesh.ad.jp>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0CE063A688D for <ipv6@core3.amsl.com>; Wed, 26 Aug 2009 20:55:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.744
X-Spam-Level: 
X-Spam-Status: No, score=0.744 tagged_above=-999 required=5 tests=[AWL=0.834,  BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265]
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 Vv9qL9fIzvvm for <ipv6@core3.amsl.com>; Wed, 26 Aug 2009 20:55:24 -0700 (PDT)
Received: from tyo201.gate.nec.co.jp (TYO201.gate.nec.co.jp [202.32.8.193]) by core3.amsl.com (Postfix) with ESMTP id 13C563A659A for <ipv6@ietf.org>; Wed, 26 Aug 2009 20:55:23 -0700 (PDT)
Received: from mailgate3.nec.co.jp ([10.7.69.161]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n7R3tMeD012448;  Thu, 27 Aug 2009 12:55:22 +0900 (JST)
Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id n7R3tMv23345; Thu, 27 Aug 2009 12:55:22 +0900 (JST)
Received: from bgas200085.sys.biglobe.nec.co.jp (bgas200085.sys.biglobe.nec.co.jp [10.82.141.45]) by mailsv4.nec.co.jp (8.13.8/8.13.4) with ESMTP id n7R3tLam007253; Thu, 27 Aug 2009 12:55:21 +0900 (JST)
Received: from bsac29088.sys.biglobe.nec.co.jp (localhost [127.0.0.1]) by bgas200085.sys.biglobe.nec.co.jp (BINGO/BINGO/06101717) with ESMTP id n7R3tLZ0016210; Thu, 27 Aug 2009 12:55:21 +0900
Received: from mail.sys.biglobe.nec.co.jp (bgsx5626.sys.biglobe.nec.co.jp [10.18.151.10]) by bsac29088.sys.biglobe.nec.co.jp (BINGO/BINGO/06101717) with ESMTP id n7R3tLS7005602; Thu, 27 Aug 2009 12:55:21 +0900
Received: from [127.0.0.1] (edonet065.sys.biglobe.nec.co.jp [10.19.137.65]) (authenticated bits=0) (envelope-from kawamucho@mesh.ad.jp) by mail.sys.biglobe.nec.co.jp (BINGO/BINGO/06101717) with ESMTP id n7R3tLEw010891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Aug 2009 12:55:21 +0900
Message-ID: <4A9603A8.7040306@mesh.ad.jp>
Date: Thu, 27 Aug 2009 12:55:20 +0900
From: Seiichi Kawamura <kawamucho@mesh.ad.jp>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Heikki Vatiainen <hvn@archred.com>
Subject: Re: One more example for draft-ietf-6man-text-addr-representation
References: <4A943C38.2010506@archred.com>
In-Reply-To: <4A943C38.2010506@archred.com>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Aug 2009 03:55:25 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Heikki

Thanks for taking the time to review the document,
and your point is something that I think is worth
mentioning in the draft. How about we add a sub-section
like this

3.2.5 verification and validiation

[RFC 5280] section 4.2.1.6 states that X.509 certificates may
contain IPv6 addresses in the SubjectAltName field.
When these fields are verified against actual connection status, if
verification was done with a simple text comparison, the certificate
may be mistakenly shown as being invalid. Similar problems can occur
in any protocol that embeds IPv6 addresses which have to be verified
or validated.

I admit word smithing needs to be done, but does this seem reasonable?

> Thanks for documenting these issues!

and thank you for your comments.

Regards,
Seiichi


Heikki Vatiainen wrote:
> In case examples of problems with address presentation are useful, here
> is one more.
> 
> RFC 5280 "Internet X.509 Public Key Infrastructure Certificate and
> Certificate Revocation List (CRL) Profile" section 4.2.1.6. "Subject
> Alternative Name" says that IPv6 addresses can be contained in
> subjectAltName. No news there.
> 
> When actually using a certificate that has an IPv6 address the following
> behaviour was seen with various SSL related components:
> 
> Perl library Net::SSLeay returns the IPv6 subjectAltName in this format:
> fdf1:a315:9433:27:0:0:0:27
> 
> Perl Socket6 library contains inet_ntop that returns address in this
> format: fdf1:a315:9433:27::27
> 
> OpenSSL utility that dumps the certificate in text format shows the
> address like this: FDF1:A315:9433:27:0:0:0:27
> 
> Just recently I was debugging a perl program that had a problem with
> certificate verification. Certificate verification failed when the
> certificate presented by peer had subjectAltName with IPv6 address
> fdf1:a315:9433:27:0:0:0:27 and this did not match the address where the
> connection came from: fdf1:a315:9433:27::27.
> 
> Same address but different presentation was the cause here too since the
> comparison was done using text strings.
> 
> Thanks for documenting these issues!
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkqWA6gACgkQcrhTYfxyMkKhxACfbOUzBkSO4D4iSkOHeNf+sTrb
rqYAoIdRo/69HU6tA/l1lDQI35JriE+3
=EkIU
-----END PGP SIGNATURE-----

From brian.e.carpenter@gmail.com  Wed Aug 26 21:15:30 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 65AEF3A68FD for <ipv6@core3.amsl.com>; Wed, 26 Aug 2009 21:15:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level: 
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[AWL=0.149,  BAYES_00=-2.599]
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 iwXNXDxerQrJ for <ipv6@core3.amsl.com>; Wed, 26 Aug 2009 21:15:29 -0700 (PDT)
Received: from mail-px0-f202.google.com (mail-px0-f202.google.com [209.85.216.202]) by core3.amsl.com (Postfix) with ESMTP id 75DB128C0D8 for <ipv6@ietf.org>; Wed, 26 Aug 2009 21:15:29 -0700 (PDT)
Received: by pxi40 with SMTP id 40so736969pxi.5 for <ipv6@ietf.org>; Wed, 26 Aug 2009 21:15:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=p1liuX3ZHIBoXQvM9exSSk8N5Y2k1QS91Tlc4nFXFVg=; b=p2We0z3tACj/gVDHMsWklssTw7HLdf8Oi9tkKxo6jqms+xY5C0J1iBIbn0UtyrXDGl inU2PV1RQRKYGdSxYHx7NxO9L+YrP6UrjAbsTswgF2aCnzuPyKvMWwXD/C1MpbRyFVPP oeyqN2ohXRo31U0+DBEEufr2lMRTTB8Iz6Q5c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=e8gMFMut/+aafs71Jaw3yUcoi+BPzXAiRC2hDSCSBiGjatQWViDDkxB1gs2exj8xYI 8pMQi+7IK/44dF3x2WyycQuekM9U3woEC0LlwCNaLbqrRG40mwhObFJ0k9HWQVUKy3FV HST6KU8zAS6UNzYqNsvgcrNwp9fv34lxmc/HE=
Received: by 10.114.165.12 with SMTP id n12mr10852505wae.107.1251346533795; Wed, 26 Aug 2009 21:15:33 -0700 (PDT)
Received: from ?130.216.38.124? (stf-brian.sfac.auckland.ac.nz [130.216.38.124]) by mx.google.com with ESMTPS id m17sm1975829waf.3.2009.08.26.21.15.32 (version=SSLv3 cipher=RC4-MD5); Wed, 26 Aug 2009 21:15:32 -0700 (PDT)
Message-ID: <4A960862.30008@gmail.com>
Date: Thu, 27 Aug 2009 16:15:30 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Seiichi Kawamura <kawamucho@mesh.ad.jp>
Subject: Re: One more example for draft-ietf-6man-text-addr-representation
References: <4A943C38.2010506@archred.com> <4A9603A8.7040306@mesh.ad.jp>
In-Reply-To: <4A9603A8.7040306@mesh.ad.jp>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: Heikki Vatiainen <hvn@archred.com>, ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Aug 2009 04:15:30 -0000

On 2009-08-27 15:55, Seiichi Kawamura wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Heikki
> 
> Thanks for taking the time to review the document,
> and your point is something that I think is worth
> mentioning in the draft. How about we add a sub-section
> like this
> 
> 3.2.5 verification and validiation
> 
> [RFC 5280] section 4.2.1.6 states that X.509 certificates may
> contain IPv6 addresses in the SubjectAltName field.
> When these fields are verified against actual connection status, if
> verification was done with a simple text comparison, the certificate
> may be mistakenly shown as being invalid. Similar problems can occur
> in any protocol that embeds IPv6 addresses which have to be verified
> or validated.
> 
> I admit word smithing needs to be done, but does this seem reasonable?

As far as X.509 certificates go, this point is correct, but using
IP addresses in subjectAltName (lower case s) is a really bad idea anyway.
We recommend against this in section 5.3.5 of draft-carpenter-renum-needs-work-03
(which is under AD review for Informational status).

     Brian
> 
>> Thanks for documenting these issues!
> 
> and thank you for your comments.
> 
> Regards,
> Seiichi
> 
> 
> Heikki Vatiainen wrote:
>> In case examples of problems with address presentation are useful, here
>> is one more.
>>
>> RFC 5280 "Internet X.509 Public Key Infrastructure Certificate and
>> Certificate Revocation List (CRL) Profile" section 4.2.1.6. "Subject
>> Alternative Name" says that IPv6 addresses can be contained in
>> subjectAltName. No news there.
>>
>> When actually using a certificate that has an IPv6 address the following
>> behaviour was seen with various SSL related components:
>>
>> Perl library Net::SSLeay returns the IPv6 subjectAltName in this format:
>> fdf1:a315:9433:27:0:0:0:27
>>
>> Perl Socket6 library contains inet_ntop that returns address in this
>> format: fdf1:a315:9433:27::27
>>
>> OpenSSL utility that dumps the certificate in text format shows the
>> address like this: FDF1:A315:9433:27:0:0:0:27
>>
>> Just recently I was debugging a perl program that had a problem with
>> certificate verification. Certificate verification failed when the
>> certificate presented by peer had subjectAltName with IPv6 address
>> fdf1:a315:9433:27:0:0:0:27 and this did not match the address where the
>> connection came from: fdf1:a315:9433:27::27.
>>
>> Same address but different presentation was the cause here too since the
>> comparison was done using text strings.
>>
>> Thanks for documenting these issues!
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> 
> iEYEARECAAYFAkqWA6gACgkQcrhTYfxyMkKhxACfbOUzBkSO4D4iSkOHeNf+sTrb
> rqYAoIdRo/69HU6tA/l1lDQI35JriE+3
> =EkIU
> -----END PGP SIGNATURE-----
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
> 

From kawamucho@mesh.ad.jp  Wed Aug 26 21:48:34 2009
Return-Path: <kawamucho@mesh.ad.jp>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7B1433A6A3C for <ipv6@core3.amsl.com>; Wed, 26 Aug 2009 21:48:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.639
X-Spam-Level: 
X-Spam-Status: No, score=0.639 tagged_above=-999 required=5 tests=[AWL=0.730,  BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265]
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 ODQmpSv68L6r for <ipv6@core3.amsl.com>; Wed, 26 Aug 2009 21:48:33 -0700 (PDT)
Received: from tyo202.gate.nec.co.jp (TYO202.gate.nec.co.jp [202.32.8.206]) by core3.amsl.com (Postfix) with ESMTP id D36E13A6A2F for <ipv6@ietf.org>; Wed, 26 Aug 2009 21:48:29 -0700 (PDT)
Received: from mailgate3.nec.co.jp ([10.7.69.162]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n7R4mTXo007523;  Thu, 27 Aug 2009 13:48:29 +0900 (JST)
Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id n7R4mTd05152; Thu, 27 Aug 2009 13:48:29 +0900 (JST)
Received: from bgas200085.sys.biglobe.nec.co.jp (bgas200085.sys.biglobe.nec.co.jp [10.82.141.45]) by mailsv3.nec.co.jp (8.13.8/8.13.4) with ESMTP id n7R4mSEU022590; Thu, 27 Aug 2009 13:48:28 +0900 (JST)
Received: from bsac29088.sys.biglobe.nec.co.jp (localhost [127.0.0.1]) by bgas200085.sys.biglobe.nec.co.jp (BINGO/BINGO/06101717) with ESMTP id n7R4mSjg021235; Thu, 27 Aug 2009 13:48:28 +0900
Received: from mail.sys.biglobe.nec.co.jp (bgsx5626.sys.biglobe.nec.co.jp [10.18.151.10]) by bsac29088.sys.biglobe.nec.co.jp (BINGO/BINGO/06101717) with ESMTP id n7R4mSbo006982; Thu, 27 Aug 2009 13:48:28 +0900
Received: from [127.0.0.1] (edonet065.sys.biglobe.nec.co.jp [10.19.137.65]) (authenticated bits=0) (envelope-from kawamucho@mesh.ad.jp) by mail.sys.biglobe.nec.co.jp (BINGO/BINGO/06101717) with ESMTP id n7R4mSOh011685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Aug 2009 13:48:28 +0900
Message-ID: <4A96101B.9030000@mesh.ad.jp>
Date: Thu, 27 Aug 2009 13:48:27 +0900
From: Seiichi Kawamura <kawamucho@mesh.ad.jp>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Subject: Re: One more example for draft-ietf-6man-text-addr-representation
References: <4A943C38.2010506@archred.com> <4A9603A8.7040306@mesh.ad.jp> <4A960862.30008@gmail.com>
In-Reply-To: <4A960862.30008@gmail.com>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: Heikki Vatiainen <hvn@archred.com>, ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Aug 2009 04:48:34 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Brian

>> As far as X.509 certificates go, this point is correct, but using
>> IP addresses in subjectAltName (lower case s) is a really bad idea anyway.
>> We recommend against this in section 5.3.5 of draft-carpenter-renum-needs-work-03
>> (which is under AD review for Informational status).

Yes. I agree. I did have doubts about
focusing on subjectAltName as a common example,
but I could not come up with a better one right now.
I did think the verification problem that Heikki mentioned
is important and can happen in other protocols so I might
fix the wording to focus on the problem.

Regards,
Seiichi


Brian E Carpenter wrote:
> On 2009-08-27 15:55, Seiichi Kawamura wrote:
> Hi Heikki
> 
> Thanks for taking the time to review the document,
> and your point is something that I think is worth
> mentioning in the draft. How about we add a sub-section
> like this
> 
> 3.2.5 verification and validiation
> 
> [RFC 5280] section 4.2.1.6 states that X.509 certificates may
> contain IPv6 addresses in the SubjectAltName field.
> When these fields are verified against actual connection status, if
> verification was done with a simple text comparison, the certificate
> may be mistakenly shown as being invalid. Similar problems can occur
> in any protocol that embeds IPv6 addresses which have to be verified
> or validated.
> 
> I admit word smithing needs to be done, but does this seem reasonable?
> 
>> As far as X.509 certificates go, this point is correct, but using
>> IP addresses in subjectAltName (lower case s) is a really bad idea anyway.
>> We recommend against this in section 5.3.5 of draft-carpenter-renum-needs-work-03
>> (which is under AD review for Informational status).
> 
>>      Brian
>>>> Thanks for documenting these issues!
> and thank you for your comments.
> 
> Regards,
> Seiichi
> 
> 
> Heikki Vatiainen wrote:
>>>> In case examples of problems with address presentation are useful, here
>>>> is one more.
>>>>
>>>> RFC 5280 "Internet X.509 Public Key Infrastructure Certificate and
>>>> Certificate Revocation List (CRL) Profile" section 4.2.1.6. "Subject
>>>> Alternative Name" says that IPv6 addresses can be contained in
>>>> subjectAltName. No news there.
>>>>
>>>> When actually using a certificate that has an IPv6 address the following
>>>> behaviour was seen with various SSL related components:
>>>>
>>>> Perl library Net::SSLeay returns the IPv6 subjectAltName in this format:
>>>> fdf1:a315:9433:27:0:0:0:27
>>>>
>>>> Perl Socket6 library contains inet_ntop that returns address in this
>>>> format: fdf1:a315:9433:27::27
>>>>
>>>> OpenSSL utility that dumps the certificate in text format shows the
>>>> address like this: FDF1:A315:9433:27:0:0:0:27
>>>>
>>>> Just recently I was debugging a perl program that had a problem with
>>>> certificate verification. Certificate verification failed when the
>>>> certificate presented by peer had subjectAltName with IPv6 address
>>>> fdf1:a315:9433:27:0:0:0:27 and this did not match the address where the
>>>> connection came from: fdf1:a315:9433:27::27.
>>>>
>>>> Same address but different presentation was the cause here too since the
>>>> comparison was done using text strings.
>>>>
>>>> Thanks for documenting these issues!
>>>>
- --------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
- --------------------------------------------------------------------
>>

- --
================================================
NEC BIGLOBE Ltd.
   Seiichi Kawamura <kawamucho@mesh.ad.jp>
   +81 3 3798 6085  (FAX: +81 3 3798 6029)
   +81 90 1547 4791 (mobile)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkqWEBsACgkQcrhTYfxyMkJYEwCfWoAsHGkE5h6HHEQEDpUJWTcb
I4IAn1qYK6FwK9YmaD1y1NLVglPxYQPO
=PioL
-----END PGP SIGNATURE-----

From alexandru.petrescu@gmail.com  Fri Aug 28 05:26:39 2009
Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4A1623A710A for <ipv6@core3.amsl.com>; Fri, 28 Aug 2009 05:26:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.987
X-Spam-Level: 
X-Spam-Status: No, score=-1.987 tagged_above=-999 required=5 tests=[AWL=0.262,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
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 IiSiQlK+Imk0 for <ipv6@core3.amsl.com>; Fri, 28 Aug 2009 05:26:38 -0700 (PDT)
Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.166.172.106]) by core3.amsl.com (Postfix) with ESMTP id 4EDCE3A7111 for <ipv6@ietf.org>; Fri, 28 Aug 2009 05:26:37 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id n7SCQg1l030364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 28 Aug 2009 14:26:42 +0200
Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (8.14.2/8.14.2) with ESMTP id n7SCQgBh008809; Fri, 28 Aug 2009 14:26:42 +0200 (envelope-from alexandru.petrescu@gmail.com)
Received: from [127.0.0.1] ([132.166.133.173]) by muguet1.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.1) with ESMTP id n7SCQe7w015915; Fri, 28 Aug 2009 14:26:41 +0200
Message-ID: <4A97CD00.7080608@gmail.com>
Date: Fri, 28 Aug 2009 14:26:40 +0200
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Thomas Narten <narten@us.ibm.com>
Subject: Re: Node Requirements: Issue 15 - IPv6 RA Flags Option (RFC 5075)
References: <200907202025.n6KKPenJ002195@cichlid.raleigh.ibm.com>	<20090721133210.GH24319@login.ecs.soton.ac.uk>	<EMEW3|b7c1a148396b9aa3130611fae696010cl6KEWY03tjc|ecs.soton.ac.uk|3210.GH24319@login.ecs.soton.ac.uk> <200907212155.n6LLt9nD005862@cichlid.raleigh.ibm.com>
In-Reply-To: <200907212155.n6LLt9nD005862@cichlid.raleigh.ibm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2009 12:26:39 -0000

Thomas Narten a écrit :
> Tim Chown <tjc@ecs.soton.ac.uk> writes:
> 
>> There's a couple of newish RA-related RFCs out that may be relevant, 
>> though one is experimental: RFC 5006 (perhaps relevant in 6.2.2 of 
>> the node requirements draft) and RFC 5075.
> 
> We should mention RFC 5075/5175.
> 
> I came up with some text while thinking about this document a while
> back, but I can't find it right off.  Oh. I alredy snuck it into the
> document! :-)
> 
> 
> Does the following make sense:
> 
>    5.3.  IPv6 Router Advertisement Flags Option - RFC 5175
> 
>    Router Advertisements include an 8-bit field of single-bit Router
>    Advertisement flags.  The Router Advertisement Flags Option extends
>    the number of available flag bits by 48 bits.  At the time of this
>    writing, 6 of the original 8 bit flags have been assigned, while 2
>    are available for future assignment.  No flags have been defined that
>    make use of the new option, and thus strictly speaking, there is no
>    requirement to implement the option today.  However, implementations
>    that are able to pass unrecognized options to a higher level entity
>    that may be able to understand them (e.g., a user-level process using
>    a "raw socket" facility), MAY take steps to handle the option in
>    anticipation of a future usage.
> 
> I really don't think we should require folks implement this option,
> given it is not yet in use, and it may be years before any such bits
> are assigned.

Well let me say that I do currently use a flag in this option of
rfc5175. The bit is called 'M' and is the first to the left. It is
implemented in radvd under linux.  The code will probably never (or
when?) see the day out... but there it is.

(I never know whether we should tell IETF all we're doing, or not).

Alex



From Fred.L.Templin@boeing.com  Fri Aug 28 09:23:34 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C75963A6942; Fri, 28 Aug 2009 09:23:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.924
X-Spam-Level: 
X-Spam-Status: No, score=-5.924 tagged_above=-999 required=5 tests=[AWL=0.675,  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 19KFhrET1uV3; Fri, 28 Aug 2009 09:23:34 -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 7D5773A6C6A; Fri, 28 Aug 2009 09:23:09 -0700 (PDT)
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7SGNDxX025191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 28 Aug 2009 09:23:13 -0700 (PDT)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id n7SGNCeL017183; Fri, 28 Aug 2009 11:23:12 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by stl-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id n7SGN6ew016973; Fri, 28 Aug 2009 11:23:12 -0500 (CDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 28 Aug 2009 09:23:06 -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
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Fri, 28 Aug 2009 09:23:03 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106555996@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A1065145AE@XCH-NW-7V2.nw.nos.boeing.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: AcoksCuqHixy6VRJRM+9z8CEAFFcGAAKv6pgAAhXLcAAv7YZEA==
References: <475898.88672.qm@web45510.mail.sp1.yahoo.com><39C363776A4E8C4A94691D2BD9D1C9A106514554@XCH-NW-7V2.nw.nos.boeing.com> <39C363776A4E8C4A94691D2BD9D1C9A1065145AE@XCH-NW-7V2.nw.nos.boeing.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 28 Aug 2009 16:23:06.0629 (UTC) FILETIME=[D326CB50:01CA27FB]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2009 16:23:34 -0000

Gabi,

Correct me if I am wrong, but if there were a new version
of ISATAP that did not use ip-proto-41 encapsulation but
instead used a different kind of encapsulation, then it
need not concern itself with routing loop interactions
with 6to4 relays since 6to4 relays only know about
ip-proto-41. Does that match your understanding?=20

Thanks - Fred
fred.l.templin@boeing.com

From gnakibly@yahoo.com  Fri Aug 28 12:07:42 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 45F183A6CCD for <ipv6@core3.amsl.com>; Fri, 28 Aug 2009 12:07:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.473
X-Spam-Level: 
X-Spam-Status: No, score=-1.473 tagged_above=-999 required=5 tests=[AWL=0.526,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6]
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 MZvFfmqv4sOJ for <ipv6@core3.amsl.com>; Fri, 28 Aug 2009 12:07:41 -0700 (PDT)
Received: from web45502.mail.sp1.yahoo.com (web45502.mail.sp1.yahoo.com [68.180.197.62]) by core3.amsl.com (Postfix) with SMTP id F0E2F28C46D for <ipv6@ietf.org>; Fri, 28 Aug 2009 12:06:58 -0700 (PDT)
Received: (qmail 99142 invoked by uid 60001); 28 Aug 2009 19:07:03 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251486423; bh=u9sTV+ETcDmLh9HMJ0AxLWBOytdZazWudvXsvE1vMDA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=UMyWe38nLkLyql3gAKR6UXbSZjAwlLDHbMI7hwgY9qfVM4tbjcXcl1CAh3OwcGVIosd8eGG4IUaNis1At+h0HhhHTD8WwK/AbPeC7QdqfpYE4SP+IiEKHf+zH5VTfZzARkFyiofQbwZdzb44qD0l0EY0X1TxlKMjuLAHGXi1PQI=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=pPlx7cL2MRce1y2zN2UZIkbdnTGxw/vd4In+hSEKzoVgANfmN5Tb1PFezkjjL3FbeytRDV20BeWUaJ3B1UcpjejYDKs5gY+UUbYsAyWZVsHgJO6LrWaIHerR1ZroEtxDXlGuVoEkLKfXpilfHvD/8sAPbJaYSRhQ017qWuOo9Is=;
Message-ID: <212591.98462.qm@web45502.mail.sp1.yahoo.com>
X-YMail-OSG: iGaZMakVM1mFX9CKJHXfcLiq7rG9hdY0Y7gK4pPx.r41WoxfvWLEkxQcDn42bT6GcfqU_g5xZQUFluLaFnxoRF9lmoI_mlOTT9doHOeG2w04Rb94PbQv05qCrT8gFHuCerMyCwbAor7rkumyLA3pNSSS4iBxJZ59JVaAhmb9ivvMyR.qXhRcemhkU_usZsBn0Olyb_gHXos1olcD2r3G5ib6VvNmb7yDM6jFLdtph19sIkJyH0OnhU79fUCYcaR4Axh8VNBP
Received: from [89.138.8.21] by web45502.mail.sp1.yahoo.com via HTTP; Fri, 28 Aug 2009 12:07:03 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <475898.88672.qm@web45510.mail.sp1.yahoo.com><39C363776A4E8C4A94691D2BD9D1C9A106514554@XCH-NW-7V2.nw.nos.boeing.com> <39C363776A4E8C4A94691D2BD9D1C9A1065145AE@XCH-NW-7V2.nw.nos.boeing.com> <39C363776A4E8C4A94691D2BD9D1C9A106555996@XCH-NW-7V2.nw.nos.boeing.com>
Date: Fri, 28 Aug 2009 12:07:03 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, v6ops <v6ops@ops.ietf.org>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A106555996@XCH-NW-7V2.nw.nos.boeing.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2009 19:07:42 -0000

Correct. All the attacks rely on the fact that the ISATAP router encapsulates/decapsulates a packet the 6to4 relay decapsulates/encapsulates, respectively. So the two tunnels must have the same encapsulation type.

----- Original Message ----
> From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
> To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
> Cc: ipv6@ietf.org; secdir@ietf.org
> Sent: Friday, August 28, 2009 7:23:03 PM
> Subject: RE: Routing loop attacks using IPv6 tunnels
> 
> Gabi,
> 
> Correct me if I am wrong, but if there were a new version
> of ISATAP that did not use ip-proto-41 encapsulation but
> instead used a different kind of encapsulation, then it
> need not concern itself with routing loop interactions
> with 6to4 relays since 6to4 relays only know about
> ip-proto-41. Does that match your understanding? 
> 
> Thanks - Fred
> fred.l.templin@boeing.com



      

From gnakibly@yahoo.com  Fri Aug 28 12:10:50 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 23DDE3A710E for <ipv6@core3.amsl.com>; Fri, 28 Aug 2009 12:10:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.392
X-Spam-Level: 
X-Spam-Status: No, score=-1.392 tagged_above=-999 required=5 tests=[AWL=0.607,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6]
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 ZesmXuotfO8f for <ipv6@core3.amsl.com>; Fri, 28 Aug 2009 12:10:50 -0700 (PDT)
Received: from web45503.mail.sp1.yahoo.com (web45503.mail.sp1.yahoo.com [68.180.197.71]) by core3.amsl.com (Postfix) with SMTP id 0BB1A3A7196 for <ipv6@ietf.org>; Fri, 28 Aug 2009 12:08:47 -0700 (PDT)
Received: (qmail 27272 invoked by uid 60001); 28 Aug 2009 19:02:15 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251486135; bh=1rWX6Ca2vyI34/6hckZmzscZXLqhYMhK1M9hGa9EkCc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XxbgmzTAHKDDo72y1ls0UlSIB3baN74mwAEycMqKmANdeWGWJMrX5H9vG/6JQF1KazWtYAJCXEfeTODSDkkIGoR6SNd82bg6YtA6QwvVqQjnGBrAwPZE011jTJsMRGjgzORfAnmq/eUG9lXriPwvqX+Sth1mL/lhMbiCRTj/uEQ=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2mFoFaAGGoF25aNACEsW+AnHlymvWqCuQGNTAEEfH+C7GaiSLO24F7VLI6YwZ3VYIshw3w5kfnGfiUzYwGSVib5mQgQpTarI82ntDGdGow7cYhU993zrLtJFSlxZWZAH43uj6KNKBB25PB8Vqe4/CV8IJMGS4H6T8MSJiEl4PMY=;
Message-ID: <31484.26522.qm@web45503.mail.sp1.yahoo.com>
X-YMail-OSG: CDAsN4sVM1kTTvXTgBHqq7Z2wFNUjk8VQxgQHHWi_tcmAnJIrjN7fZtNrNsE2cXdyZwSlBL2wU08RYdAQPNQYPM38cauY5ebgxB4XzLKHIN6bJEhD6Q26L0ico8FF9Iz7vV9hCoUW5k0379fS.UJq.Rsd4q9Y93iUghJLT1TJNtJ1pXhn984eYSgmG55cQ44RyhXcRbzdv61xlTngNacRpOuZlh86KCKmJU9ymqwHnmPEAzLhNfTpN6lWgnPq5pbNISIBY1_
Received: from [89.138.8.21] by web45503.mail.sp1.yahoo.com via HTTP; Fri, 28 Aug 2009 12:02:14 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
Date: Fri, 28 Aug 2009 12:02:14 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, v6ops <v6ops@ops.ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2009 19:10:50 -0000

Fred,=0AA quick summary of our discussion up until now: the best mitigation=
 of=A0most of these=A0attacks is indeed the proto-41 and ingress filtering =
on the border of the ISATAP site. If it is indeed implemented. I=A0assume t=
hat not all sites deploy such filtering for lack of awareness or since the =
proto-41 filtering may break other tunnels the site may employ. However, I =
do not have hard evidence on this. I would be happy if others on the list w=
ill refute or justify this assumption.=0A=A0=0AIf this assumption is (even =
partially) correct than I think that the ISATAP router should defend itself=
. Moreover, as I mention below the proo-41 filtering is not effective in ca=
se of attack #3=A0and=A0the attacker is internal to the site. So IMHO the b=
est way is the mitigations I suggested and that you illustrated below in ps=
eudo-code.=0A=A0=0ASee=A0further comments inline.=0A=A0=0AGabi=0A=0A----- O=
riginal Message ----=0A> From: "Templin, Fred L" <Fred.L.Templin@boeing.com=
>=0A> To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>=0A>=
 Cc: ipv6@ietf.org; secdir@ietf.org=0A> Sent: Monday, August 24, 2009 10:04=
:34 PM=0A> Subject: RE: Routing loop attacks using IPv6 tunnels=0A> =0A> Ga=
bi,=0A> =0A> > -----Original Message-----=0A> > From: Gabi Nakibly [mailto:=
gnakibly@yahoo.com]=0A> > Sent: Monday, August 24, 2009 4:44 AM=0A> > To: T=
emplin, Fred L; v6ops=0A> > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > Subjec=
t: Re: Routing loop attacks using IPv6 tunnels=0A> > =0A> > Fred,=0A> > I=
=A0initially very much=A0liked your suggestion regarding the check=A0of the=
 =0A> neighbor cache before=0A> > forwarding a packet into the tunnel.=A0It=
 truly addresses the root cause of the =0A> problem ans is simple=0A> > eno=
ugh to implement. However, I realized that an attacker can send a =0A> spoo=
fed=A0RS to the ISATAP router=0A> > as if it came from the 6to4 relay. The =
router would then send=A0a RA=A0to it=A0and =0A> consequently change its=0A=
> > neighbor cache. So it seems=A0that this defense does not add much.=A0Wo=
uldn't you =0A> agree?=0A> =0A> I agree that my proposed mitigation is only=
 useful when there=0A> is assurance of a coherent neighbor cache in the ISA=
TAP router.=0A> That would be true in the case in which the ISATAP router i=
s=0A> located within a site protected by border routers that perform=0A> ip=
-proto-41 and ingress filtering, and in which there is no=0A> untraceable I=
Pv4 source address spoofing. So AFAICT, my proposed=0A> mitigation is still=
 necessary for preventing attack #3 when=0A> ISATAP routers A and B are on =
separate ISATAP links within=0A> the same site-internal IPv4 routing region=
.=0A> =0A=0AThis is only true when the attacker is outside the site and pro=
to-41 filtering is employed. If the attacker is internal to the site then t=
he proto-41 filtering will not help and the neighbor cache can be poisoned.=
=0A=0A> > I completely agree with your observation on the non-feasibility o=
f =0A> verifying=A0that the=0A> > destination=A0ISATAP address does not inc=
lude=A0a local=A0IPv4 address=A0since the =0A> ISATAP address may include=
=0A> > a private IPv4 address. On the other hand, a check on public IPv4 ad=
dresses is =0A> acceptable.=A0If the=0A> > check would be done only on ISAT=
AP addresses that include public IPv4 =0A> addresses then this will=0A> > e=
liminate the attacks in which the two victims reside=A0at different sites. =
Note =0A> that if attack #3=A0is=0A> > launched on two ISATAP routers=A0hav=
ing private addresses at two different sites =0A> then the attack will=0A> =
> not work anyway since one router can not send a direct=A0IPv4 packet to t=
he =0A> other. In addition,=0A> > to=A0mitigate attacks in which the other =
victim is a 6to4 relay (such as attack =0A> #1) then a check would=0A> > ha=
ve to be done on a 6to4 address, i.e. the destination address must not be =
=0A> "2002:> > the ISATAP router>::*". In this case the IPv4 address must b=
e public, =0A> according to=0A> >=A0 the 6to4 spec.=0A> > =0A> > As you als=
o noted there is another problem with this check since the string =0A> "200=
::5EFE" is not unique=0A> > to ISATAP links. On the other hand, it seems th=
at the probability to encounter =0A> a non-malicious packet=0A> > with a de=
stination address having an IID that equals "200:5EFE:> IPv4 address>" is=
=0A> > pretty slim.=0A> > =0A> > This check is definitely not a=A0perfect s=
olution, and I sure hope that someone =0A> will come up with a=0A> > better=
 one for mitigating the routing loops. However, I would be happy if =0A> th=
ere is some kind of other=0A> > mitigation=A0measures besides packet filter=
ing=A0(proto-41 and ingress) by=A0other =0A> nodes (which=A0does not=0A> > =
necessarily exist).=0A> =0A> You seem to be envisioning a scenario of ISATA=
P router operation=0A> with public IPv4 addresses and outside of any site b=
order routers=0A> that perform ingress filtering and ip-proto-41 filtering.=
 That has=0A> traditionally been seen as the domain of 6to4, but I am happy=
 to=0A> discuss the possibility of what I called the "inside-out ISATAP=0A>=
 model" in a list message long ago (which AFAICT is the scenario=0A> you ar=
e alluding to).=0A> =0A=0AWell,=A0I am referring to any=A0ISATAP deployment=
=A0with public IPv4 addresses and no proto-41 filtering. I imagine that in =
practice there are such deployments which are not the "inside-out ISATAP mo=
del"=A0. However, I must admit that I do not rely here on hard evidence.=0A=
=0A> So, if the public IPv4 Internet were considered as one gigantic=0A> "s=
ite" and we wanted to do ISATAP on that site, it would be nice=0A> to divid=
e the site into multiple logical partitions, with each=0A> partition identi=
fied by a PRL name and a unique set of IPv6=0A> prefixes. But then, we have=
 the scenario you are describing in=0A> which we can't trust the integrity =
of the ISATAP router's=0A> neighbor cache due to the possibility for untrac=
eable IPv4=0A> source address spoofing such that the neighbor cache check=
=0A> mitigation can be subverted.=0A> =0A> This means that if we want to su=
pport the inside-out ISATAP=0A> model then the routing loops could be mitig=
ated either by=0A> 1) implementing the destination address checks you are=
=0A> suggesting, or 2) by not allowing ISATAP router interfaces=0A> that ar=
e not behind filtering border routers to advertise=0A> non-link-local on-li=
nk IPv6 prefixes and/or forward packets=0A> from non-link-local prefixes in=
 the first place.=0A> =0A> If we took the easy way out and did 2), then the=
 entire=0A> IPv4 Internet would look like one gigantic ISATAP link that=0A>=
 only did IPv6 link-local. So, nodes could ping6 each others'=0A> ISATAP li=
nk-local addresses but that's about it. =0A> =0A> If we took the more ambit=
ious route and allowed ISATAP to=0A> flourish fully within the global IPv4 =
Internet, then we=0A> would essentially be deprecating 6to4 - so it isn't=
=0A> surprising that your address checks mostly involve 6to4=0A> suppressio=
n. Assuming this, if I read your attack scenarios=0A> 1 through 3 correctly=
 then scenarios 1 and 3 are mitigated=0A> by a receive-side check and scena=
rio 2 is mitigated by a=0A> send-side check. In particular, the pseudo-code=
 would be:=0A> =0A> =A0 isatap_rcv() {=0A> =A0 =A0 ...=0A> =A0 =A0 if (dst =
=3D=3D "2002:<my_ipv4_addr>::*")=0A> =A0 =A0 =A0 drop_pkt(); /* attack #1 m=
itigation */=0A> =0A> =A0 =A0 if (dst =3D=3D "*::0200:5efe:<my_ipv4_addr>")=
=0A> =A0=A0=A0 drop_pkt(); /* attack #3 mitigation */=0A> =A0 =A0 ...=0A> =
=A0 }=0A> =0A=A0=0ACorrect (with the correction you sent after this email).=
=0A=0A> =A0 isatap_xmt() {=0A> =A0 =A0 ...=0A> =A0 =A0 if (dst =3D=3D "*::0=
200:5efe:192.88.99.1")=0A> =A0 =A0 =A0 drop_pkt(); /* attack #2 mitigation =
*/=0A> =A0 =A0 ...=0A> =A0 }=0A=A0=0AThis will not necessarily work, since =
the 6to4 relay may have a=A0unicast address the ISATAP router may not be aw=
are of. The best way to mitigate attack #2 is=A0by the 6to4 relay with a ch=
eck similar to that of attack #2 above. IMO, the second best way, as Remi s=
uggested on another thread, is for the ISATAP router to drop the packet if =
(src=A0 =3D=3D 2002:<my_ipv4_addr>::*"). However, this check is useful only=
 when the 6to4 relay validates that the IPv6 source address corresponds to =
the IPv4 one (this is in=A0accordance=A0with the 6to4 spec, however it does=
 not always get implemented). If this is not true then the attacker does no=
t have to send the attack packet with such an address.=0A=A0=0A> =0A> Does =
the above look right to you? And is this everything,=0A> or are there other=
 scenarios we need to consider?=0A>=A0=0A=0A=0A> Thanks - Fred=0A> fred.l.t=
emplin@boeing.com=0A> =0A> > =0A> > Gabi=0A> > =0A> > ----- Original Messag=
e ----=0A> > From: "Templin, Fred L" =0A> > To: Gabi Nakibly ; v6ops =0A> >=
 Cc: ipv6@ietf.org; secdir@ietf.org=0A> > Sent: Wednesday, August 19, 2009 =
6:16:18 PM=0A> > Subject: RE: Routing loop attacks using IPv6 tunnels=0A> >=
 =0A> > Hi Gabi,=0A> > =0A> > I'm sorry to have to keep turning this into p=
laintext,=0A> > but annotation is difficult otherwise. See below for=0A> > =
my responses (=3D=3D>):=0A> > =0A> > ______________________________________=
__=0A> > From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=0A> > Sent: Wednesd=
ay, August 19, 2009 1:49 AM=0A> > To: Templin, Fred L; v6ops=0A> > Cc: ipv6=
@ietf.org; secdir@ietf.org=0A> > Subject: Re: Routing loop attacks using IP=
v6 tunnels=0A> > =0A> > Fred,=0A> > See my comments inline ().=0A> > =0A> >=
 ________________________________________=0A> > From: "Templin, Fred L" =0A=
> > To: Gabi Nakibly ; v6ops =0A> > Cc: ipv6@ietf.org; secdir@ietf.org=0A> =
> Sent: Tuesday, August 18, 2009 6:48:45 PM=0A> > Subject: RE: Routing loop=
 attacks using IPv6 tunnels=0A> > =0A> > Gabi,=0A> > =0A> > _______________=
_________________________=0A> > From: Gabi Nakibly [mailto:gnakibly@yahoo.c=
om]=0A> > Sent: Tuesday, August 18, 2009 3:29 AM=0A> > To: Templin, Fred L;=
 v6ops=0A> > > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > > Subject: Re: Rout=
ing loop attacks using IPv6 tunnels=0A> > >=0A> > > Indeed the ISATAP inter=
face of the ISATAP router is meant=0A> > > to be an enterprise-interior (no=
te that=A0it is still=A0assumed=0A> > > that the associated IPv4 address is=
=A0non-private). As=A0we=0A> > > explicitly note in the paper, the first th=
ree attacks=A0will=0A> > > be mitigated=A0if proper protocol-41 filtering i=
s deployed on=0A> > > the site's border. However, note that RFC5214 does no=
t mandate=0A> > > or require this filtering.=0A> > =0A> > The RFC5214 Secur=
ity Considerations makes clear the=0A> > consequences of not implementing I=
Pv4 ingress filtering=0A> > and ip-protocol-41 filtering (i.e., a possible =
spooing=0A> > attack in which spurious ip-protocol-41 packets are=0A> > inj=
ected into an ISATAP link from outside). RFC5214=0A> > Section 6.2 addition=
ally requires that an ISATAP interface's=0A> > locator set MUST NOT span mu=
ltiple sites. This means that the=0A> > ISATAP interface must not decapsula=
te nor source ip-proto-41=0A> > packets within multiple sites, where the en=
terprise interior=0A> > is site #1 and the global Internet is site #2. ip-p=
rotocol-41=0A> > filtering is the way in which the ISATAP interface is=0A> =
> restricted to a single site.=0A> > =0A> > Now let me see that I understan=
d Section 6.2 correctly. In=0A> > attack #2, for example, I assume the ISAT=
AP router has two=0A> > physical interfaces. A site-internal IPv4 interface=
 with an=0A> > address IPisatap and a site-external IPv6 interface. I also=
=0A> > assume that there=A0is another border router which connects the=0A> =
> site to the IPv4 Internet.=A0The ISATAP router has an ISATAP=0A> > interf=
ace with a single locator: (IPisatap, site-internal=0A> > interface).=A0Whe=
n the ISATAP router gets an IPv6 via its=0A> > external interface it will e=
ncapsulate the packet accordingly=0A> > and forward it through the internal=
 IPv4 interface. If the=0A> > encapsulated packet is=A0destined to a node o=
utside the site=0A> > then the only thing that stops it is=A0a proto-41 fil=
tering=0A> > at the=A0other border router of the site. Did I get this right=
?=0A> > =0A> > =0A> > =3D=3D> In this case, yes - the ip-proto-41 filtering=
 is at a=0A> > =3D=3D> border router. I know of at least one major enterpri=
se=0A> > =3D=3D> network that does this.=0A> > =0A> > > It is only mentione=
d as a possible mitigation against=0A> > > incoming spurious protocol-41 pa=
ckets. In addition,=0A> > > Section 10 of RFC5214 only mentions=A0ingress n=
ot=A0egress=0A> > > filtering.=A0Hence it=A0will not stop attack #2.=0A> > =
=0A> > We are now talking about ip-proto-41 filtering; not ingress=0A> > fi=
ltering. ip-proto-41 filtering is in both directions. It=0A> > prevents ip-=
proto-41 packets from entering the enterprise=0A> > interior ISATAP site fr=
om the Internet and prevents=0A> > ip-proto-41 packets from entering the In=
ternet ISATAP=0A> > site from the enterprise interior. Else the ISATAP=0A> =
> interface would span multiple sites.=0A> > =0A> > Besides, "ingress" filt=
ering is not about packets coming=0A> > from the Internet into the end site=
, but rather it is=0A> > about packets leaving the end site and going out i=
nto=0A> > the Internet. RFC2827 (BCP38) documents ingress filtering.=0A> > =
=0A> > OK. I see what you are saying here.=0A> > =0A> > =0A> > =3D=3D> OK.=
=0A> > =0A> > > In addition,=0A> > > as mentioned, protocol-41 filtering is=
 not helpful when=0A> > > attack #3 is launched on two routers that reside =
in the=0A> > > same site. Note that=A0it=A0may be=A0possible for=A0the atta=
ck=0A> > > packet=A0to be sourced from outside the site unless proper=0A> >=
 > filtering of incoming IPv6 packets is deployed. If the=0A> > > attacker =
resides in the site, usually ingress filtering=0A> > > will not be helpful =
since it is deployed in general on=0A> > > the site's border.=0A> > =0A> > =
Here, we have the ISATAP router in both cases sourcing a=0A> > packet from =
a foreign prefix.=0A> > =0A> > Well, I do not see how this is correct. In a=
ttacks #1 and #3 the ISATAP router =0A> sources (actually=0A> > forwards) a=
n IPv6=A0packet with=A0a source address having=A0the corresponding=A0prefix=
 =0A> of the ISATAP tunnel.=0A> > In attacks #2 and #3 the ISATAP router so=
urces and IPv4 packet with its own =0A> IPv4 address as the=0A> > source ad=
dress.=0A> > =0A> > =0A> > =3D=3D> There were a number of errors in what I =
said in my last=0A> > =3D=3D> message, so let me see if I can get it right =
here:=0A> > =3D=3D>=0A> > =3D=3D> In attacks #1 and #2 there are two cases =
to consider. Case=0A> > =3D=3D> 1 in which a border router separates the 6t=
o4 relay from the=0A> > =3D=3D> ISATAP router, and case 2 in which no borde=
r router separates=0A> > =3D=3D> the 6to4 relay from the ISATAP router.=0A>=
 > =3D=3D>=0A> > =3D=3D> In attack #1, we have an IPv6 packet with a local =
source=0A> > =3D=3D> address entering the site from the outside. IPv6 ingre=
ss=0A> > =3D=3D> filtering at the site border router should prevent the=0A>=
 > =3D=3D> packet from entering the site in the first place. If the=0A> > =
=3D=3D> 6to4 relay router is outside the site then ip-proto-41=0A> > =3D=3D=
> filtering at the border router will block the attack in=0A> > =3D=3D> the=
 first place anyway. If the relay router is *inside*=0A> > =3D=3D> the site=
, then the IPv6 ingress filtering is the lone=0A> > =3D=3D> mitigation. The=
 end result is that the 6to4 relay should=0A> > =3D=3D> really be positione=
d outside of the site's border routers;=0A> > =3D=3D> otherwise, it could b=
e spoofed into thinking that the=0A> > =3D=3D> ISATAP router is a 6to4 rout=
er and not an ISATAP router.=0A> > =3D=3D>=0A> > =3D=3D> In attack #2, we h=
ave an IPv6 packet with a foreign source=0A> > =3D=3D> address being forwar=
ded by the ISATAP router to a 6to4=0A> > =3D=3D> relay, but I mis-spoke whe=
n I said that this would be a=0A> > =3D=3D> case of the ISATAP router forwa=
rding a packet with a foreign=0A> > =3D=3D> source address out of the ISATA=
P link. For all the ISATAP=0A> > =3D=3D> router knows, the 6to4 relay is ju=
st an ordinary host on=0A> > =3D=3D> the ISATAP link, so the ISATAP router =
actually believes it=0A> > =3D=3D> is forwarding the packet *into* the ISAT=
AP link (not out of=0A> > =3D=3D> it). But as in attack #1, the attack is b=
locked by ip-proto-41=0A> > =3D=3D> filtering at the border router between =
the ISATAP router and=0A> > =3D=3D> the 6to4 relay. If there is no border r=
outer between the ISATAP=0A> > =3D=3D> router and the 6to4 relay, then we h=
ave an identical instance=0A> > =3D=3D> to attack #3 which I will discuss b=
elow. But, the best=0A> > =3D=3D> operational practice would again be to ha=
ve the 6to4 relay=0A> > =3D=3D> oriented outside of a border router that fi=
lters ip-proto-41.=0A> > =3D=3D>=0A> > =3D=3D> Short summary is that in att=
ack #1, the 6to4 relay thinks it=0A> > =3D=3D> is talking to a 6to4 router =
and not an ISATAP router. In=0A> > =3D=3D> attack #2, the ISATAP router thi=
nks it is talking to a=0A> > =3D=3D> simple host on the link and not a 6to4=
 relay. In both cases,=0A> > =3D=3D> the attacks are mitigated when there i=
s an ip-proto-41=0A> > =3D=3D> filtering border router between the ISATAP r=
outer and the=0A> > =3D=3D> 6to4 relay. Oftentimes, the "border router" wil=
l be a two-=0A> > =3D=3D> interface router that implements 6to4 on a site-e=
xternal=0A> > =3D=3D> IPv4 interface and implements ISATAP on a site-intern=
al=0A> > =3D=3D> IPv4 interface and performs ip-proto-41 filtering on packe=
ts=0A> > =3D=3D> from outside the site with an IPv4 destination correspondi=
ng=0A> > =3D=3D> to the ISATAP interface. I will discuss attack #3 below:=
=0A> > =0A> > This attack is mitigated by=0A> > IPv6 ingress filtering whic=
h is an IPv6 security consideration=0A> > and not an ISATAP nor IPv4 securi=
ty consideration. BCP=0A> > recommendations for network ingress filtering a=
re documented=0A> > in RFC2827 and it is expected that IPv6 routers that co=
nfigure=0A> > ISATAP interfaces will implement IPv6 ingress filtering=0A> >=
 according to the BCP.=0A> > =0A> > So If my last comment is correct than I=
 do not see how ingress filtering would =0A> help here. The only=0A> > case=
 where=A0ingress filtering can help is in case of attack #3 when the router=
s =0A> reside at the same=0A> > site. In that case if the attack packet (pa=
cket 0) is sent from outside the =0A> site then ingress=0A> > filtering on =
the border of the site will drop the packet.=0A> > =0A> > =0A> > =3D=3D> Co=
rrect about the IPv6 ingress filtering at the border,=0A> > =3D=3D> but as =
with attack #2 my error in the previous message=0A> > =3D=3D> was in thinki=
ng the ISATAP router A was forwarding the=0A> > =3D=3D> packet *out* of the=
 ISATAP link when in fact from the=0A> > =3D=3D> ISATAP router's perspectiv=
e it is forwarding the packet=0A> > =3D=3D> to a simple host *inside* of th=
e link.=0A> > =3D=3D>=0A> > =3D=3D> The problem here is that the ISATAP rou=
ter is blindly=0A> > =3D=3D> forwarding a packet to a node that it assumes =
is a simple=0A> > =3D=3D> host on the ISATAP link without first verifying t=
hat the=0A> > =3D=3D> node has demonstrated a willingness to participate as=
 a=0A> > =3D=3D> host on the link. As you have pointed out, this can lead=
=0A> > =3D=3D> to strange scenarios when the anonymous node is a tunnel=0A>=
 > =3D=3D> router of some sort that does not participate in the=0A> > =3D=
=3D> ISATAP link.=0A> > =3D=3D>=0A> > =3D=3D> It would not generally be pos=
sible for the ISATAP router=0A> > =3D=3D> to check whether the IPv6 destina=
tion address is an ISATAP=0A> > =3D=3D> address that embeds one of its own =
IPv4 addresses, because=0A> > =3D=3D> when IPv4 private addresses are used =
the same IPv4 address=0A> > =3D=3D> can (and often does) occur in multiple =
sites. So for example,=0A> > =3D=3D> if the ISATAP router configures an IPv=
4 address 10.0.0.1=0A> > =3D=3D> and is asked to forward an IPv6 packet wit=
h ISATAP=0A> > =3D=3D> destination address 2001:DB8::0:5EFE:10.0.0.1 where =
the=0A> > =3D=3D> IPv6 prefix is foreign, the router can't very well drop t=
he=0A> > =3D=3D> packet as this would block legitimate communications. It=
=0A> > =3D=3D> is also not generally possible to check whether a foreign=0A=
> > =3D=3D> link is an ISATAP link by looking for the magic token=0A> > =3D=
=3D> "0:5EFE" as that token only has significance for ISATAP=0A> > =3D=3D> =
links and not other link types.=0A> > =3D=3D>=0A> > =3D=3D> Instead, the mi=
tigation I think makes the most sense is=0A> > =3D=3D> for the ISATAP route=
r to first verify that the node which=0A> > =3D=3D> it assumes to be a simp=
le ISATAP host has demonstrated a=0A> > =3D=3D> willingness to participate =
in the link. That can be done=0A> > =3D=3D> by having the ISATAP router fir=
st check the neighbor cache=0A> > =3D=3D> when it has a packet to send to v=
erify that there is a=0A> > =3D=3D> cached entry corresponding to the desti=
nation. For nodes=0A> > =3D=3D> that are willing ISATAP hosts on the link, =
there would=0A> > =3D=3D> have been a neighbor cache entry created when the=
 node=0A> > =3D=3D> sends a Router Solicitation to the ISATAP router for th=
e=0A> > =3D=3D> purpose of discovering default router lifetimes and on-=0A>=
 > =3D=3D> link prefixes. So, the simple mitigations is for the ISATAP=0A> =
> =3D=3D> router to forward the packet only if there is a pre-existing=0A> =
> =3D=3D> neighbor cache entry and drop the packet otherwise. This=0A> > =
=3D=3D> implies that the router should keep neighbor cache entires=0A> > =
=3D=3D> for the duration of the minimum lifetime of the prefixes=0A> > =3D=
=3D> it advertises in its Router Advertisements.=0A> > =0A> > > In general,=
 I would like to point out that indeed as in=0A> > > most other attacks the=
se attacks may also be mitigated by=0A> > > proper firewall rules. However,=
 I do not believe that this=0A> > > should be our only answer against these=
 attacks. I believe=0A> > > that since these attacks are made possible due =
to the=0A> > > inherent characteristics of the tunnels they=A0should be=0A>=
 > > stopped intrinsically as much as possible by the tunnel=0A> > > partic=
ipants and not relay on outside filtering rules.=0A> > =0A> > In RFC5214, S=
ection 10 we have: "restricting access to the=0A> > link can be achieved by=
 restricting access to the site". The=0A> > mitigations do exactly that, an=
d in such a way that ISATAP=0A> > nodes can operate with only the necessary=
 and sufficient=0A> > checks. So on this point, I do not share your opinion=
.=0A> > =0A> > What about two ISATAP tunnels that reside on the same site l=
ike in attack #3. =0A> Do you=A0also think that=0A> > proto-41 filtering sh=
ould barrier between the two tunnels within the site?=0A> > =0A> > =0A> > =
=3D=3D> I think this may be overcome by the discussion above.=0A> > =3D=3D>=
 Short story is that operational practices must be=0A> > =3D=3D> employed w=
hereby an ISATAP router is not mistaken for=0A> > =3D=3D> a 6to4 router. Th=
is is through proper arrangement of=0A> > =3D=3D> 6to4 router/relay interfa=
ces outside of the site border=0A> > =3D=3D> rather than inside, and ISATAP=
 router interfaces inside=0A> > =3D=3D> of the site border rather than outs=
ide. Also proper=0A> > =3D=3D> ip-proto-41 filtering and IPv6 ingress filte=
ring at=0A> > =3D=3D> site borders.=0A> > =3D=3D>=0A> > =3D=3D> Also, when =
there are multiple ISATAP links within the=0A> > =3D=3D> same local IPv4 ro=
uting region, an ISATAP router should=0A> > =3D=3D> first verify a node's w=
illingness to act as a host on=0A> > =3D=3D> the ISATAP link before blindly=
 sending a packet to it.=0A> > =3D=3D>=0A> > =3D=3D> Fred=0A> > =3D=3D> fre=
d.l.templin@boeing.com=0A> > =0A> > Fred=0A> > fred.l.templin@boeing.com=0A=
> > =0A> > ________________________________________=0A> > From: "Templin, F=
red L" =0A> > To: Gabi Nakibly ; v6ops =0A> > Cc: ipv6@ietf.org; secdir@iet=
f.org=0A> > Sent: Monday, August 17, 2009 8:35:08 PM=0A> > Subject: RE: Rou=
ting loop attacks using IPv6 tunnels=0A> > =0A> > =0A> > Gabi,=0A> > =0A> >=
 Thanks for publishing this work. In the document, attacks A, B and C=0A> >=
 correspond to a configuration that violates section 6.2 of RFC5214:=0A> > =
=0A> > > 6.2.=A0 ISATAP Interface Address Configuration=0A> > >=0A> > > =A0=
=A0Each ISATAP interface configures a set of locators consisting of IPv4=0A=
> > >=A0=A0 address-to-interface mappings from a single site; i.e., an ISAT=
AP=0A> > >=A0=A0 interface's locator set MUST NOT span multiple sites.=0A> =
> =0A> > In particular, in scenarios A, B and C the IPv4 locator used for I=
SATAP=0A> > is seen both within the enterprise as site #1 and within the gl=
obal Internet=0A> > itself as site #2. If the ISATAP interface is to be use=
d as an enterprise-=0A> > interior interface, it should therefore not accep=
t IP-proto-41 packets=0A> > coming from an IPv4 source outside of the enter=
prise nor source=0A> > IP-proto-41 packets that are destined to an IPv4 nod=
e outside of the=0A> > enterprise. This condition should be satisfied by ha=
ving the site border=0A> > routers implement IPv4 ingress filtering and ip-=
protocol-41 filtering as=0A> > required in Section 10 of RFC5214.=0A> > =0A=
> > It is mentioned that attack C could also occur when the routers reside=
=0A> > in the same site, where their addresses may be private. This would=
=0A> > correspond to a case in which an attacker within the site attacks th=
e=0A> > site itself, which can easily be traced - especially when source ad=
dress=0A> > spoofing from a node within the site is prevented through prope=
r ingress=0A> > filtering.=0A> > =0A> > Fred=0A> > fred.l.templin@boeing.co=
m=0A> > =0A> > ________________________________________=0A> > From: Gabi Na=
kibly [mailto:gnakibly@yahoo.com]=0A> > Sent: Monday, August 17, 2009 8:21 =
AM=0A> > To: v6ops=0A> > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > Subject: =
Routing loop attacks using IPv6 tunnels=0A> > =0A> > Hi all,=0A> > I would =
like to draw the attention of the list to=A0some=A0research=A0results which=
 =0A> my colleague and I at=0A> > the National EW Research=A0& Simulation=
=A0Center have recently published. The =0A> research presents a=A0class=0A>=
 > of routing loop attacks that abuses 6to4, ISATAP and Teredo. The=A0paper=
 can be =0A> found at:=0A> > http://www.usenix.org/events/woot09/tech/full_=
papers/nakibly.pdf=0A> > =0A> > Here is the abstract:=0A> > IPv6 is the fut=
ure network layer protocol for the Internet. Since it is not =0A> compatibl=
e with its=0A> > predecessor, some interoperability mechanisms were designe=
d. An important =0A> category of these=0A> > mechanisms is automatic tunnel=
s, which enable IPv6 communication over an IPv4 =0A> network without prior=
=0A> > configuration. This category includes ISATAP, 6to4 and Teredo. We pr=
esent a =0A> novel class of attacks=0A> > that exploit vulnerabilities in t=
hese tunnels. These attacks take advantage of =0A> inconsistencies=0A> > be=
tween a tunnel's overlay IPv6 routing state and the native IPv6 routing =0A=
> state. The attacks form=0A> > routing loops which can be abused as a vehi=
cle for traffic amplification to =0A> facilitate DoS attacks.=0A> > We exhi=
bit five attacks of this class. One of the presented attacks can DoS a =0A>=
 Teredo server using a=0A> > single packet. The exploited vulnerabilities a=
re embedded in the design of the =0A> tunnels; hence any=0A> > implementati=
on of these tunnels may be vulnerable. In particular, the attacks =0A> were=
 tested=0A> > against the ISATAP, 6to4 and Teredo implementations of Window=
s Vista and =0A> Windows Server 2008 R2.=0A> > =0A> > I think the results o=
f the research warrant some corrective action. If =0A> this=A0indeed shall =
be the=0A> > general sentiment of the list, I will be happy write an approp=
riate I-D. The =0A> mitigation measures we=0A> > suggested in the paper are=
 the best we could think of to completely eliminate =0A> the problem. Howev=
er=0A> > they are far from perfect since=A0they would require=A0tunnel impl=
ementations to =0A> be updated in case new=0A> > types of automatic tunnels=
 are introduced.=0A> > =0A> > Your comments are welcome.=0A> > =0A> > Gabi=
=0A> > =0A> > =0A> > =0A=0A=0A      

From Fred.L.Templin@boeing.com  Fri Aug 28 13:23:42 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C9CEB3A6A75; Fri, 28 Aug 2009 13:23:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.634
X-Spam-Level: 
X-Spam-Status: No, score=-5.634 tagged_above=-999 required=5 tests=[AWL=0.365,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6, 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 29tGvlBFRJwx; Fri, 28 Aug 2009 13:23:40 -0700 (PDT)
Received: from slb-smtpout-01.boeing.com (slb-smtpout-01.boeing.com [130.76.64.48]) by core3.amsl.com (Postfix) with ESMTP id 207E13A6A5E; Fri, 28 Aug 2009 13:23:39 -0700 (PDT)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by slb-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7SKNicT027530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Aug 2009 13:23:44 -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 n7SKNiE0006208; Fri, 28 Aug 2009 13:23:44 -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 n7SKNhkh006170; Fri, 28 Aug 2009 13:23:43 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 28 Aug 2009 13:23:43 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Fri, 28 Aug 2009 13:23:40 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106555B38@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <31484.26522.qm@web45503.mail.sp1.yahoo.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: AcooEhDsb5iTYmmfSmCH2zbFJmnM8QACX3Vw
References: <31484.26522.qm@web45503.mail.sp1.yahoo.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 28 Aug 2009 20:23:43.0525 (UTC) FILETIME=[70364D50:01CA281D]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2009 20:23:42 -0000

Gabi,

Thanks for your continued correspondence, and see below:

> -----Original Message-----
> From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> Sent: Friday, August 28, 2009 12:02 PM
> To: Templin, Fred L; v6ops
> Cc: ipv6@ietf.org; secdir@ietf.org
> Subject: Re: Routing loop attacks using IPv6 tunnels
>=20
> Fred,
> A quick summary of our discussion up until now: the best mitigation =
of=A0most of these=A0attacks is
> indeed the proto-41 and ingress filtering on the border of the ISATAP =
site. If it is indeed
> implemented. I=A0assume that not all sites deploy such filtering for =
lack of awareness or since the
> proto-41 filtering may break other tunnels the site may employ. =
However, I do not have hard evidence
> on this. I would be happy if others on the list will refute or justify =
this assumption.
>=20
> If this assumption is (even partially) correct than I think that the =
ISATAP router should defend
> itself.

If there is operational assurance of filtering, then I think there
is no problem. For the other cases, I am beginning to come around
to your opinion.

> Moreover, as I mention below the proo-41 filtering is not effective in =
case of attack
> #3=A0and=A0the attacker is internal to the site.

I'll speak more on this below.

> So IMHO the best way is the mitigations I suggested and
> that you illustrated below in pseudo-code.

OK.

> See=A0further comments inline.
>=20
> Gabi
>=20
> ----- Original Message ----
> > From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
> > To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
> > Cc: ipv6@ietf.org; secdir@ietf.org
> > Sent: Monday, August 24, 2009 10:04:34 PM
> > Subject: RE: Routing loop attacks using IPv6 tunnels
> >
> > Gabi,
> >
> > > -----Original Message-----
> > > From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> > > Sent: Monday, August 24, 2009 4:44 AM
> > > To: Templin, Fred L; v6ops
> > > Cc: ipv6@ietf.org; secdir@ietf.org
> > > Subject: Re: Routing loop attacks using IPv6 tunnels
> > >
> > > Fred,
> > > I=A0initially very much=A0liked your suggestion regarding the =
check=A0of the
> > neighbor cache before
> > > forwarding a packet into the tunnel.=A0It truly addresses the root =
cause of the
> > problem ans is simple
> > > enough to implement. However, I realized that an attacker can send =
a
> > spoofed=A0RS to the ISATAP router
> > > as if it came from the 6to4 relay. The router would then send=A0a =
RA=A0to it=A0and
> > consequently change its
> > > neighbor cache. So it seems=A0that this defense does not add =
much.=A0Wouldn't you
> > agree?
> >
> > I agree that my proposed mitigation is only useful when there
> > is assurance of a coherent neighbor cache in the ISATAP router.
> > That would be true in the case in which the ISATAP router is
> > located within a site protected by border routers that perform
> > ip-proto-41 and ingress filtering, and in which there is no
> > untraceable IPv4 source address spoofing. So AFAICT, my proposed
> > mitigation is still necessary for preventing attack #3 when
> > ISATAP routers A and B are on separate ISATAP links within
> > the same site-internal IPv4 routing region.
> >
>=20
> This is only true when the attacker is outside the site and proto-41 =
filtering is employed. If the
> attacker is internal to the site then the proto-41 filtering will not =
help and the neighbor cache can
> be poisoned.

Since the ISATAP checks require that the IPv6 source embed the
IPv4 source and/or the IPv4 source is a PRL router, you must be
speaking here about IPv4 source address spoofing from within the
site. For sites that allow intra-site source address spoofing,
I think much more serious problems could manifest themselves
that would be completely unrelated to ISATAP. I believe you
will also find other automatic tunneling protocols besides
ISATAP that operate under an assumption of no intra-site IPv4
source address spoofing.=20

> > > I completely agree with your observation on the non-feasibility of
> > verifying=A0that the
> > > destination=A0ISATAP address does not include=A0a local=A0IPv4 =
address=A0since the
> > ISATAP address may include
> > > a private IPv4 address. On the other hand, a check on public IPv4 =
addresses is
> > acceptable.=A0If the
> > > check would be done only on ISATAP addresses that include public =
IPv4
> > addresses then this will
> > > eliminate the attacks in which the two victims reside=A0at =
different sites. Note
> > that if attack #3=A0is
> > > launched on two ISATAP routers=A0having private addresses at two =
different sites
> > then the attack will
> > > not work anyway since one router can not send a direct=A0IPv4 =
packet to the
> > other. In addition,
> > > to=A0mitigate attacks in which the other victim is a 6to4 relay =
(such as attack
> > #1) then a check would
> > > have to be done on a 6to4 address, i.e. the destination address =
must not be
> > "2002:> > the ISATAP router>::*". In this case the IPv4 address must =
be public,
> > according to
> > >=A0 the 6to4 spec.
> > >
> > > As you also noted there is another problem with this check since =
the string
> > "200::5EFE" is not unique
> > > to ISATAP links. On the other hand, it seems that the probability =
to encounter
> > a non-malicious packet
> > > with a destination address having an IID that equals "200:5EFE:> =
IPv4 address>" is
> > > pretty slim.
> > >
> > > This check is definitely not a=A0perfect solution, and I sure hope =
that someone
> > will come up with a
> > > better one for mitigating the routing loops. However, I would be =
happy if
> > there is some kind of other
> > > mitigation=A0measures besides packet filtering=A0(proto-41 and =
ingress) by=A0other
> > nodes (which=A0does not
> > > necessarily exist).
> >
> > You seem to be envisioning a scenario of ISATAP router operation
> > with public IPv4 addresses and outside of any site border routers
> > that perform ingress filtering and ip-proto-41 filtering. That has
> > traditionally been seen as the domain of 6to4, but I am happy to
> > discuss the possibility of what I called the "inside-out ISATAP
> > model" in a list message long ago (which AFAICT is the scenario
> > you are alluding to).
> >
>=20
> Well,=A0I am referring to any=A0ISATAP deployment=A0with public IPv4 =
addresses and no proto-41 filtering. I
> imagine that in practice there are such deployments which are not the =
"inside-out ISATAP model"=A0.
> However, I must admit that I do not rely here on hard evidence.
>=20
> > So, if the public IPv4 Internet were considered as one gigantic
> > "site" and we wanted to do ISATAP on that site, it would be nice
> > to divide the site into multiple logical partitions, with each
> > partition identified by a PRL name and a unique set of IPv6
> > prefixes. But then, we have the scenario you are describing in
> > which we can't trust the integrity of the ISATAP router's
> > neighbor cache due to the possibility for untraceable IPv4
> > source address spoofing such that the neighbor cache check
> > mitigation can be subverted.
> >
> > This means that if we want to support the inside-out ISATAP
> > model then the routing loops could be mitigated either by
> > 1) implementing the destination address checks you are
> > suggesting, or 2) by not allowing ISATAP router interfaces
> > that are not behind filtering border routers to advertise
> > non-link-local on-link IPv6 prefixes and/or forward packets
> > from non-link-local prefixes in the first place.
> >
> > If we took the easy way out and did 2), then the entire
> > IPv4 Internet would look like one gigantic ISATAP link that
> > only did IPv6 link-local. So, nodes could ping6 each others'
> > ISATAP link-local addresses but that's about it.
> >
> > If we took the more ambitious route and allowed ISATAP to
> > flourish fully within the global IPv4 Internet, then we
> > would essentially be deprecating 6to4 - so it isn't
> > surprising that your address checks mostly involve 6to4
> > suppression. Assuming this, if I read your attack scenarios
> > 1 through 3 correctly then scenarios 1 and 3 are mitigated
> > by a receive-side check and scenario 2 is mitigated by a
> > send-side check. In particular, the pseudo-code would be:
> >
> > =A0 isatap_rcv() {
> > =A0 =A0 ...
> > =A0 =A0 if (dst =3D=3D "2002:<my_ipv4_addr>::*")
> > =A0 =A0 =A0 drop_pkt(); /* attack #1 mitigation */
> >
> > =A0 =A0 if (dst =3D=3D "*::0200:5efe:<my_ipv4_addr>")
> > =A0=A0=A0 drop_pkt(); /* attack #3 mitigation */
> > =A0 =A0 ...
> > =A0 }
> >
>=20
> Correct (with the correction you sent after this email).

OK.
=20
> > =A0 isatap_xmt() {
> > =A0 =A0 ...
> > =A0 =A0 if (dst =3D=3D "*::0200:5efe:192.88.99.1")
> > =A0 =A0 =A0 drop_pkt(); /* attack #2 mitigation */
> > =A0 =A0 ...
> > =A0 }
>=20
> This will not necessarily work, since the 6to4 relay may have =
a=A0unicast address the ISATAP router may
> not be aware of. The best way to mitigate attack #2 is=A0by the 6to4 =
relay with a check similar to that
> of attack #2 above. IMO, the second best way, as Remi suggested on =
another thread, is for the ISATAP
> router to drop the packet if (src=A0 =3D=3D 2002:<my_ipv4_addr>::*"). =
However, this check is useful only
> when the 6to4 relay validates that the IPv6 source address corresponds =
to the IPv4 one (this is
> in=A0accordance=A0with the 6to4 spec, however it does not always get =
implemented). If this is not true
> then the attacker does not have to send the attack packet with such an =
address.

Keeping with the philosophy of the ISATAP router defending itself,
I believe it would be best to take Remi's suggestion and lay any
complications at the doorstep of the 6to4 relay if it fails to
adhere to the spec.

Thanks - Fred
fred.l.templin@boeing.com

> > Does the above look right to you? And is this everything,
> > or are there other scenarios we need to consider?
> >
>=20
>=20
> > Thanks - Fred
> > fred.l.templin@boeing.com
> >
> > >
> > > Gabi
> > >
> > > ----- Original Message ----
> > > From: "Templin, Fred L"
> > > To: Gabi Nakibly ; v6ops
> > > Cc: ipv6@ietf.org; secdir@ietf.org
> > > Sent: Wednesday, August 19, 2009 6:16:18 PM
> > > Subject: RE: Routing loop attacks using IPv6 tunnels
> > >
> > > Hi Gabi,
> > >
> > > I'm sorry to have to keep turning this into plaintext,
> > > but annotation is difficult otherwise. See below for
> > > my responses (=3D=3D>):
> > >
> > > ________________________________________
> > > From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> > > Sent: Wednesday, August 19, 2009 1:49 AM
> > > To: Templin, Fred L; v6ops
> > > Cc: ipv6@ietf.org; secdir@ietf.org
> > > Subject: Re: Routing loop attacks using IPv6 tunnels
> > >
> > > Fred,
> > > See my comments inline ().
> > >
> > > ________________________________________
> > > From: "Templin, Fred L"
> > > To: Gabi Nakibly ; v6ops
> > > Cc: ipv6@ietf.org; secdir@ietf.org
> > > Sent: Tuesday, August 18, 2009 6:48:45 PM
> > > Subject: RE: Routing loop attacks using IPv6 tunnels
> > >
> > > Gabi,
> > >
> > > ________________________________________
> > > From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> > > Sent: Tuesday, August 18, 2009 3:29 AM
> > > To: Templin, Fred L; v6ops
> > > > Cc: ipv6@ietf.org; secdir@ietf.org
> > > > Subject: Re: Routing loop attacks using IPv6 tunnels
> > > >
> > > > Indeed the ISATAP interface of the ISATAP router is meant
> > > > to be an enterprise-interior (note that=A0it is still=A0assumed
> > > > that the associated IPv4 address is=A0non-private). As=A0we
> > > > explicitly note in the paper, the first three attacks=A0will
> > > > be mitigated=A0if proper protocol-41 filtering is deployed on
> > > > the site's border. However, note that RFC5214 does not mandate
> > > > or require this filtering.
> > >
> > > The RFC5214 Security Considerations makes clear the
> > > consequences of not implementing IPv4 ingress filtering
> > > and ip-protocol-41 filtering (i.e., a possible spooing
> > > attack in which spurious ip-protocol-41 packets are
> > > injected into an ISATAP link from outside). RFC5214
> > > Section 6.2 additionally requires that an ISATAP interface's
> > > locator set MUST NOT span multiple sites. This means that the
> > > ISATAP interface must not decapsulate nor source ip-proto-41
> > > packets within multiple sites, where the enterprise interior
> > > is site #1 and the global Internet is site #2. ip-protocol-41
> > > filtering is the way in which the ISATAP interface is
> > > restricted to a single site.
> > >
> > > Now let me see that I understand Section 6.2 correctly. In
> > > attack #2, for example, I assume the ISATAP router has two
> > > physical interfaces. A site-internal IPv4 interface with an
> > > address IPisatap and a site-external IPv6 interface. I also
> > > assume that there=A0is another border router which connects the
> > > site to the IPv4 Internet.=A0The ISATAP router has an ISATAP
> > > interface with a single locator: (IPisatap, site-internal
> > > interface).=A0When the ISATAP router gets an IPv6 via its
> > > external interface it will encapsulate the packet accordingly
> > > and forward it through the internal IPv4 interface. If the
> > > encapsulated packet is=A0destined to a node outside the site
> > > then the only thing that stops it is=A0a proto-41 filtering
> > > at the=A0other border router of the site. Did I get this right?
> > >
> > >
> > > =3D=3D> In this case, yes - the ip-proto-41 filtering is at a
> > > =3D=3D> border router. I know of at least one major enterprise
> > > =3D=3D> network that does this.
> > >
> > > > It is only mentioned as a possible mitigation against
> > > > incoming spurious protocol-41 packets. In addition,
> > > > Section 10 of RFC5214 only mentions=A0ingress not=A0egress
> > > > filtering.=A0Hence it=A0will not stop attack #2.
> > >
> > > We are now talking about ip-proto-41 filtering; not ingress
> > > filtering. ip-proto-41 filtering is in both directions. It
> > > prevents ip-proto-41 packets from entering the enterprise
> > > interior ISATAP site from the Internet and prevents
> > > ip-proto-41 packets from entering the Internet ISATAP
> > > site from the enterprise interior. Else the ISATAP
> > > interface would span multiple sites.
> > >
> > > Besides, "ingress" filtering is not about packets coming
> > > from the Internet into the end site, but rather it is
> > > about packets leaving the end site and going out into
> > > the Internet. RFC2827 (BCP38) documents ingress filtering.
> > >
> > > OK. I see what you are saying here.
> > >
> > >
> > > =3D=3D> OK.
> > >
> > > > In addition,
> > > > as mentioned, protocol-41 filtering is not helpful when
> > > > attack #3 is launched on two routers that reside in the
> > > > same site. Note that=A0it=A0may be=A0possible for=A0the attack
> > > > packet=A0to be sourced from outside the site unless proper
> > > > filtering of incoming IPv6 packets is deployed. If the
> > > > attacker resides in the site, usually ingress filtering
> > > > will not be helpful since it is deployed in general on
> > > > the site's border.
> > >
> > > Here, we have the ISATAP router in both cases sourcing a
> > > packet from a foreign prefix.
> > >
> > > Well, I do not see how this is correct. In attacks #1 and #3 the =
ISATAP router
> > sources (actually
> > > forwards) an IPv6=A0packet with=A0a source address having=A0the =
corresponding=A0prefix
> > of the ISATAP tunnel.
> > > In attacks #2 and #3 the ISATAP router sources and IPv4 packet =
with its own
> > IPv4 address as the
> > > source address.
> > >
> > >
> > > =3D=3D> There were a number of errors in what I said in my last
> > > =3D=3D> message, so let me see if I can get it right here:
> > > =3D=3D>
> > > =3D=3D> In attacks #1 and #2 there are two cases to consider. Case
> > > =3D=3D> 1 in which a border router separates the 6to4 relay from =
the
> > > =3D=3D> ISATAP router, and case 2 in which no border router =
separates
> > > =3D=3D> the 6to4 relay from the ISATAP router.
> > > =3D=3D>
> > > =3D=3D> In attack #1, we have an IPv6 packet with a local source
> > > =3D=3D> address entering the site from the outside. IPv6 ingress
> > > =3D=3D> filtering at the site border router should prevent the
> > > =3D=3D> packet from entering the site in the first place. If the
> > > =3D=3D> 6to4 relay router is outside the site then ip-proto-41
> > > =3D=3D> filtering at the border router will block the attack in
> > > =3D=3D> the first place anyway. If the relay router is *inside*
> > > =3D=3D> the site, then the IPv6 ingress filtering is the lone
> > > =3D=3D> mitigation. The end result is that the 6to4 relay should
> > > =3D=3D> really be positioned outside of the site's border routers;
> > > =3D=3D> otherwise, it could be spoofed into thinking that the
> > > =3D=3D> ISATAP router is a 6to4 router and not an ISATAP router.
> > > =3D=3D>
> > > =3D=3D> In attack #2, we have an IPv6 packet with a foreign source
> > > =3D=3D> address being forwarded by the ISATAP router to a 6to4
> > > =3D=3D> relay, but I mis-spoke when I said that this would be a
> > > =3D=3D> case of the ISATAP router forwarding a packet with a =
foreign
> > > =3D=3D> source address out of the ISATAP link. For all the ISATAP
> > > =3D=3D> router knows, the 6to4 relay is just an ordinary host on
> > > =3D=3D> the ISATAP link, so the ISATAP router actually believes it
> > > =3D=3D> is forwarding the packet *into* the ISATAP link (not out =
of
> > > =3D=3D> it). But as in attack #1, the attack is blocked by =
ip-proto-41
> > > =3D=3D> filtering at the border router between the ISATAP router =
and
> > > =3D=3D> the 6to4 relay. If there is no border router between the =
ISATAP
> > > =3D=3D> router and the 6to4 relay, then we have an identical =
instance
> > > =3D=3D> to attack #3 which I will discuss below. But, the best
> > > =3D=3D> operational practice would again be to have the 6to4 relay
> > > =3D=3D> oriented outside of a border router that filters =
ip-proto-41.
> > > =3D=3D>
> > > =3D=3D> Short summary is that in attack #1, the 6to4 relay thinks =
it
> > > =3D=3D> is talking to a 6to4 router and not an ISATAP router. In
> > > =3D=3D> attack #2, the ISATAP router thinks it is talking to a
> > > =3D=3D> simple host on the link and not a 6to4 relay. In both =
cases,
> > > =3D=3D> the attacks are mitigated when there is an ip-proto-41
> > > =3D=3D> filtering border router between the ISATAP router and the
> > > =3D=3D> 6to4 relay. Oftentimes, the "border router" will be a two-
> > > =3D=3D> interface router that implements 6to4 on a site-external
> > > =3D=3D> IPv4 interface and implements ISATAP on a site-internal
> > > =3D=3D> IPv4 interface and performs ip-proto-41 filtering on =
packets
> > > =3D=3D> from outside the site with an IPv4 destination =
corresponding
> > > =3D=3D> to the ISATAP interface. I will discuss attack #3 below:
> > >
> > > This attack is mitigated by
> > > IPv6 ingress filtering which is an IPv6 security consideration
> > > and not an ISATAP nor IPv4 security consideration. BCP
> > > recommendations for network ingress filtering are documented
> > > in RFC2827 and it is expected that IPv6 routers that configure
> > > ISATAP interfaces will implement IPv6 ingress filtering
> > > according to the BCP.
> > >
> > > So If my last comment is correct than I do not see how ingress =
filtering would
> > help here. The only
> > > case where=A0ingress filtering can help is in case of attack #3 =
when the routers
> > reside at the same
> > > site. In that case if the attack packet (packet 0) is sent from =
outside the
> > site then ingress
> > > filtering on the border of the site will drop the packet.
> > >
> > >
> > > =3D=3D> Correct about the IPv6 ingress filtering at the border,
> > > =3D=3D> but as with attack #2 my error in the previous message
> > > =3D=3D> was in thinking the ISATAP router A was forwarding the
> > > =3D=3D> packet *out* of the ISATAP link when in fact from the
> > > =3D=3D> ISATAP router's perspective it is forwarding the packet
> > > =3D=3D> to a simple host *inside* of the link.
> > > =3D=3D>
> > > =3D=3D> The problem here is that the ISATAP router is blindly
> > > =3D=3D> forwarding a packet to a node that it assumes is a simple
> > > =3D=3D> host on the ISATAP link without first verifying that the
> > > =3D=3D> node has demonstrated a willingness to participate as a
> > > =3D=3D> host on the link. As you have pointed out, this can lead
> > > =3D=3D> to strange scenarios when the anonymous node is a tunnel
> > > =3D=3D> router of some sort that does not participate in the
> > > =3D=3D> ISATAP link.
> > > =3D=3D>
> > > =3D=3D> It would not generally be possible for the ISATAP router
> > > =3D=3D> to check whether the IPv6 destination address is an ISATAP
> > > =3D=3D> address that embeds one of its own IPv4 addresses, because
> > > =3D=3D> when IPv4 private addresses are used the same IPv4 address
> > > =3D=3D> can (and often does) occur in multiple sites. So for =
example,
> > > =3D=3D> if the ISATAP router configures an IPv4 address 10.0.0.1
> > > =3D=3D> and is asked to forward an IPv6 packet with ISATAP
> > > =3D=3D> destination address 2001:DB8::0:5EFE:10.0.0.1 where the
> > > =3D=3D> IPv6 prefix is foreign, the router can't very well drop =
the
> > > =3D=3D> packet as this would block legitimate communications. It
> > > =3D=3D> is also not generally possible to check whether a foreign
> > > =3D=3D> link is an ISATAP link by looking for the magic token
> > > =3D=3D> "0:5EFE" as that token only has significance for ISATAP
> > > =3D=3D> links and not other link types.
> > > =3D=3D>
> > > =3D=3D> Instead, the mitigation I think makes the most sense is
> > > =3D=3D> for the ISATAP router to first verify that the node which
> > > =3D=3D> it assumes to be a simple ISATAP host has demonstrated a
> > > =3D=3D> willingness to participate in the link. That can be done
> > > =3D=3D> by having the ISATAP router first check the neighbor cache
> > > =3D=3D> when it has a packet to send to verify that there is a
> > > =3D=3D> cached entry corresponding to the destination. For nodes
> > > =3D=3D> that are willing ISATAP hosts on the link, there would
> > > =3D=3D> have been a neighbor cache entry created when the node
> > > =3D=3D> sends a Router Solicitation to the ISATAP router for the
> > > =3D=3D> purpose of discovering default router lifetimes and on-
> > > =3D=3D> link prefixes. So, the simple mitigations is for the =
ISATAP
> > > =3D=3D> router to forward the packet only if there is a =
pre-existing
> > > =3D=3D> neighbor cache entry and drop the packet otherwise. This
> > > =3D=3D> implies that the router should keep neighbor cache entires
> > > =3D=3D> for the duration of the minimum lifetime of the prefixes
> > > =3D=3D> it advertises in its Router Advertisements.
> > >
> > > > In general, I would like to point out that indeed as in
> > > > most other attacks these attacks may also be mitigated by
> > > > proper firewall rules. However, I do not believe that this
> > > > should be our only answer against these attacks. I believe
> > > > that since these attacks are made possible due to the
> > > > inherent characteristics of the tunnels they=A0should be
> > > > stopped intrinsically as much as possible by the tunnel
> > > > participants and not relay on outside filtering rules.
> > >
> > > In RFC5214, Section 10 we have: "restricting access to the
> > > link can be achieved by restricting access to the site". The
> > > mitigations do exactly that, and in such a way that ISATAP
> > > nodes can operate with only the necessary and sufficient
> > > checks. So on this point, I do not share your opinion.
> > >
> > > What about two ISATAP tunnels that reside on the same site like in =
attack #3.
> > Do you=A0also think that
> > > proto-41 filtering should barrier between the two tunnels within =
the site?
> > >
> > >
> > > =3D=3D> I think this may be overcome by the discussion above.
> > > =3D=3D> Short story is that operational practices must be
> > > =3D=3D> employed whereby an ISATAP router is not mistaken for
> > > =3D=3D> a 6to4 router. This is through proper arrangement of
> > > =3D=3D> 6to4 router/relay interfaces outside of the site border
> > > =3D=3D> rather than inside, and ISATAP router interfaces inside
> > > =3D=3D> of the site border rather than outside. Also proper
> > > =3D=3D> ip-proto-41 filtering and IPv6 ingress filtering at
> > > =3D=3D> site borders.
> > > =3D=3D>
> > > =3D=3D> Also, when there are multiple ISATAP links within the
> > > =3D=3D> same local IPv4 routing region, an ISATAP router should
> > > =3D=3D> first verify a node's willingness to act as a host on
> > > =3D=3D> the ISATAP link before blindly sending a packet to it.
> > > =3D=3D>
> > > =3D=3D> Fred
> > > =3D=3D> fred.l.templin@boeing.com
> > >
> > > Fred
> > > fred.l.templin@boeing.com
> > >
> > > ________________________________________
> > > From: "Templin, Fred L"
> > > To: Gabi Nakibly ; v6ops
> > > Cc: ipv6@ietf.org; secdir@ietf.org
> > > Sent: Monday, August 17, 2009 8:35:08 PM
> > > Subject: RE: Routing loop attacks using IPv6 tunnels
> > >
> > >
> > > Gabi,
> > >
> > > Thanks for publishing this work. In the document, attacks A, B and =
C
> > > correspond to a configuration that violates section 6.2 of =
RFC5214:
> > >
> > > > 6.2.=A0 ISATAP Interface Address Configuration
> > > >
> > > > =A0=A0Each ISATAP interface configures a set of locators =
consisting of IPv4
> > > >=A0=A0 address-to-interface mappings from a single site; i.e., an =
ISATAP
> > > >=A0=A0 interface's locator set MUST NOT span multiple sites.
> > >
> > > In particular, in scenarios A, B and C the IPv4 locator used for =
ISATAP
> > > is seen both within the enterprise as site #1 and within the =
global Internet
> > > itself as site #2. If the ISATAP interface is to be used as an =
enterprise-
> > > interior interface, it should therefore not accept IP-proto-41 =
packets
> > > coming from an IPv4 source outside of the enterprise nor source
> > > IP-proto-41 packets that are destined to an IPv4 node outside of =
the
> > > enterprise. This condition should be satisfied by having the site =
border
> > > routers implement IPv4 ingress filtering and ip-protocol-41 =
filtering as
> > > required in Section 10 of RFC5214.
> > >
> > > It is mentioned that attack C could also occur when the routers =
reside
> > > in the same site, where their addresses may be private. This would
> > > correspond to a case in which an attacker within the site attacks =
the
> > > site itself, which can easily be traced - especially when source =
address
> > > spoofing from a node within the site is prevented through proper =
ingress
> > > filtering.
> > >
> > > Fred
> > > fred.l.templin@boeing.com
> > >
> > > ________________________________________
> > > From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> > > Sent: Monday, August 17, 2009 8:21 AM
> > > To: v6ops
> > > Cc: ipv6@ietf.org; secdir@ietf.org
> > > Subject: Routing loop attacks using IPv6 tunnels
> > >
> > > Hi all,
> > > I would like to draw the attention of the list =
to=A0some=A0research=A0results which
> > my colleague and I at
> > > the National EW Research=A0& Simulation=A0Center have recently =
published. The
> > research presents a=A0class
> > > of routing loop attacks that abuses 6to4, ISATAP and Teredo. =
The=A0paper can be
> > found at:
> > > http://www.usenix.org/events/woot09/tech/full_papers/nakibly.pdf
> > >
> > > Here is the abstract:
> > > IPv6 is the future network layer protocol for the Internet. Since =
it is not
> > compatible with its
> > > predecessor, some interoperability mechanisms were designed. An =
important
> > category of these
> > > mechanisms is automatic tunnels, which enable IPv6 communication =
over an IPv4
> > network without prior
> > > configuration. This category includes ISATAP, 6to4 and Teredo. We =
present a
> > novel class of attacks
> > > that exploit vulnerabilities in these tunnels. These attacks take =
advantage of
> > inconsistencies
> > > between a tunnel's overlay IPv6 routing state and the native IPv6 =
routing
> > state. The attacks form
> > > routing loops which can be abused as a vehicle for traffic =
amplification to
> > facilitate DoS attacks.
> > > We exhibit five attacks of this class. One of the presented =
attacks can DoS a
> > Teredo server using a
> > > single packet. The exploited vulnerabilities are embedded in the =
design of the
> > tunnels; hence any
> > > implementation of these tunnels may be vulnerable. In particular, =
the attacks
> > were tested
> > > against the ISATAP, 6to4 and Teredo implementations of Windows =
Vista and
> > Windows Server 2008 R2.
> > >
> > > I think the results of the research warrant some corrective =
action. If
> > this=A0indeed shall be the
> > > general sentiment of the list, I will be happy write an =
appropriate I-D. The
> > mitigation measures we
> > > suggested in the paper are the best we could think of to =
completely eliminate
> > the problem. However
> > > they are far from perfect since=A0they would require=A0tunnel =
implementations to
> > be updated in case new
> > > types of automatic tunnels are introduced.
> > >
> > > Your comments are welcome.
> > >
> > > Gabi
> > >
> > >
> > >
>=20
>=20
>=20

From Fred.L.Templin@boeing.com  Fri Aug 28 13:43:41 2009
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6A3C93A6BF1; Fri, 28 Aug 2009 13:43:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.603
X-Spam-Level: 
X-Spam-Status: No, score=-5.603 tagged_above=-999 required=5 tests=[AWL=0.396,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6, 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 VS0A5VEhNPbq; Fri, 28 Aug 2009 13:43:40 -0700 (PDT)
Received: from slb-smtpout-01.boeing.com (slb-smtpout-01.boeing.com [130.76.64.48]) by core3.amsl.com (Postfix) with ESMTP id 0DC0228C2EF; Fri, 28 Aug 2009 13:43:30 -0700 (PDT)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by slb-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n7SKPRiU028364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Aug 2009 13:25:27 -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 n7SKPQuS008869; Fri, 28 Aug 2009 13:25:27 -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 n7SKPLGl008655; Fri, 28 Aug 2009 13:25:26 -0700 (PDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 28 Aug 2009 13:25:26 -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
Subject: RE: Routing loop attacks using IPv6 tunnels
Date: Fri, 28 Aug 2009 13:25:23 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A106555B3D@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <212591.98462.qm@web45502.mail.sp1.yahoo.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Routing loop attacks using IPv6 tunnels
Thread-Index: AcooErw/GQXNMWvASRqGPthARajqOQACrWeA
References: <475898.88672.qm@web45510.mail.sp1.yahoo.com><39C363776A4E8C4A94691D2BD9D1C9A106514554@XCH-NW-7V2.nw.nos.boeing.com> <39C363776A4E8C4A94691D2BD9D1C9A1065145AE@XCH-NW-7V2.nw.nos.boeing.com> <39C363776A4E8C4A94691D2BD9D1C9A106555996@XCH-NW-7V2.nw.nos.boeing.com> <212591.98462.qm@web45502.mail.sp1.yahoo.com>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Gabi Nakibly" <gnakibly@yahoo.com>, "v6ops" <v6ops@ops.ietf.org>
X-OriginalArrivalTime: 28 Aug 2009 20:25:26.0120 (UTC) FILETIME=[AD5D0E80:01CA281D]
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2009 20:43:41 -0000

Gabi,

> -----Original Message-----
> From: Gabi Nakibly [mailto:gnakibly@yahoo.com]
> Sent: Friday, August 28, 2009 12:07 PM
> To: Templin, Fred L; v6ops
> Cc: ipv6@ietf.org; secdir@ietf.org
> Subject: Re: Routing loop attacks using IPv6 tunnels
>=20
> Correct. All the attacks rely on the fact that the ISATAP router
encapsulates/decapsulates a packet
> the 6to4 relay decapsulates/encapsulates, respectively. So the two
tunnels must have the same
> encapsulation type.

OK. That will greatly simplify the checks needed for new
automatic tunneling protocols that have a format other
than ip-proto-41.

Fred
fred.l.templin@boeing.com

> ----- Original Message ----
> > From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
> > To: Gabi Nakibly <gnakibly@yahoo.com>; v6ops <v6ops@ops.ietf.org>
> > Cc: ipv6@ietf.org; secdir@ietf.org
> > Sent: Friday, August 28, 2009 7:23:03 PM
> > Subject: RE: Routing loop attacks using IPv6 tunnels
> >
> > Gabi,
> >
> > Correct me if I am wrong, but if there were a new version
> > of ISATAP that did not use ip-proto-41 encapsulation but
> > instead used a different kind of encapsulation, then it
> > need not concern itself with routing loop interactions
> > with 6to4 relays since 6to4 relays only know about
> > ip-proto-41. Does that match your understanding?
> >
> > Thanks - Fred
> > fred.l.templin@boeing.com
>=20
>=20
>=20
>=20

From hvn@archred.com  Mon Aug 31 02:49:51 2009
Return-Path: <hvn@archred.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 50AFD3A6ACA for <ipv6@core3.amsl.com>; Mon, 31 Aug 2009 02:49:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 wVyIQPKpzH9Q for <ipv6@core3.amsl.com>; Mon, 31 Aug 2009 02:49:50 -0700 (PDT)
Received: from mail.archred.com (mail.archred.com [IPv6:2001:670:8c:26::19]) by core3.amsl.com (Postfix) with ESMTP id 2B2F83A6952 for <ipv6@ietf.org>; Mon, 31 Aug 2009 02:49:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.archred.com (Postfix) with ESMTP id 9DCF3A2126; Mon, 31 Aug 2009 12:49:58 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at archred.com
Received: from mail.archred.com ([127.0.0.1]) by localhost (mail.archred.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7childqX+aGl; Mon, 31 Aug 2009 12:49:58 +0300 (EEST)
Received: from [172.20.3.142] (unknown [172.20.3.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.archred.com (Postfix) with ESMTPSA id 17F3FA211B; Mon, 31 Aug 2009 12:49:58 +0300 (EEST)
Message-ID: <4A9B9CC5.2080004@archred.com>
Date: Mon, 31 Aug 2009 12:49:57 +0300
From: Heikki Vatiainen <hvn@archred.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Seiichi Kawamura <kawamucho@mesh.ad.jp>
Subject: Re: One more example for draft-ietf-6man-text-addr-representation
References: <4A943C38.2010506@archred.com> <4A9603A8.7040306@mesh.ad.jp> <4A960862.30008@gmail.com> <4A96101B.9030000@mesh.ad.jp>
In-Reply-To: <4A96101B.9030000@mesh.ad.jp>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 31 Aug 2009 02:57:12 -0700
Cc: Stefan Winter <stefan.winter@restena.lu>, ipv6@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Aug 2009 09:49:51 -0000

Seiichi Kawamura wrote:

>>> As far as X.509 certificates go, this point is correct, but using
>>> IP addresses in subjectAltName (lower case s) is a really bad 
>>> idea anyway. We recommend against this in section 5.3.5 of 
>>> draft-carpenter-renum-needs-work-03 (which is under AD review for
>>> Informational status).

> Yes. I agree. I did have doubts about focusing on subjectAltName as a
> common example, but I could not come up with a better one right now.

If there is a subsection that touches certificates, I think Subject and
Issuer fields should also be mentioned, since CNs (common name)
sometimes contain addresses. Mentioning them all should make a better
example.

I noticed Brian's draft does not mention this explicitly, but I take
"Any other use of IP addresses in cryptographic material is likely to be
similarly troublesome." is there to cover CNs too.

I have added a Cc: to Stefan Winter, since Stefan is author of
draft-ietf-radext-radsec-05 "RADIUS over TCP/TLS (RadSec)". The reason I
noticed the address presentation problem with subjectAltName was when I
was experimenting with RadSec.  Part of the draft describes how to
verify certificates when subjectAltName or CN contains IP addresses.

> I did think the verification problem that Heikki mentioned is 
> important and can happen in other protocols so I might fix the 
> wording to focus on the problem.

Certificates with IP addresses are sold and used, so I would not be
surprised if address presentation leads to verification problems.

-- 
Heikki Vatiainen, Arch Red Oy
+358 44 087 6547



From gnakibly@yahoo.com  Mon Aug 31 12:49:23 2009
Return-Path: <gnakibly@yahoo.com>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0337A3A6C12 for <ipv6@core3.amsl.com>; Mon, 31 Aug 2009 12:49:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.535
X-Spam-Level: 
X-Spam-Status: No, score=-1.535 tagged_above=-999 required=5 tests=[AWL=0.464,  BAYES_00=-2.599, J_CHICKENPOX_13=0.6]
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 SWkIyQ6U5hpH for <ipv6@core3.amsl.com>; Mon, 31 Aug 2009 12:49:22 -0700 (PDT)
Received: from web45509.mail.sp1.yahoo.com (web45509.mail.sp1.yahoo.com [68.180.197.125]) by core3.amsl.com (Postfix) with SMTP id 3FC2428C4F7 for <ipv6@ietf.org>; Mon, 31 Aug 2009 12:47:10 -0700 (PDT)
Received: (qmail 98032 invoked by uid 60001); 31 Aug 2009 19:40:41 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251747641; bh=zhNPsfKDxwgYpOdxPcJ/kFAj/cU9X04ofIKwq2shxAg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bAe4oZIClVliTdACPXT+K2MxhTSoGi6My0PdW/a7MIy/GMfmnBtRcsGHoxFiwrNknAn0uHYu3l5gkVuWOwscvcRs5l+Yq7pEXCOXhV2FYc0ARI4eGomUCzLuCV7lwZFx6jUcg0iyeuQCiL5yXKglKobhh6Np6OKUf24s8qsTLog=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hGctNg/yOxQvJFiHrck/ytD8oFj14u4sAUyW5kgdDdukR+57fRg1Z3qAsoZNf+/B/ba9o4npoBmxyPgI9ywIFLqjZ4vkd78RQcvt3SeAvmtICurGx+EeXmy2VU+6MsOhwvuj1RNgJm/mjswI9OXLQwQixiGpV9uaqk4WFGoKVso=;
Message-ID: <373420.97768.qm@web45509.mail.sp1.yahoo.com>
X-YMail-OSG: Ps8fNCwVM1kh5gxir1qDsI6hm.rpcqKXMZQGBHuSxCUlb5Y6WnErmKUYDwPJJ4MmdWcTiY.SS5jphrkGpAmrEeChKZvWnGF7k8GNJHEN.gRn7DpUe.AWB2Vbim.C8DcWR9YIwSOKPxsRAms5iMaLSx9L6feyymr2BWCRYjE2arHDzmVVoePpQpLqTkPG1kyIkjh6elUX6xt_A8rvUphmXt2c6ENXgv_cyHoUjV73Zi3GtrQk7IOFQP54RduKE0tsa_mfPl3k
Received: from [89.138.8.21] by web45509.mail.sp1.yahoo.com via HTTP; Mon, 31 Aug 2009 12:40:41 PDT
X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2
References: <31484.26522.qm@web45503.mail.sp1.yahoo.com> <39C363776A4E8C4A94691D2BD9D1C9A106555B38@XCH-NW-7V2.nw.nos.boeing.com>
Date: Mon, 31 Aug 2009 12:40:41 -0700 (PDT)
From: Gabi Nakibly <gnakibly@yahoo.com>
Subject: Re: Routing loop attacks using IPv6 tunnels
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, v6ops <v6ops@ops.ietf.org>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A106555B38@XCH-NW-7V2.nw.nos.boeing.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ipv6@ietf.org, secdir@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Aug 2009 19:49:23 -0000

Fred,=0A=0AI agree that the source address check discussed below should be =
made. I would also add a forth check=A0to mitigate attack #3 as a second la=
yer of defense in case the opposite ISATAP router does not make the=A0prope=
r check on the destination address.=0A=0Aisatap_xmt() {=0A=A0=A0=A0=A0 ...=
=0A=A0=A0=A0=A0 if (src =3D=3D "<foreign prefix>::0200:5efe:<my IP address>=
")=0A=A0=A0=A0=A0=A0=A0 drop_pkt(); /* attack #3 mitigation */=0A=A0=A0=A0=
=A0 ...=0A=A0}=0A=0AGabi=0A=0A----- Original Message ----=0A> From: "Templi=
n, Fred L" <Fred.L.Templin@boeing.com>=0A> To: Gabi Nakibly <gnakibly@yahoo=
.com>; v6ops <v6ops@ops.ietf.org>=0A> Cc: ipv6@ietf.org; secdir@ietf.org=0A=
> Sent: Friday, August 28, 2009 11:23:40 PM=0A> Subject: RE: Routing loop a=
ttacks using IPv6 tunnels=0A> =0A> Gabi,=0A> =0A> Thanks for your continued=
 correspondence, and see below:=0A> =0A> > -----Original Message-----=0A> >=
 From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=0A> > Sent: Friday, August =
28, 2009 12:02 PM=0A> > To: Templin, Fred L; v6ops=0A> > Cc: ipv6@ietf.org;=
 secdir@ietf.org=0A> > Subject: Re: Routing loop attacks using IPv6 tunnels=
=0A> > =0A> > Fred,=0A> > A quick summary of our discussion up until now: t=
he best mitigation of=A0most of =0A> these=A0attacks is=0A> > indeed the pr=
oto-41 and ingress filtering on the border of the ISATAP site. If =0A> it i=
s indeed=0A> > implemented. I=A0assume that not all sites deploy such filte=
ring for lack of =0A> awareness or since the=0A> > proto-41 filtering may b=
reak other tunnels the site may employ. However, I do =0A> not have hard ev=
idence=0A> > on this. I would be happy if others on the list will refute or=
 justify this =0A> assumption.=0A> > =0A> > If this assumption is (even par=
tially) correct than I think that the ISATAP =0A> router should defend=0A> =
> itself.=0A> =0A> If there is operational assurance of filtering, then I t=
hink there=0A> is no problem. For the other cases, I am beginning to come a=
round=0A> to your opinion.=0A> =0A> > Moreover, as I mention below the proo=
-41 filtering is not effective in case of =0A> attack=0A> > #3=A0and=A0the =
attacker is internal to the site.=0A> =0A> I'll speak more on this below.=
=0A> =0A> > So IMHO the best way is the mitigations I suggested and=0A> > t=
hat you illustrated below in pseudo-code.=0A> =0A> OK.=0A> =0A> > See=A0fur=
ther comments inline.=0A> > =0A> > Gabi=0A> > =0A> > ----- Original Message=
 ----=0A> > > From: "Templin, Fred L" =0A> > > To: Gabi Nakibly ; v6ops =0A=
> > > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > > Sent: Monday, August 24, 2=
009 10:04:34 PM=0A> > > Subject: RE: Routing loop attacks using IPv6 tunnel=
s=0A> > >=0A> > > Gabi,=0A> > >=0A> > > > -----Original Message-----=0A> > =
> > From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=0A> > > > Sent: Monday, =
August 24, 2009 4:44 AM=0A> > > > To: Templin, Fred L; v6ops=0A> > > > Cc: =
ipv6@ietf.org; secdir@ietf.org=0A> > > > Subject: Re: Routing loop attacks =
using IPv6 tunnels=0A> > > >=0A> > > > Fred,=0A> > > > I=A0initially very m=
uch=A0liked your suggestion regarding the check=A0of the=0A> > > neighbor c=
ache before=0A> > > > forwarding a packet into the tunnel.=A0It truly addre=
sses the root cause of =0A> the=0A> > > problem ans is simple=0A> > > > eno=
ugh to implement. However, I realized that an attacker can send a=0A> > > s=
poofed=A0RS to the ISATAP router=0A> > > > as if it came from the 6to4 rela=
y. The router would then send=A0a RA=A0to =0A> it=A0and=0A> > > consequentl=
y change its=0A> > > > neighbor cache. So it seems=A0that this defense does=
 not add much.=A0Wouldn't =0A> you=0A> > > agree?=0A> > >=0A> > > I agree t=
hat my proposed mitigation is only useful when there=0A> > > is assurance o=
f a coherent neighbor cache in the ISATAP router.=0A> > > That would be tru=
e in the case in which the ISATAP router is=0A> > > located within a site p=
rotected by border routers that perform=0A> > > ip-proto-41 and ingress fil=
tering, and in which there is no=0A> > > untraceable IPv4 source address sp=
oofing. So AFAICT, my proposed=0A> > > mitigation is still necessary for pr=
eventing attack #3 when=0A> > > ISATAP routers A and B are on separate ISAT=
AP links within=0A> > > the same site-internal IPv4 routing region.=0A> > >=
=0A> > =0A> > This is only true when the attacker is outside the site and p=
roto-41 filtering =0A> is employed. If the=0A> > attacker is internal to th=
e site then the proto-41 filtering will not help and =0A> the neighbor cach=
e can=0A> > be poisoned.=0A> =0A> Since the ISATAP checks require that the =
IPv6 source embed the=0A> IPv4 source and/or the IPv4 source is a PRL route=
r, you must be=0A> speaking here about IPv4 source address spoofing from wi=
thin the=0A> site. For sites that allow intra-site source address spoofing,=
=0A> I think much more serious problems could manifest themselves=0A> that =
would be completely unrelated to ISATAP. I believe you=0A> will also find o=
ther automatic tunneling protocols besides=0A> ISATAP that operate under an=
 assumption of no intra-site IPv4=0A> source address spoofing. =0A> =0A> > =
> > I completely agree with your observation on the non-feasibility of=0A> =
> > verifying=A0that the=0A> > > > destination=A0ISATAP address does not in=
clude=A0a local=A0IPv4 address=A0since the=0A> > > ISATAP address may inclu=
de=0A> > > > a private IPv4 address. On the other hand, a check on public I=
Pv4 =0A> addresses is=0A> > > acceptable.=A0If the=0A> > > > check would be=
 done only on ISATAP addresses that include public IPv4=0A> > > addresses t=
hen this will=0A> > > > eliminate the attacks in which the two victims resi=
de=A0at different sites. =0A> Note=0A> > > that if attack #3=A0is=0A> > > >=
 launched on two ISATAP routers=A0having private addresses at two different=
 =0A> sites=0A> > > then the attack will=0A> > > > not work anyway since on=
e router can not send a direct=A0IPv4 packet to the=0A> > > other. In addit=
ion,=0A> > > > to=A0mitigate attacks in which the other victim is a 6to4 re=
lay (such as =0A> attack=0A> > > #1) then a check would=0A> > > > have to b=
e done on a 6to4 address, i.e. the destination address must not =0A> be=0A>=
 > > "2002:> > the ISATAP router>::*". In this case the IPv4 address must b=
e =0A> public,=0A> > > according to=0A> > > >=A0 the 6to4 spec.=0A> > > >=
=0A> > > > As you also noted there is another problem with this check since=
 the =0A> string=0A> > > "200::5EFE" is not unique=0A> > > > to ISATAP link=
s. On the other hand, it seems that the probability to =0A> encounter=0A> >=
 > a non-malicious packet=0A> > > > with a destination address having an II=
D that equals "200:5EFE:> IPv4 =0A> address>" is=0A> > > > pretty slim.=0A>=
 > > >=0A> > > > This check is definitely not a=A0perfect solution, and I s=
ure hope that =0A> someone=0A> > > will come up with a=0A> > > > better one=
 for mitigating the routing loops. However, I would be happy if=0A> > > the=
re is some kind of other=0A> > > > mitigation=A0measures besides packet fil=
tering=A0(proto-41 and ingress) =0A> by=A0other=0A> > > nodes (which=A0does=
 not=0A> > > > necessarily exist).=0A> > >=0A> > > You seem to be envisioni=
ng a scenario of ISATAP router operation=0A> > > with public IPv4 addresses=
 and outside of any site border routers=0A> > > that perform ingress filter=
ing and ip-proto-41 filtering. That has=0A> > > traditionally been seen as =
the domain of 6to4, but I am happy to=0A> > > discuss the possibility of wh=
at I called the "inside-out ISATAP=0A> > > model" in a list message long ag=
o (which AFAICT is the scenario=0A> > > you are alluding to).=0A> > >=0A> >=
 =0A> > Well,=A0I am referring to any=A0ISATAP deployment=A0with public IPv=
4 addresses and =0A> no proto-41 filtering. I=0A> > imagine that in practic=
e there are such deployments which are not the =0A> "inside-out ISATAP mode=
l"=A0.=0A> > However, I must admit that I do not rely here on hard evidence=
.=0A> > =0A> > > So, if the public IPv4 Internet were considered as one gig=
antic=0A> > > "site" and we wanted to do ISATAP on that site, it would be n=
ice=0A> > > to divide the site into multiple logical partitions, with each=
=0A> > > partition identified by a PRL name and a unique set of IPv6=0A> > =
> prefixes. But then, we have the scenario you are describing in=0A> > > wh=
ich we can't trust the integrity of the ISATAP router's=0A> > > neighbor ca=
che due to the possibility for untraceable IPv4=0A> > > source address spoo=
fing such that the neighbor cache check=0A> > > mitigation can be subverted=
.=0A> > >=0A> > > This means that if we want to support the inside-out ISAT=
AP=0A> > > model then the routing loops could be mitigated either by=0A> > =
> 1) implementing the destination address checks you are=0A> > > suggesting=
, or 2) by not allowing ISATAP router interfaces=0A> > > that are not behin=
d filtering border routers to advertise=0A> > > non-link-local on-link IPv6=
 prefixes and/or forward packets=0A> > > from non-link-local prefixes in th=
e first place.=0A> > >=0A> > > If we took the easy way out and did 2), then=
 the entire=0A> > > IPv4 Internet would look like one gigantic ISATAP link =
that=0A> > > only did IPv6 link-local. So, nodes could ping6 each others'=
=0A> > > ISATAP link-local addresses but that's about it.=0A> > >=0A> > > I=
f we took the more ambitious route and allowed ISATAP to=0A> > > flourish f=
ully within the global IPv4 Internet, then we=0A> > > would essentially be =
deprecating 6to4 - so it isn't=0A> > > surprising that your address checks =
mostly involve 6to4=0A> > > suppression. Assuming this, if I read your atta=
ck scenarios=0A> > > 1 through 3 correctly then scenarios 1 and 3 are mitig=
ated=0A> > > by a receive-side check and scenario 2 is mitigated by a=0A> >=
 > send-side check. In particular, the pseudo-code would be:=0A> > >=0A> > =
> =A0 isatap_rcv() {=0A> > > =A0 =A0 ...=0A> > > =A0 =A0 if (dst =3D=3D "20=
02:::*")=0A> > > =A0 =A0 =A0 drop_pkt(); /* attack #1 mitigation */=0A> > >=
=0A> > > =A0 =A0 if (dst =3D=3D "*::0200:5efe:")=0A> > > =A0=A0=A0 drop_pkt=
(); /* attack #3 mitigation */=0A> > > =A0 =A0 ...=0A> > > =A0 }=0A> > >=0A=
> > =0A> > Correct (with the correction you sent after this email).=0A> =0A=
> OK.=0A> =0A> > > =A0 isatap_xmt() {=0A> > > =A0 =A0 ...=0A> > > =A0 =A0 i=
f (dst =3D=3D "*::0200:5efe:192.88.99.1")=0A> > > =A0 =A0 =A0 drop_pkt(); /=
* attack #2 mitigation */=0A> > > =A0 =A0 ...=0A> > > =A0 }=0A> > =0A> > Th=
is will not necessarily work, since the 6to4 relay may have a=A0unicast =0A=
> address the ISATAP router may=0A> > not be aware of. The best way to miti=
gate attack #2 is=A0by the 6to4 relay with =0A> a check similar to that=0A>=
 > of attack #2 above. IMO, the second best way, as Remi suggested on anoth=
er =0A> thread, is for the ISATAP=0A> > router to drop the packet if (src=
=A0 =3D=3D 2002:::*"). However, this =0A> check is useful only=0A> > when t=
he 6to4 relay validates that the IPv6 source address corresponds to the =0A=
> IPv4 one (this is=0A> > in=A0accordance=A0with the 6to4 spec, however it =
does not always get implemented). =0A> If this is not true=0A> > then the a=
ttacker does not have to send the attack packet with such an =0A> address.=
=0A> =0A> Keeping with the philosophy of the ISATAP router defending itself=
,=0A> I believe it would be best to take Remi's suggestion and lay any=0A> =
complications at the doorstep of the 6to4 relay if it fails to=0A> adhere t=
o the spec.=0A> =0A> Thanks - Fred=0A> fred.l.templin@boeing.com=0A> =0A> >=
 > Does the above look right to you? And is this everything,=0A> > > or are=
 there other scenarios we need to consider?=0A> > >=0A> > =0A> > =0A> > > T=
hanks - Fred=0A> > > fred.l.templin@boeing.com=0A> > >=0A> > > >=0A> > > > =
Gabi=0A> > > >=0A> > > > ----- Original Message ----=0A> > > > From: "Templ=
in, Fred L"=0A> > > > To: Gabi Nakibly ; v6ops=0A> > > > Cc: ipv6@ietf.org;=
 secdir@ietf.org=0A> > > > Sent: Wednesday, August 19, 2009 6:16:18 PM=0A> =
> > > Subject: RE: Routing loop attacks using IPv6 tunnels=0A> > > >=0A> > =
> > Hi Gabi,=0A> > > >=0A> > > > I'm sorry to have to keep turning this int=
o plaintext,=0A> > > > but annotation is difficult otherwise. See below for=
=0A> > > > my responses (=3D=3D>):=0A> > > >=0A> > > > ____________________=
____________________=0A> > > > From: Gabi Nakibly [mailto:gnakibly@yahoo.co=
m]=0A> > > > Sent: Wednesday, August 19, 2009 1:49 AM=0A> > > > To: Templin=
, Fred L; v6ops=0A> > > > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > > > Subj=
ect: Re: Routing loop attacks using IPv6 tunnels=0A> > > >=0A> > > > Fred,=
=0A> > > > See my comments inline ().=0A> > > >=0A> > > > _________________=
_______________________=0A> > > > From: "Templin, Fred L"=0A> > > > To: Gab=
i Nakibly ; v6ops=0A> > > > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > > > Se=
nt: Tuesday, August 18, 2009 6:48:45 PM=0A> > > > Subject: RE: Routing loop=
 attacks using IPv6 tunnels=0A> > > >=0A> > > > Gabi,=0A> > > >=0A> > > > _=
_______________________________________=0A> > > > From: Gabi Nakibly [mailt=
o:gnakibly@yahoo.com]=0A> > > > Sent: Tuesday, August 18, 2009 3:29 AM=0A> =
> > > To: Templin, Fred L; v6ops=0A> > > > > Cc: ipv6@ietf.org; secdir@ietf=
.org=0A> > > > > Subject: Re: Routing loop attacks using IPv6 tunnels=0A> >=
 > > >=0A> > > > > Indeed the ISATAP interface of the ISATAP router is mean=
t=0A> > > > > to be an enterprise-interior (note that=A0it is still=A0assum=
ed=0A> > > > > that the associated IPv4 address is=A0non-private). As=A0we=
=0A> > > > > explicitly note in the paper, the first three attacks=A0will=
=0A> > > > > be mitigated=A0if proper protocol-41 filtering is deployed on=
=0A> > > > > the site's border. However, note that RFC5214 does not mandate=
=0A> > > > > or require this filtering.=0A> > > >=0A> > > > The RFC5214 Sec=
urity Considerations makes clear the=0A> > > > consequences of not implemen=
ting IPv4 ingress filtering=0A> > > > and ip-protocol-41 filtering (i.e., a=
 possible spooing=0A> > > > attack in which spurious ip-protocol-41 packets=
 are=0A> > > > injected into an ISATAP link from outside). RFC5214=0A> > > =
> Section 6.2 additionally requires that an ISATAP interface's=0A> > > > lo=
cator set MUST NOT span multiple sites. This means that the=0A> > > > ISATA=
P interface must not decapsulate nor source ip-proto-41=0A> > > > packets w=
ithin multiple sites, where the enterprise interior=0A> > > > is site #1 an=
d the global Internet is site #2. ip-protocol-41=0A> > > > filtering is the=
 way in which the ISATAP interface is=0A> > > > restricted to a single site=
.=0A> > > >=0A> > > > Now let me see that I understand Section 6.2 correctl=
y. In=0A> > > > attack #2, for example, I assume the ISATAP router has two=
=0A> > > > physical interfaces. A site-internal IPv4 interface with an=0A> =
> > > address IPisatap and a site-external IPv6 interface. I also=0A> > > >=
 assume that there=A0is another border router which connects the=0A> > > > =
site to the IPv4 Internet.=A0The ISATAP router has an ISATAP=0A> > > > inte=
rface with a single locator: (IPisatap, site-internal=0A> > > > interface).=
=A0When the ISATAP router gets an IPv6 via its=0A> > > > external interface=
 it will encapsulate the packet accordingly=0A> > > > and forward it throug=
h the internal IPv4 interface. If the=0A> > > > encapsulated packet is=A0de=
stined to a node outside the site=0A> > > > then the only thing that stops =
it is=A0a proto-41 filtering=0A> > > > at the=A0other border router of the =
site. Did I get this right?=0A> > > >=0A> > > >=0A> > > > =3D=3D> In this c=
ase, yes - the ip-proto-41 filtering is at a=0A> > > > =3D=3D> border route=
r. I know of at least one major enterprise=0A> > > > =3D=3D> network that d=
oes this.=0A> > > >=0A> > > > > It is only mentioned as a possible mitigati=
on against=0A> > > > > incoming spurious protocol-41 packets. In addition,=
=0A> > > > > Section 10 of RFC5214 only mentions=A0ingress not=A0egress=0A>=
 > > > > filtering.=A0Hence it=A0will not stop attack #2.=0A> > > >=0A> > >=
 > We are now talking about ip-proto-41 filtering; not ingress=0A> > > > fi=
ltering. ip-proto-41 filtering is in both directions. It=0A> > > > prevents=
 ip-proto-41 packets from entering the enterprise=0A> > > > interior ISATAP=
 site from the Internet and prevents=0A> > > > ip-proto-41 packets from ent=
ering the Internet ISATAP=0A> > > > site from the enterprise interior. Else=
 the ISATAP=0A> > > > interface would span multiple sites.=0A> > > >=0A> > =
> > Besides, "ingress" filtering is not about packets coming=0A> > > > from=
 the Internet into the end site, but rather it is=0A> > > > about packets l=
eaving the end site and going out into=0A> > > > the Internet. RFC2827 (BCP=
38) documents ingress filtering.=0A> > > >=0A> > > > OK. I see what you are=
 saying here.=0A> > > >=0A> > > >=0A> > > > =3D=3D> OK.=0A> > > >=0A> > > >=
 > In addition,=0A> > > > > as mentioned, protocol-41 filtering is not help=
ful when=0A> > > > > attack #3 is launched on two routers that reside in th=
e=0A> > > > > same site. Note that=A0it=A0may be=A0possible for=A0the attac=
k=0A> > > > > packet=A0to be sourced from outside the site unless proper=0A=
> > > > > filtering of incoming IPv6 packets is deployed. If the=0A> > > > =
> attacker resides in the site, usually ingress filtering=0A> > > > > will =
not be helpful since it is deployed in general on=0A> > > > > the site's bo=
rder.=0A> > > >=0A> > > > Here, we have the ISATAP router in both cases sou=
rcing a=0A> > > > packet from a foreign prefix.=0A> > > >=0A> > > > Well, I=
 do not see how this is correct. In attacks #1 and #3 the ISATAP =0A> route=
r=0A> > > sources (actually=0A> > > > forwards) an IPv6=A0packet with=A0a s=
ource address having=A0the =0A> corresponding=A0prefix=0A> > > of the ISATA=
P tunnel.=0A> > > > In attacks #2 and #3 the ISATAP router sources and IPv4=
 packet with its =0A> own=0A> > > IPv4 address as the=0A> > > > source addr=
ess.=0A> > > >=0A> > > >=0A> > > > =3D=3D> There were a number of errors in=
 what I said in my last=0A> > > > =3D=3D> message, so let me see if I can g=
et it right here:=0A> > > > =3D=3D>=0A> > > > =3D=3D> In attacks #1 and #2 =
there are two cases to consider. Case=0A> > > > =3D=3D> 1 in which a border=
 router separates the 6to4 relay from the=0A> > > > =3D=3D> ISATAP router, =
and case 2 in which no border router separates=0A> > > > =3D=3D> the 6to4 r=
elay from the ISATAP router.=0A> > > > =3D=3D>=0A> > > > =3D=3D> In attack =
#1, we have an IPv6 packet with a local source=0A> > > > =3D=3D> address en=
tering the site from the outside. IPv6 ingress=0A> > > > =3D=3D> filtering =
at the site border router should prevent the=0A> > > > =3D=3D> packet from =
entering the site in the first place. If the=0A> > > > =3D=3D> 6to4 relay r=
outer is outside the site then ip-proto-41=0A> > > > =3D=3D> filtering at t=
he border router will block the attack in=0A> > > > =3D=3D> the first place=
 anyway. If the relay router is *inside*=0A> > > > =3D=3D> the site, then t=
he IPv6 ingress filtering is the lone=0A> > > > =3D=3D> mitigation. The end=
 result is that the 6to4 relay should=0A> > > > =3D=3D> really be positione=
d outside of the site's border routers;=0A> > > > =3D=3D> otherwise, it cou=
ld be spoofed into thinking that the=0A> > > > =3D=3D> ISATAP router is a 6=
to4 router and not an ISATAP router.=0A> > > > =3D=3D>=0A> > > > =3D=3D> In=
 attack #2, we have an IPv6 packet with a foreign source=0A> > > > =3D=3D> =
address being forwarded by the ISATAP router to a 6to4=0A> > > > =3D=3D> re=
lay, but I mis-spoke when I said that this would be a=0A> > > > =3D=3D> cas=
e of the ISATAP router forwarding a packet with a foreign=0A> > > > =3D=3D>=
 source address out of the ISATAP link. For all the ISATAP=0A> > > > =3D=3D=
> router knows, the 6to4 relay is just an ordinary host on=0A> > > > =3D=3D=
> the ISATAP link, so the ISATAP router actually believes it=0A> > > > =3D=
=3D> is forwarding the packet *into* the ISATAP link (not out of=0A> > > > =
=3D=3D> it). But as in attack #1, the attack is blocked by ip-proto-41=0A> =
> > > =3D=3D> filtering at the border router between the ISATAP router and=
=0A> > > > =3D=3D> the 6to4 relay. If there is no border router between the=
 ISATAP=0A> > > > =3D=3D> router and the 6to4 relay, then we have an identi=
cal instance=0A> > > > =3D=3D> to attack #3 which I will discuss below. But=
, the best=0A> > > > =3D=3D> operational practice would again be to have th=
e 6to4 relay=0A> > > > =3D=3D> oriented outside of a border router that fil=
ters ip-proto-41.=0A> > > > =3D=3D>=0A> > > > =3D=3D> Short summary is that=
 in attack #1, the 6to4 relay thinks it=0A> > > > =3D=3D> is talking to a 6=
to4 router and not an ISATAP router. In=0A> > > > =3D=3D> attack #2, the IS=
ATAP router thinks it is talking to a=0A> > > > =3D=3D> simple host on the =
link and not a 6to4 relay. In both cases,=0A> > > > =3D=3D> the attacks are=
 mitigated when there is an ip-proto-41=0A> > > > =3D=3D> filtering border =
router between the ISATAP router and the=0A> > > > =3D=3D> 6to4 relay. Ofte=
ntimes, the "border router" will be a two-=0A> > > > =3D=3D> interface rout=
er that implements 6to4 on a site-external=0A> > > > =3D=3D> IPv4 interface=
 and implements ISATAP on a site-internal=0A> > > > =3D=3D> IPv4 interface =
and performs ip-proto-41 filtering on packets=0A> > > > =3D=3D> from outsid=
e the site with an IPv4 destination corresponding=0A> > > > =3D=3D> to the =
ISATAP interface. I will discuss attack #3 below:=0A> > > >=0A> > > > This =
attack is mitigated by=0A> > > > IPv6 ingress filtering which is an IPv6 se=
curity consideration=0A> > > > and not an ISATAP nor IPv4 security consider=
ation. BCP=0A> > > > recommendations for network ingress filtering are docu=
mented=0A> > > > in RFC2827 and it is expected that IPv6 routers that confi=
gure=0A> > > > ISATAP interfaces will implement IPv6 ingress filtering=0A> =
> > > according to the BCP.=0A> > > >=0A> > > > So If my last comment is co=
rrect than I do not see how ingress filtering =0A> would=0A> > > help here.=
 The only=0A> > > > case where=A0ingress filtering can help is in case of a=
ttack #3 when the =0A> routers=0A> > > reside at the same=0A> > > > site. I=
n that case if the attack packet (packet 0) is sent from outside =0A> the=
=0A> > > site then ingress=0A> > > > filtering on the border of the site wi=
ll drop the packet.=0A> > > >=0A> > > >=0A> > > > =3D=3D> Correct about the=
 IPv6 ingress filtering at the border,=0A> > > > =3D=3D> but as with attack=
 #2 my error in the previous message=0A> > > > =3D=3D> was in thinking the =
ISATAP router A was forwarding the=0A> > > > =3D=3D> packet *out* of the IS=
ATAP link when in fact from the=0A> > > > =3D=3D> ISATAP router's perspecti=
ve it is forwarding the packet=0A> > > > =3D=3D> to a simple host *inside* =
of the link.=0A> > > > =3D=3D>=0A> > > > =3D=3D> The problem here is that t=
he ISATAP router is blindly=0A> > > > =3D=3D> forwarding a packet to a node=
 that it assumes is a simple=0A> > > > =3D=3D> host on the ISATAP link with=
out first verifying that the=0A> > > > =3D=3D> node has demonstrated a will=
ingness to participate as a=0A> > > > =3D=3D> host on the link. As you have=
 pointed out, this can lead=0A> > > > =3D=3D> to strange scenarios when the=
 anonymous node is a tunnel=0A> > > > =3D=3D> router of some sort that does=
 not participate in the=0A> > > > =3D=3D> ISATAP link.=0A> > > > =3D=3D>=0A=
> > > > =3D=3D> It would not generally be possible for the ISATAP router=0A=
> > > > =3D=3D> to check whether the IPv6 destination address is an ISATAP=
=0A> > > > =3D=3D> address that embeds one of its own IPv4 addresses, becau=
se=0A> > > > =3D=3D> when IPv4 private addresses are used the same IPv4 add=
ress=0A> > > > =3D=3D> can (and often does) occur in multiple sites. So for=
 example,=0A> > > > =3D=3D> if the ISATAP router configures an IPv4 address=
 10.0.0.1=0A> > > > =3D=3D> and is asked to forward an IPv6 packet with ISA=
TAP=0A> > > > =3D=3D> destination address 2001:DB8::0:5EFE:10.0.0.1 where t=
he=0A> > > > =3D=3D> IPv6 prefix is foreign, the router can't very well dro=
p the=0A> > > > =3D=3D> packet as this would block legitimate communication=
s. It=0A> > > > =3D=3D> is also not generally possible to check whether a f=
oreign=0A> > > > =3D=3D> link is an ISATAP link by looking for the magic to=
ken=0A> > > > =3D=3D> "0:5EFE" as that token only has significance for ISAT=
AP=0A> > > > =3D=3D> links and not other link types.=0A> > > > =3D=3D>=0A> =
> > > =3D=3D> Instead, the mitigation I think makes the most sense is=0A> >=
 > > =3D=3D> for the ISATAP router to first verify that the node which=0A> =
> > > =3D=3D> it assumes to be a simple ISATAP host has demonstrated a=0A> =
> > > =3D=3D> willingness to participate in the link. That can be done=0A> =
> > > =3D=3D> by having the ISATAP router first check the neighbor cache=0A=
> > > > =3D=3D> when it has a packet to send to verify that there is a=0A> =
> > > =3D=3D> cached entry corresponding to the destination. For nodes=0A> =
> > > =3D=3D> that are willing ISATAP hosts on the link, there would=0A> > =
> > =3D=3D> have been a neighbor cache entry created when the node=0A> > > =
> =3D=3D> sends a Router Solicitation to the ISATAP router for the=0A> > > =
> =3D=3D> purpose of discovering default router lifetimes and on-=0A> > > >=
 =3D=3D> link prefixes. So, the simple mitigations is for the ISATAP=0A> > =
> > =3D=3D> router to forward the packet only if there is a pre-existing=0A=
> > > > =3D=3D> neighbor cache entry and drop the packet otherwise. This=0A=
> > > > =3D=3D> implies that the router should keep neighbor cache entires=
=0A> > > > =3D=3D> for the duration of the minimum lifetime of the prefixes=
=0A> > > > =3D=3D> it advertises in its Router Advertisements.=0A> > > >=0A=
> > > > > In general, I would like to point out that indeed as in=0A> > > >=
 > most other attacks these attacks may also be mitigated by=0A> > > > > pr=
oper firewall rules. However, I do not believe that this=0A> > > > > should=
 be our only answer against these attacks. I believe=0A> > > > > that since=
 these attacks are made possible due to the=0A> > > > > inherent characteri=
stics of the tunnels they=A0should be=0A> > > > > stopped intrinsically as =
much as possible by the tunnel=0A> > > > > participants and not relay on ou=
tside filtering rules.=0A> > > >=0A> > > > In RFC5214, Section 10 we have: =
"restricting access to the=0A> > > > link can be achieved by restricting ac=
cess to the site". The=0A> > > > mitigations do exactly that, and in such a=
 way that ISATAP=0A> > > > nodes can operate with only the necessary and su=
fficient=0A> > > > checks. So on this point, I do not share your opinion.=
=0A> > > >=0A> > > > What about two ISATAP tunnels that reside on the same =
site like in attack =0A> #3.=0A> > > Do you=A0also think that=0A> > > > pro=
to-41 filtering should barrier between the two tunnels within the site?=0A>=
 > > >=0A> > > >=0A> > > > =3D=3D> I think this may be overcome by the disc=
ussion above.=0A> > > > =3D=3D> Short story is that operational practices m=
ust be=0A> > > > =3D=3D> employed whereby an ISATAP router is not mistaken =
for=0A> > > > =3D=3D> a 6to4 router. This is through proper arrangement of=
=0A> > > > =3D=3D> 6to4 router/relay interfaces outside of the site border=
=0A> > > > =3D=3D> rather than inside, and ISATAP router interfaces inside=
=0A> > > > =3D=3D> of the site border rather than outside. Also proper=0A> =
> > > =3D=3D> ip-proto-41 filtering and IPv6 ingress filtering at=0A> > > >=
 =3D=3D> site borders.=0A> > > > =3D=3D>=0A> > > > =3D=3D> Also, when there=
 are multiple ISATAP links within the=0A> > > > =3D=3D> same local IPv4 rou=
ting region, an ISATAP router should=0A> > > > =3D=3D> first verify a node'=
s willingness to act as a host on=0A> > > > =3D=3D> the ISATAP link before =
blindly sending a packet to it.=0A> > > > =3D=3D>=0A> > > > =3D=3D> Fred=0A=
> > > > =3D=3D> fred.l.templin@boeing.com=0A> > > >=0A> > > > Fred=0A> > > =
> fred.l.templin@boeing.com=0A> > > >=0A> > > > ___________________________=
_____________=0A> > > > From: "Templin, Fred L"=0A> > > > To: Gabi Nakibly =
; v6ops=0A> > > > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > > > Sent: Monday=
, August 17, 2009 8:35:08 PM=0A> > > > Subject: RE: Routing loop attacks us=
ing IPv6 tunnels=0A> > > >=0A> > > >=0A> > > > Gabi,=0A> > > >=0A> > > > Th=
anks for publishing this work. In the document, attacks A, B and C=0A> > > =
> correspond to a configuration that violates section 6.2 of RFC5214:=0A> >=
 > >=0A> > > > > 6.2.=A0 ISATAP Interface Address Configuration=0A> > > > >=
=0A> > > > > =A0=A0Each ISATAP interface configures a set of locators consi=
sting of IPv4=0A> > > > >=A0=A0 address-to-interface mappings from a single=
 site; i.e., an ISATAP=0A> > > > >=A0=A0 interface's locator set MUST NOT s=
pan multiple sites.=0A> > > >=0A> > > > In particular, in scenarios A, B an=
d C the IPv4 locator used for ISATAP=0A> > > > is seen both within the ente=
rprise as site #1 and within the global =0A> Internet=0A> > > > itself as s=
ite #2. If the ISATAP interface is to be used as an enterprise-=0A> > > > i=
nterior interface, it should therefore not accept IP-proto-41 packets=0A> >=
 > > coming from an IPv4 source outside of the enterprise nor source=0A> > =
> > IP-proto-41 packets that are destined to an IPv4 node outside of the=0A=
> > > > enterprise. This condition should be satisfied by having the site b=
order=0A> > > > routers implement IPv4 ingress filtering and ip-protocol-41=
 filtering as=0A> > > > required in Section 10 of RFC5214.=0A> > > >=0A> > =
> > It is mentioned that attack C could also occur when the routers reside=
=0A> > > > in the same site, where their addresses may be private. This wou=
ld=0A> > > > correspond to a case in which an attacker within the site atta=
cks the=0A> > > > site itself, which can easily be traced - especially when=
 source address=0A> > > > spoofing from a node within the site is prevented=
 through proper ingress=0A> > > > filtering.=0A> > > >=0A> > > > Fred=0A> >=
 > > fred.l.templin@boeing.com=0A> > > >=0A> > > > ________________________=
________________=0A> > > > From: Gabi Nakibly [mailto:gnakibly@yahoo.com]=
=0A> > > > Sent: Monday, August 17, 2009 8:21 AM=0A> > > > To: v6ops=0A> > =
> > Cc: ipv6@ietf.org; secdir@ietf.org=0A> > > > Subject: Routing loop atta=
cks using IPv6 tunnels=0A> > > >=0A> > > > Hi all,=0A> > > > I would like t=
o draw the attention of the list to=A0some=A0research=A0results =0A> which=
=0A> > > my colleague and I at=0A> > > > the National EW Research=A0& Simul=
ation=A0Center have recently published. The=0A> > > research presents a=A0c=
lass=0A> > > > of routing loop attacks that abuses 6to4, ISATAP and Teredo.=
 The=A0paper can =0A> be=0A> > > found at:=0A> > > > http://www.usenix.org/=
events/woot09/tech/full_papers/nakibly.pdf=0A> > > >=0A> > > > Here is the =
abstract:=0A> > > > IPv6 is the future network layer protocol for the Inter=
net. Since it is =0A> not=0A> > > compatible with its=0A> > > > predecessor=
, some interoperability mechanisms were designed. An important=0A> > > cate=
gory of these=0A> > > > mechanisms is automatic tunnels, which enable IPv6 =
communication over an =0A> IPv4=0A> > > network without prior=0A> > > > con=
figuration. This category includes ISATAP, 6to4 and Teredo. We present =0A>=
 a=0A> > > novel class of attacks=0A> > > > that exploit vulnerabilities in=
 these tunnels. These attacks take =0A> advantage of=0A> > > inconsistencie=
s=0A> > > > between a tunnel's overlay IPv6 routing state and the native IP=
v6 routing=0A> > > state. The attacks form=0A> > > > routing loops which ca=
n be abused as a vehicle for traffic amplification =0A> to=0A> > > facilita=
te DoS attacks.=0A> > > > We exhibit five attacks of this class. One of the=
 presented attacks can =0A> DoS a=0A> > > Teredo server using a=0A> > > > s=
ingle packet. The exploited vulnerabilities are embedded in the design of =
=0A> the=0A> > > tunnels; hence any=0A> > > > implementation of these tunne=
ls may be vulnerable. In particular, the =0A> attacks=0A> > > were tested=
=0A> > > > against the ISATAP, 6to4 and Teredo implementations of Windows V=
ista and=0A> > > Windows Server 2008 R2.=0A> > > >=0A> > > > I think the re=
sults of the research warrant some corrective action. If=0A> > > this=A0ind=
eed shall be the=0A> > > > general sentiment of the list, I will be happy w=
rite an appropriate I-D. =0A> The=0A> > > mitigation measures we=0A> > > > =
suggested in the paper are the best we could think of to completely =0A> el=
iminate=0A> > > the problem. However=0A> > > > they are far from perfect si=
nce=A0they would require=A0tunnel implementations =0A> to=0A> > > be update=
d in case new=0A> > > > types of automatic tunnels are introduced.=0A> > > =
>=0A> > > > Your comments are welcome.=0A> > > >=0A> > > > Gabi=0A> > > >=
=0A> > > >=0A> > > >=0A> > =0A> > =0A> > =0A=0A=0A=0A      
