Re: [Softwires] Internal routing based on the V octet can be easy

Ole Troan <otroan@employees.org> Thu, 13 October 2011 09:08 UTC

Return-Path: <ichiroumakino@gmail.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 39A1021F8B28 for <softwires@ietfa.amsl.com>; Thu, 13 Oct 2011 02:08:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level:
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F1eSL8u2wu1A for <softwires@ietfa.amsl.com>; Thu, 13 Oct 2011 02:08:16 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by ietfa.amsl.com (Postfix) with ESMTP id 8627021F8AE9 for <softwires@ietf.org>; Thu, 13 Oct 2011 02:08:16 -0700 (PDT)
Received: by wwf22 with SMTP id 22so946707wwf.13 for <softwires@ietf.org>; Thu, 13 Oct 2011 02:08:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=MMARSnZD/1nsg/CZFMWdWKh57Di41WRASL28dAx1UtY=; b=pGB+/8w//uIExv/v3DzKIXYvU5gGfOQUMvheoSRhoGbapl3V222ZUBYJYKMMQYYdw4 wdp9SKRZEAhschC/1zNeX468GEk05kb9g1irg1nlJeBQ759rGgFYItTie6I9TCARaj0Z g3Madt7+hYoh8xISO9gPmafrLGOr/dOZYT31U=
Received: by 10.216.229.144 with SMTP id h16mr3667524weq.31.1318496895459; Thu, 13 Oct 2011 02:08:15 -0700 (PDT)
Received: from dhcp-osl-vl300-64-103-53-235.cisco.com (dhcp-osl-vl300-64-103-53-235.cisco.com. [64.103.53.235]) by mx.google.com with ESMTPS id fy13sm4754056wbb.18.2011.10.13.02.08.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Oct 2011 02:08:14 -0700 (PDT)
Sender: Ole Troan <ichiroumakino@gmail.com>
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Ole Troan <otroan@employees.org>
In-Reply-To: <A00A0B26-90FD-48FC-90CE-51FB0CCC7808@laposte.net>
Date: Thu, 13 Oct 2011 11:08:13 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <A79250C9-A9E8-4B1E-9919-6A8AE5C335A9@employees.org>
References: <F259BF79-B3C9-4434-AAC4-9F84B8D9A0FA@laposte.net> <CAH3bfACp_xvzotgrAhBrYhZ9ki47kbBVb-vmSsRtOOoyXxRSrA@mail.gmail.com> <10DF6CE6-394E-4FC9-BB80-9F24D4D2634B@laposte.net> <4E9065BD.3050001@jacni.com> <2904870A-866E-4093-8754-3D75510B82AA@laposte.net> <4E92A32C.30306@jacni.com> <B8DEB256-0585-4279-BC8F-96064B4FF606@employees.org> <A00A0B26-90FD-48FC-90CE-51FB0CCC7808@laposte.net>
To: Rémi Després <despres.remi@laposte.net>
X-Mailer: Apple Mail (2.1084)
Cc: Softwires-wg <softwires@ietf.org>
Subject: Re: [Softwires] Internal routing based on the V octet can be easy
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Oct 2011 09:08:18 -0000

Remi,

>>>> The 4rd function examines ALL packets that reach the CE.
>>>> It processes all those that have V in their destination addresses, and only those.
>>>> 
>>> This is a big change to the current forwarding behavior of CPE devices, doable, but quite different from, for example, some encapsulation/decapsulation implementations.
>> 
>> +1.
>> doable in theory, but I share your concerns.
> 
> Well, it wasn't quite right to say, as I did, "the 4rd function examines ALL packets that reach the CE".
> More exactly, with existing kernel architectures, the 4rd function should only see packets that have the V octet in their IPv6 destinations.
> 
> With Linux, it is feasible AFAIK as follows:
> - Before submitting a received packet to the routing function, it is submitted to the Netfilter pre-routing function. 
> - Netfilter adds to the packet a mark, specific of 4rd, if it has the V  octet (mask + value).
> - The routing function, duly configured, then sends packets that have this mark to the 4rd-function interface. 
> With BSD, the PF packet filter has a role similar to that of Netfilter.
> (Thanks to Francis Dupont for providing this information, hopefully not damaged by my transcription.)  
> 
> Useful capabilities of 4rd solutions SHOUDN'T therefore be abandoned for the unjustified fear that internal routing based on the V octet might be difficult.

regardless of implementation, your proposal does add extra processing cycles for _all_ IPv6 packets to the site.

cheers,
Ole