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
  • #8398

Closed (moved)
Open
Opened Mar 04, 2013 by Trac@tracbot

res_query warning in torsocks

Short version: res_query keeps showing in torsocks (release from Torsocks 1.3 2013-02-11)

Long version: I know, it is stated in the Changelog that this is no longer a problem, that it does not prevent torsocks from working properly, etc. However, it is annoying not being able to see the output of some applications. Plus, it does mess up aptitude a little bit (I don't know if it has to do with other applications too). I just wanted to contribute, and here I go... (by the way, you may want to change the last recommendation from run_tests.sh). Good luck!

./run_tests.sh: 42: [1,120c1,49 < libtorsocks: The symbol getipnodebyname() was not found in any shared library. The error reported was: not found! < libtorsocks: The symbol getipnodebyname() was not found in any shared library. The error reported was: not found! < libtorsocks: The symbol getipnodebyname() was not found in any shared library. The error reported was: not found! < libtorsocks: our_getaddrinfo: 'www.torproject.org' requested < libtorsocks: Got sendmsg request < libtorsocks: sendmsg: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. < libtorsocks: Got sendto request < libtorsocks: sendto: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. < libtorsocks: Got sendto request < libtorsocks: sendto: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. < libtorsocks: Got connection request < libtorsocks: connect: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. < libtorsocks: our_gethostbyaddr: resolved '38.229.70.16' to: 'vescum.torproject.org' < libtorsocks: our_gethostbyname: 'www.torproject.org' requested < libtorsocks: Got connection request < libtorsocks: connect: Connection is to a local address (192.168.1.1), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is preventing a program from working properly with torsocks. < libtorsocks: Got connection request < libtorsocks: Intercepted call to getpeername < libtorsocks: Got res_init request < libtorsocks: Got connection request < libtorsocks: Intercepted call to getpeername < libtorsocks: Got connection request < libtorsocks: Intercepted call to getpeername < libtorsocks: Got connection request < libtorsocks: Intercepted call to getpeername < libtorsocks: Got connection request < libtorsocks: Intercepted call to getpeername < libtorsocks: Got res_init request < libtorsocks: Got connection request < libtorsocks: connect: Connection is to a local address (192.168.1.1), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is preventing a program from working properly with torsocks. < libtorsocks: Got connection request < libtorsocks: connect: Connection is to a local address (192.168.1.1), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is preventing a program from working properly with torsocks. < libtorsocks: Got connection request < libtorsocks: connect: Connection is to a local address (192.168.1.1), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is preventing a program from working properly with torsocks. < libtorsocks: Got connection request < libtorsocks: connect: Connection is to a local address (192.168.1.1), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is preventing a program from working properly with torsocks. < libtorsocks: Got connection request < libtorsocks: connect: Connection is to a local address (192.168.1.1), may be a TCP DNS request to a local DNS server so have to reject to be safe. Please report a bug to http://code.google.com/p/torsocks/issues/entry if this is preventing a program from working properly with torsocks. < socket: Operation not permitted < < ----------------------getaddrinfo() TEST----------------- < < getaddrinfo: Servname not supported for ai_socktype < < ----------------------UDP TEST---------------------- < < < ----------------------udp sendmsg() TEST------------------- < < sendmsg() returned ret=-1 wb=0 < < ----------------------udp sendto() TEST-------------------- < < sendto() returned ret=-1 wb=0 < < ----------------------udp connect() TEST------------------- < < Connect returned ret=-1 < < ----------------------udp send() TEST---------------------- < < Note: no interception by torsocks expected as send() requires a socket in a connected state. < send() returned ret=-1 wb=0 < < ----------------------gethostbyaddr() TEST----------------- < < vescum.torproject.org -> 38.229.70.16 < < ----------------------gethostbyname() TEST----------------- < < www.torproject.org -> 38.229.70.16 < < ---------------------- local connect() TEST---------------------- < < < ---------------------- internet connect() TEST---------------------- < < < ---------------------- internet res_init() TEST---------------------- < < nameserver for test: 8.8.8.8 < < ---------------------- internet res_query() TEST---------------------- < < return code: 102 < < ---------------------- internet res_search() TEST---------------------- < < return code: 102 < < --------------- internet res_querydomain() TEST---------------------- < < return code: -1 < < ---------------------- internet res_send() TEST---------------------- < < return code: -1 < < ---------------------- local res_init() TEST---------------------- < < nameserver for test: 192.168.1.1 < < ---------------------- local res_query() TEST---------------------- < < return code: -1 < < ---------------------- local res_search() TEST---------------------- < < return code: -1 < < --------------- local res_querydomain() TEST---------------------- < < return code: -1 < < ---------------------- local res_send() TEST---------------------- < < return code: -1 < < ----------------icmp() TEST---------------------------- <

18:49:48 libtorsocks(14060): Configuration file not provided by TORSOCKS_CONF_FILE environment variable, attempting to use defaults in /etc/torsocks.conf. 18:49:48 libtorsocks(14060): New network entry for 127.0.0.0 going to 0x01dbb110 18:49:48 libtorsocks(14060): New network entry for 127.128.0.0 going to 0x01dbb140 18:49:48 libtorsocks(14060): New network entry for 169.254.0.0 going to 0x01dbb170 18:49:48 libtorsocks(14060): New network entry for 172.16.0.0 going to 0x01dbb1a0 18:49:48 libtorsocks(14060): New network entry for 192.168.0.0 going to 0x01dbb1d0 18:49:48 libtorsocks(14060): New network entry for 127.0.0.0 going to 0x01dbb220 18:49:48 libtorsocks(14060): New network entry for 10.0.0.0 going to 0x01dbba00 18:49:48 libtorsocks(14060): New network entry for 192.168.0.0 going to 0x01dbba30 18:49:48 libtorsocks(14060): New network entry for 172.16.0.0 going to 0x01dbba60 18:49:48 libtorsocks(14060): New network entry for 169.254.0.0 going to 0x01dbba90 18:49:48 libtorsocks(14060): New network entry for 192.168.0.0 going to 0x01dbbac0 18:49:48 libtorsocks(14060): New network entry for 127.0.69.0 going to 0x01dbbaf0 18:49:48 libtorsocks(14060): In tsocks_init after env/config 18:49:48 libtorsocks(14060): The symbol res_init() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_query() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_search() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_send() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_querydomain() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol getipnodebyname() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): deadrange width is 8 bits 18:49:48 libtorsocks(14060): init_pool: sockshost 127.0.0.1 18:49:48 libtorsocks(14060): Exit tsocks_init 18:49:48 libtorsocks(14060): In tsocks_init 18:49:48 libtorsocks(14060): In tsocks_init after env/config 18:49:48 libtorsocks(14060): The symbol res_init() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_query() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_search() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_send() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol res_querydomain() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): The symbol getipnodebyname() was not found in any shared library. The error reported was: not found! 18:49:48 libtorsocks(14060): Exit tsocks_init 18:49:48 libtorsocks(14060): Got sendmsg request 18:49:48 libtorsocks(14060): sockopt: 2 18:49:48 libtorsocks(14060): sendmsg: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. 18:49:48 libtorsocks(14060): Got sendto request 18:49:48 libtorsocks(14060): sockopt: 2 18:49:48 libtorsocks(14060): sendto: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. 18:49:48 libtorsocks(14060): Got sendto request 18:49:48 libtorsocks(14060): sockopt: 2 18:49:48 libtorsocks(14060): sendto: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. 18:49:48 libtorsocks(14060): Got connection request 18:49:48 libtorsocks(14060): sin_family: 2 18:49:48 libtorsocks(14060): sockopt: 2 18:49:48 libtorsocks(14060): connect: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. 18:49:48 libtorsocks(14060): do_resolve: resolving 18:49:48 libtorsocks(14060): Got status response '4': SOCKS5 request failed.18:49:48 libtorsocks(14060): do_resolve: error parsing SOCKS response 18:49:48 libtorsocks(14060): failed to reverse resolve: 38.229.70.16 Segmentation fault: File name too long Tests failed. Please post this output to http://code.google.com/p/torsocks/issues/entry

Trac:
Username: zqcxobbe

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#8398