[tor-bugs] #6341 [Tor Relay]: connection_or_flush_from_first_active_circuit() does wrong thing when ewma_enabled

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Aug 22 18:52:11 UTC 2012


#6341: connection_or_flush_from_first_active_circuit() does wrong thing when
ewma_enabled
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  normal     |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by robgjansen):

 Replying to [comment:30 robgjansen]:

 > The examination you have planned will be much easier with the new logs
 that I'll post tomorrow.

 The [http://www-users.cs.umn.edu/~jansen/temp/20120822-tor-infologs.tar.xz
 new logs are here].

 I reduced it from 120 GB to 4.5 GB by filtering out lines containing:
 'torrent client encountered a non-asynch-io error'. The P2P plug-in code
 doesn't differentiate that error other than that its not `EAGAIN` and its
 not coming from a `send` or `recv` call. (Apparently, it also doesn't
 rate-limit its reconnection attempts :P)

 I suspect its coming from the attempted SOCKS connection because our file-
 download plug-in has similar problems (and the file plug-in ''does''
 differentiate: you can grep the log for `FG_ERR_SOCKSCON` for those
 errors). Also, the new browser plug-in
 [https://github.com/shadow/shadow/issues/68 has these problems as well],
 though we are not currently using that plug-in in our model.

 I hope you can find the problem in Tor, especially since 3 of our separate
 plug-ins are seeing this issue. I suggest search for the first occurrence
 of `FG_ERR_SOCKSCON` and working backwards from there.

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


More information about the tor-bugs mailing list