Hi, Something strange is happening with tor. The problem is this: I have a hidden service which points to a local ssh port:
SocksPort 9050 # what port to open for local application connections SocksListenAddress 127.0.0.1 # accept connections only from localhost Log notice file /var/log/tor/notices.log ControlPort 9051 HiddenServiceDir /var/lib/tor/ssh_hidden_service/ HiddenServicePort 22 127.0.0.1:22 Nickname mauer Address keetweej.vanheusden.com RelayBandwidthRate 20 KBytes # Throttle traffic to 100KB/s (800Kbps) RelayBandwidthBurst 40 KBytes # But allow bursts up to 200KB/s (1600Kbps) ContactInfo Folkert van Heusden <[email protected]> ORPort 9001 DirPort 9030 # what port to advertise for directory connections ExitPolicy reject *:* # no exits allowed HashedControlPassword 16:secret AccountingStart day 00:00 AccountingMax 8192 GB mauer:/# netstat -nap | grep :22 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2271/sshd tcp6 0 0 :::22 :::* LISTEN 2271/sshd mauer:/# ssh localhost The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is f7:e4:64:12:75:c7:88:bb:f4:d4:3f:f6:f2:16:ca:57. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'localhost' (RSA) to the list of known hosts. +---------------------------------------------------------------------------+ | Access denied. Go away! | +---------------------------------------------------------------------------+ root@localhost's password: ---- So as you can see all should work. Now when I do this: $ torsocks ssh SECRET.onion I get after a minute or so: folkert@ieieie:~$ time stor libtorsocks: The symbol res_send() was not found in any shared library. The error reported was: not found! 11:39:32 libtorsocks(2588): SOCKS V4 connect rejected: 11:39:32 libtorsocks(2588): SOCKS server refused connection ssh: connect to host SECRET.onion port 22: Connection refused real 1m6.709s user 0m0.008s sys 0m0.024s folkert@ieieie:~$ Rather strange isn't it? I tried this last week as well as today. Folkert van Heusden -- Nagios user? Check out CoffeeSaint - the versatile Nagios status viewer! http://www.vanheusden.com/java/CoffeeSaint/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com _______________________________________________ tor-talk mailing list [email protected] https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
