From owner-freebsd-net@FreeBSD.ORG Mon Nov 26 05:24:46 2012 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 180E3C30 for ; Mon, 26 Nov 2012 05:24:46 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 167428FC08 for ; Mon, 26 Nov 2012 05:24:44 +0000 (UTC) Received: from alph.allbsd.org (p1137-ipbf1505funabasi.chiba.ocn.ne.jp [118.7.212.137]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id qAQ5ONEQ082313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Nov 2012 14:24:35 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by alph.allbsd.org (8.14.5/8.14.5) with ESMTP id qAQ5OLHb054850; Mon, 26 Nov 2012 14:24:22 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 26 Nov 2012 14:23:22 +0900 (JST) Message-Id: <20121126.142322.2280620686470349020.hrs@allbsd.org> To: yanegomi@gmail.com Subject: Re: net.inet6.icmp6.nd6_useloopback - what is it supposed to do? From: Hiroki Sato In-Reply-To: References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Nov_26_14_23_22_2012_258)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Mon, 26 Nov 2012 14:24:36 +0900 (JST) X-Spam-Status: No, score=-98.1 required=13.0 tests=CONTENT_TYPE_PRESENT, ONLY1HOPDIRECT,SAMEHELOBY2HOP,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2012 05:24:46 -0000 ----Security_Multipart(Mon_Nov_26_14_23_22_2012_258)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Garrett Cooper wrote in : ya> Hi, ya> I've been TAHI testing FreeBSD 7.x sources for the past couple ya> months and over the course of my testing via the TAHI IPv6 conformance ya> test, I changed the knob value from net.inet6.icmp6.nd6_useloopback=1 ya> -> net.inet6.icmp6.nd6_useloopback=0 and ran into a slew of errors ya> with the addr.p2 phase-1 TAHI tests. ya> I was wondering if someone could describe what the beforementioned ya> sysctl is supposed to do from a functional perspective, how it might ya> tie into other IPv6 RFCs (if applicable), and if disabled how it would ya> affect a system with IPv6 enabled. It is for whether a loopback address (::1) is used as the destination for traffic toward one of the locally-configured IPv6 addresses. In the original implementation it is in rtrequest(), but the current FreeBSD's one it just means if a loopback route will be installed or not upon the lo0 interface initialization, not in RTM_RESOLVE. So, if setting nd6_useloopback to 0, no loopback route will be installed and some THAI test will fail, I think. -- Hiroki ----Security_Multipart(Mon_Nov_26_14_23_22_2012_258)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAlCy/MoACgkQTyzT2CeTzy1iHwCfSveop9OJXh4yhfeE2smZMDJR aU0AoMZqDDBaE6brlgZR36khoYD81uss =EHiF -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Nov_26_14_23_22_2012_258)----