summaryrefslogtreecommitdiffstats
path: root/tests/py/any/last.t.payload
Commit message (Collapse)AuthorAgeFilesLines
* src: add last statementPablo Neira Ayuso2023-02-281-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>