From owner-freebsd-net@FreeBSD.ORG Mon Dec 6 16:15:07 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AC7A1065670 for ; Mon, 6 Dec 2010 16:15:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 06EF68FC13 for ; Mon, 6 Dec 2010 16:15:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 0E1F241C6B4; Mon, 6 Dec 2010 17:15:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id ou4C5xW-Vigb; Mon, 6 Dec 2010 17:15:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 7C71F41C6A3; Mon, 6 Dec 2010 17:15:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 909514448F3; Mon, 6 Dec 2010 16:11:43 +0000 (UTC) Date: Mon, 6 Dec 2010 16:11:43 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Terry Kennedy In-Reply-To: <01NV2YXQ2LAC000SKQ@tmk.com> Message-ID: <20101206160722.O6126@maildrop.int.zabbadoz.net> References: <01NV2YXQ2LAC000SKQ@tmk.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: RE: EHOSTUNREACH returned for refused IPv6 connection 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: Mon, 06 Dec 2010 16:15:07 -0000 On Mon, 6 Dec 2010, Terry Kennedy wrote: Hi, >> Sorry, you're right: I forgot I don't have my tunnel setup so there's no >> external IPv6 connectivity (I don't have an IPv6 network configured at >> the moment at all). What confused me initially was the fact that ssh >> displays the "No route to host" error instead of "Connection refused" >> when both IPv4 and IPv6 addresses are available but only IPv4 works. > > I'm experiencing something which may be related. I posted a question in > the FreeBSD Forums: http://forums.freebsd.org/showthread.php?t=19895 > > I don't get anything displayed at the application (ftp / telnet / etc.) > level - it just hangs until the connection eventually times out. I do see > unreachables getting into the FreeBSD box - it just seems like they don't > make it down to the application level. The post I linked above has a more > detailed description, as well as tcpdump output and so forth. > > System is 8-STABLE as of November 28th, but I see the same thing on a > 6-STABLE from February 2010. What happens if you do: route add -inet6 -host 2001:4f8:0:2::e -prefixlen 128 ::1 -reject route add -inet6 -host 2001:6c8:2:600::132 -prefixlen 128 ::1 -reject and try again with ftp? Which is the test case I did here locally. Obviously I should try on my gateway rather than on the same machine but as you cannot I'd start with this test. /bz -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html