[tor-talk] tor_autocircuit script

Klaus Layer klaus.layer at gmx.de
Thu Jan 26 16:38:51 UTC 2012


Hi,

I am playing around with the tor_autocircuit script 
(http://www.thesprawl.org/projects/tor-autocircuit/). When I start it, it 
always aborts with an error from torctl lib:

[...]
INFO [ Thu Jan 26 16:05:18 2012 ]: kznx: Country code not found
INFO [ Thu Jan 26 16:05:18 2012 ]: Pakalolo1984: Country code not found
INFO [ Thu Jan 26 16:05:18 2012 ]: noiseexit01b: Country code not found
INFO [ Thu Jan 26 16:05:18 2012 ]: Zwiebelschale: Country code not found
DEBUG [ Thu Jan 26 16:05:18 2012 ]: Reconfigure
ERROR [ Thu Jan 26 16:05:18 2012 ]: No routers left after restrictions 
applied!
Traceback (most recent call last):
  File "./tor-autocircuit.py", line 108, in <module>
    handler = PathSupport.StreamHandler(c, selmgr, num_circs, 
GeoIPSupport.GeoIPRouter)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 1381, 
in __init__
    CircuitHandler.__init__(self, c, selmgr, num_circs, RouterClass)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 1270, 
in __init__
    PathBuilder.__init__(self, c, selmgr, RouterClass)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 967, 
in __init__
    self.selmgr.reconfigure(self.sorted_r)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 855, 
in reconfigure
    exitgen = BwWeightedGenerator(sorted_r, self.exit_rstr, self.pathlen, 
exit=True)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 580, 
in __init__
    NodeGenerator.__init__(self, sorted_r, rstr_list)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 142, 
in __init__
    self.rewind()
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 583, 
in rewind
    NodeGenerator.rewind(self)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 157, 
in rewind
    raise RestrictionError()
TorCtl.PathSupport.RestrictionError

I played around with the parameter, but the error always seems to happen even 
if I left the script unchanged with the default values. Can someone give me a 
hint what I have to do to avoid this error.

Thanks,

Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20120126/8a91182d/attachment.pgp>


More information about the tor-talk mailing list