[tor-bugs] #3956 [Torflow]: BwAuthority Socks5Error 'Connection Refused' correlated with a single exit
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Sep 7 20:38:46 UTC 2011
#3956: BwAuthority Socks5Error 'Connection Refused' correlated with a single exit
---------------------+------------------------------------------------------
Reporter: aagbsn | Owner: mikeperry
Type: defect | Status: new
Priority: normal | Milestone:
Component: Torflow | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
We've been seeing Tracebacks from Socks5Error with 'Connection Refused'
rather than 'Tor timed out our SOCKS stream request'. It appears that the
exit is refusing to connect. Incidentally, most of these Tracebacks occur
with exit "dustbunnytycoon"
https://metrics.torproject.org/descriptor.html?desc-
id=e36340a70e3176f16df53faff379ecd0075f1d5b
There is no contact information available for this relay, and the exit
policy allows connections to *:443
{{{
DEBUG[Wed Sep 07 07:42:25 2011]:0.0503749847412 CIRC 395 LAUNCHED
DEBUG[Wed Sep 07 07:42:25 2011]:1315381345.2 0.00525093078613 CIRC 395
EXTENDED $5BDED96813BCDC9F2948C792AFAABBAAF3C088CE
DEBUG[Wed Sep 07 07:42:25 2011]:0.0587430000305 CIRC 395 EXTENDED
$5BDED96813BCDC9F2948C792AFAABBAAF3C088CE
DEBUG[Wed Sep 07 07:42:26 2011]:1315381346.54 0.00412201881409 CIRC 395
EXTENDED
$5BDED96813BCDC9F2948C792AFAABBAAF3C088CE,$070BC8794DCF79B2EC490EF9A38B16FD5EBDE745
DEBUG[Wed Sep 07 07:42:26 2011]:0.340323925018 CIRC 395 EXTENDED
$5BDED96813BCDC9F2948C792AFAABBAAF3C088CE,$070BC8794DCF79B2EC490EF9A38B16FD5EBDE745
DEBUG[Wed Sep 07 07:42:26 2011]:1315381346.54 0.341313838959 CIRC 395
BUILT
$5BDED96813BCDC9F2948C792AFAABBAAF3C088CE,$070BC8794DCF79B2EC490EF9A38B16FD5EBDE745
DEBUG[Wed Sep 07 07:42:26 2011]:0.355362892151 CIRC 395 BUILT
$5BDED96813BCDC9F2948C792AFAABBAAF3C088CE,$070BC8794DCF79B2EC490EF9A38B16FD5EBDE745
DEBUG[Wed Sep 07 07:42:26 2011]:Attaching stream: 365 to circuit 395
DEBUG[Wed Sep 07 07:42:26 2011]:0.0405840873718 STREAM 365 SENTCONNECT 395
38.229.70.2 443
ERROR[Wed Sep 07 07:42:27 2011]:An unknown HTTP error occured
Traceback (most recent call last):
File "bwauthority_child.py", line 125, in http_request
reply = urllib2.urlopen(request)
File "/usr/lib64/python2.4/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib64/python2.4/urllib2.py", line 358, in open
response = self._open(req, data)
File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib64/python2.4/urllib2.py", line 1126, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib64/python2.4/urllib2.py", line 1089, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib64/python2.4/httplib.py", line 810, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.4/httplib.py", line 833, in _send_request
self.endheaders()
File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders
self._send_output()
File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output
self.send(msg)
File "/usr/lib64/python2.4/httplib.py", line 652, in send
self.connect()
File "/usr/lib64/python2.4/httplib.py", line 1078, in connect
sock.connect((self.host, self.port))
File "../libs/SocksiPy/socks.py", line 369, in connect
self.__negotiatesocks5(destpair[0],destpair[1])
File "../libs/SocksiPy/socks.py", line 236, in __negotiatesocks5
raise Socks5Error((ord(resp[1]),_socks5errors[ord(resp[1])]))
Socks5Error: (5, 'Connection refused')
DEBUG[Wed Sep 07 07:42:27 2011]:Removed 127.0.0.1:44432 from our local
port list
DEBUG[Wed Sep 07 07:42:27 2011]:Got last exit of
070BC8794DCF79B2EC490EF9A38B16FD5EBDE745
DEBUG[Wed Sep 07 07:42:27 2011]:35.0-37.1505376344% circuit build+fetch
failed for ('070BC8794DCF79B2EC490EF9A38B16FD5EBDE745', 'dustbunnytycoon')
DEBUG[Wed Sep 07 07:42:27 2011]:Checking if scan count is met...
INFO[Wed Sep 07 07:42:27 2011]:No stream circuit for 365 circ: 395
WARN[Wed Sep 07 07:42:27 2011]:Not enough streams yet. 31 < 78.0
DEBUG[Wed Sep 07 07:42:27 2011]:Scan count met: False
DEBUG[Wed Sep 07 07:42:27 2011]:Checking for consensus
DEBUG[Wed Sep 07 07:42:27 2011]:0.0521879196167 STREAM 365 FAILED 395
38.229.70.2 443 REASON=END REMOTE_REASON=CONNECTREFUSED
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3956>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list