[tor-bugs] #3291 [Pluggable transport]: obfs2 should wait before closing connection on wrong magic/plength

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu May 26 02:41:41 UTC 2011


#3291: obfs2 should wait before closing connection on wrong magic/plength
---------------------------------+------------------------------------------
 Reporter:  asn                  |          Owner:  asn
     Type:  defect               |         Status:  new
 Priority:  normal               |      Milestone:     
Component:  Pluggable transport  |        Version:     
 Keywords:                       |         Parent:     
   Points:                       |   Actualpoints:     
---------------------------------+------------------------------------------
 {{{
 ...
 If the MAGIC_VALUE does not match, or the PADLEN value is greater
 than MAX_PADDING, the party receiving it should wait for a random
 amount of time then close the connection.
 ...
 }}}
 says the spec.

 {{{
 ...
 if (magic != OBFUSCATE_MAGIC_VALUE)
      return -1;
 ...
 }}}
 says the source.

 The spec also doesn't specify the time interval that we should be randomly
 waiting.

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


More information about the tor-bugs mailing list