aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Dynamic TCP Port  (Read 3703 times)

Jimmy Sung

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Dynamic TCP Port
« on: May 13, 2010, 09:06:29 AM »

I wonder if my ISP will try to block my aMule port, so the network speed became slowly.
I suggest aMule to add a 'Dynamic TCP Port' feature, that user can define a port range (ex. 12000~15000), and ask aMule to select one port as the listen port each time we launch aMule (maybe set UDP port=TCP Port+10 and server UDP Port=TCP Port+3 automatically).
That should be useful if ISP or network administrator try to block aMule port.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Dynamic TCP Port
« Reply #1 on: May 13, 2010, 12:31:48 PM »

That would just break everything because most users have to forward their ports in their routers.
If you want this, write a little script juggling your config file before starting aMule.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Dynamic TCP Port
« Reply #2 on: May 13, 2010, 05:28:40 PM »

Meh, Stu, it can be added. Remember UPnP - there shouldn't be a problem if enabled.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Dynamic TCP Port
« Reply #3 on: May 13, 2010, 10:45:27 PM »

Sure it can. But I'm finding it utterly useless. Providers block a list of well used ports, and changing the default port once should totally do the trick. And I do not want this kind of thing in the settings dialog. How would you explain it to the casual user? It's already complicated enough.

If we want to do something useful in this direction, set the ports to something random on first startup instead of the silly 4662.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Dynamic TCP Port
« Reply #4 on: May 13, 2010, 11:17:01 PM »

We should definitely do that. But also allow for what he asks, as most p2p do.
Logged