I am trying to migrate ebtables to nftables.
Here is an example of a rule set defined under ebtable:
ebtables -t broute -L --Lc
Bridge table: broute
Bridge chain: BROUTING, entries: 1, policy: ACCEPT
-s 0:25:b5:15:3:2f -d 1:aa:aa:aa:aa:aa -j DROP , pcnt = 1805043 -- bcnt = 2592041748
This rule set basically comprises of a l2 multicast mac as the destination and rule set basically is being used to count the number of packets.
Can you please suggest how to go about in migrating the above said rule set to nftable.
question from:
https://stackoverflow.com/questions/65909652/migrating-ebtable-to-nftables-rhel-ubuntu 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…