Maximilian Bosch 50a34e55b2
nixos/iftop: add module
This patch is heavily inspired by bd0d8ed807d29faa3deee96bafcbbd76c8fa4060 which added
a setcap wrapper for `mtr` in order to allow running `mtr` without
`sudo`. The need for the capability `cap_net_raw` that can be registered using
`setcap` has been documented in the Arch Wiki: https://wiki.archlinux.org/index.php/Capabilities#iftop

A simple testcase has been added which starts two machines, one with a
setcap wrapper for `iftop`, one without. Both testcases monitor the
bandwidth usage of the machine using the options `-t -s 1` once, the
machine with setcap wrapper is expected to succeed, the `iftop` on the
machine without setcap wrapper is expected to return a non-zero exit
code.
2018-04-07 15:06:51 +02:00
..
2018-03-30 17:33:45 -04:00
2018-03-19 13:12:47 +01:00
2018-03-01 11:47:13 +00:00
2018-02-15 01:11:13 +01:00
2018-02-14 22:43:59 +01:00
2018-03-12 23:37:29 +01:00
2018-04-07 15:06:51 +02:00
2018-03-25 18:29:21 +03:00
2018-02-20 11:03:49 -06:00
2018-04-04 18:26:41 +03:00
2017-08-12 00:55:32 +02:00
2018-02-17 16:43:41 +00:00
2018-02-23 18:51:39 +03:00
2018-03-21 15:33:58 +01:00
2017-03-01 03:16:35 +03:00
2018-03-18 19:15:56 +00:00