From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 867D6201B71; Mon, 24 Sep 2012 17:56:47 -0700 (PDT) Received: by weys43 with SMTP id s43so2410338wey.16 for ; Mon, 24 Sep 2012 17:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GgFBMxrA578YbGF12eCUscylY0tCkGKgApo98eFXUuo=; b=BCrvpO2fOKlLr1B23n9ST3m7fcuhaGHZI07k2Xj7aFHxcMnSDyvJoTGxwE/s0pDRMO h/QuUL7YJ9cxxGQOALe5ltlYzNaOAYIePRNgFD/aCSlrJXtkf28n1l41jyLNw+ybAsqR NvDVFbGY3QOFZeidp2q4lLKiZqUm4TgI/fcnOTQVV4RbDho7VxjimLC7udb21AQ05Xlz WgJDVjbgNJesl7iygkXxk0CRlFQtXcHoU5PZgFrBXAHrta9KeQHS2q99MMxVS6jCegmD ibsF6+FRUz5eNF1qCnNSwK8HD9UCog+fE3vcUOxNhgU0UwFlNwm3hSifHCrubZH2TBmL AFqw== MIME-Version: 1.0 Received: by 10.216.181.67 with SMTP id k45mr7658382wem.17.1348534605395; Mon, 24 Sep 2012 17:56:45 -0700 (PDT) Received: by 10.223.89.136 with HTTP; Mon, 24 Sep 2012 17:56:45 -0700 (PDT) Date: Mon, 24 Sep 2012 17:56:45 -0700 Message-ID: From: Dave Taht To: Chris Lawrence Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: cerowrt@lists.bufferbloat.net, cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] 6to4 [bug #406] X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 00:56:48 -0000 On Wed, Sep 19, 2012 at 3:58 PM, Chris Lawrence wrote= : > I've only noticed one real problem thus far: radvd is still > advertising incorrect subnet addresses for 6to4 connections (addresses > that start with 0:0:0:$adv_subnet, which clearly are wrong since all > the addresses should be under 2002: to be routable on the ipv6 > Internet). The fix is simple: in /lib/netifd/proto/6to4.sh, line 162 > should read: > > "$wancfg" "$subnet6" \ > > instead of the printf call that's there now. This is probably an > upstream OpenWRT problem too. Actually, no, the correct line would be: set_6to4_radvd_prefix "$sid" "$adv_interface" \ "$wancfg" "$(printf "%s:%x::/64" $prefix6 $adv_subnet) \ "$adv_valid_lifetime" "$adv_preferred_lifet= ime" arguably "subnet6" is misnamed. There is another bug in this script in correctly adding multiple interfaces. It succeeds on the first, but not the rest, and thus far I can't figure out why. There is another bug in that arguably the interface itself should have a prefix lifetime (monitored somehow) and mtu set and I'd argue for marking it secondary in the hope that someday real ipv6 addresses would become common. And last bug, in that with the latest quagga OR dnsmasq, radvd is not needed, except for detecting and generating the 6to4 prefix. > > > Chris > -- > Chris Lawrence > > Website: http://www.cnlawrence.com/ > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel --=20 Dave T=E4ht http://www.bufferbloat.net/projects/cerowrt/wiki - "3.3.8-17 is out with fq_codel!"