[tor-bugs] #8398 [Torsocks]: res_query warning in torsocks

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 4 20:21:25 UTC 2013


#8398: res_query warning in torsocks
--------------------------------+-------------------------------------------
 Reporter:  zqcxobbe            |          Owner:  ioerror
     Type:  defect              |         Status:  new    
 Priority:  minor               |      Milestone:         
Component:  Torsocks            |        Version:         
 Keywords:  torsocks res_query  |         Parent:         
   Points:                      |   Actualpoints:         
--------------------------------+-------------------------------------------
 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

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


More information about the tor-bugs mailing list