From owner-freebsd-stable@FreeBSD.ORG Sat Jan 20 17:45:08 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6B8B16A413; Sat, 20 Jan 2007 17:45:08 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (vlsi00.si.noda.tus.ac.jp [133.31.130.32]) by mx1.freebsd.org (Postfix) with ESMTP id 62BA913C480; Sat, 20 Jan 2007 17:45:08 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p3089-ipbf506funabasi.chiba.ocn.ne.jp [124.100.58.89]) (authenticated bits=128) by mail.allbsd.org (8.13.1/8.13.4) with ESMTP id l0KH82JZ039751; Sun, 21 Jan 2007 02:08:14 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id l0KH7ijY057337; Sun, 21 Jan 2007 02:07:45 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 21 Jan 2007 02:07:41 +0900 (JST) Message-Id: <20070121.020741.59649277.hrs@allbsd.org> To: bmah@FreeBSD.org From: Hiroki Sato In-Reply-To: <20070120162936.GA18104@tomcat.kitchenlab.org> References: <20070120162936.GA18104@tomcat.kitchenlab.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 5.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Jan_21_02_07_41_2007_727)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.allbsd.org [133.31.130.32]); Sun, 21 Jan 2007 02:08:15 +0900 (JST) Cc: freebsd-net@FreeBSD.org, freebsd-stable@FreeBSD.org, jhay@FreeBSD.org Subject: Re: IPv6 over gif(4) broken in 6.2-RELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 17:45:09 -0000 ----Security_Multipart(Sun_Jan_21_02_07_41_2007_727)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Bruce A. Mah" wrote in <20070120162936.GA18104@tomcat.kitchenlab.org>: bm> I'm observing a problem with IPv6 over gif(4) tunnels on 6.2-RELEASE bm> and recent 6-STABLE, namely that I can't seem to be able to pass bm> traffic over them. bm> bm> Essentially, when I configure a gif interface like this: bm> bm> # ifconfig gif0 inet6 aaaa:bbbb:cccc:dddd::1 aaaa:bbbb:cccc:dddd::2 prefixlen 128 bm> bm> the interface should add a host route to aaaa:bbbb:cccc:dddd::2 bm> through gif0. This is necessary to be able to pass traffic over the bm> tunnel, particularly since the source and destination addresses of the bm> link don't need to have any relationship to each other. bm> bm> However, this route doesn't get installed on recent 6-STABLE. bm> Therefore there is no way to get an IPv6 packet to the other end of bm> the tunnel because there's no route for the destination. The most bm> obvious symptom is that I try to ping the other tunnel endpoint and bm> get: bm> bm> ping6: UDP connect: No route to host bm> bm> I know this worked on RELENG_6 as of June 2006; my home firewall has bm> been running this code for months without a hitch. It doesn't work in bm> 6.2-RC2 or 6.2-RELEASE (fresh CD installs on i386, GENERIC kernels), bm> or this week's RELENG_6 (nanobsd on i386). bm> bm> I somewhat suspect revs. 1.48.2.15 and 1.48.2.14 to bm> src/sys/netinet/nd6.c. If I locally revert these two changes (see bm> diff below), IPv6 over gif(4) works again. bm> bm> There's another workaround for people stuck in this situation and who bm> aren't in a position to try this diff. That is to manually install bm> the host route like this: bm> bm> # route add -host -inet6 aaaa:bbbb:cccc:dddd::2 -interface gif0 -nostatic -llinfo bm> bm> Comments? I remember Dimitry Andric reported the same problem on -stable on 30 Dec, and after he reverted rev.1.48.2.16 it worked fine again. Do you have the symptom even on 6.2-RELEASE? Since RELENG_6_2_0_RELEASE did not have the change, I thought there was no problem. I will try to reproduce it on my box anyway... -- | Hiroki SATO ----Security_Multipart(Sun_Jan_21_02_07_41_2007_727)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFskxdTyzT2CeTzy0RAn2QAJ45Sd5OYGBETxENyUXj/Ax2blKshwCghGtA lDubmL3WryAv3NBDxUNoxnI= =i5Ij -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Jan_21_02_07_41_2007_727)----