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

Re: [tor-talk] glibc's DNS lookups fail

Hi Jérémy,

>> Chain POSTROUTING (policy ACCEPT)
>> target     prot opt source               destination
>> MASQUERADE  tcp  --    !    masq
>> ports:
>> 1024-65535
>> MASQUERADE  udp  --    !    masq
>> ports:
>> 1024-65535
>> MASQUERADE  all  --    !
>> [...]
>> (The POSTROUTING stuff is due to a VM I have running.)
> I think your issues might be related to these rules, though. Could you
> try without? Could you try to use SNAT with a specific IP address
> instead of MASQUERADE? Could you try to filter based on output
> interfaces instead of destination addresses?

I tried without, no difference.  In fact, my problem is not related to
iptables at all.  If I start tor with DNSPort set to 53, and set my
nameserver in /etc/resolv.conf to, it does not work as well.
(First lookup fails, consequent lookups succeed).

Here's my torrc:

RunAsDaemon 1
Log notice file /tmp/tor/log
DataDirectory /tmp/tor
ClientOnly 1
TransPort 9044
DNSPort 53
SocksPort 0
AutomapHostsOnResolve 1

This bug is driving me crazy!



tor-talk mailing list