Result identity changing
I'm using TOR and I want to know, how to switch between result-nodes with need country. I can simply change it by telnet the 9开发者_高级运维051 port like:
telnet localhost 9051
"AUTHENTICATE\r"
"signal NEWNYM\r"
"quit\r"
This will chose randomly the exit(result) node. My goal is to change that node to the node from need country. I didn't find such information in the documentation, but in some GUI apps for the TOR there is a map with a list of all available nodes/servers and their country, so that I can choose need one.
You can do:
> telnet localhost 9051
AUTHENTICATE
SETCONF ExitNodes={us}
SETCONF StrictNodes=1
SIGNAL NEWNYM
QUIT
Tor will only use exit nodes from the US in this case. The changes are not written to torrc. If you want to write them, use SAVECONF
.
精彩评论