Issue when creating/updating firewall rule

Sam0x

New Member
Mar 1, 2023
4
0
1
Hi,

I was creating a firewall rule on a vm when I noticed that when the comment contains a new line feed, the rest of the comment is not registered.
More so, I was able to create other rules if I added enough characters.
 
Hi,

To we able to reproduce the issue you mentioned, can you provide us with the firewall rule you added to the VM? You can find in `/etc/pve/firewall/<VMID>.fw`
 
Thank you for you quick response.
Here it is, I just reproduced it.
Code:
|IN DROP -log nolog # reproduce
bug
Also once I do that. When I try to update certain rules (by changing the position), it duplicates them instead of moving them.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!