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 script but got rather lost...) Thanks, Matt On Tue, 19 Jan 2021 at 17:34, Matt Darfeuille <m...@shorewall.org> wrote: > > 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 save -C' in my root's crontab (and > > /var/lib/shorewall/restore is being updated regularly), but when > > running 'shorewall start -C -f', there is no '--counters' option > > listed following the iptables-restore line (but there is after a > > 'shorewall reload') and the counters are reset. I'm sure I've missed > > something obvious... > > > > Good evening, name twin! :) > > Have a look at (1). > > In particular, 'automake' is required for 'reload -C' to work properly. > > 1) https://shorewall.org/manpages/shorewall.html > > -- > Matt Darfeuille <m...@shorewall.org> > Community: https://sourceforge.net/p/shorewall/mailman/message/37107049/ > SPC: https://sourceforge.net/p/shorewall/mailman/message/36596609/ > Homepage: https://shorewall.org > > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users