View previous topic :: View next topic |
Author |
Message |
Charles
Joined: 06 Nov 2007 Posts: 20
|
Posted: Tue Nov 06, 2007 6:21 am Post subject: client Nat-PMP support |
|
|
I'm one of the developers on the BitTorrent client "Transmission", and I'm wanting to get rid of our UPNP code and use miniupnp as a drop-in replacement. All Transmission really UPNP for is port forwarding, and Discover -> GetValidIGD -> AddPortMapping API is dead simple.
However, Apple Airport routers use Nat-PMP for portmapping, and since most of Transmission's users on Macs, this is a problem. I see that there's some new Nat-PMP support on the daemon end, so I was wondering, are there plans to add Port Mapping Nat-PMP API calls on the client end as well? |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1587
|
Posted: Tue Nov 06, 2007 8:36 am Post subject: Re: client Nat-PMP support |
|
|
Charles wrote: | I'm one of the developers on the BitTorrent client "Transmission", and I'm wanting to get rid of our UPNP code and use miniupnp as a drop-in replacement. All Transmission really UPNP for is port forwarding, and Discover -> GetValidIGD -> AddPortMapping API is dead simple.
However, Apple Airport routers use Nat-PMP for portmapping, and since most of Transmission's users on Macs, this is a problem. I see that there's some new Nat-PMP support on the daemon end, so I was wondering, are there plans to add Port Mapping Nat-PMP API calls on the client end as well? |
I'm wondering if adding NAT-PMP support to the miniupnpc code is a good idea because some of the logic of NAT-PMP is different and won't fit in a UPnP IGD API. For instance, when a port mapping is requested, a different public port can be provided by the nat-pmp device.
Anyway, there are plans to release a NAT-PMP client library, included with miniupnpc or not.
I'll keep you updated. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
Charles
Joined: 06 Nov 2007 Posts: 20
|
Posted: Thu Nov 08, 2007 9:36 pm Post subject: Re: client Nat-PMP support |
|
|
miniupnp wrote: | I'm wondering if adding NAT-PMP support to the miniupnpc code is a good idea because some of the logic of NAT-PMP is different and won't fit in a UPnP IGD API. For instance, when a port mapping is requested, a different public port can be provided by the nat-pmp device.
Anyway, there are plans to release a NAT-PMP client library, included with miniupnpc or not.
I'll keep you updated. |
Glad to hear it. The development tree of Transmission is using miniupnp already, and I'm looking forward to nat-pmp support either in miniupnp or in a sister library. Thanks for all your work!  |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1587
|
Posted: Fri Nov 30, 2007 10:38 pm Post subject: |
|
|
maybe a bit late for you but I have now a nat-pmp client that is good enough It's going to be released soon  _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1587
|
|
Back to top |
|
 |
Charles
Joined: 06 Nov 2007 Posts: 20
|
Posted: Sat Dec 08, 2007 11:17 pm Post subject: |
|
|
miniupnp wrote: | miniupnp wrote: | maybe a bit late for you but I have now a nat-pmp client that is good enough It's going to be released soon  |
here : libnatpmp-20071202.tar.gz |
Since the author of Transmission's nat-pmp code is AWOL and the bug reports are mounting up, this is very welcome news indeed.
This snapshot has been folded into Transmission's trunk now. |
|
Back to top |
|
 |
dieting
Joined: 31 Dec 2014 Posts: 1 Location: Pakistan
|
Posted: Wed Dec 31, 2014 10:03 am Post subject: |
|
|
I'm wanting to get rid of our UPNP code and use miniupnp as a drop-in replacement. All Transmission really UPNP for is port forwarding, and Discover -> GetValidIGD -> AddPortMapping API is dead simple. Smile
____________
Pass your 1z0-051 and 1z0-897 in first try by using our pass 4 sure and Miami International University of Art & Design and best quality selftestengine. |
|
Back to top |
|
 |
|