[tor-bugs] #6542 [Torify]: curl 7.27.0 doesn't work with torsocks

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Aug 4 04:50:35 UTC 2012


#6542: curl 7.27.0 doesn't work with torsocks
-------------------------+--------------------------------------------------
 Reporter:  cypherpunks  |          Owner:     
     Type:  defect       |         Status:  new
 Priority:  major        |      Milestone:     
Component:  Torify       |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------

Comment(by cypherpunks):

 Replying to [comment:1 arma]:
 > {{{
 >     case 'G': /* get */
 >     case 'H': /* head */
 >     case 'P': /* put/post */
 >     case 'C': /* connect */
 >       strlcpy((char*)req->reply,
 > "HTTP/1.0 501 Tor is not an HTTP Proxy\r\n"
 > }}}
 >
 > The first byte that goes to Tor's socks port is a G, H, P, or C. You are
 trying to talk http to the socks port. Perhaps you have an http proxy set
 in your curl as well?

 Nope. That was the first thing I checked. I'll try to get some traces
 tomorrow. I had a quick glance at the changes from 7.26.0 and 7.27.0 in
 curl's git repo but nothing jumped out at me.

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


More information about the tor-bugs mailing list