[pve-devel] applied: [PATCH pve-manager 1/1] report: add packet counter to iptables output
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed Jan 3 12:03:10 CET 2024
applied, thanks
On Wed, Jan 03, 2024 at 09:53:30AM +0100, Hannes Duerr wrote:
> Signed-off-by: Hannes Duerr <h.duerr at proxmox.com>
> ---
>
> The additional information can help with debugging firewall rules, as
> one can see how many times a specified rule got hit
>
> PVE/Report.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/PVE/Report.pm b/PVE/Report.pm
> index 2024285e..10b28c79 100644
> --- a/PVE/Report.pm
> +++ b/PVE/Report.pm
> @@ -85,7 +85,7 @@ my $init_report_cmds = sub {
> cmds => [
> sub { dir2text('/etc/pve/firewall/', '.*fw') },
> 'cat /etc/pve/local/host.fw',
> - 'iptables-save',
> + 'iptables-save -c',
> ],
> },
> cluster => {
> --
> 2.39.2
More information about the pve-devel
mailing list