|
1 month ago | |
---|---|---|
.gitignore | 1 year ago | |
Readme.md | 1 year ago | |
go.mod | 1 month ago | |
go.sum | 1 month ago | |
main.go | 1 year ago |
rmon
monitors unreachable routes installed by babeld
.
Does not need any special permissions to run.
$ git clone https://git.freifunk-franken.de/lemmi/rmon
$ cd rmon
$ go get -v
$ go run .
babeld
can spew out massive amounts of route changes that can fill the
netlink socket. rmon
tries to allocate a 16MB receive buffer, which seems to
be enough for the moment. For this to work check /proc/sys/net/core/rmem_max
to be more than 16MB (16777216).
Do one of the following:
# echo 16777216 > /proc/sys/net/core/rmem_max
# sysctl -w net.core.rmem_max=16777216
Add the following line to /etc/sysctl.conf
:
net.core.rmem_max = 16777216
and run
# sysctl -p