nat-api icon indicating copy to clipboard operation
nat-api copied to clipboard

:left_right_arrow: Fast port mapping with UPnP and NAT-PMP

Results 13 nat-api issues
Sort by recently updated
recently updated
newest added

Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) from 0.1.14 to 0.4.23. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xml2js&package-manager=npm_and_yarn&previous-version=0.1.14&new-version=0.4.23)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Installing ipfs: warning ipfs > ipfs-core > libp2p > @motrix/nat-api > [email protected]: request has been deprecated, see https://github.com /request/request/issues/3142 - O.S. : Ubuntu 18.04 Desktop - node: v14.5.0

After about 10 hours running I start seeing `MaxListenersExceededWarning`: ``` node:internal/process/warning:50 (node:81670) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 _device listeners added to [Ssdp]. Use emitter.setMaxListeners() to increase limit at...

```js const NatAPI = require('nat-api') const client = new NatAPI() // Get external IP client.externalIp(function(err, ip) { if (err) return console.log('Error', err) console.log('External IP:', ip) }) ``` ```txt External IP:...

Add support for the protocol [PCP](https://en.wikipedia.org/wiki/Port_Control_Protocol)

enhancement
help wanted

Hello Alex, When I enable PMP and initialized, it throw a Uncaught Exception : ( ```javascript client = new NatAPI({ enablePMP: true }) ``` Uncaught Exception: TypeError: Cannot read property...

UPNP has an `addAnyPortMapping` method where the gateway selects a free high-number port, avoiding collisions with an existing port. It seems PMP has an equivalent: ``` If the client would...

Anecdote: I successfully used [es6-promisify](https://www.npmjs.com/package/es6-promisify) with this module: ```js const client = new NatAPI() const asyncMap = promisify(client.map.bind(client)) // ... await asyncMap({..}) ``` Would you consider a PR to make...

`nat-api version: 0.1.2` ``` c:\>systeminfo | findstr /B /C:"OS Name" /C:"OS Version" OS Name: Microsoft Windows 10 Pro OS Version: 10.0.18363 N/A Build 18363 c:\>node --version v12.13.1 ``` ``` const...

bug

Bumps [default-gateway](https://github.com/silverwind/default-gateway) from 6.0.3 to 7.2.2. Release notes Sourced from default-gateway's releases. 7.0.0 Package is now pure ESM Node.js 16 is required Exported functions are renamed interface in results renamed...

dependencies