[tor-bugs] #18065 [Nyx]: arm can't handle v6 addresses

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 26 05:01:49 UTC 2016


#18065: arm can't handle v6 addresses
---------------------+------------------------
 Reporter:  cimnine  |          Owner:  atagar
     Type:  defect   |         Status:  new
 Priority:  Medium   |      Milestone:
Component:  Nyx      |        Version:
 Severity:  Normal   |     Resolution:
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
  Sponsor:           |
---------------------+------------------------

Comment (by ohheyalan@…):

 Replying to [comment:2 ohheyalan@…]:
 > Here is what I'm getting when I try to launch Arm:
 >
 >
 > {{{
 > sudo -u debian-tor arm
 > }}}
 >
 > And it returns
 >
 >
 > {{{
 > Traceback (most recent call last):
 >   File "/usr/share/arm/starter.py", line 534, in <module>
 >     controller.init(conn)
 >   File "/usr/share/arm/util/torTools.py", line 670, in init
 >     self._exitPolicyChecker = self.getExitPolicy()
 >   File "/usr/share/arm/util/torTools.py", line 1345, in getExitPolicy
 >     result = ExitPolicy(entry, result)
 >   File "/usr/share/arm/util/torTools.py", line 2611, in __init__
 >     self.ipAddressBin += "".join([str((int(octet) >> y) & 1) for y in
 range(7, -1, -1)])
 > ValueError: invalid literal for int() with base 10: '*4'
 > }}}
 >
 > Is there a known solution?


 ----

 Update:

 I removed all mentions of ipv6 from my torrc and then ran the command
 {{{
 sudo pkill -sighup tor
 }}}

 Now everything works again.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18065#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list