Skip to content

@pumpkin-plugins/port-mapping API / identify / probeWeb

Function: probeWeb() ​

probeWeb(net, addresses): Steps<RouterIdentity | undefined>

Defined in: tools/port-mapping/src/identify.ts:77

Recognizes a router by its web interface, which is the only way when it answers no UPnP search.

Parameters ​

net ​

Network

addresses ​

readonly Ipv4[]

Where the router may be. Usually its first or last address on the local network.

Returns ​

Steps<RouterIdentity | undefined>

The identity of the first address that gave itself away, or undefined.

Pumpkin Plugins documentation