[tor-bugs] #9269 [arm]: ARM uncaught exception if ORPort contains an IP address

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 16 13:35:46 UTC 2013

#9269: ARM uncaught exception if ORPort contains an IP address
 Reporter:  cypherpunks  |          Owner:  atagar       
     Type:  defect       |         Status:  new          
 Priority:  minor        |      Milestone:               
Component:  arm          |        Version:  Tor:
 Keywords:               |         Parent:               
   Points:               |   Actualpoints:               
 If I set ORPort not to just a portnumber (like 443) but to IP:port, arm
 outputs a python stacktrace like this:

 Exception in thread Thread-5:
 Traceback (most recent call last):
 File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
 File "/usr/share/arm/cli/connections/connPanel.py", line 282, in run
 self._update()            # populates initial entries
 File "/usr/share/arm/cli/connections/connPanel.py", line 486, in _update
 newEntries.append(circEntry.CircEntry(circuitID, status, purpose, path))
 File "/usr/share/arm/cli/connections/circEntry.py", line 34, in __init__
 self.update(status, path)
 File "/usr/share/arm/cli/connections/circEntry.py", line 53, in update
 self.lines[0].setExit(exitIp, exitORPort, path[-1])
 File "/usr/share/arm/cli/connections/circEntry.py", line 84, in setExit
 connEntry.ConnectionLine.__init__(self, "", "0", exitIpAddr,
 exitPort, False, False)
 File "/usr/share/arm/cli/connections/connEntry.py", line 254, in __init__
 self.sortPort = int(self.foreign.getPort())
       ValueError: invalid literal for int() with base 10:

 (replace with an actual IP address)

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

More information about the tor-bugs mailing list