miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What causes port leases to expire?

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
NickH



Joined: 10 Feb 2018
Posts: 21

PostPosted: Wed Sep 09, 2020 10:57 am    Post subject: What causes port leases to expire? Reply with quote

I have a port lease which would have last been used on Aug 25 or earlier when I changed the host's IP address but it still shows and I assume is stopping the new IP address from making the same port forwarding rule. How or when does miniupnpd expire leases?

For the moment I've had to manually remove the lease from /var/lib/miniupnpd/upnp.leases
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1501

PostPosted: Sun Sep 20, 2020 1:33 pm    Post subject: Reply with quote

port Leases have a duration, that could be infinite, so it will never expire.

you should not manually remove leases, just use a UPnP IGD client to do that.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
NickH



Joined: 10 Feb 2018
Posts: 21

PostPosted: Sun Sep 20, 2020 5:17 pm    Post subject: Reply with quote

I am afraid I don't fully understand the process. What sort of client are you talking about? Does it run on the same machine as miniupnpd or elsewhere?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1501

PostPosted: Tue Sep 22, 2020 10:22 pm    Post subject: Reply with quote

NickH wrote:
I am afraid I don't fully understand the process. What sort of client are you talking about? Does it run on the same machine as miniupnpd or elsewhere?

Usually elsewhere. MiniUPnPd is an UPnP Internet Gateway Device (aka IGD) implementation. In UPnP terminology, clients are called "control points" and are piece of software on other LAN hosts.
What are the control points you are using ?
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
NickH



Joined: 10 Feb 2018
Posts: 21

PostPosted: Wed Sep 23, 2020 10:50 am    Post subject: Reply with quote

Thanks for the explanation. In this case the control point is a ClearOS7 server running in a VM. I am playing around with it as a Sia host and I assume the Sia daemon has the UPnP IGD client in it.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1501

PostPosted: Wed Sep 23, 2020 9:30 pm    Post subject: Reply with quote

NickH wrote:
Thanks for the explanation. In this case the control point is a ClearOS7 server running in a VM. I am playing around with it as a Sia host and I assume the Sia daemon has the UPnP IGD client in it.

If available, you can install miniupnpc on the ClearOS machine and use the upnpc command line tool
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
stacy09
Guest





PostPosted: Fri Oct 30, 2020 6:27 am    Post subject: Reply with quote

thank you
Back to top
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.