Scripted exclusion of nodes? [Was: How to remove some useless nodes]

Vlad "SATtva" Miller sattva at
Mon Jan 28 19:54:30 UTC 2008

F. Fox wrote on 29.01.2008 00:54:
> Kraktus wrote:
>> You can add
>> ExcludeNodes NodeName1, NodeName2
>> to your torrc, where the NodeName1, etc. are the names of Chinese exit
>> nodes that you are aware of.  However, you much disallow each Chinese
>> node separately; you can't exclude by country.
> (snip)
> Sadly, China's government would likely spend the resources to constantly
> "randomize" their nodes, one way or the other.

I suppose they wouldn't as this don't make much sense from the economic
POV. As topic-starter (sorry, I don't speak Chinese, and can't read his
name) said, it makes no sense to use exit-nodes located in China to
avoid the Great Firewall.

Don't forget it shouldn't necessarily be caused by some purposeful
Chinese government's actions to poison the Tor network with 'fake'
nodes. Even if Tor-client uses some legitimate exit-node located in
China, she will get censored content just because that's what exit-node
is receiving from the ISP.

> Perhaps a script (set as a cron job?) could be used to find Chinese
> nodes in the Tor directory on a regular basis, update the ExcludeNodes
> section of the torrc, and do a "sudo killall -s SIGHUP tor" to load it.
> I'll have to think it over... perhaps I could use it to get some
> scripting practice? =;o)
> (Do note that this is UNIX-centric; if you're using Vidalia [as the
> original poster said], I don't think it would be that easy.)

SATtva | security & privacy consulting |

More information about the tor-talk mailing list