Re: [homenet] Redirect and source-specific routing

Pierre Pfister <pierre@darou.fr> Mon, 13 July 2015 08:18 UTC

Return-Path: <SRS0=AK8w=HV=darou.fr=pierre@bounces.m4x.org>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77F5C1AD35B for <homenet@ietfa.amsl.com>; Mon, 13 Jul 2015 01:18:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.001
X-Spam-Level:
X-Spam-Status: No, score=-3.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_54=0.6, J_CHICKENPOX_64=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 s0Ae6GpEAdKt for <homenet@ietfa.amsl.com>; Mon, 13 Jul 2015 01:18:16 -0700 (PDT)
Received: from mx1.polytechnique.org (mx1.polytechnique.org [129.104.30.34]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 827831AD35A for <homenet@ietf.org>; Mon, 13 Jul 2015 01:18:16 -0700 (PDT)
Received: from [10.148.10.58] (unknown [173.38.220.42]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id AEE8E14091323; Mon, 13 Jul 2015 10:18:12 +0200 (CEST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_6A84F109-0D67-4B0B-B28D-BDF09601F968"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Pierre Pfister <pierre@darou.fr>
In-Reply-To: <E2BFAE26-67E9-493D-891B-C60085C8B31B@employees.org>
Date: Mon, 13 Jul 2015 10:18:14 +0200
Message-Id: <5721F42D-EC62-4E48-8440-C06AE7132FA6@darou.fr>
References: <877fq5fnxv.wl-jch@pps.univ-paris-diderot.fr> <E2BFAE26-67E9-493D-891B-C60085C8B31B@employees.org>
To: Ole Troan <otroan@employees.org>
X-Mailer: Apple Mail (2.2102)
X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Mon Jul 13 10:18:13 2015 +0200 (CEST))
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/Vz5y7lhLRT3cd4djQQl4v6LGtvU>
Cc: homenet@ietf.org, Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Subject: Re: [homenet] Redirect and source-specific routing
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Mon, 13 Jul 2015 08:26:45 -0000

Hello Juliusz,

Indeed, RFC 4861 is pretty clear and Redirects seem to have a flow when used with sadr.
<gratuitous-ad-for-own-draft>
Updating RFC 4861 is one way to do it, we could also make hosts sadr-aware. 
</gratuitous-ad-for-own-draft>

Brian is going to lead a discussion in 6man about the whole hosts&sadr problem.

One interesting fact though is that Open-Source does not wait for IETF to fix IETF’s bugs.
http://lxr.free-electrons.com/source/net/ipv6/route.c#L1285
It looks like Linux looks at the IPv6 header within the redirect and 
only applies the redirect to the given source+dest pair.

- Pierre


> Le 13 juil. 2015 à 09:23, Ole Troan <otroan@employees.org> a écrit :
> 
> Juliusz,
> 
>> I'm wondering if there isn't some interaction between Redirect messages and source-specific routing that we're overlooking.  RFC 4861 Section 8.3 says the following:
>> 
>>  Redirect messages apply to all flows that are being sent to a given
>>  destination.  That is, upon receipt of a Redirect for a Destination
>>  Address, all Destination Cache entries to that address should be
>>  updated to use the specified next-hop, regardless of the contents of
>>  the Flow Label field that appears in the Redirected Header option.
>> 
>> It does not speak of the source address, so I assume that this applies to all sources.  Consider the following topology:
>> 
>>  ---- A ---+--- B ----
>>            |
>>            H
>> 
>> If A and B advertise non-overlapping source-specific default routes and H is multiplexing its traffic over source addresses in both source prefixes (say, it's using MP-TCP), its Destination Cache entry will flap between A and B.
>> 
>> If I'm right, that argues in favour of an update to RFC 4861.
> 
> you are right. these issues are currently being discussed in 6man.
> see http://tools.ietf.org/html/draft-sarikaya-6man-sadr-overview-07
> 
> we haven’t reached a conclusion if a source aware redirect is needed or not (if that’s what you had in mind). by the way, there is also ICMP unreachable code 5 (Source address failed ingress/egress policy), which I would think the router should send, rather than the redirect in this case.
> 
> cheers,
> Ole
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet