Re: issue with nftable - goto : Operation not supported

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

 



On 26 November 2014 at 22:45, stoffl4ever <stoffl4ever@xxxxxxxxx> wrote:
> On 26.11.2014 19:13, Pablo Neira Ayuso wrote:
>>> > I tried it, it adds rules but doesn't remove the previous ones. How
>>> > can I replace previous rules in one go with 'nft -f' ?
>> You have to prepend:
>>
>>  flush table filter
>>
>> to the output of 'nft list table filter'.
>>
>> Since 3.18, you can also use:
>>
>>  flush ruleset
>>
>> that removes everything, including the existing table and chain
>> configuration.
> Also named sets?
> I was running into this before that sets are not removed when only using:
> flush table filter

Yes, flush ruleset will fully wipe all the ruleset, including rules,
chains, sets, and tables.

-- 
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux