Implement a module for Node.js capable of enumerating all network interfaces on a linux system via the kernel API SIOCGIFCONF, another API to configure an interface, and finally an API capable of setting the state of an interface.
The first API should produce a hierarchal JSON object containing a list of network interface objects. Each interface should contain a list of configured addresses for the interface, their corresponding subnet mask, and all other information obtainable from the SIOCGIFCONF API (most importantly the kernel interface index)
The second API will provide a mean of configuring the settings of a network interface.
The third API should allow an interface to be enabled or disabled.
The project will be considered complete when :
One or more HTML pages are provided which can show the current configuration and state of all network interfaces on the system. Is able to enable or disable an interface. Is able to configure the IP address settings of an interface. The Node.js APIs includes inline documentation as well as an example of usage of the function.
If the work is acceptable, many further similar projects will follow.