diff --git a/docs/routing/babeld/babeld.md b/docs/routing/babeld/babeld.md index 11ac70e..01095d5 100644 --- a/docs/routing/babeld/babeld.md +++ b/docs/routing/babeld/babeld.md @@ -138,6 +138,25 @@ babeld -c Once babeld is started, forwarding is enabled in the kernel for IPv4 and IPv6. As soon as babeld is stopped, forwarding is deactivated again. A separate enabling like with bird is not necessary. So if you use babeld, you can ignore the steps of [IPv6 forwarding](../forwarding). +## Local configuration interface + +babeld offers a local configuration interface. This can be activated with the flag `-g`. For example, to enable the configuration interface on port `33123`, you can use the following command: +``` +babeld -g 33123 +``` + +The configuration interface can be used to find out various status information on the one hand and to configure babeld on the other. Furthermore, the configuration interface can be used by monitoring programs such as babelweb2. + +To connect to the configuration interface, you can use telnet: +``` +telnet ::1 33123 +``` + +With the command `dump` you can display the current status: +``` +dump +``` + ## Further links - [babeld homepage](https://www.irif.fr/~jch/software/babel/) diff --git a/docs/routing/babeld/babelweb2.md b/docs/routing/babeld/babelweb2.md new file mode 100644 index 0000000..f00d58e --- /dev/null +++ b/docs/routing/babeld/babelweb2.md @@ -0,0 +1,23 @@ + +# babelweb 2 + +babelweb 2 is a monitoring tool for Babel. It shows with a web interface the current neighbors, the current routes and a graphical overview of the babel network. + +## Installation + +First you have to download go. You can do this on Debian for example with the following command: +``` +sudo apt install golang +``` + +After that you have to clone the current git repo and compile the program: +``` +git clone https://github.com/Vivena/babelweb2 +cd babelweb2 +go build +``` +Now you have an executable program `babelweb2`. + +By default, the web interface runs on port 8080. You can also specify a different endpoint with the `-http` parameter. + +babelweb2 uses the local configuration interface of babeld. This must have been activated beforehand. babeld assumes that this is active on `[::1]:33123`. Alternatively, you can specify the endpoint with the `-node=` flag. diff --git a/docs/routing/index.md b/docs/routing/index.md index f4bece7..3d2b86c 100644 --- a/docs/routing/index.md +++ b/docs/routing/index.md @@ -11,3 +11,4 @@ ## babeld - [Setting up Babeld](babeld/babeld) - [max-len filter in babeld](babeld/maxlen-filter) +- [babelweb2](babeld/babelweb2)