Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1157 closed Enhancement (fixed)

Random port

Reported by: GanetMarV Owned by:
Priority: Normal Milestone: 1.60
Component: Transmission Version: 1.32
Severity: Normal Keywords:
Cc: colrol@…

Description

It will be great to have an option that, given a specific range, Transmission selects a random port every time it starts.

Change History (12)

comment:1 Changed 12 years ago by charles

  • Version changed from 1.31+ to 1.32

comment:2 Changed 12 years ago by livings124

What are the benefits of randomization? The clear disadvantage is that this will make port forwarding more difficult for users (who work to get a port opened, and then have it closed next launch).

comment:3 Changed 12 years ago by GanetMarV

For the benefits: Some Universities/ISPs are blocking ports like 6881-6889 because they are the default ports in bittorrent. But some ISPs are monitoring traffic and stats on the ports used for heavy up/down. By doing changing the port at every start, their stats are less informative and inconclusive for them. I agree on you regarding the port forwarding. If the forwarding is done by hand, this feature is pointless. It should not be the default. But for users that opens the ports using NAT-uPNP, it is completely transparent.

comment:4 Changed 12 years ago by livings124

  • Milestone changed from None Set to 1.50

comment:5 Changed 12 years ago by livings124

[7352] has this in libtransmission and the Mac client.

comment:6 Changed 12 years ago by livings124

  • Milestone changed from 1.50 to 1.60

This is available in 1.50's libtransmission, but won't be implemented in the interfaces until 1.60.

comment:7 Changed 12 years ago by Rolcol

  • Cc colrol@… added

comment:8 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

gtk: r8151

comment:9 Changed 12 years ago by Rolcol

  • Resolution fixed deleted
  • Status changed from closed to reopened

It is not displayed. Something like this needs to be added:

Index: gtk/tr-prefs.c
===================================================================
--- gtk/tr-prefs.c	(revision 8168)
+++ gtk/tr-prefs.c	(working copy)
@@ -1377,6 +1377,7 @@
 
     s = _( "Randomize the port every launch" );
     w = new_check_button( s, TR_PREFS_KEY_PEER_PORT_RANDOM_ON_START, core );
+    hig_workarea_add_wide_control( t, &row, w );
 
     s = _( "Use UPnP or NAT-PMP port _forwarding from my router" );
     w = new_check_button( s, TR_PREFS_KEY_PORT_FORWARDING, core );

The option itself is not saved though so it's uncheck if Transmission is closed and reopened.

comment:10 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in r8170

comment:11 Changed 12 years ago by Rolcol

It still does not save the setting on quit. It's unchecked when Transmission is closed and reopened.

comment:12 Changed 12 years ago by charles

Re-fixed in r8172 ;)

Note: See TracTickets for help on using tickets.