Pablo Neira Ayuso <[email protected]> wrote: > On Wed, May 24, 2017 at 06:01:51PM +0530, Shyam Saini wrote: > > Add translation for cluster to nft > > I think this should be: > > -m cluster --cluster-total-nodes 2 --cluster-local-node 1 > --cluster-hash-seed 0xdeadbeef > > should be translated to: > > jhash ct original saddr mod 2 seed 0xdeadbeef eq 0 > > if --cluster-local-node is 2, then: > > jhash ct original saddr mod 2 seed 0xdeadbeef eq 1
Looks good. But I think we need to take care of mangling pkttype as well, right? -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
