Opened 7 years ago

Last modified 5 years ago

#5415 new Enhancement

Add PCP support for port forwarding

Reported by: ptatrai Owned by: jordan
Priority: Normal Milestone: 3.00
Component: libtransmission Version: 2.80
Severity: Normal Keywords:
Cc:

Description

PCP defined in RFC 6887 is a successor of NATPMP for controlling port mappings on NAT devices. In an attachment, I'm providing a patch implementing a PCP by integrating libpcp library.

Attachments (2)

transmission_pcp.patch.gz (50.6 KB) - added by ptatrai 7 years ago.
PCP patch
transmission_pcp_v2.patch.gz (52.1 KB) - added by ptatrai 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by ptatrai

PCP patch

comment:1 Changed 7 years ago by livings124

Looks like this will be maintained by miniupnp. https://github.com/miniupnp/miniupnp/pull/41

comment:2 Changed 7 years ago by livings124

ptatrai: are you going to be submitting code upstream for this to be integrated into miniupnp's client code?

comment:4 Changed 7 years ago by ptatrai

No, that pull request was only for PCP server implementation, which was integrated into miniupnpd daemon. This was merged today into upstream repository. The client code is different and it will be maintained separately in libpcp/pcp repository. In the future, libpcp could support NATPMP and therefore use of natpmp.c from miniupnpc could be replaced only by libpcp.

comment:5 Changed 7 years ago by jordan

  • Milestone changed from None Set to 2.90
  • Version changed from 2.80+ to 2.80

Changed 7 years ago by ptatrai

comment:6 Changed 7 years ago by ptatrai

If you are still interested, I have added a newer version of the patch as a new attachment. It includes updated version of PCP library and also has NATPMP support.

comment:7 Changed 5 years ago by mike.dld

  • Milestone changed from 2.90 to 3.00
Note: See TracTickets for help on using tickets.