netwatch.conf - the network-egress monitor's settings
One key value per line; # starts a comment.
/etc/carbonian/netwatch.conf is read first, then
~/.config/carbonian/netwatch.conf, which wins.
The daemon (carbonian-netwatchd(8)) reads only the system
file, once when it starts: restart it after a change. The command
(carbonian-netwatch(1)) reads both, each time it runs. The order is
when, what, how it looks.
- interfaces
all
- (daemon) Interfaces to capture on, separated by spaces, or all (also those
that appear later).
- loopback
yes
- (daemon) Capture on lo as well. Needed to see an application's query to a
local resolver stub next to the stub's own query out. With no, loopback
traffic is not recorded at all.
- log-dir
/var/log/carbonian-netwatch
- Where the day files are. The daemon writes it; the command reads it.
- keep 30d
- (daemon) Day files older than this are deleted at start and once a day. A
time with a unit: 12h, 30d, 2w.
- expect debian.org
carbonian.org pool.ntp.org
- (command) Names that a report does not flag as unexpected, with their
subdomains; *.example.org matches subdomains only. May be given
more than once; the lines add up, the user's after the system's. A name
outside the list is shown flagged, never hidden.
- quiet
- (command) Names left out of the live view (tail) only, same patterns,
repeatable. They stay in the log and in every report. Empty by
default.
- color auto
- (command) yes, no or auto (colours only on a terminal).
A bad value is ignored.
/etc/carbonian/netwatch.conf
~/.config/carbonian/netwatch.conf
carbonian-netwatch(1), carbonian-netwatchd(8)