RE: nftables map with numgen type, not sure if it was implemented?

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

 



I am using 0.9.4:
https://pkgs.alpinelinux.org/package/v3.12/main/x86_64/nftables

I will try to verify this again later with alpine edge which has 9.6

Thanks,

----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd@xxxxxxxxx

-----Original Message-----
From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> 
Sent: Monday, August 31, 2020 6:25 PM
To: Eliezer Croitor <ngtech1ltd@xxxxxxxxx>
Cc: netfilter@xxxxxxxxxxxxxxx
Subject: Re: nftables map with numgen type, not sure if it was implemented?

On Thu, Aug 27, 2020 at 06:34:35PM +0300, Eliezer Croitor wrote:
[...]
> lb-r4:/tmp# nft add map nftlb m2 '{ type typeof numgen random mod 2 :
> verdict; }'
> Error: syntax error, unexpected typeof add map nftlb m2 { type typeof 
> numgen random mod 2 : verdict; }
>                         ^^^^^^
[...]
> 
> Am I right for even trying it?

What nft version are you using?

typeof support was introduced in nft >= 0.9.4.




[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