nlbwmon: update to latest Git HEAD

e757e06 nfnetlink: allow specifying the socket buffer size
33c77cb nfnetlink: properly handle nl_recvmsgs() failures
95cced5 protocol: Include whitespace when reading names

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d81d777a0f)
This commit is contained in:
Jo-Philipp Wich
2020-04-11 00:23:12 +02:00
parent 8696b34992
commit e8cf2e60ae
3 changed files with 9 additions and 3 deletions
+5
View File
@@ -1,4 +1,9 @@
config nlbwmon
# The buffer size for receiving netlink conntrack results, in bytes.
# If the chosen size is too small, accounting information might get
# lost, leading to skewed traffic counting results
option netlink_buffer_size 524288
# Interval at which the temporary in-memory database is committed to
# the persistent database directory
option commit_interval 24h
+1
View File
@@ -64,6 +64,7 @@ parse_config() {
mkdir -p "$dir"
procd_append_param command -o "$dir"
add_option "$cfg" -b netlink_buffer_size 524288
add_option "$cfg" -i commit_interval 24h
add_option "$cfg" -r refresh_interval 30s
add_option "$cfg" -p protocol_database /usr/share/nlbwmon/protocols