Opened 10 years ago

Last modified 7 years ago

#984 closed defect (Fixed)

Tor using forbidden nodes

Reported by: G-Lo Owned by:
Priority: Low Milestone: 0.2.1.x-final
Component: Core Tor/Tor Version: 0.2.1.14-rc
Severity: Keywords:
Cc: G-Lo, nickm, karsten Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hello.
I have this in my torcc:
ExcludeNodes {us},{gb},{cn},{au}
but my log is showing this kind of lines:
[Warning] Requested exit node 'thegoddamnpenisblue' is in ExcludeNodes, or ExcludeExitNodes, using anyway.
[Warning] Requested exit node 'userbw20prfpis' is in ExcludeNodes, or ExcludeExitNodes, using anyway.

I'm also running as a relay, but this happened also when I was running Tor as client-only.

[Automatically added by flyspray2trac: Operating System: Windows 2k/XP]

Child Tickets

Change History (7)

comment:1 Changed 10 years ago by G-Lo

This is particularly happening while I try to connect to hidden services, or when Tor is starting.

comment:2 Changed 10 years ago by nickm

If this is for hidden services or when Tor is starting, odds are good this is not actually for an exit node.

The warning you cite generally means, "You told me not to use any nodes in the US. Then you specifically
asked for a node in the US! I'm going to do what you asked." But in this case the warning is incorrect:
there is no exit node in the US here.

Apparently, the code warns _whenever_ a forced choice for the last node in a circuit would be excluded as an
exit node. But not every last node is an exit node: some are for testing circuits; some are for rendezvous
circuits; etc. The warning should probably get fixed.

comment:3 Changed 10 years ago by nickm

(Of course, this raises the question: what should we do when the user asks to use a hidden service and all the
introduction points are blocked not only by ExcludeExitNodes but also by ExcludeNodes. Should we make access to the
the hidden service fail?)

comment:4 Changed 10 years ago by nickm

Possible fix for the warnings in git://git.torproject.org/~nickm/git/tor.git , branch "bug984".

comment:5 Changed 10 years ago by nickm

Merged a fix for the spurious warnings.

comment:6 Changed 10 years ago by nickm

flyspray2trac: bug closed.

comment:7 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.