Web-based monitoring tool for the Babel routing protocol
Install and start the latest babelweb release:
npm install -g babelweb babeld -g 33123 ... & babelweb
You'll need Node.js (>= 0.10.0) and npm (provided with nodejs). If you have not installed them yet, download Node.js for your platform.
Clone the repository if you haven't already, and cd into it:
git clone git://git.wifi.pps.univ-paris-diderot.fr/babelweb.git cd babelweb
You have then two options to install babelweb:
Install babelweb globally (in /usr/local by default), with its dependencies:
Keep babelweb in the current directory, install dependencies locally, and add a global symlink (in /usr/local by default):
If you want to install it once and forget about it, I recommend method 1; if
you want to track development easily, method 2. If you change your mind, run
make uninstall (for any of the methods).
Then, start Babel on your local host:
babeld -g 33123 ... &
And finally start babelweb:
By default, the babelweb interface is located at: http://localhost:8080/
To monitor a remote babel instance (eg. running on a host called
have two options.
Create a tunnel from
local$ ssh -N -L[::1]:33123:[::1]:33123 username@remote
and keep the default value for the option
socatas a proxy on
remoteto make the babel local interface available from the outside:
remote$ socat TCP-LISTEN:1234,fork TCP6:[::1]:33123
and setup the option
local$ babelweb routers="remote:1234"
See the man page for a list of options (also available in the doc/ directory):
You can specify options directly on the command-line:
babelweb port=80 host=127.0.0.1
Alternatively, you can manage babelweb options through npm:
npm config set babelweb:port 80
In that case, you must start babelweb through npm too (and cannot use command-line options):
npm start -g babelweb
man npm-config for more details.
Babelweb does not need to be started as root anymore; regular user privileges are recommended.
Babelweb has been tested and found to work with recent versions of Firefox, Chrome, Safari and Opera (except for some visual bells and whistles).
Please, do not hesitate to send reports of working and broken browsers.
Gabriel Kerneis email@example.com