[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #14265 [Torsocks]: Torsocks works badly with default VirtualAddrNetworkIPv4 ranges
#14265: Torsocks works badly with default VirtualAddrNetworkIPv4 ranges
----------------------+-------------------------
Reporter: nickm | Owner: dgoulet
Type: defect | Status: new
Priority: normal | Milestone:
Component: Torsocks | Version:
Keywords: | Actual Points:
Parent ID: | Points:
----------------------+-------------------------
In comment:9:ticket:7555 , aagbsn notes that you get the following warning
when you use a default AutoMap configuration with IPv4:
{{{
05:53:37 libtorsocks(13692): connect: Connection is to a local address
(127.192.0.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.
}}}
When AutomapHostsOnResolve is enabled, then Tor returns phony DNS
addresses in the "Virtual range" (VirtualAddrNetworkIPv4,
VirtualAddrNetworkIPv6) in response to requests for hosts listed in
AutomapHostsSuffixes. For example, foobar.onion might resolve into
127.192.66.55, and subsequent connection attempts to 127.192.66.55 will
cause Tor to make a connection to foobar.onion.
By default, VirtualAddrNetworkIPv4 is 127.192.0.0/10 and
VirtualAddrNetworkIPv6 is [FE80::]/10 . It looks like torsocks rejects
the IPv4 one because it's a local address? There should probably be some
way to make it not do that, or to make an exception for a certain range,
or something.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14265>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs