From owner-freebsd-ports@FreeBSD.ORG Mon Dec 31 10:33:51 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAD8516A419 for ; Mon, 31 Dec 2007 10:33:50 +0000 (UTC) (envelope-from elan619xi@gmail.com) Received: from po-out-1718.google.com (po-out-1718.google.com [72.14.252.153]) by mx1.freebsd.org (Postfix) with ESMTP id BCEE213C467 for ; Mon, 31 Dec 2007 10:33:50 +0000 (UTC) (envelope-from elan619xi@gmail.com) Received: by po-out-1718.google.com with SMTP id b23so2500421poe.3 for ; Mon, 31 Dec 2007 02:33:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type; bh=hYwTALq537du/4/ydN96PWWJffmk3trMyg+UIkEqA3A=; b=ERnQ9l6H1KZmOySQpmYe07i+NRylYTlVluHqB4GyfAJCzomsB0hmy7iUowqrfNgzctWOHJhIBoEeY64xTm9AnMEkaaIC2XXtoe8eeBt9d0D+DxpGVpgmMlhXZYxVW+pvj3frXLrQ8AmMMUo4ygQ5F1hTZg6r9/SMmmysozHvfWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type; b=SGupndSWhgLSqMKdmtnBWsYV8RHv+H8II4nY1ORMQ1MxNbGno0j0GJ6Y7plKHyiQ4xWt4fr2LeVuilzGppdU5UgAwjHa31LFAc4HXXGsr6IZcaFqVwspn9bNcLiXJ1q1g6e8gXgkln7tIRW5JG6pphlfWGS3pv4eOYidOrwNCUY= Received: by 10.114.127.1 with SMTP id z1mr11140253wac.26.1199096316936; Mon, 31 Dec 2007 02:18:36 -0800 (PST) Received: by 10.115.110.12 with HTTP; Mon, 31 Dec 2007 02:18:36 -0800 (PST) Message-ID: <400061ec0712310218i296236e9gf80e66fe62405356@mail.gmail.com> Date: Mon, 31 Dec 2007 18:18:36 +0800 From: "Elan marikit" To: edwin@mavetju.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: net/freenet6: Error is 3: INTERFACE_SETUP_FAILED X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 10:33:51 -0000 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
192.168.251.253
::
recv: 200 Success
64.86.88.116
2001:05c0:8fff:fffe:0000:0000:0000:78c4
203.84.188.126
2001:05c0:8fff:fffe:0000:0000:0000:78c5
emarikit.broker.freenet6.net
2001:05c0:8fff:fffe:0000:0000:0000:78c4
Processing response from server sent: Content-length: 35 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
192.168.251.253
::
2007/12/21 22:07:02 tspc: tspSendRecv: recv: 200 Success
64.86.88.116
2001:05c0:8fff:fffe:0000:0000:0000:78c4
203.84.188.126
2001:05c0:8fff:fffe:0000:0000:0000:78c5
emarikit.broker.freenet6.net
2001:05c0:8fff:fffe:0000:0000:0000:78c4
2007/12/21 22:07:02 tspc: tspExtractPayload: Processing response from server 2007/12/21 22:07:02 tspc: tspSend: sent: Content-length: 35 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@freebsd7.xxx.com:/usr/obj/usr/src/sys/ELAN i386 Thanks for your time. Cheers, Elan