[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[[email protected]: Re: Ipv6 -> ipv4 tunneling]



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:

[email protected]:~# 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



[email protected]:~# 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:

[email protected]:~# md5sum `which tspc`
be326b0711123b96ccbd4bef9beda802  /usr/sbin/tspc

[email protected]:~# md5sum `which tspc`
be326b0711123b96ccbd4bef9beda802  /usr/sbin/tspc

[email protected]:~# md5sum `locate linux.sh`
f40f92e207b087a06a5f670c398a1a4b  /usr/lib/freenet6/template/linux.sh

[email protected]:~# md5sum `locate linux.sh`
f40f92e207b087a06a5f670c398a1a4b  /usr/lib/freenet6/template/linux.sh

[email protected]:~# 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      <[email protected]>
http://www.tuxfamily.org/                        <[email protected]>
http://www.vhffs.org/      +33 (0)6 70 71 20 29      <[email protected]>
http://www.gnu.org/                                    <[email protected]>
GPG(1024D/96EB1C44): FB11 8B80 4D86 D9C2 DE0C 11D7 2FA8 A5CC 96EB 1C44