netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to have a counter for vmap verdicts?
@ 2024-06-14 19:15 William N.
  2024-06-15  1:27 ` Kerin Millar
  0 siblings, 1 reply; 6+ messages in thread
From: William N. @ 2024-06-14 19:15 UTC (permalink / raw)
  To: netfilter

Hi,

I have this anonymous vmap:

ct state vmap {                                                 
	invalid: drop,                                          
	established : continue,                                 
	related : continue                                      
}

Is there a way to have:

- a counter for each individual verdict
- a counter only for the drop

but without jumps to other chains, shown in the wiki?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to have a counter for vmap verdicts?
  2024-06-14 19:15 How to have a counter for vmap verdicts? William N.
@ 2024-06-15  1:27 ` Kerin Millar
  2024-06-16 17:16   ` William N.
  0 siblings, 1 reply; 6+ messages in thread
From: Kerin Millar @ 2024-06-15  1:27 UTC (permalink / raw)
  To: netfilter

On Fri, 14 Jun 2024, at 8:15 PM, William N. wrote:
> Hi,
>
> I have this anonymous vmap:
>
> ct state vmap {                                                 
> 	invalid: drop,                                          
> 	established : continue,                                 
> 	related : continue                                      
> }
>
> Is there a way to have:
>
> - a counter for each individual verdict
> - a counter only for the drop
>
> but without jumps to other chains, shown in the wiki?

To do so requires nftables 1.0.8. See, also, https://marc.info/?l=netfilter&m=168933264008248&w=2 and https://wiki.nftables.org/wiki-nftables/index.php/List_of_updates_in_the_nft_command_line_tool.

-- 
Kerin Millar

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to have a counter for vmap verdicts?
  2024-06-15  1:27 ` Kerin Millar
@ 2024-06-16 17:16   ` William N.
  2024-06-17  0:48     ` Kerin Millar
  0 siblings, 1 reply; 6+ messages in thread
From: William N. @ 2024-06-16 17:16 UTC (permalink / raw)
  To: netfilter

Thank you.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to have a counter for vmap verdicts?
  2024-06-16 17:16   ` William N.
@ 2024-06-17  0:48     ` Kerin Millar
  2024-06-17  0:52       ` Kerin Millar
  0 siblings, 1 reply; 6+ messages in thread
From: Kerin Millar @ 2024-06-17  0:48 UTC (permalink / raw)
  To: netfilter

On Sun, 16 Jun 2024, at 6:16 PM, William N. wrote:
> Thank you.

Please read the 1.0.8 release notes, the link to which is in my response to your prior question.

-- 
Kerin Millar

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to have a counter for vmap verdicts?
  2024-06-17  0:48     ` Kerin Millar
@ 2024-06-17  0:52       ` Kerin Millar
  2024-06-17 16:42         ` William N.
  0 siblings, 1 reply; 6+ messages in thread
From: Kerin Millar @ 2024-06-17  0:52 UTC (permalink / raw)
  To: netfilter

On Mon, 17 Jun 2024, at 1:48 AM, Kerin Millar wrote:
> On Sun, 16 Jun 2024, at 6:16 PM, William N. wrote:
>> Thank you.
>
> Please read the 1.0.8 release notes, the link to which is in my 
> response to your prior question.

My apologies. I read the title as if it were a fresh question. I should know better than to respond to posts when not yet wholly awake.

--
Kerin Millar

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to have a counter for vmap verdicts?
  2024-06-17  0:52       ` Kerin Millar
@ 2024-06-17 16:42         ` William N.
  0 siblings, 0 replies; 6+ messages in thread
From: William N. @ 2024-06-17 16:42 UTC (permalink / raw)
  To: netfilter

No worries, Kerin!
I have read those. Your attention is always much appreciated.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-17 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 19:15 How to have a counter for vmap verdicts? William N.
2024-06-15  1:27 ` Kerin Millar
2024-06-16 17:16   ` William N.
2024-06-17  0:48     ` Kerin Millar
2024-06-17  0:52       ` Kerin Millar
2024-06-17 16:42         ` William N.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).