[nft] bug in sets cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I've found an annoying bug in sets handling in nft, likely the cache stuff.

How to reproduce it:

# start with an empty ruleset
% nft list ruleset

# load sample ruleset
% nft -f ruleset.nft

# delete rule referencing set 'test'
% nft delete rule inet test test handle 2

# delete the set 'test'
% nft delete set inet test test

# load again the sample ruleset
% nft -f ruleset.nft
ruleset.nft:2:1-2: Error: Could not process rule: Set 'test' does not exist
table inet test {
^^


I've invested about an hour trying to figure out by myself where the
problem is, but cannot spend more time by now.

find attached the ruleset.nft file.

best regards.
-- 
Arturo Borrero González

Attachment: ruleset.nft
Description: Binary data


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux