Package: gogoc
Version: 1:1.2-5
Severity: normal

Dear Maintainer,

  When gogoc is called from init.d script (ie. invoke-rc.d gogoc start), 
  it exits after establishing the tunnel.

  Yet if I call gogoc from command line (ie. I just run 'gogoc'), gogoc 
  remains running after the tunnel is established.

  /etc/gogoc/gogoc.conf is attached.

From the logs, I noticed that the interface configuration script is 
called twice when gogoc is run from init.d script.

Here's the logfile when gogoc is run from init.d script:

2014/08/27 10:53:03 I gogoc: gogoCLIENT v1.1-RELEASE build Sep 30 2013-10:35:07 
 
2014/08/27 10:53:03 I gogoc: Built on ///Linux elmo 3.10-2-amd64 #1 SMP Debian 
3.10.7-1 (2013-08-17) x86_64 GNU/Linux///
2014/08/27 10:53:03 I gogoc: Establishing connection to server 
anonymous.freenet6.net using reliable UDP.
2014/08/27 10:53:04 I gogoc: Received a TSP redirection message from server 
anonymous.freenet6.net (1200 Redirection).
2014/08/27 10:53:04 I gogoc: The server redirection list is [ 
anon-taipei.freenet6.net, anon-amsterdam.freenet6.net, 
anon-montreal.freenet6.net ].
2014/08/27 10:53:04 I gogoc: Sorting the server redirection list.
2014/08/27 10:53:04 I gogoc: The optimized server redirection list is [ 
anon-amsterdam.freenet6.net, anon-montreal.freenet6.net, 
anon-taipei.freenet6.net ].
2014/08/27 10:53:04 I gogoc: Establishing connection to server 
anon-amsterdam.freenet6.net using reliable UDP.
2014/08/27 10:53:05 I gogoc: Authentication successful.
2014/08/27 10:53:05 I gogoc: Tunnel negotiation successful. Accepted offer.
2014/08/27 10:53:05 I gogoc: Checking for Linux IPv6 support...
2014/08/27 10:53:05 I gogoc: IPv6 support found.
2014/08/27 10:53:05 I gogoc: Executing interface configuration script: /bin/sh 
"/usr/share/gogoc/template/linux.sh".
2014/08/27 10:53:05 I gogoc: Interface configuration script completed 
successfully.
2014/08/27 10:53:05 I gogoc: The host type is 'host'.
2014/08/27 10:53:05 I gogoc: The tunnel type is v6udpv4.
2014/08/27 10:53:05 I gogoc: Your IPv6 address is 
2001:05c0:1400:000a:0000:0000:0000:0535.
2014/08/27 10:53:05 I gogoc: Your IPv6 DNS address is 
2001:4860:4860:0000:0000:0000:0000:8888.
2014/08/27 10:53:05 I gogoc: Keepalive initialized with peer 
2001:05c0:1400:000a:0000:0000:0000:0534. Interval=30000ms. Timeout=5000ms. 
General timeout at 3 consecutive timeouts.
2014/08/27 10:53:06 I gogoc: Executing interface configuration script: /bin/sh 
"/usr/share/gogoc/template/linux.sh".
2014/08/27 10:53:06 I gogoc: Interface configuration script completed 
successfully.
2014/08/27 10:53:06 I gogoc: Finished.


And this is the logfile when gogoc is run from command line:

2014/08/27 12:44:59 I gogoc: gogoCLIENT v1.1-RELEASE build Sep 30 2013-10:35:07 
 
2014/08/27 12:44:59 I gogoc: Built on ///Linux elmo 3.10-2-amd64 #1 SMP Debian 
3.10.7-1 (2013-08-17) x86_64 GNU/Linux///
2014/08/27 12:44:59 I gogoc: Establishing connection to server 
anonymous.freenet6.net using reliable UDP.
2014/08/27 12:45:04 I gogoc: Received a TSP redirection message from server 
anonymous.freenet6.net (1200 Redirection).
2014/08/27 12:45:04 I gogoc: The server redirection list is [ 
anon-taipei.freenet6.net, anon-amsterdam.freenet6.net, 
anon-montreal.freenet6.net ].
2014/08/27 12:45:04 I gogoc: Sorting the server redirection list.
2014/08/27 12:45:05 I gogoc: The optimized server redirection list is [ 
anon-amsterdam.freenet6.net, anon-montreal.freenet6.net, 
anon-taipei.freenet6.net ].
2014/08/27 12:45:05 I gogoc: Establishing connection to server 
anon-amsterdam.freenet6.net using reliable UDP.
2014/08/27 12:45:05 I gogoc: Authentication successful.
2014/08/27 12:45:05 I gogoc: Tunnel negotiation successful. Accepted offer.
2014/08/27 12:45:05 I gogoc: Checking for Linux IPv6 support...
2014/08/27 12:45:05 I gogoc: IPv6 support found.
2014/08/27 12:45:05 I gogoc: Executing interface configuration script: /bin/sh 
"/usr/share/gogoc/template/linux.sh".
2014/08/27 12:45:05 I gogoc: Interface configuration script completed 
successfully.
2014/08/27 12:45:05 I gogoc: The host type is 'host'.
2014/08/27 12:45:05 I gogoc: The tunnel type is v6udpv4.
2014/08/27 12:45:05 I gogoc: Your IPv6 address is 
2001:05c0:1400:000a:0000:0000:0000:023b.
2014/08/27 12:45:05 I gogoc: Your IPv6 DNS address is 
2001:4860:4860:0000:0000:0000:0000:8888.
2014/08/27 12:45:05 I gogoc: Keepalive initialized with peer 
2001:05c0:1400:000a:0000:0000:0000:023a. Interval=30000ms. Timeout=5000ms. 
General timeout at 3 consecutive timeouts.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gogoc depends on:
ii  iproute2     3.16.0-1
ii  libc6        2.19-9
ii  libgcc1      1:4.9.1-4
ii  libssl1.0.0  1.0.1i-2
ii  libstdc++6   4.9.1-4
ii  net-tools    1.60-26

Versions of packages gogoc recommends:
ii  radvd  1:1.9.1-1.3

Versions of packages gogoc suggests:
pn  sipcalc  <none>

-- Configuration Files:
/etc/default/gogoc changed:
CHECK_KEYFILE="no"

-- no debconf information

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
userid=
passwd=
server=anonymous.freenet6.net
auth_method=anonymous
host_type=host
prefixlen=64
if_prefix=
dns_server=
gogoc_dir=
auto_retry_connect=yes
retry_delay=30
retry_delay_max=300
keepalive=yes
keepalive_interval=30
tunnel_mode=v6anyv4
if_tunnel_v6v4=sit1
if_tunnel_v6udpv4=tun
if_tunnel_v4v6=sit0
client_v4=auto
client_v6=auto
template=linux
proxy_client=no
broker_list=/var/lib/gogoc/tsp-broker-list.txt
last_server=/var/lib/gogoc/tsp-last-server.txt
always_use_same_server=no
log_stderr=0
log_file=2
log_filename=/var/log/gogoc/gogoc.log
log_rotation=yes
log_rotation_size=32
log_rotation_delete=no
syslog_facility=USER

Attachment: signature.asc
Description: Digital signature

Reply via email to