Re: extending element timeout

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

 



On Mon, Apr 6, 2020 at 2:55 PM Alvaro Leiva <alvaroflmiranda@xxxxxxxxx> wrote:
>
> Thank you so much Laura !
> one last thing : this delete and and add operation is atomic?,
> ensures that no packet would be dismissed ?
>
>

You can do it atomically by executing them as a batch:

nft "delete element inet myfilter myset { 10.0.0.1 }; add element inet
myfilter myset { 10.0.0.1 timeout 7s expires 5s }"

Cheers.



[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