public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
To: Hannes Duerr <h.duerr@proxmox.com>
Cc: pve-devel@lists.proxmox.com
Subject: [pve-devel] applied: [PATCH pve-manager 1/1] report: add packet counter to iptables output
Date: Wed, 3 Jan 2024 12:03:10 +0100	[thread overview]
Message-ID: <nrcfjretq4sa6sbd2keypzvl5ysnhkbud7qmlaxdcu7kp3gfwl@2y2glwonbyhe> (raw)
In-Reply-To: <20240103085330.35455-1-h.duerr@proxmox.com>

applied, thanks

On Wed, Jan 03, 2024 at 09:53:30AM +0100, Hannes Duerr wrote:
> Signed-off-by: Hannes Duerr <h.duerr@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




      reply	other threads:[~2024-01-03 11:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03  8:53 [pve-devel] " Hannes Duerr
2024-01-03 11:03 ` Wolfgang Bumiller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nrcfjretq4sa6sbd2keypzvl5ysnhkbud7qmlaxdcu7kp3gfwl@2y2glwonbyhe \
    --to=w.bumiller@proxmox.com \
    --cc=h.duerr@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal