On Sat, Jan 15, 2011 at 03:10:44PM +0100, Roland Stigge wrote:
> On 15/01/11 15:01, Roland Stigge wrote:
> > On 15/01/11 11:22, Jari Aalto wrote:
> >> That there seesm to be a problem with ipv4 support. The version in
> >> Lenny
> >> (lenny/6tunnel-0.11rc2-2) seems to work ok.
> >
> >> [~]$ 6tunnel -4 -l 192.168.0.100 5432 10.2.10.2 5432
> >> 6tunnel: unable to resolve host 10.2.10.2
>
> Look at the "hints": 6tunnel is supposed to create tunnels IPv6->IPv4 or
> IPv4->IPv6. Not IPv4->IPv4. (Which would be nice, though, but not the
> original intention.)
In this example I used IPv4->IPv4 since it's more likely to be installed on
armel[1] boxes, but the bug happens if the listen address is IPv6 as well:
[~]$ 6tunnel -4 -l ::1 5432 10.2.10.2 5432
6tunnel: unable to resolve host 10.2.10.2
[1]. The breakage was initially caused by a problem on armel. A good deal
of such machines in the wild have kernels without IPv6, including n900. I
do happen to use an IPv6-enabled kernel on my phone, but I guess most people
don't.
--
1KB // Microsoft corollary to Hanlon's razor:
// Never attribute to stupidity what can be
// adequately explained by malice.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]