[pve-devel] applied: [PATCH firewall] logging: Add missing logmsg for inbound rules
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Feb 5 20:26:59 CET 2020
On 1/28/20 5:57 PM, Christian Ebner wrote:
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
> src/PVE/Firewall.pm | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm
> index 255bb9a..d22b15a 100644
> --- a/src/PVE/Firewall.pm
> +++ b/src/PVE/Firewall.pm
> @@ -2491,6 +2491,7 @@ sub enable_host_firewall {
> $rule->{iface_in} = $rule->{iface} if $rule->{iface};
>
> eval {
> + $rule->{logmsg} = "$rule->{action}: ";
> if ($rule->{type} eq 'group') {
> ruleset_add_group_rule($ruleset, $cluster_conf, $chain, $rule, 'IN', $accept_action, $ipversion);
> } elsif ($rule->{type} eq 'in') {
>
applied, thanks!
More information about the pve-devel
mailing list