[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #18335 [Tor]: arm crashes after Tor update to 0.2.7.6



#18335: arm crashes after Tor update to 0.2.7.6
-------------------------+--------------------------
     Reporter:  torland  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:
    Component:  Tor      |    Version:  Tor: 0.2.7.6
     Severity:  Normal   |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |    Sponsor:
-------------------------+--------------------------
 Hi,

 I just updated Tor to 0.2.7.6. When I connected arm, it crashed with the
 following backtrace

 user@host:~$ arm -i 127.0.0.1:5678
 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: 'abcd'

 The tor instance is IPv6 enabled and in my exit policy there are reject6
 entries:

 ExitPolicy reject6 abcd::123:4567:89ab:cdef/64:*

 After commenting the line the crash disappeared.

 Thanks/Regards

 torland

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18335>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs