Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #1799
Closed
Open
Created Aug 04, 2010 by Damian Johnson@atagar

arm chokes on tabs when used in ExitPolicy lines

voidzero reports that tabs in the ExitPolicy lines causes a variety of gremlins when determining the exit policy. This includes display issues when parsing the torrc and a crashing issue in the connection panel:

  1. Traceback (most recent call last):
  2. File "init/starter.py", line 178, in
  3. interface.controller.startTorMonitor(expandedEvents, param["startup.blindModeEnabled"])
  4. File "/home/void/user/arm/interface/controller.py", line 1287, in startTorMonitor
  5. curses.wrapper(drawTorMonitor, loggedEvents, isBlindMode)
  6. File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
  7. return func(stdscr, *args, **kwds)
  8. File "/home/void/user/arm/interface/controller.py", line 377, in drawTorMonitor
  9. panels["conn"] = connPanel.ConnPanel(stdscr, conn, isBlindMode)
  10. File "/home/void/user/arm/interface/connPanel.py", line 170, in init
  11. self.reset()
  12. File "/home/void/user/arm/interface/connPanel.py", line 336, in reset
  13. if SCRUB_PRIVATE_DATA and fIp not in self.fingerprintMappings.keys(): isPrivate = isExitAllowed(fIp, fPort, self.exitPolicy, self.exitRejectPrivate)
  14. File "/home/void/user/arm/interface/connPanel.py", line 893, in isExitAllowed
  15. maxPort = int(entryPort[entryPort.find("-") + 1:])
  16. ValueError: invalid literal for int() with base 10: '22"'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking