fd / go-nat

NAT port mapping library for Go
Apache License 2.0
43 stars 35 forks source link

Support for PCP? #3

Open whyrusleeping opened 8 years ago

whyrusleeping commented 8 years ago

Does this lib support Port Control Protocol? I feel like you may have commented on an issue in go-ipfs saying that it did (or someone else did) but i can't see in the code where/how that happens.

fd commented 8 years ago

There is no support for PCP. I don't have the time to integrate PCP but feel free to submit a PR.

sashahilton00 commented 4 years ago

I just wrote this implementation: go-pcp. Warning in advance, it is alpha code, but if someone wants to test it out with their PCP server (I don't have one available atm) and report/fix any bugs, it should be fairly trivial to integrate this with go-nat, as I tried to make the methods relatively 1-1 with the intent of integrating it here at a later date.