Re: nft - execute command without returning error

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

 



Le 12/10/2019 à 22:32, Daniel Huhardeaux a écrit :
Hello,

for instance, I want to delete a table which is not existing. Problem is that nft return an error and stop processing the script. It's the same for other commands like adding an already existing chain.

Sorry for this, I saw it's not true as in chain I can use add instead of create to avoid error.

To be clear, my goal is to use nft instead of bash to create rules: bash script is used to set automatically some values like ip/ipv6 addresses aso, echo them in a define include file and chain to nft script who will include this file and apply rules.

--
Daniel



[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