Code:
[root@localhost root]# /usr/local/tspc2/bin/tspc -vvvf /usr/local/tspc2/bin/tspc.conf
tspc - Tunnel Setup Protocol Client v2.1
Initializing (use -h for help)
Connecting to server with reliable udp
Using TSP protocol version 2.0.0
Establishing connection with tunnel broker...
Getting capabilities from server
tspGetCapabilities error 2: SOCKET_ERROR
if you are using udp, there is probably no udp listener at broker.freenet6.net
Reliable udp connection failed, fallback to tcp and V6V4
Connecting to server with tcp
Using TSP protocol version 2.0.0
Establishing connection with tunnel broker...
Unable to establish connection with broker.freenet6.net
All transports failed, quitting
Error is 2: SOCKET_ERROR
TSP session done
Code:
[root@localhost root]# /usr/local/tspc2/bin/tspc -vvvf /usr/local/tspc2/bin/tspc.conf
tspc - Tunnel Setup Protocol Client v2.1
Initializing (use -h for help)
Connecting to server with reliable udp
Using TSP protocol version 2.0.0
Establishing connection with tunnel broker...
Getting capabilities from server
Connection established
Authenticating anyweb
Using authentification mecanism DIGEST-MD5
Authentication success
Asking for a tunnel
sent: Content-length: 351
<tunnel action="create" type="v6anyv4" proxy="no">
<client>
<address type="ipv4">192.168.0.117</address>
<keepalive interval="30"><address type="ipv6">::</address></keepalive> <router> <prefix length="48"/>
<dns_server>
<address type="dn">ns1.vandyk.candlefire.net</address>
</dns_server>
</router>
</client>
</tunnel>
recv:
200 Success
<tunnel action="info" type="v6udpv4" lifetime="604800">
<server>
<address type="ipv4">206.123.31.116</address>
<address type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:0436</address>
</server>
<client>
<address type="ipv4">81.229.173.235</address>
<address type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:0437</address>
<router>
<prefix length="48">2001:05c0:8160:0000:0000:0000:0000:0000</prefix>
</router>
<keepalive interval="30">
<address type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:0436</address>
</keepalive>
</client>
</tunnel>
Processing response from server
sent: Content-length: 35
<tunnel action="accept"></tunnel>
Got tunnel parameters from server, setting up local tunnel
Checking for linux ipv6 support...
IPv6 support found
keepalive interval: 30
Going daemon, check tspc.log for tunnel creation status
[root@localhost root]#