nftables vmap concatenations with interval

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux