aboutsummaryrefslogtreecommitdiff
path: root/net/nlbwmon/Makefile
Commit message (Collapse)AuthorAge
* treewide: refresh hashes after move to use ZSTD as defaultRobert Marko2024-04-07
| | | | | | | | With the recent move to using ZSTD as the default compression format for packaging git repo clones we must refresh all of the hashes for the packages feed as well. Signed-off-by: Robert Marko <robimarko@gmail.com>
* nlbwmon: Fix PKG_MIRROR_HASH after APK changesHannu Nyman2024-04-03
| | | | | | | Adjust PKG_MIRROR_HASH to the filename logic change due to APK preparations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* nlbwmon: update to Git HEAD (2024-02-21)Jo-Philipp Wich2024-02-21
| | | | | | | | | | | 8dab2ae24c54 neigh: fix potential integer underflow in avl_cmp_neigh() 992f9078b1d5 nfnetlink: fix netlink dump receive logic ec1a39e53d3f nfnetlink: improve message reception in event callback 0ef61c3bebcb build: convert CMakeList.txt to lowercase c7616bcfaaef nlbwmon: utilize uloop interval timer if available Fixes: https://github.com/jow-/nlbwmon/issues/57 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* nlbwmon: update to latest Git HEADJo-Philipp Wich2021-09-01
| | | | | | d82c910 nfnetlink: warn if the requested recv buffer size surpasses rmem_max Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: back to cmake.mkRosen Penev2021-06-12
| | | | | | Ninja was merged to base and therefore we can now use normal cmake.mk Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: build CMake projects with NinjaRosen Penev2021-03-27
| | | | | | | | | | | | | | | | | | | | faster to compile. A small selection of packages was tested going from: Executed in 696.30 secs fish external usr time 82.98 mins 395.00 micros 82.98 mins sys time 9.02 mins 0.00 micros 9.02 mins to: Executed in 592.20 secs fish external usr time 84.84 mins 361.00 micros 84.84 mins sys time 8.85 mins 57.00 micros 8.85 mins Tested by running make -j 12 and wiping staging/build_dir/target_x Signed-off-by: Rosen Penev <rosenp@gmail.com>
* nlbwmon: add hotplug script to reload after interface ifupHannu Nyman2020-07-28
| | | | | | | | | | Add a hotplug script to reload nlbwmon's config after interface ifup actions. That should improve the detection of the IPv6 LAN address that can get enabled a bit later in the boot process. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* treewide: add conffilesHuangbin Zhan2020-05-09
| | | | Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
* nlbwmon: update to latest Git HEADJo-Philipp Wich2020-04-11
| | | | | | 34a1887 nfnetlink: disable sequence number checking Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* nlbwmon: update to latest Git HEADJo-Philipp Wich2020-04-11
| | | | | | | | 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>
* nlbwmon: bump to latest gitDENG Qingfang2020-02-16
| | | | | | e921ca0a Add further commonly used protocols to the protocol file. Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* nlbwmon: add procd reload trigger for nlbwmon configRichard Yu2019-12-09
| | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* nlbwmon: update to latest Git HEADJo-Philipp Wich2019-06-06
| | | | | | | | | | | | | 4574e6e nfnetlink: prevent tight retry loops 163a211 client: fix commit error information 21290db nlbwmon: merge existing data abe701d database: do not overwrite unexpectedly preexisting databases ef3fa58 socket: handle EAGAIN on send() Ref: https://github.com/jow-/nlbwmon/issues/23 Ref: https://github.com/jow-/nlbwmon/issues/26 Ref: https://github.com/jow-/nlbwmon/issues/30 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* nlbwmon: receive dhcp interface triggersKevin Darbyshire-Bryant2018-11-10
| | | | | | | | | Not all interfaces may have been allocated address at nlbwmon startup so it may not collect statistics as expected/configured. Add interface triggers to catch dhcp events and restart as required. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* nlbwmon: update to current HEADJo-Philipp Wich2017-12-12
| | | | | | | | | | | Update to latest Git HEAD in order to solve a number of issues. - Improves MAC address lookup reliability - Properly counts DNAT-ed connections (e.g. for port forwards) - Fixes stack corruption when parsing netlink records - Fixes deletion of gzipped databases Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* nlbwmon: preserve protocols mapping across sysupgradeKevin Darbyshire-Bryant2017-08-14
| | | | | | | Define package config files to preserve /usr/share/nlbwmon/protocols across sysupgrade Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* nlbwmon: update to latest versionJo-Philipp Wich2017-08-02
| | | | | | | | | | | | Changes since last update: 32fc092 build: remove extraneous _GNU_SOURCE defines 096aaa3 build: compile with -D_GNU_SOURCE 76487b5 transform to source-only repository Fixes build with uClibc and eglibc toolchains. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* nlbwmon: add packageJo-Philipp Wich2017-07-28
This commit introduces nlbwmon, the lightweight NetLink BandWidth Montor. The nlbwmon daemon gathers per-host traffic statistics by querying netlink accounting data. Due to this approach, the executable is very small and does not rely on libpcap and CPU intensive raw sockets to monitor traffic. Besides raw per-host traffic counters, nlbwmon also support rudimentary traffic classification by observing IP protocols and used port numbers. Gathered accounting data is stored into a series of database files which are regularily committed to persistent storage. Refresh, commit and accounting intervals are freely configurable as well as the layer7 protocol mapping rules and observed source subnets. This package also bundles a cli client which can be used to dump the gathered traffic data as JSON, CSV or plaintext data. A pull request to add a graphical LuCI frontend for nlbwmon is pending. Signed-off-by: Jo-Philipp Wich <jo@mein.io>