Skip to content

Tor: --enable-dns-blocklist leaks DNS queries over clearnet #14

Description

@libre-7

Description

When Tor is enabled (--proxy=127.0.0.1:9050), the --enable-dns-blocklist flag causes DNS leaks because monerod's libunbound resolver bypasses the SOCKS proxy and queries blocklist.moneropulse.* domains directly over clearnet.

Impact

Despite all P2P traffic being routed through Tor, an observer (ISP, DNS provider) can see DNS TXT queries to blocklist.moneropulse.se/org/net/no/fr/de/ch, revealing that the user is running a Monero node.

Fix

Provide a static ban list (block.txt) in the Docker image that users can mount or that gets auto-configured when TOR_ENABLED=true. Replace --enable-dns-blocklist with --ban-list=/home/miner/block.txt in the Tor auto-generated arguments.

The static list should mirror the DNS blocklist contents (available from dig blocklist.moneropulse.se TXT).

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions