[tor-bugs] #7598 [Tor]: STREAM event can have a zero port

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 2 16:33:25 UTC 2012


#7598: STREAM event can have a zero port
------------------------------------+---------------------------------------
 Reporter:  robinson                |          Owner:  atagar            
     Type:  defect                  |         Status:  new               
 Priority:  normal                  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                     |        Version:                    
 Keywords:  events tor-client spec  |         Parent:  #7328             
   Points:                          |   Actualpoints:                    
------------------------------------+---------------------------------------

Comment(by robinson):

 atagar,

 I've found that Target can also have a zero port for PURPOSE=DNS_REQUEST.

 {{{
 ProtocolError: Target location's port is invalid: STREAM 1113 NEW 0
 www.google.com:0
  SOURCE_ADDR=127.0.0.1:15297 PURPOSE=DNS_REQUEST
 }}}

 So, it appears safest to allow_zero=True for both source and target.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7598#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list