Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #7598

Closed (moved)
Open
Opened Nov 30, 2012 by Trac@tracbot

STREAM event can have a zero port

Now that there is some event handling, I've begun trying to develop against Stem and I found this crash:

  File "/usr/lib64/python2.7/site-packages/stem/response/events.py", line 55, in _parse_message
    self._parse()
  File "/usr/lib64/python2.7/site-packages/stem/response/events.py", line 459, in _parse
    raise stem.ProtocolError("Source location's port is invalid: %s" % self)
ProtocolError: Source location's port is invalid: STREAM 14 NEW 0 
176.28.51.238.$649F2D0ACF418F7CFC6539AB2257EB2D5297BAFA.exit:443 
SOURCE_ADDR=(Tor_internal):0 PURPOSE=DIR_FETCH

StreamEvent should use is_valid_port(port, allow-zero=True) due to DIR_FETCH.

Trac:
Username: robinson

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.4.x-final
Milestone
Tor: 0.2.4.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#7598