View previous topic :: View next topic |
Author |
Message |
MikeMcr
Joined: 20 Dec 2009 Posts: 5
|
Posted: Thu Dec 31, 2009 1:53 pm Post subject: Lease Duration Support |
|
|
Does miniupnpd support lease durations? I see quite a few warnings in my syslog from miniupnpd such as:
NewLeaseDuration=14400
Not sure why its a warning? Is miniupnpd supposed to automatically remove the port forward after the lease expires? I can see no evidence that it does. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Thu Dec 31, 2009 3:25 pm Post subject: Re: Lease Duration Support |
|
|
MikeMcr wrote: | Does miniupnpd support lease durations? I see quite a few warnings in my syslog from miniupnpd such as:
NewLeaseDuration=14400
Not sure why its a warning? Is miniupnpd supposed to automatically remove the port forward after the lease expires? I can see no evidence that it does. |
LeaseDuration is currently ignored by miniupnpd. Most upnp clients dont use that parameter. I'm very curious to know which software does. What is your setup ???
Anyway, miniupnpd provides a way to "clean up" unused rules. set the clean_ruleset_threshold and clean_ruleset_interval option in the .conf file. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
MikeMcr
Joined: 20 Dec 2009 Posts: 5
|
Posted: Thu Dec 31, 2009 3:39 pm Post subject: Re: Lease Duration Support |
|
|
miniupnp wrote: | LeaseDuration is currently ignored by miniupnpd. Most upnp clients dont use that parameter. I'm very curious to know which software does. What is your setup ???
Anyway, miniupnpd provides a way to "clean up" unused rules. set the clean_ruleset_threshold and clean_ruleset_interval option in the .conf file. |
I think it is the PS3 with a description of "EA Tunnel". I can't be sure because my syslog is only set to log warnings or errors so all I can see is the LeaseDuration entries (you may want to include the IP etc in the warning).
Yes, I've been playing with the "clean up" feature. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
|
Back to top |
|
|
Wagnard
Joined: 07 Apr 2010 Posts: 4
|
Posted: Thu Feb 16, 2012 10:35 pm Post subject: |
|
|
Anything on this feature?
Is it still planned? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Thu Feb 16, 2012 11:16 pm Post subject: |
|
|
Wagnard wrote: | Anything on this feature?
Is it still planned? |
It is implement since miniupnpd-1.6 _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
Wagnard
Joined: 07 Apr 2010 Posts: 4
|
Posted: Sat Feb 18, 2012 8:48 am Post subject: |
|
|
yeah you are right my bad for not ready change-log correctly.
Maybe my problem is somewhere else.
I'm using windows 7 and it forward a port with upnp named "Teredo"
With miniupnpd, each time the win7 machine is reboot, win7 re-open another "teredo" port on another port #.
This behavior is not happening with my default upnp firmware.
This is a little annoyance I saw from a long time with many different router firmware that use miniupnpd.
Do you have an idea of the cause of this? a missing feature? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Sat Feb 18, 2012 8:17 pm Post subject: |
|
|
I don't know why win7 is opening another port mapping at each reboot...
but the "automatic rules cleaning" feature of miniupnpd could be usefull to you.
Have look at the clean_ruleset_threshold and clean_ruleset_interval options in your miniupnpd.conf file. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
Wagnard
Joined: 07 Apr 2010 Posts: 4
|
Posted: Mon Feb 20, 2012 1:16 am Post subject: |
|
|
Yeah I can work around with your parameters.
still wondering tho why i got this issue with miniupnpd only.
Are all kind of lease supported? i don't know if a specified app can give his own lease.
Ill try to find out.
Thanks for your time and useful answer, its appreciated. |
|
Back to top |
|
|
|