[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #10579 [arm]: arm crashes when it connects to relay with ExitPolicy reject6
#10579: arm crashes when it connects to relay with ExitPolicy reject6
-----------------------+------------------------
Reporter: torland | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: arm | Version:
Keywords: arm, ipv6 | Actual Points:
Parent ID: | Points:
-----------------------+------------------------
When I connect arm to a relay with a ipv6 exit policy line in torrc like
ExitPolicy reject6 [c234:5678:a001:5d::136]:22
arm crashes with the following backtrace:
File "/usr/share/arm/starter.py", line 578, in <module>
cli.controller.startTorMonitor(time.time() - initTime)
File "/usr/share/arm/cli/controller.py", line 700, in startTorMonitor
curses.wrapper(drawTorMonitor, startTime)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/share/arm/cli/controller.py", line 801, in drawTorMonitor
isKeystrokeConsumed = panelImpl.handleKey(key)
File "/usr/share/arm/cli/headerPanel.py", line 180, in handleKey
torTools.getConn().init(torctlConn)
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: '[c234'
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10579>
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