Re: [homenet] draft-boutier-homenet-source-specific-routing-00

Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr> Wed, 10 July 2013 16:20 UTC

Return-Path: <jch@pps.univ-paris-diderot.fr>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7AC4E11E8135 for <homenet@ietfa.amsl.com>; Wed, 10 Jul 2013 09:20:10 -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_FR=0.35]
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 FwMEfsXUnnsM for <homenet@ietfa.amsl.com>; Wed, 10 Jul 2013 09:20:04 -0700 (PDT)
Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by ietfa.amsl.com (Postfix) with ESMTP id 8707511E812A for <homenet@ietf.org>; Wed, 10 Jul 2013 09:20:03 -0700 (PDT)
Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/38117) with ESMTP id r6AGJtrY003672; Wed, 10 Jul 2013 18:19:55 +0200
Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 6E7D04FBBB; Wed, 10 Jul 2013 18:19:55 +0200 (CEST)
X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr
Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 7ioFSbRvV77E; Wed, 10 Jul 2013 18:19:54 +0200 (CEST)
Received: from pirx.pps.jussieu.fr (bob75-6-82-238-73-9.fbx.proxad.net [82.238.73.9]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 39E1C4FBBA; Wed, 10 Jul 2013 18:19:54 +0200 (CEST)
Received: from localhost ([127.0.0.1] helo=pirx.pps.jussieu.fr) by pirx.pps.jussieu.fr with esmtp (Exim 4.80) (envelope-from <jch@pps.univ-paris-diderot.fr>) id 1Uwx7R-0001xC-Qq; Wed, 10 Jul 2013 18:19:53 +0200
Date: Wed, 10 Jul 2013 18:19:53 +0200
Message-ID: <87d2qq75g6.wl%jch@pps.univ-paris-diderot.fr>
From: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
To: Henning Rogge <hrogge@googlemail.com>
In-Reply-To: <CAGnRvupxUhvVbXVB=97wh7=s+ggZjZY0YMc06_NSboz=1DPnZg@mail.gmail.com>
References: <7ippuz4fb8.wl%jch@pps.univ-paris-diderot.fr> <CAKD1Yr3HZOJecNP6hE1yOBdGAxxXzMb5W23aPm9XhZv0fzKBUQ@mail.gmail.com> <7ibo6iw7ch.wl%jch@pps.univ-paris-diderot.fr> <CAKD1Yr0_yZsvw58hwjY++9RJT9urkKbX33zzwTjyWGTKK7RoVg@mail.gmail.com> <87ehbdi33a.wl%jch@pps.univ-paris-diderot.fr> <CAKD1Yr0x=j0tvkM2X8bGw4T538mnm7CV592GBHO76dSVhGLE7w@mail.gmail.com> <87wqp0lal6.wl%jch@pps.univ-paris-diderot.fr> <CAKD1Yr1knC76T14bcGY3kbYBMNfhvC9vACjguNaWCdRXxZ-4UA@mail.gmail.com> <87bo6bwzxn.wl%jch@pps.univ-paris-diderot.fr> <CAGnRvuqdhmYiUk5roQw0iNbyfm49Fixjo_44f_HcCLjKpZdYNA@mail.gmail.com> <8761wjwyt7.wl%jch@pps.univ-paris-diderot.fr> <CAGnRvuqX9fcYShdJVs9QocEdSOp3VJPHAnF1phF6XQ+V+NdEaQ@mail.gmail.com> <87ppuq7epd.wl%jch@pps.univ-paris-diderot.fr> <CAGnRvup2yG6uw-qx2xmAbMLdOMADX7=nde12VP8ie0Lb26y7Ww@mail.gmail.com> <87hag2773v.wl%jch@pps.univ-paris-diderot.fr> <CAGnRvupxUhvVbXVB=97wh7=s+ggZjZY0YMc06_NSboz=1DPnZg@mail.gmail.com>
User-Agent: Wanderlust/2.15.9
MIME-Version: 1.0 (generated by SEMI 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Wed, 10 Jul 2013 18:19:58 +0200 (CEST)
Cc: "homenet@ietf.org" <homenet@ietf.org>
Subject: Re: [homenet] draft-boutier-homenet-source-specific-routing-00
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/homenet>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Jul 2013 16:20:10 -0000

> In my example I assumed that every gateway announces a
> non-source-specific route too, so there should be no special code
> necessary for the "normal" routers.

Unless I'm missing something, that's not as simple as you make it.
Consider this:

  -- A -- B --

Suppose that A announces (::/0, alpha), and B announces (::/0, beta)
(two source-specific default routes).  Suppose further that, as you
suggest, both A and B announce default routes (::/0, ::/0).

What happens when A receives a packet that's not sourced in either
alpha or beta?  It will route it towards B (which, you will recall, is
announcing a non-specific default route).  Now B will send the packet
back to A, and you're in trouble.

So you cannot just announce a default route, you must redistribute
a blackhole route.  But then, you might end up overriding a bona fide
default route with your blackhole.  Grr.

I'm pretty sure various workarounds can be devised (such as using
a very high metric for the blackhole route, or adding a flag "this
route must be ignored by source-specific routers"), but I'd obviously
prefer avoiding such hacks.

-- Juliusz