Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7586

Closed
Open
Created Nov 28, 2012 by Arturo Filasto@art

Strangeness in keep-alive handling in txagentwithsocks

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking