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

Reply via email to