From owner-freebsd-net@FreeBSD.ORG Sun Jun 12 06:09:01 2011 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 502BB1065673 for ; Sun, 12 Jun 2011 06:09:01 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.vlsi.ee.noda.tus.ac.jp (sekine00.ee.noda.sut.ac.jp [133.31.107.40]) by mx1.freebsd.org (Postfix) with ESMTP id CA92E8FC14 for ; Sun, 12 Jun 2011 06:09:00 +0000 (UTC) Received: from alph.allbsd.org (p2237-ipbf904funabasi.chiba.ocn.ne.jp [122.26.37.237]) (user=hrs mech=DIGEST-MD5 bits=128) by mail.vlsi.ee.noda.tus.ac.jp (8.14.4/8.14.4) with ESMTP id p5C68hqM048598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Jun 2011 15:08:54 +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 p5C68ffR049110; Sun, 12 Jun 2011 15:08:42 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 12 Jun 2011 15:00:14 +0900 (JST) Message-Id: <20110612.150014.583045369315129695.hrs@allbsd.org> To: net@FreeBSD.org From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Jun_12_15_00_14_2011_795)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (mail.vlsi.ee.noda.tus.ac.jp [133.31.107.40]); Sun, 12 Jun 2011 15:08:54 +0900 (JST) X-Spam-Status: No, score=6.1 required=14.0 tests=BAYES_50, CONTENT_TYPE_PRESENT, RCVD_IN_PBL, RCVD_IN_RP_RNBL, SPF_SOFTFAIL, X_MAILER_PRESENT autolearn=no version=3.3.1 X-Spam-Level: ****** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.vlsi.ee.noda.tus.ac.jp Cc: bplank@gta.com Subject: [CFT] RFC 6106 support patch for RELENG_8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2011 06:09:01 -0000 ----Security_Multipart(Sun_Jun_12_15_00_14_2011_795)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, A patch to add RFC 6106 support to rtadvd(8) and rtsold(8) on RELENG_8 can be found at the following URL: http://people.freebsd.org/~hrs/rfc6106_stable8_20110611.diff Can anyone test it? 8.X uses net.inet6.ip6.accept_rtadv and net.inet6.ip6.forwarding to determine if accepting RAs or not (i.e. ACCEPT_RTADV flag is ignored), so the patch follows the same logic. Note that an -R option must manually be specified in rtsold(8) to use the received RDNSS/DNSSL information since RELENG_8 does not have resolvconf(8) (MFC of resolvconf(8) needs printf() support in sh(1) first, IIRC). I am not sure at this moment whether MFC of supporting per-IF ACCEPT_RTADV flag and acceptance of RAs even when net.inet6.ip6.forwarding=1 happens. This is because it needs relatively large rc.d script changes. Any comments are welcome. -- Hiroki ----Security_Multipart(Sun_Jun_12_15_00_14_2011_795)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk30Ve4ACgkQTyzT2CeTzy2QhACgqwiTN11qL1BuC0HsgRDt0oFO kRUAnjbfUTbeOjGmwJ2VCN8V1Hju3utR =bdSq -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Jun_12_15_00_14_2011_795)----