[Shorewall-users] Accounting - counters reset by restart

2021-01-19 Thread Matthew Collins
Good afternoon all, According to the 'Accounting' page, it is possible to retain counters over a restart/reboot by running 'shorewall save -C' periodically, and using the '-C -f' flags for shorewall start and restart. I have 'shorewall save -C' in my root's crontab (and /var/lib/shorewall/restore

Re: [Shorewall-users] Accounting - counters reset by restart

2021-01-19 Thread Matt Darfeuille
On 1/19/2021 2:22 PM, Matthew Collins wrote: > Good afternoon all, > > According to the 'Accounting' page, it is possible to retain counters > over a restart/reboot by running 'shorewall save -C' periodically, and > using the '-C -f' flags for shorewall start and restart. > > I have 'shorewall sa

Re: [Shorewall-users] Accounting - counters reset by restart

2021-01-19 Thread Matthew Collins
Good evening, Only the best people have that name :-) AUTOMAKE=Yes in shorewall.conf, and shorewall reload (with or without -C) works fine - only restart or start clears the counters. Almost as if 'start' doesn't add the '--counters' flag to iptables-restore? (I've tried following the start scrip