[tor-bugs] #23876 [Core Tor/Torsocks]: Torsocks getpeername() is broken for .onion addresses

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 20 15:24:45 UTC 2018


#23876: Torsocks getpeername() is broken for .onion addresses
-------------------------------+-------------------------
 Reporter:  Torsocks_user      |          Owner:  dgoulet
     Type:  defect             |         Status:  closed
 Priority:  Medium             |      Milestone:
Component:  Core Tor/Torsocks  |        Version:
 Severity:  Normal             |     Resolution:  fixed
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+-------------------------
Changes (by dgoulet):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Hmmm, I'm not having this problem with an onion address... :S

 However, I agree with the fix that we should set the cookie value into the
 `dest_addr` since in `getpeername()` we fallback to IPv4 if the connection
 domain is a FQDN.

 Fixed in `2fa559117c36e2e8`. Thanks for this!!!

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


More information about the tor-bugs mailing list