net/freenet6: Error is 3: INTERFACE_SETUP_FAILED
Elan marikit
elan619xi at gmail.com
Mon Dec 31 02:33:51 PST 2007
Hello Edwin,
I found out that this port is not working in FreeBSD 7, but I got it working
6.2.
Here is the result:
----------------------------
# tspc -vvv -f /usr/local/etc/tspc.conf
tspc - Tunnel Setup Protocol Client v2.1.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 emarikit
Using authentification mecanism DIGEST-MD5
Authentication success
Asking for a tunnel
sent: Content-length: 206
<tunnel action="create" type="v6anyv4" proxy="no">
<client>
<address type="ipv4">192.168.251.253</address>
<keepalive interval="30"><address type="ipv6">::</address></keepalive>
</client>
</tunnel>
recv:
200 Success
<tunnel action="info" type="v6udpv4" lifetime="604800">
<server>
<address type="ipv4"> 64.86.88.116</address>
<address type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:78c4</address>
</server>
<client>
<address type="ipv4"> 203.84.188.126</address>
<address type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:78c5</address>
<address type="dn"> emarikit.broker.freenet6.net</address>
<keepalive interval="30">
<address type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:78c4</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
keepalive interval: 30
Going daemon, check tspc.log for tunnel creation status
---------------------
But when I check the tun1, it has no ipv6 address.
And here is what tscp.log reports:
---------------------------
# cat tspc.log
2007/12/21 22:07:00 tspc: tspMain: tspc - Tunnel Setup Protocol Client
v2.1.1
2007/12/21 22:07:00 tspc: tspMain: Initializing (use -h for help)
2007/12/21 22:07:00 tspc: tspMain: Connecting to server with reliable udp
2007/12/21 22:07:00 tspc: tspMain: Using TSP protocol version 2.0.0
2007/12/21 22:07:00 tspc: tspSetupTunnel: Establishing connection with
tunnel broker...
2007/12/21 22:07:00 tspc: tspSetupTunnel: Getting capabilities from server
2007/12/21 22:07:01 tspc: tspSetupTunnel: Connection established
2007/12/21 22:07:01 tspc: tspSetupTunnel: Authenticating emarikit
2007/12/21 22:07:01 tspc: tspAuthenticate: Using authentification mecanism
DIGEST-MD5
2007/12/21 22:07:02 tspc: tspSetupTunnel: Authentication success
2007/12/21 22:07:02 tspc: tspSetupTunnel: Asking for a tunnel
2007/12/21 22:07:02 tspc: tspSendRecv: sent: Content-length: 206<tunnel
action="create" type="v6anyv4" proxy="no"> <client> <address type="ipv4">
192.168.251.253</address><keepalive interval="30"><address
type="ipv6">::</address></keepalive> </client></tunnel>
2007/12/21 22:07:02 tspc: tspSendRecv: recv: 200 Success<tunnel
action="info" type="v6udpv4" lifetime="604800"> <server> <address
type="ipv4"> 64.86.88.116</address> <address
type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:78c4</address> </server>
<client> <address type="ipv4"> 203.84.188.126</address> <address
type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:78c5</address> <address
type="dn"> emarikit.broker.freenet6.net</address> <keepalive
interval="30"> <address
type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:78c4</address>
</keepalive> </client></tunnel>
2007/12/21 22:07:02 tspc: tspExtractPayload: Processing response from server
2007/12/21 22:07:02 tspc: tspSend: sent: Content-length: 35<tunnel
action="accept"></tunnel>
2007/12/21 22:07:02 tspc: tspSetupTunnel: Got tunnel parameters from server,
setting up local tunnel
2007/12/21 22:07:02 tspc: tspStartLocal: keepalive interval: 30
2007/12/21 22:07:02 tspc: tspStartLocal: Going daemon, check tspc.log for
tunnel creation status
2007/12/21 22:07:02 tspc: tspStartLocal: Waiting for setup script to
complete
2007/12/21 22:07:02 tspc: tspSetupInterface: tspSetupInterface beginning
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_TUNNEL_MODE=v6udpv4
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_HOST_TYPE=host
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_TUNNEL_INTERFACE=tun1
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_HOME_INTERFACE=
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_CLIENT_ADDRESS_IPV4=203.84.188.126
2007/12/21 22:07:02 tspc: tspSetEnv:
TSP_CLIENT_ADDRESS_IPV6=2001:05c0:8fff:fffe:0000:0000:0000:78c5
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_SERVER_ADDRESS_IPV4=64.86.88.116
2007/12/21 22:07:02 tspc: tspSetEnv:
TSP_SERVER_ADDRESS_IPV6=2001:05c0:8fff:fffe:0000:0000:0000:78c4
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_TUNNEL_PREFIXLEN=128
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_VERBOSE=3
2007/12/21 22:07:02 tspc: tspSetEnv: TSP_HOME_DIR=/usr/local
2007/12/21 22:07:02 tspc: tspSetupInterface: Executing configuration script:
/bin/sh "/usr/local/bin/tspc- freebsd.sh"
2007/12/21 22:07:02 tspc: Script: --- Start of configuration script. ---
2007/12/21 22:07:02 tspc: Script: Script: tspc-freebsd.sh
2007/12/21 22:07:02 tspc: Script: Error: TSP_HOST_TYPE not defined.
2007/12/21 22:07:02 tspc: tspStartLocal: Script failed to execute correctly
2007/12/21 22:07:02 tspc: tspMain: Error is 3: INTERFACE_SETUP_FAILED
2007/12/21 22:07:02 tspc: tspMain: TSP session done
---------------------------
Here is my uname:
FreeBSD freebsd7.xxx.com 7.0-BETA4 FreeBSD 7.0-BETA4 #3: Fri Dec 21 21:44:36
PHT 2007 root at freebsd7.xxx.com:/usr/obj/usr/src/sys/ELAN i386
Thanks for your time.
Cheers,
Elan
More information about the freebsd-ports
mailing list