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

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Jul 10 14:53:43 CEST 2014


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

--- Comment #1 from Jesper Sander Lindgren <sander.contrib at gmail.com> 2014-07-10 14:53:42 CEST ---
I had a chain for output:
table ip filter {
    chain output {
         type filter hook output priority 0;
         skuid sander counter packets 0 bytes 0 # handle 33
         ip daddr 10.0.0.107 accept # handle 34
         skuid sander counter packets 0 bytes 0 # handle 35
    }
}

And trying (with the wrong keyword "position") to remove handle 33:
nft delete rule filter output position 33

Executes without any problems.

However, the "nft list table filter -a" shows the problem:
table ip filter {
    chain output {
         type filter hook output priority 0;
    }
}

-- 
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