[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #5229 [Ooni]: ooni-probe/bridget should make sure that random port numbers are not already taken



#5229: ooni-probe/bridget should make sure that random port numbers are not
already taken
---------------------+------------------------------------------------------
 Reporter:  karsten  |          Owner:  hellais
     Type:  defect   |         Status:  new    
 Priority:  normal   |      Milestone:         
Component:  Ooni     |        Version:         
 Keywords:           |         Parent:         
   Points:           |   Actualpoints:         
---------------------+------------------------------------------------------
 The bridget plugin of ooni-probe generates random Control and SOCKS ports
 between 49152 and 65535 and a random Tor data directory containing an int
 between 0 and 424242424242.  The ports are problematic here, because Tor
 won't start if a port is already in use.  We already ran into this case.
 The plugin should make sure that a port number wasn't picked before, or it
 will conclude that a bridge is offline when it may be reachable.  The
 directory name generation could also be improved, e.g., by using an
 internal counter.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5229>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs