Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 16:11:43 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Terry Kennedy <TERRY@tmk.com>
Cc:        freebsd-net@freebsd.org
Subject:   RE: EHOSTUNREACH returned for refused IPv6 connection
Message-ID:  <20101206160722.O6126@maildrop.int.zabbadoz.net>
In-Reply-To: <01NV2YXQ2LAC000SKQ@tmk.com>
References:  <01NV2YXQ2LAC000SKQ@tmk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
         <ks> Going to jail sucks -- <bz> All my daemons like it!
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101206160722.O6126>