[tor-bugs] #7586 [Ooni]: Strangeness in keep-alive handling in txagentwithsocks

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 28 18:32:24 UTC 2012


#7586: Strangeness in keep-alive handling in txagentwithsocks
---------------------+------------------------------------------------------
 Reporter:  hellais  |          Owner:  hellais
     Type:  defect   |         Status:  new    
 Priority:  normal   |      Milestone:         
Component:  Ooni     |        Version:         
 Keywords:           |         Parent:         
   Points:           |   Actualpoints:         
---------------------+------------------------------------------------------
 When performing requests over a socks proxy towards a HTTP site that sets
 the keep-alive header field connections wrapped with the
 SOCKS5ClientEndpoint stay hanging.

 I am also not fully sure that this bug only happens with HTTP servers that
 set keep alive, but this is what has happened a few times while running
 some scans. It would always get stuck on sites that have the keep-alive
 flag set.

 What I fear is that txagentwithsocks' monkey patching is creating some
 issues in treating keep-alive.

 Steps to reproduce:

 ./bin/ooniprobe nettests/blocking/http_body_length.py -u http://lowes.com/

 This will perform a request over the network and via the Tor SOCKS proxy
 bound to localhost. The one over Tor will stay hanging.

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


More information about the tor-bugs mailing list