From owner-freebsd-current@FreeBSD.ORG Fri Oct 14 00:53:08 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 717B9106564A for ; Fri, 14 Oct 2011 00:53:08 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id C84A68FC16 for ; Fri, 14 Oct 2011 00:53:07 +0000 (UTC) Received: from alph.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id p9E0qsB7011540; Fri, 14 Oct 2011 09:53:05 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id p9E0qrWh018382; Fri, 14 Oct 2011 09:52:54 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 14 Oct 2011 09:52:18 +0900 (JST) Message-Id: <20111014.095218.1603335403119728346.hrs@allbsd.org> To: thomas@gibfest.dk From: Hiroki Sato In-Reply-To: <4E9766C0.1020409@gibfest.dk> References: <4E9766C0.1020409@gibfest.dk> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3.51 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Oct_14_09_52_18_2011_331)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Fri, 14 Oct 2011 09:53:05 +0900 (JST) X-Spam-Status: No, score=-104.6 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, RDNS_NONE, SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-current@FreeBSD.org Subject: Re: 9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces="YES" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 00:53:08 -0000 ----Security_Multipart(Fri_Oct_14_09_52_18_2011_331)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thomas Steen Rasmussen wrote in <4E9766C0.1020409@gibfest.dk>: th> Hello list, th> th> I just upgraded my home workstation to 9.0-beta3 amd64. It seems th> like my web browsers are preferring ipv4 over ipv6 after the upgrade, th> I tested Firefox and Opera. After digging into rc.conf(5) I found this bit: th> th> If ``AUTO'' is specified, it attempts to read a file th> /etc/ip6addrctl.conf first. If this file is found, th> ip6addrctl(8) reads and installs it. If not found, a policy th> is automatically set according to th> ipv6_activate_all_interfaces variable; if the variable is set th> to ``YES'' the IPv6-preferred one is used. Otherwise th> IPv4-preferred. th> th> The default value of ip6addrctl_enable and ip6addrctl_policy th> are ``YES'' and ``AUTO'', respectively. th> th> I already have ipv6_activate_all_interfaces="YES" in /etc/rc.conf th> so ip6addrctl_policy _should_ be "ip6addrctl_policy" if I am reading th> this correctly. But my browsers still prefer ipv4. Is this a bug, or th> do the manpage need updating ? Can you please send me the results of the following commands: % ifconfig % grep ^ipv6 /etc/rc.conf % grep ipv6= /etc/rc.conf % ip6addrctl show # /bin/sh -x /etc/rc.d/ip6addrctl start -- Hiroki ----Security_Multipart(Fri_Oct_14_09_52_18_2011_331)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk6Xh8IACgkQTyzT2CeTzy3aBwCgh164LhJSaqPhNt82JIieqxnB ikwAnjAwGE/ge554O4hM1sNZGcv0F4Tk =OVI2 -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Oct_14_09_52_18_2011_331)----