Linux Netfilter discussions
 help / color / mirror / Atom feed
* nftables vmap concatenations with interval
@ 2016-09-27 15:10 Martin Bednar
  2016-09-27 19:11 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Bednar @ 2016-09-27 15:10 UTC (permalink / raw)
  To: netfilter

hi, 

using nftables, I want to create a vmap : 

map mymap {type ipv4_addr . iface_index : verdict }

I'd like the first argument to be an ip range/ network, so that I can add like 
so :
nft add element inet filter mymap { 172.18.0.1/24 . eth0 : accept }
or
nft add element inet filter mymap { 172.18.0.1-172.18.0.255 . eth0 : accept }

Any hints as to what to do it?

Thanks,

Martin.

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

end of thread, other threads:[~2016-09-28 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-27 15:10 nftables vmap concatenations with interval Martin Bednar
2016-09-27 19:11 ` Pablo Neira Ayuso
2016-09-28 12:51   ` Martin Bednar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox