[tor-bugs] #2001 [Tor Relay]: Reachability test for ORPort doesn't complete with --enable-bufferevents set

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Oct 13 10:44:43 UTC 2010


#2001: Reachability test for ORPort doesn't complete with --enable-bufferevents
set
-----------------------+----------------------------------------------------
 Reporter:  Sebastian  |       Owner:  nickm   
     Type:  defect     |      Status:  accepted
 Priority:  normal     |   Milestone:          
Component:  Tor Relay  |     Version:          
 Keywords:             |      Parent:          
-----------------------+----------------------------------------------------

Comment(by stars):

 ok, i tested again 8 hours ago on Tor network and i got different Log
 message after starting Tor a couples times, OrPort now be reachable but
 after when i try open a circuit, it start to open at infinite different
 circuits because all failings to be done.

 Here are the different log message at notice level only:

 oct. 13 01:06:48.346 [Notice] Tor v0.2.3.0-alpha-dev (git-
 5710d99f00b3ac7c). This is experimental software. Do not rely on it for
 strong anonymity. (Running on Linux x86_64)
 oct. 13 01:06:48.346 [Notice] Initialized libevent version 2.0.7-rc-dev
 using method epoll. Good.
 oct. 13 01:06:48.346 [Notice] Opening OR listener on 0.0.0.0:9090
 oct. 13 01:06:48.346 [Notice] Opening Directory listener on 0.0.0.0:9091
 oct. 13 01:06:48.346 [Notice] Opening Socks listener on 127.0.0.1:9050
 oct. 13 01:06:48.347 [Notice] Opening DNS listener on 127.0.0.1:9053
 oct. 13 01:06:48.347 [Notice] Opening Control listener on 127.0.0.1:9051
 oct. 13 01:06:48.347 [Notice] Based on 775 circuit times, it looks like we
 don't need to wait so long for circuits to finish. We will now assume a
 circuit is too slow to use after waiting 19 seconds.
 oct. 13 01:06:48.347 [Notice] Parsing GEOIP file.
 oct. 13 01:06:50.809 [Notice] Configured to measure statistics. Look for
 the *-stats files that will first be written to the data directory in 24
 hours from now.
 oct. 13 01:06:50.809 [Notice] OpenSSL OpenSSL 0.9.8k 25 Mar 2009 [9080bf]
 looks like it's older than 0.9.8l, but some vendors have backported
 0.9.8l's renegotiation code to earlier versions, and some have backported
 the code from 0.9.8m or 0.9.8n.  I'll set both SSL3_FLAGS and SSL_OP just
 to be safe.
 oct. 13 01:06:50.809 [Notice] Your Tor server's identity key fingerprint
 is 'SwissTorHelp A32E64A8136EBD5124048022786857CB931F584F'
 oct. 13 01:06:50.809 [Notice] This version of Tor (0.2.3.0-alpha-dev) is
 newer than any recommended version, according to the directory
 authorities. Recommended versions are:
 0.2.0.35,0.2.1.19,0.2.1.20,0.2.1.21,0.2.1.22,0.2.1.25,0.2.1.26,0.2.2.1-alpha,0.2.2.2-alpha,0.2.2.3-alpha,0.2.2.4-alpha,0.2.2.5-alpha,0.2.2.6-alpha,0.2.2.7-alpha,0.2.2.8-alpha,0.2.2.10-alpha,0.2.2.11-alpha,0.2.2.12-alpha,0.2.2.13-alpha,0.2.2.14-alpha,0.2.2.15-alpha,0.2.2.16-alpha,0.2.2.17-alpha
 oct. 13 01:06:50.810 [Notice] Reloaded microdescriptor cache.  Found 12437
 descriptors.
 oct. 13 01:06:50.810 [Notice] We now have enough directory information to
 build circuits.
 oct. 13 01:06:50.810 [Notice] Bootstrapped 80%: Connecting to the Tor
 network.
 oct. 13 01:06:50.810 [Notice] New control connection opened.
 oct. 13 01:06:51.038 [Notice] Guessed our IP address as 80.218.145.226
 (source: 208.83.223.34).
 oct. 13 01:06:51.890 [Notice] Bootstrapped 85%: Finishing handshake with
 first hop.
 oct. 13 01:06:54.032 [Notice] Bootstrapped 90%: Establishing a Tor
 circuit.
 oct. 13 01:06:54.515 [Notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 oct. 13 01:06:54.516 [Notice] Bootstrapped 100%: Done.
 oct. 13 01:06:54.516 [Notice] Now checking whether ORPort
 80.218.145.226:80 and DirPort 80.218.145.226:443 are reachable... (this
 may take up to 20 minutes -- look for log messages indicating success)
 oct. 13 01:06:54.790 [Warning] Received http status code 404 ("Not found")
 from server '91.208.34.27:80' while fetching consensus directory.
 oct. 13 01:06:56.651 [Notice] Self-testing indicates your DirPort is
 reachable from the outside. Excellent.
 oct. 13 01:06:56.892 [Warning] Received http status code 404 ("Not found")
 from server '91.208.34.18:80' while fetching consensus directory.
 oct. 13 01:06:57.320 [Notice] Based on 777 circuit times, it looks like we
 don't need to wait so long for circuits to finish. We will now assume a
 circuit is too slow to use after waiting 18 seconds.
 oct. 13 01:07:00.014 [Notice] Self-testing indicates your ORPort is
 reachable from the outside. Excellent. Publishing server descriptor.
 oct. 13 01:07:51.833 [Warning] TLS error while handshaking (with
 bufferevent) with [scrubbed]: ssl handshake failure (in SSL
 routines:SSL3_READ_BYTES:SSL3_ST_SR_CERT_A)
 oct. 13 01:08:04.322 [Warning] TLS error while handshaking (with
 bufferevent) with [scrubbed]: ssl handshake failure (in SSL
 routines:SSL3_READ_BYTES:SSL3_ST_SR_CERT_A)

 commit 5710d99f00b3ac7cef0691fc9153993b0f4aa872  tor

 Libevent  commit 34d64f8a347147aa5a6ac222f302e12b142a8f2e

 Other start case: oct. 13 01:14:47.721 [Notice] Self-testing indicates
 your ORPort is reachable from the outside. Excellent. Publishing server
 descriptor.
 oct. 13 01:14:48.122 [Notice] Bootstrapped 85%: Finishing handshake with
 first hop.
 oct. 13 01:16:17.330 [Warning] Problem bootstrapping. Stuck at 85%:
 Finishing handshake with first hop. (Connection timed out; TIMEOUT; count
 10; recommendation warn)


 another start :

 oct. 13 01:19:10.751 [Notice] We now have enough directory information to
 build circuits.
 oct. 13 01:19:10.751 [Notice] Bootstrapped 80%: Connecting to the Tor
 network.
 oct. 13 01:19:10.751 [Notice] New control connection opened.
 oct. 13 01:19:10.752 [Warning] TLS error while handshaking (with
 bufferevent) with [scrubbed]: http request (in SSL
 routines:SSL23_GET_CLIENT_HELLO:SSL23_ST_SR_CLNT_HELLO_A)
 oct. 13 01:19:10.752 [Notice] Guessed our IP address as 80.218.145.226
 (source: 193.23.244.244).
 oct. 13 01:19:13.591 [Notice] Self-testing indicates your ORPort is
 reachable from the outside. Excellent. Publishing server descriptor.
 oct. 13 01:19:18.803 [Notice] Bootstrapped 85%: Finishing handshake with
 first hop.

 next one :

 oct. 13 01:20:15.792 [Notice] Bootstrapped 80%: Connecting to the Tor
 network.
 oct. 13 01:20:15.792 [Notice] New control connection opened.
 oct. 13 01:20:16.689 [Notice] Bootstrapped 85%: Finishing handshake with
 first hop.
 oct. 13 01:20:16.785 [Notice] Guessed our IP address as 80.218.145.226
 (source: 213.115.239.118).
 oct. 13 01:20:18.645 [Notice] Bootstrapped 90%: Establishing a Tor
 circuit.
 oct. 13 01:20:19.889 [Notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 oct. 13 01:20:19.889 [Notice] Bootstrapped 100%: Done.
 oct. 13 01:20:19.889 [Notice] Now checking whether ORPort
 80.218.145.226:80 and DirPort 80.218.145.226:443 are reachable... (this
 may take up to 20 minutes -- look for log messages indicating success)
 oct. 13 01:20:20.078 [Notice] Self-testing indicates your ORPort is
 reachable from the outside. Excellent. Publishing server descriptor.
 oct. 13 01:20:21.615 [Notice] Self-testing indicates your DirPort is
 reachable from the outside. Excellent.
 oct. 13 01:20:22.038 [Notice] Based on 794 circuit times, it looks like we
 don't need to wait so long for circuits to finish. We will now assume a
 circuit is too slow to use after waiting 20 seconds.

 Look good but still never possible to reach te web, when try open a site
 like Tor Trac or OFTC irc I.E , all circuit fails...and so in infite...

 my Torrc :

 # This file was generated by Tor; if you edit it, comments will not be
 preserved
 # The old torrc file was renamed to torrc.orig.1 or similar, and Tor will
 ignore it

 CellStatistics 1
 ContactInfo swisstorexit at Safe-mail dot net
 ControlPort 9051
 DataDirectory xxxxxxxxxxxxxxxxxxxxxxxxxxxx
 DirListenAddress 0.0.0.0:9091
 DirPort 443
 DirReqStatistics 1
 DNSPort 53
 DNSListenAddress 127.0.0.1:9053
 EntryStatistics 1
 ExcludeNodes xxxxxxxxxxxxxxxxxxxxxxxxxx
 ExcludeExitNodes xxxxxxxxxxxxxxxxxxx
 ExitPolicy reject *:*
 ExtraInfoStatistics 1
 GeoIPFile xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 HashedControlPassword xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 Log notice stdout
 Nickname SwissTorHelp
 NumCpus 4
 NumEntryGuards 8
 ORListenAddress 0.0.0.0:9090
 ORPort 80
 RefuseUnknownExits 1
 RelayBandwidthBurst 1024000
 RelayBandwidthRate 409600

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2001#comment:28>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list