[tor-bugs] #27920 [Core Tor/Torsocks]: torsocks fails to open socks 4 connection: [socks5] Resolve destination buffer too small (in socks5_recv_resolve_reply() at socks5.c:707)

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 30 23:28:42 UTC 2018


#27920: torsocks fails to open socks 4 connection: [socks5] Resolve destination
buffer too small (in socks5_recv_resolve_reply() at socks5.c:707)
-----------------------------------+---------------------
     Reporter:  traumschule        |      Owner:  dgoulet
         Type:  defect             |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Core Tor/Torsocks  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+---------------------
 Does torsocks support socks4?

 I tried to torify cpan and ran into:
 {{{
 $ torsocks cpan instal ...
 ...
 Running make test
 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM"
 "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0,
 'blib/lib', 'blib/arch')" t/*.t
 t/01_load.t .......... 1/1 IO::Socket::IP v0.38 used as base class
 t/01_load.t .......... ok
 t/02_new.t ........... ok
 t/03_connect.t ....... 1538348508 ERROR torsocks[8443]: [socks5] Resolve
 destination buffer too small (in socks5_recv_resolve_reply() at
 socks5.c:707)
 t/03_connect.t ....... 1/?
 #   Failed test 'Socks 4 connect'
 #   at t/03_connect.t line 22.
 # Non-recoverable failure in name resolution
 Can't call method "version" on an undefined value at t/03_connect.t line
 23.
 # Tests were run but no plan was declared and done_testing() was not seen.
 # Looks like your test exited with 22 just after 1.
 }}}

 Related: #25599, #26339

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


More information about the tor-bugs mailing list