public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH firewall 0/1] fix #3677 ipset_get_chains fixed to work with new ipset output
@ 2021-10-18 20:21 Mark Yardley
  2021-10-18 20:21 ` [pve-devel] [PATCH firewall 1/1] " Mark Yardley
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mark Yardley @ 2021-10-18 20:21 UTC (permalink / raw)
  To: pve-devel

As I reported in 3677, there has been a change to the output of ipset since the
update to bullseye and the introduction of ipset 7.

There are now additional items on each line which is causing the firewall to
stay in pending changes as the comparison to the applied rules never matches
despite being valid.

This patch ignores the additonal values and provides a valid line that can
be matched from the ipset output.

Mark Yardley (1):
  fix #3677 ipset_get_chains fixed to work with new ipset output

 src/PVE/Firewall.pm | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.33.0




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-29 18:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 20:21 [pve-devel] [PATCH firewall 0/1] fix #3677 ipset_get_chains fixed to work with new ipset output Mark Yardley
2021-10-18 20:21 ` [pve-devel] [PATCH firewall 1/1] " Mark Yardley
2021-10-27 11:30   ` Thomas Lamprecht
2021-10-27 13:48     ` Mark Yardley
2021-10-29 18:09   ` [pve-devel] applied + follow up: [PATCH] fix #3677: follow up: actually handle bucket size and ignore initval Thomas Lamprecht
2021-10-21  7:04 ` [pve-devel] [PATCH firewall 0/1] fix #3677 ipset_get_chains fixed to work with new ipset output DERUMIER, Alexandre
2021-10-25 14:43 ` DERUMIER, Alexandre

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