From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: errors found in nftable docs on wiki Date: Sun, 29 Jun 2014 12:12:50 +0200 Message-ID: <20140629101250.GA3615@localhost> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jonathan Johnson Cc: netfilter@vger.kernel.org On Sat, Jun 28, 2014 at 02:13:35PM -0500, Jonathan Johnson wrote: > http://wiki.nftables.org/wiki-nftables/index.php/Sets > > States this works and it does not. > > > nft add set filter blackhole { type ipv4_address\;} > > after reviewing the source code I discovered this is correct: > > > nft add set filter blackhole { type ipv4_addr\;} Fixed, thanks for reporting. > after using the correct syntax I get this error, which I have not > troubleshooted. > > > I modprobed all the modules starting with nft* one at a time. > > > :1:26-42: Error: Could not add set: No such file or directory I guess you forgot to create the filter table? http://wiki.nftables.org/wiki-nftables/index.php/Configuring_tables