tincctl localhost timeout
shikkc
shikkc at kirktis.net
Fri Dec 28 20:24:07 CET 2012
First off, thanks to all who have made tinc possible and continue to work
developing it. I hope perhaps in time I can become a useful part of this
community. :) I'm having an interesting issue with tincctl and was hoping
someone could shed some light on it. Everything seems to work correctly when
I build for OSX; however on linux and windows builds, I always receive
connection errors. Net and hostname changed, and copyright info left out from
versions to save space.
root@<hostname> # netstat -l -n -p | grep 655
tcp 0 0 0.0.0.0:655 0.0.0.0:* LISTEN
58362/tincd
udp 0 0 0.0.0.0:655 0.0.0.0:*
58362/tincd
root@<hostname># tincctl --net=<netname> stop
Cannot connect to 127.0.0.1 port 655: Connection refused
root@<hostname># tincctl --net=<netname> dump nodes
Cannot connect to 127.0.0.1 port 655: Connection refused
root@<hostname># tincctl --net=<netname> top
Cannot connect to 127.0.0.1 port 655: Connection refused
root@<hostname> # netstat -l -n -p | grep 655
tcp 0 0 0.0.0.0:655 0.0.0.0:* LISTEN
58362/tincd
udp 0 0 0.0.0.0:655 0.0.0.0:*
58362/tincd
root@<hostname># tincctl --net=<netname> --version
tinc version 1.1pre2 (built May 26 2012 00:52:42, protocol 17.2)
Variant on a second host, running a newer build, and IPv6:
root@[hostname]:~# netstat -n -l | grep 655
tcp 0 0 0.0.0.0:655 0.0.0.0:* LISTEN
5164/tincd
tcp 0 0 :::655 :::* LISTEN
5164/tincd
udp 0 0 0.0.0.0:655 0.0.0.0:*
5164/tincd
udp 0 0 :::655 :::*
5164/tincd
root@[hostname]:~# tincctl --net=[netname]
tinc.[netname]> version
tinc version 1.1pre4 (built Dec 28 2012 23:02:11, protocol 17.2)
tinc.[netname]> dump nodes
Cannot connect to ::1 port 655: Connection timed out
tinc.[netname]> dump graph
Cannot connect to ::1 port 655: Connection timed out
tinc.[netname]> stop
Cannot connect to ::1 port 655: Connection timed out
root@[hostname]:~# netstat -n -l | grep 655
tcp 0 0 0.0.0.0:655 0.0.0.0:* LISTEN
5164/tincd
tcp 0 0 :::655 :::* LISTEN
5164/tincd
udp 0 0 0.0.0.0:655 0.0.0.0:*
5164/tincd
udp 0 0 :::655 :::*
5164/tincd
I likely would have written this off as just being something still in
development and not working yet... but I also built tinc on an old iMac that
was recently gifted to me, and all tincctl commands work fine! Of course now
that I see it works I long for this wonderful functionality on my linux
machines at least (I could care less about windows actually). There are no
firewall rules blocking connections, and obviously tincd is listening... is
there something very obvious I'm missing here?
--
-shikkc
More information about the tinc
mailing list