New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ipv6discovery

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipv6discovery

Discover IPv6 nodes on LAN

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
7
600%
Maintainers
1
Weekly downloads
 
Created
Source

IPv6 Discovery

Discovers IPv6 nodes on the local area network (LAN) using multicast ping

Installation

npm install ipv6discovery

Example

const ipv6discovery = require("ipv6discovery");
interfaces = ipv6discovery.getInterfaces();
ipv6discovery
    .scanInterface(interfaces[0])
    .then(console.log)
    .catch(console.error);

Usage

  • getInterfaces(): lists all IPv6 configured network interfaces
  • getLocalAddresses(): lists all IPv6 addresses configured on local interfaces
  • scanInterface(interface): scans a network interface for IPv6 nodes and returns link local addresses using Promises.

Note

This module relies on the ping program on Linux. Windows is currently not supported. Other platforms were not tested. Pull requests are welcome.

Keywords

IPv6

FAQs

Package last updated on 25 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts