[helios@balios.org: Re: Ipv6 -> ipv4 tunneling]

Helios de Creisquer helios@balios.org
Sun, 23 Dec 2001 00:16:01 +0100


Hello again !

I just written:
> yep...
>
> You should downgrade to freenet6_0.9.3-2_i386.deb
> the 0.9.5 package is broken.
> it doesnt get the server ipv4 address and is therefore unable to
> establish the tunnel.

Hum, I've mistaken... With two hosts with the same config but different
versions, one works, and the other not, but after upgrade, no
differences:

root@alter:~# grep '<server>' freenet6fetched
16177 read(5, "200 Undefined\r\n<tunnel action=\"info\" type=\"v6v4\"
lifetime=\"129600\">\n <server>\n  <address
type=\"ipv4\">206.123.31.114</address>\n  <address
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
type=\"ipv6\">3ffe:0b80:0002:32e4:0000:0000:0000:0001</address>\n
</server>\n <client>\n  <address type=\"ipv4\">193.252.53.21</address>\n
<address
type=\"ipv6\">3ffe:0b80:0002:32e4:0000:0000:0000:0002</address>\n
<address type=\"dn\">baliosorg.tsps1.freenet6.net</address>\n
<router>\n   <prefix
length=\"48\">3ffe:0b80:02f1:0000:0000:0000:0000:0000</prefix>\n
</router>\n </client>\n</tunnel>\n", 516) = 516



root@camelot:~# grep '<server>' freenet6fetched 
3285  read(5, "200 Undefined\r\n<tunnel action=\"info\" type=\"v6v4\"
lifetime=\"129600\">\n <server>\n  <address type=\"ipv4\"></address>\n
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<address
type=\"ipv6\">3ffe:0b80:0002:33e5:0000:0000:0000:0001</address>\n
</server>\n <client>\n  <address type=\"ipv4\">62.212.98.244</address>\n
<address
type=\"ipv6\">3ffe:0b80:0002:33e5:0000:0000:0000:0002</address>\n
<address type=\"dn\">vguideparis.tsps1.freenet6.net</address>\n
<router>\n   <prefix
length=\"48\">3ffe:0b80:05ad:0000:0000:0000:0000:0000</prefix>\n
</router>\n </client>\n</tunnel>\n", 504) = 504


First works well, the other one not !!!

the version is exactly the same, here are md5sums from binaries and
diffs from config files:

root@alter:~# md5sum `which tspc`
be326b0711123b96ccbd4bef9beda802  /usr/sbin/tspc

root@camelot:~# md5sum `which tspc`
be326b0711123b96ccbd4bef9beda802  /usr/sbin/tspc

root@alter:~# md5sum `locate linux.sh`
f40f92e207b087a06a5f670c398a1a4b  /usr/lib/freenet6/template/linux.sh

root@camelot:~# md5sum `locate linux.sh`
f40f92e207b087a06a5f670c398a1a4b  /usr/lib/freenet6/template/linux.sh

root@camelot:~# diff /etc/tspc.conf tspc.conf
11c11
< if_prefix=eth0
---
> if_prefix=eth1
13,14c13,14
< userid=[snip]
< passwd=[snip]
---
> userid=[snip]
> passwd=[snip]

It seems to me a little "Magic, more magic !!"

If someone's got an idea... I'm very very very interested :)

Cheers,
-- 
               Helios de Creisquer      <helios@balios.org>
http://www.tuxfamily.org/                        <creis@tuxfamily.org>
http://www.vhffs.org/      +33 (0)6 70 71 20 29      <creis@vhffs.org>
http://www.gnu.org/                                    <creis@gnu.org>
GPG(1024D/96EB1C44): FB11 8B80 4D86 D9C2 DE0C 11D7 2FA8 A5CC 96EB 1C44