Opened 5 years ago

Closed 5 years ago

#18335 closed defect (duplicate)

arm crashes after Tor update to

Reported by: torland Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version: Tor:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:



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

user@host:~$ arm -i
Traceback (most recent call last):

File "/usr/share/arm/", line 534, in <module>


File "/usr/share/arm/util/", line 670, in init

self._exitPolicyChecker = self.getExitPolicy()

File "/usr/share/arm/util/", line 1345, in getExitPolicy

result = ExitPolicy(entry, result)

File "/usr/share/arm/util/", 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.



Child Tickets

Change History (1)

comment:1 Changed 5 years ago by atagar

Resolution: duplicate
Status: newclosed

Arm predates IPv6 support so no surprise at all that it's sad. Next release of arm which should be in a few months is modernizing it. This particular gotcha is still an issue, but we have another ticket to track it...

Note: See TracTickets for help on using tickets.