Re: [v6ops] siit-eam/siit-dc vs IVI

Tore Anderson <tore@fud.no> Tue, 09 December 2014 11:24 UTC

Return-Path: <tore@fud.no>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F34241A1BB1 for <v6ops@ietfa.amsl.com>; Tue, 9 Dec 2014 03:24:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Prf7EmFzyyf for <v6ops@ietfa.amsl.com>; Tue, 9 Dec 2014 03:24:00 -0800 (PST)
Received: from greed.fud.no (greed.fud.no [IPv6:2a02:c0:1001:100::145]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 899FC1A1BC3 for <v6ops@ietf.org>; Tue, 9 Dec 2014 03:23:59 -0800 (PST)
Received: from [2a02:c0:2:4:6666:17:0:1001] (port=51507 helo=echo.ms.redpill-linpro.com) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <tore@fud.no>) id 1XyItZ-0004iN-FA; Tue, 09 Dec 2014 12:23:57 +0100
Date: Tue, 09 Dec 2014 12:23:45 +0100
From: Tore Anderson <tore@fud.no>
To: Tariq Saraj <tariqsaraj@gmail.com>
Message-ID: <20141209122345.4f277dcb@echo.ms.redpill-linpro.com>
In-Reply-To: <CAAdbxrqr41Yf8TdjrpKBppnnUwRx1AYLf1mByBpoQ+H1zR_7+Q@mail.gmail.com>
References: <mailman.3563.1418060826.2908.v6ops@ietf.org> <CAAdbxrqr41Yf8TdjrpKBppnnUwRx1AYLf1mByBpoQ+H1zR_7+Q@mail.gmail.com>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.24; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/v6ops/J990ZP6MpEh65VBgTUfq2fAlRJo
Cc: v6ops@ietf.org
Subject: Re: [v6ops] siit-eam/siit-dc vs IVI
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Dec 2014 11:24:02 -0000

Hi Tariq,

(I changed the subject so that I can easily find this message later.)

* Tariq Saraj <tariqsaraj@gmail.com>

> I don't understand the reason for discussion on SIIT when IVI is
> there. The flaws are addressed and mitigated in IVI.

See the Problem Statement section in SIIT-EAM:

http://tools.ietf.org/html/draft-anderson-v6ops-siit-eam-01#section-2

While IVI doesn't use IPv4-translatable IPv6 addresses, it uses its own
address format which share all the disadvantages of IPv4-translatable
IPv6 addresses. As specified in RFC 6219 section 3.1:


     | 0                 |32 |40                   |72             127|
     ------------------------------------------------------------------
     |                   |ff |                     |                  |
     ------------------------------------------------------------------
     |<-     PREFIX        ->|<-  IPv4 address   ->|   <- SUFFIX ->   |

The key problem with inflexible formats such as this one is that it
require that the operator must design and number his IPv6
infrastructure specifically in order to facilitate IVI translation.
This makes IVI simple at the expense of making the IPv6 infrastructure
complex.

SIIT-EAM (and by extension SIIT-DC) allows for mapping between
arbitrary IPv4 and IPv6 addresses; no particular address format is
mandated. So with SIIT-EAM you could have an IPv4 address 192.0.2.1 map
to the IPv6 address 2001:db8::f00. That is, as far as I can tell,
impossible to accomplish with IVI (in IVI, 192.0.2.1 would map to
2001:db8:ffc0:2:100:: as I understand it).

Another key point is that IVI (RFC6219) isn't a proposed standard, so
you can't implement IVI with a standard SIIT implementation. That's
true for SIIT-DC as well, and it is something I attempt to fix with
SIIT-EAM. That said, SIIT-EAM in its current form cannot be used to
implement IVI, because it forbids the use of differing suffix lengths:

   An EAM's IPv4 Prefix and IPv6 Prefix MUST have identical suffix
   lengths.  Any suffix bits MUST be kept intact during translation.

This conflicts with IVI, which allows for different suffix lengths (and
fixing up any discrepancy by padding any missing suffix bits with zero):

   Note that based on the IVI mapping mechanism, an IPv4 /24 is mapped
   to an IPv6 /64, and an IPv4 /32 is mapped to an IPv6 /72.

It should be possible to change SIIT-EAM such that it would be possible
to express IVI mappings with it too. Would you find that valuable?

Tore