prepare to merge

This commit is contained in:
Marek Küthe 2023-01-09 08:22:26 +01:00
commit 6c81961dd2
No known key found for this signature in database
GPG Key ID: 7E869146699108C7
2 changed files with 18 additions and 3 deletions

View File

@ -140,7 +140,11 @@ Once babeld is started, forwarding is enabled in the kernel for IPv4 and IPv6. A
## 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:
There are two ways to activate the Local configuration interface. Once you can pass a command line argument for it or you can do this in the babeld configuration file.
### Command line argument
The local configuration interface 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
```
@ -150,6 +154,15 @@ If babeld is used with Systemd, you can change the arguments in the `/etc/defaul
DAEMON_ARGS="-S /var/lib/babeld/state -g 33123"
```
### Configuration file
To enable the local configuration interface there is a directive `local-port`:
```
local-port 33123
```
### Usage
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:
@ -192,5 +205,7 @@ The routes learned from the babel neighbors are displayed here. Here `<nid>` is
- [babeld FAQ](https://www.irif.fr/~jch/software/babel/faq.html)
- [babeld mailling list](https://alioth-lists.debian.net/pipermail/babel-users/)
- [babeld source code](https://github.com/jech/babeld)
- [Babel configuration by Réseau Libre](https://wiki.reseaulibre.ca/documentation/babel/)
- [RFC8966](https://www.rfc-editor.org/rfc/rfc8966)
- [Babel configuration by Réseau Libre](https://wiki.reseaulibre.ca/documentation/babel/)
- [Babel in Freifunk Franken (German)](https://wiki.freifunk-franken.de/w/Freifunk-Gateway_aufsetzen/babeld)

View File

@ -20,4 +20,4 @@ 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.
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.