using tinc in a mixed ipv4/ipv6 network

Michael Braun michael-dev at fami-braun.de
Tue Oct 27 20:02:59 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm using tinc to connect a couple of ipv6 capable machines using a mix
of upd6, udp4, tcp6 and tcp4. Now I wanted to add an linux embedded
device, which has no ipv6 support at all. Tinc did compile and
configuration is fine (tested on other machine), but after connecting
the embedded device to other hosts tinc instances, it suddenly crashes.
The last things happening before crash are.
 GOT ADD_EDGE
 GOT ADD_SUBNET
 Node A (123.123.123.123 port 655) became reachable
 Node B ((null)) became reachable
 Error while translating addresses: ai_family not supported
 Got unexpected signal 8 (Floating point exception)

The difference between the ConnectTo A and B is that A is a reverse
lookupable dns and B's reverse lookup does not match its original dns
name in Address = ... statement (as it is a dynamic dialin host).

I've configured tinc to be in Mode=Switch and put all public keys
of all nodes on all hosts.
It is not difficult to trace the error back to netutl.c line 94
(sockaddr2str, tinc 1.0.10) but I ask myself whether it is intended to
stop tinc from working if just some hosts in the network are connected
by ipv6? Or is there some way to circumvent this problem?

Thanks
 Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrnQ94ACgkQ+6sI4XSM4u1BvQCeJaGzVQGxuowHpLZNmC5iNOro
tSgAnR5BupXC+d/M7gN7HdcMGoXIMIhd
=VvJV
-----END PGP SIGNATURE-----



More information about the tinc mailing list