aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: More sophisticated UPNP support  (Read 5917 times)

Redarg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
More sophisticated UPNP support
« on: January 18, 2008, 04:50:29 PM »

I'd like to have amule check the state of the port forwardings via UPNP automatically from time to time.
If the forwardings are gone amule should (re)create them again.
The forwardings are currently only set via UPNP when amule is starting.

For me this would be nice, because my current router software forgets all forwardings which have been created by UPNP, when it is rebootet. So the amule gets a low ID. And I have to restart amule because I have no possiblitiy in amule to force the UPNP things that happen when amule is started.

Redarg
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: More sophisticated UPNP support
« Reply #1 on: January 23, 2008, 11:30:23 PM »

+1 on this one ::)
Logged

lfroen

  • Guest
Re: More sophisticated UPNP support
« Reply #2 on: January 24, 2008, 09:09:25 AM »

No way. UPNP is not supposed to work like this. Consider if two or more programs will start to do that and will have conflicting port.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: More sophisticated UPNP support
« Reply #3 on: January 24, 2008, 12:49:46 PM »

+1 on lfroen :D
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: More sophisticated UPNP support
« Reply #4 on: January 24, 2008, 01:12:57 PM »

Well, that's a problem regardless, as any application started after a router reboot (manually, or requerying as suggested above) can also get a still-in-use port.
Logged

Redarg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: More sophisticated UPNP support
« Reply #5 on: February 28, 2008, 05:22:22 PM »

So, an automated UPNP update is  breaking the design of UPNP.
What about manual triggering the generation of the port forwardings via UPNP? (Small button in the preference tab near the other UPNP stuff called "Force restart of the UPNP module".)
Would that be against the rules?

Redarg
Logged

lfroen

  • Guest
Re: More sophisticated UPNP support
« Reply #6 on: February 28, 2008, 06:34:13 PM »

Manual restart is OK
Logged