Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #15504

Closed (moved)
Open
Opened Mar 29, 2015 by Yawning Angel@yawning

torsocks's getaddrinfo() is broken.

torsocks's getaddrinfo() implementation does not respect AI_NUMERICHOST.

This is wrong because it will do the resolution anyway, and things that expect to be able to use getaddrinfo() as a super inet_pton() break.

The correct thing to do is to check if the string is an address and return EAI_NONAME if it's not, without doing the tor resolution.

With this, #15497 and #13294 all fixed, aria2c actually works with torsocks again, as long as async dns is disabled. Yay.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#15504