#2133: Remove port randomization to avoid polluting DHT
-------------------+--------------------------------------------------------
 Reporter:  bmnot  |       Owner:                
     Type:  bug    |      Status:  new           
 Priority:  major  |   Milestone:  1.4.0         
Component:  core   |     Version:  git 1.3-stable
 Keywords:         |  
-------------------+--------------------------------------------------------

Comment(by bmnot):

 Related ticket: http://dev.deluge-torrent.org/ticket/2122

 The "never let the system pick a random port" feature in libtorrent 1.6 is
 perfect, but something similar can be done for older clients too:
 * Start an instance of libtorrent.
 * Query the port.
 * Is it the port you wanted? No? Kill the libtorrent instance.
 * Wait X seconds.
 * Start an instance of libtorrent again.
 * Is it the port you wanted? No? Die with "unable to bind to desired
 port."

 This allows people that have bound a static port in their router (not
 using UPnP) to have a working torrent daemon since it will never try to
 bind to the wrong port.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2133#comment:3>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to