[Bug 965] New: Deleting rules using "position" keyword deletes all rules for chain

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Jul 10 12:05:39 CEST 2014


https://bugzilla.netfilter.org/show_bug.cgi?id=965

           Summary: Deleting rules using "position" keyword deletes all
                    rules for chain
           Product: nftables
           Version: unspecified
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
        AssignedTo: pablo at netfilter.org
        ReportedBy: sander.contrib at gmail.com
   Estimated Hours: 0.0


I tested this by using the "position" keyword instead of the "handle" keyword,
and discovered all rules in the chain gets deleted.

I would expect to get an error for invalid keyword "position" when trying to
delete rules instead of the nft silently deleting all rules (i.e. only
considering: nft delete rule filter CHAINNAME).

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list