[tor-bugs] #18065 [- Select a component]: arm can't handle v6 addresses

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 15 10:30:00 UTC 2016


#18065: arm can't handle v6 addresses
--------------------------------------+-----------------
     Reporter:  cimnine               |      Owner:
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |    Sponsor:
--------------------------------------+-----------------
 When I tried to use arm with my configuration, which contains IPv6
 addresses in the ExitPolicy, it fails to start:

 {{{
 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: '[2002'
 }}}

 $ arm -v
 arm version 1.4.5.0 (released April 28, 2012)

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


More information about the tor-bugs mailing list