Skip to contentSkip to conversation

How to have a counter for vmap verdicts?

DISCUSSION William N. 2 participants 6 messages Jun 14, 2024 – Jun 17, 2024

lore
Share & tools
lore

William N.

author
#0 lore raw

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?

#1 lore raw
Quoted 10 lines · William N.

Hi,

I have this anonymous vmap:

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

Quoted 6 lines

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.

Signature · 1 line
Kerin Millar
#3 lore raw
Quoted 1 line · William N.

Thank you.

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

Signature · 1 line
Kerin Millar
#4 lore raw
Quoted 5 lines · Kerin Millar
Quoted 1 line · William N.

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

author
#5 lore raw

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