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

Rémi Després <despres.remi@laposte.net> Thu, 13 October 2011 09:06 UTC

Return-Path: <despres.remi@laposte.net>
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 6F76A21F854F for <softwires@ietfa.amsl.com>; Thu, 13 Oct 2011 02:06:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level:
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[AWL=0.382, BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 vnzdnvy5oDKN for <softwires@ietfa.amsl.com>; Thu, 13 Oct 2011 02:06:16 -0700 (PDT)
Received: from smtp23.services.sfr.fr (smtp23.services.sfr.fr [93.17.128.22]) by ietfa.amsl.com (Postfix) with ESMTP id BAB4C21F8541 for <softwires@ietf.org>; Thu, 13 Oct 2011 02:06:15 -0700 (PDT)
Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2301.sfr.fr (SMTP Server) with ESMTP id EAD5E700004E; Thu, 13 Oct 2011 11:06:13 +0200 (CEST)
Received: from [192.168.0.21] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by msfrf2301.sfr.fr (SMTP Server) with ESMTP id C3F1670000B5; Thu, 13 Oct 2011 11:06:08 +0200 (CEST)
X-SFR-UUID: 20111013090608802.C3F1670000B5@msfrf2301.sfr.fr
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
From: Rémi Després <despres.remi@laposte.net>
In-Reply-To: <B8DEB256-0585-4279-BC8F-96064B4FF606@employees.org>
Date: Thu, 13 Oct 2011 11:06:07 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <A00A0B26-90FD-48FC-90CE-51FB0CCC7808@laposte.net>
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>
To: Ole Troan <otroan@employees.org>
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:06:16 -0000

Le 10 oct. 2011 à 10:58, Ole Troan a écrit :

>>> 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.

Regards,
RD