Re: question on RDNSS, RFC 6106 part 5.1

Ole Trøan <otroan@employees.org> Thu, 26 April 2012 12:00 UTC

Return-Path: <ichiroumakino@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B65E621F8799 for <ipv6@ietfa.amsl.com>; Thu, 26 Apr 2012 05:00:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.079
X-Spam-Level:
X-Spam-Status: No, score=-3.079 tagged_above=-999 required=5 tests=[AWL=0.220, 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 dBo7awifYK2m for <ipv6@ietfa.amsl.com>; Thu, 26 Apr 2012 05:00:38 -0700 (PDT)
Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by ietfa.amsl.com (Postfix) with ESMTP id A9BA321F877A for <ipv6@ietf.org>; Thu, 26 Apr 2012 05:00:37 -0700 (PDT)
Received: by wgbdr13 with SMTP id dr13so748734wgb.13 for <ipv6@ietf.org>; Thu, 26 Apr 2012 05:00:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=lUK3wK2E+fc5DUJXWZKyCTrKtftKD0T5OeiAa1TCO/Y=; b=BWnSZ2kpzpOxYO4b+SKIV1bs9hu1ABEcp3n92oU90Zo9U8Gou29IuD6fBB0+XFpZo0 mxy9/U4qh9KKWgv1PfsuKFyPNUWBU3LYu57E0eA05v8GKCp5/QrrO14NBswTAqizDGFu 7xIaDvrjsX9UU+DqX+V8KnBr+KSzY45KKctdVTvZMIyUcaNTFzT0nUKyPgW1lO6BF5Fh 9POla7Uf7IqUHNsY+vvhktmkNUAbhleyK65LF3Rt+HRc0Siy+E+TuUHjSIWgJiB9jbhD 1Z6gdkbEwo0LMsisCl9tHWpgUfTqe8/f9CpMlO69UXOSHtBB80HArPouAWvl46occ2rn NKCQ==
Received: by 10.180.92.71 with SMTP id ck7mr15436522wib.21.1335441636444; Thu, 26 Apr 2012 05:00:36 -0700 (PDT)
Received: from dhcp-lys02-vla252-10-147-117-81.cisco.com (64-103-25-233.cisco.com. [64.103.25.233]) by mx.google.com with ESMTPS id ff2sm10370862wib.9.2012.04.26.05.00.35 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Apr 2012 05:00:35 -0700 (PDT)
Sender: Ole Troan <ichiroumakino@gmail.com>
Subject: Re: question on RDNSS, RFC 6106 part 5.1
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset="windows-1252"
From: Ole Trøan <otroan@employees.org>
In-Reply-To: <1334871165.15947.2.camel@dragon.pavlix.net>
Date: Thu, 26 Apr 2012 14:00:33 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <3556F78D-A80E-4975-8E87-3138E3DFCCAA@employees.org>
References: <1334871165.15947.2.camel@dragon.pavlix.net>
To: Pavel Šimerda <pavlix@pavlix.net>
X-Mailer: Apple Mail (2.1257)
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Apr 2012 12:00:38 -0000

Pavel,

I concur with your description of the problem.
do you have a proposal for how it can be solved?

Best regards,
Ole


On Apr 19, 2012, at 23:32 , Pavel Šimerda wrote:

> Hello,
> 
> I'm starting my work on linux NetworkManager. I've been following
> several bugreports during the recent months that all lead to problems
> with maintaining the list of recursive nameservers.
> 
> I've already spent quite some time analyzing RDNSS problems and I came
> to a conclusion that the problem actually lives in the RFC itself.
> 
> Please look at section 5.1. in RFC 6106. It states:
> 
> MaxRtrAdvInterval <= Lifetime <= 2*MaxRtrAdvInterval
> 
> Considering MaxRtrAdvInterval the maximum time between RAs, setting
> Lifetime to MaxRtrAdvInterval IMO constitutes a race condition.
> Moreover, any Lifetime in this interval can timeout with just one or two
> lost RAs.
> 
> This makes RA-based IPv6-only networks drop RDNSS regularly. In many
> implementations IPv6 and IPv4 are bound together so that if one of them
> fails, the whole link is restarted. This is also the case in
> NetworkManager.
> 
> In the current situation, it's not advisable to use RFC 6106 in
> production because it can cause problems even to IPv4 applications.
> 
> In the real world, radvd uses Lifetime=MaxRtrAdvInterval by default and
> NetworkManager internally adds 10s to the lifetime, that only helps to
> avoid the race condition but not lost packets that are common on
> wireless networks.
> 
> I appreciate any help to get this right both in the standards and in the
> software.
> 
> Cheers,
> 
> Pavel Šimerda
> 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------