Menu

#5596 iptables v4 rules duplication

2.010
open
nobody
None
5
2022-12-04
2022-12-01
No

Server
OS - Unbuntu 22.04
Platform: Oracle Cloud (OCI)
Hardware: Ampere (ARM) 4 CPU / 24GB RAM
From newly imaged

Webmin: 2.010

Client
OS: Windows 10 21H2
Browser: Google Chrome Version 107.0.5304.121 (Official Build) (64-bit)

After clicking "Apply Configuration" after editing rules in the Linux Firewall (V4) module. Then clicking "Revert Configuration" all rules appear to be being duplicated. Custom chains however do not seem to be affected.

If iptables is restarted or system is rebooted before clicking revert, the duplication does not happen.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2022-12-02

    Can you post a screenshot showing what you mean by "duplicated rules" ?

     
  • Marcus Dodlee

    Marcus Dodlee - 2022-12-03

    I'll make a video, it'll be better. I'll have to setup a new VM as I don't want to mess up my current one.

     
  • Marcus Dodlee

    Marcus Dodlee - 2022-12-03

    https://www.youtube.com/watch?v=BM5YjoScpYs

    I think that second bug is being caused when editing a rule, the connection states at the bottom is set to "ignored" when the rule does have state matches.

     

    Last edit: Marcus Dodlee 2022-12-03
  • Jamie Cameron

    Jamie Cameron - 2022-12-04
     
  • Jamie Cameron

    Jamie Cameron - 2022-12-04

    If you run the command iptables-save does it also output duplicate rules?

     

Log in to post a comment.