[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: proxychains DNS leaks stopped



Are you saying that the "proxy_dns" option in the proxychains.conf is in fact leaking DNS request?
from the proxychains.conf file:
"
# Proxy DNS requests - no leak for DNS data
proxy_dns 
"

I thought it would resolve against the specified SOCKS 4/5 proxy.  Is this not happening?

- Kyle


On Mon, Jan 5, 2009 at 10:57 PM, Scott Bennett <bennett@xxxxxxxxxx> wrote:
    After looking at the problem a moment, I tried replacing the last
line of the proxyresolv script in the proxychains package, which reads,

dig $1 @$DNS_SERVER +tcp | awk '/A.+[0-9]+\.[0-9]+\.[0-9]/{print $5;}'

with the following line:

env LD_PRELOAD="" tor-resolve $1

That seems to stop the leaks, but it still leaves tor complaining that
it was given an IP address instead of a host+domainname in the SOCKS5
connection.  (I realize that this method also means that tor-resolve
will be used exclusively for name-to-address resolutions, instead of
whatever list of proxies may currently be the active list for proxychains
to use, but it does what I need for now.)


                                 Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:       bennett at cs.niu.edu                              *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************