Re: nft show counter

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

 



On 2021/03/31 17:40, Florian Westphal wrote:
You could use a named counter and then fetch it via 'nft list counter
inet tablenam countername'.

This is the straightforward solution!

Florian, is it correct that *all* counters are stateful objects, they're just anonymous stateful objects if used in a rule without first declaring them with a name? The wiki reads as if they're 2 separate things (I'm happy to fix but want to check with you first):

https://wiki.nftables.org/wiki-nftables/index.php/Counters

Thanks,
Frank M.



[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