Subject: port-i386/34234: tor port doesn't work properly
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <fenicottero@gmail.com>
List: netbsd-bugs
Date: 08/19/2006 14:05:01
>Number:         34234
>Category:       port-i386
>Synopsis:       tor port doesn't work properly
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 19 14:05:01 +0000 2006
>Originator:     Oleg Pilyavets
>Release:        3.0-stable
>Organization:
Lebedev Physical Institute
>Environment:
NetBSD drummer.intranet.lebedev.ru 3.0 NetBSD 3.0 (MYKERNEL) #5: Sun Jun 18 03:30:04 MSD 2006  root@spinor.triniti.nat:/usr/src/sys/arch/i386/compile/MYKERNEL i386
>Description:
I have tor-0.1.1.23 installed on my NetBSD with the help of pkgsrc system. The first lines of my tor's Makefile are:

# $NetBSD: Makefile,v 1.33 2006/08/04 15:08:55 tv Exp $
#
DISTNAME=               tor-0.1.1.23

When I start tor with the default tor config file the next lines are printed to stdout:

$ tor &
[1] 2102
$ Aug 19 16:35:01.304 [notice] Tor v0.1.1.23. This is experimental software. Do not rely on it for strong anonymity.
Aug 19 16:35:01.361 [notice] Initialized libevent version 1.1a using method kqueue. Good.
Aug 19 16:35:01.398 [notice] connection_create_listener(): Opening Socks listener on 127.0.0.1:9050
$

Never printed to stdout after this lines.

Earlier, in tor version v.0.1.1.22 the next text in addition was printed to stdout when I run tor:

"Tor has successfully opened a circuit. Looks like client functionality is working."

Now this text is never printed.

In addition to tor-detector (http://serifos.eecs.harvard.edu/cgi-bin/ipaddr.pl?tor=1) writes about me:

You are (probably) NOT using Tor.

You connected to this site from 149.9.0.27, hostname, which is NOT a valid Tor exit node. If you are attempting to use a Tor client, please refer to the Tor website and specifically the instructions for configuring your Tor client. If this is not the IP address from which y
ou appear to connect when you disable your HTTP proxy, then it may be that the particular Tor node se lected by your Tor client is multi-homed.

>How-To-Repeat:
To repeat the problem you should install tor-0.1.1.23 with the help of pkgsrc as:

$ cd /usr/pkgsrc/net/tor
$ make install

Then try
$ tor

Standard diagnostic text "Tor has successfully opened a circuit. Looks like client functionality is working" will never printed to stdout.

Consequently, tor-detector (http://serifos.eecs.harvard.edu/cgi-bin/ipaddr.pl?tor=1) writes sometimes that you are not (probably) using tor.

>Fix: