Skip to content

A nodejs module to get netlink notification event on Linux.

License

Notifications You must be signed in to change notification settings

cenuij/netlink-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlink Notify

npm version Dependencies Status Known Vulnerabilities

A module to get netlink notification event on Linux.

Notification supported:

  • route
  • link
  • address

This module will generate an event for nodejs for every event it receives from netlink.

Depends:

Installation

npm install netlink-notify

Build and run

The netlink-notify library is dependent on libmnl library, so you may need to install libmnl before compiling. On Debian, and Debian derivates like Ubuntu, you need to install the package "libmnl-dev".

To build, you need the node package node-gyp:

npm install -g node-gyp

After you have all of the prerequisite packages installed, you can build avro-nodejs.

node-gyp configure build

There's a demo inside the demo/ dir.

Status

Status: Alpha. Use at your own risk.

Have questions? Found a bug?

Please submit issues to the Github issue tracker

About

A nodejs module to get netlink notification event on Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.8%
  • Other 0.2%