Problem with net/freenet6 port.

आशीष शुक्ल Ashish Shukla wahjava.ml at gmail.com
Fri Dec 28 08:36:31 PST 2007


Hi,

I'm having a problem with running FreeBSD port "net/freenet6" tunnel.
I installed it for first time, today, and when ran (tspc -vvv -f
/usr/local/etc/tspc.conf) got this in tspc.log:

----8<----8<----
2007/12/28 21:53:06 tspc: tspMain: tspc - Tunnel Setup Protocol Client v2.1.1
2007/12/28 21:53:06 tspc: tspMain: Initializing (use -h for help)
2007/12/28 21:53:06 tspc: tspMain: Connecting to server with reliable udp
2007/12/28 21:53:06 tspc: tspMain: Using TSP protocol version 2.0.0
2007/12/28 21:53:06 tspc: tspSetupTunnel: Establishing connection with
tunnel broker...
2007/12/28 21:53:06 tspc: tspSetupTunnel: Getting capabilities from server
2007/12/28 21:53:07 tspc: tspSetupTunnel: Connection established
2007/12/28 21:53:07 tspc: tspSetupTunnel: Authenticating ${userid}
2007/12/28 21:53:07 tspc: tspAuthenticate: Using authentification
mecanism DIGEST-MD5
2007/12/28 21:53:08 tspc: tspSetupTunnel: Authentication success
2007/12/28 21:53:08 tspc: tspSetupTunnel: Asking for a tunnel
2007/12/28 21:53:08 tspc: tspSendRecv: sent: Content-length:
206<tunnel action="create" type="v6udpv4" proxy="no"> <client>
<address type="ipv4">122.XXX.XXX.XXX</address><keepalive
interval="30"><address type="ipv6">::</address></keepalive>
</client></tunnel>
2007/12/28 21:53:08 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:XXXX</address>
</server>  <client>    <address type="ipv4">122.XXX.XXX.XXX</address>
  <address type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:5ea5</address>
   <address type="dn">xxxxxxxxx.broker.freenet6.net</address>
<keepalive interval="30">      <address
type="ipv6">2001:05c0:8fff:fffe:0000:0000:0000:xxxx</address>
</keepalive>  </client></tunnel>
2007/12/28 21:53:08 tspc: tspExtractPayload: Processing response from server
2007/12/28 21:53:08 tspc: tspSend: sent: Content-length: 35<tunnel
action="accept"></tunnel>
2007/12/28 21:53:08 tspc: tspSetupTunnel: Got tunnel parameters from
server, setting up local tunnel
2007/12/28 21:53:08 tspc: tspStartLocal: keepalive interval: 30
2007/12/28 21:53:08 tspc: tspStartLocal: Going daemon, check tspc.log
for tunnel creation status
2007/12/28 21:53:08 tspc: tspStartLocal: Waiting for setup script to complete
2007/12/28 21:53:08 tspc: tspSetupInterface: tspSetupInterface beginning
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_TUNNEL_MODE=v6udpv4
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_HOST_TYPE=host
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_TUNNEL_INTERFACE=tun1
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_HOME_INTERFACE=fxp0
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_CLIENT_ADDRESS_IPV4=122.XXX.XXX.XXX
2007/12/28 21:53:08 tspc: tspSetEnv:
TSP_CLIENT_ADDRESS_IPV6=2001:05c0:8fff:fffe:0000:0000:0000:XXXX
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_SERVER_ADDRESS_IPV4=64.86.88.116
2007/12/28 21:53:08 tspc: tspSetEnv:
TSP_SERVER_ADDRESS_IPV6=2001:05c0:8fff:fffe:0000:0000:0000:XXXX
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_TUNNEL_PREFIXLEN=128
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_VERBOSE=3
2007/12/28 21:53:08 tspc: tspSetEnv: TSP_HOME_DIR=/usr/local
2007/12/28 21:53:08 tspc: tspSetupInterface: Executing configuration
script: /bin/sh "/usr/local/bin/tspc-freebsd.sh"
2007/12/28 21:53:08 tspc: Script: --- Start of configuration script. ---
2007/12/28 21:53:08 tspc: Script: Script: tspc-freebsd.sh
2007/12/28 21:53:08 tspc: Script: Error: TSP_HOST_TYPE not defined.
2007/12/28 21:53:08 tspc: tspStartLocal: Script failed to execute correctly
2007/12/28 21:53:08 tspc: tspMain: Error is 3: INTERFACE_SETUP_FAILED
2007/12/28 21:53:08 tspc: tspMain: TSP session done
---->8---->8----

Following is my "/usr/local/etc/tspc.conf" :

----8<----8<----
tsp_dir=/usr/local
auth_method=any
client_v4=auto
userid=${userid}
passwd=${password}
template=tspc-freebsd
server=broker.freenet6.net
retry_delay=30
tunnel_mode=v6udpv4
if_tunnel_v6v4=gif0
if_tunnel_v6udpv4=tun1
proxy_client=no
keepalive=yes
keepalive_interval=30
syslog_facility=DAEMON
syslog_level=INFO
host_type=host
prefixlen=48
if_prefix=fxp0
---->8---->8----

Following is the output of "uname -a":
FreeBSD chateau.d.lf 7.0-BETA4 FreeBSD 7.0-BETA4 #1: Wed Dec 19
13:22:36 IST 2007     toor at chateau.d.lf:/usr/obj/usr/src/sys/GENERIC
amd64

Can anyone tell me, where's the problem ?

TIA
-- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


More information about the freebsd-ports mailing list