Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: add last statement | Pablo Neira Ayuso | 2023-02-28 | 1 | -0/+8 |
This new statement allows you to know how long ago there was a matching packet. # nft list ruleset table ip x { chain y { [...] ip protocol icmp last used 49m54s884ms counter packets 1 bytes 64 } } if this statement never sees a packet, then the listing says: ip protocol icmp last used never counter packets 0 bytes 0 Add tests/py in this patch too. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |