From owner-freebsd-net@FreeBSD.ORG Wed Dec 1 21:40:25 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 76E0B1065694 for ; Wed, 1 Dec 2010 21:40:25 +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 08A828FC16 for ; Wed, 1 Dec 2010 21:40:25 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 0E17141C707; Wed, 1 Dec 2010 22:40:24 +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 TQR2p32Armkz; Wed, 1 Dec 2010 22:40:23 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 4443941C711; Wed, 1 Dec 2010 22:40:23 +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 4DD5644490B; Wed, 1 Dec 2010 21:40:16 +0000 (UTC) Date: Wed, 1 Dec 2010 21:40:16 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Bruce Cran In-Reply-To: <20101201213217.19712470@core.draftnet> Message-ID: <20101201213841.U6126@maildrop.int.zabbadoz.net> References: <20101201213217.19712470@core.draftnet> 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: Wed, 01 Dec 2010 21:40:25 -0000 On Wed, 1 Dec 2010, Bruce Cran wrote: > It appears that the network stack on -CURRENT is returning EHOSTUNREACH > instead of ECONNREFUSED when trying to connect to a closed port over > IPv6. e.g.: > >> telnet www.kame.net 10000 > Trying 203.178.141.194... > telnet: connect to address 203.178.141.194: Connection refused > Trying 2001:200:dff:fff1:216:3eff:feb1:44d7... > telnet: connect to address 2001:200:dff:fff1:216:3eff:feb1:44d7: No > route to host No route to host ... can you ping6/traceroute6 to www.kame.net? Can you reach it with: telnet -6 www.kame.net 80 ? Your connectivity to there seems to be foobared if you'd ask me as: bz:~> telnet -6 www.kame.net 10000 Trying 2001:200:dff:fff1:216:3eff:feb1:44d7... telnet: connect to address 2001:200:dff:fff1:216:3eff:feb1:44d7: Connection refused telnet: Unable to connect to remote host I get the connection refused. > telnet: Unable to connect to remote host > > Though it works locally: > >> telnet localhost 10000 > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection refused > Trying ::1... > telnet: connect to address ::1: Connection refused > telnet: Unable to connect to remote host > > -- 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