summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_hbh.txlate
blob: 28101fd757eb87136eac66e31c9dd1d19f6dc18a (plain)
1
2
3
4
5
ip6tables-translate -t filter -A INPUT -m hbh --hbh-len 22
nft add rule ip6 filter INPUT hbh hdrlength 22 counter

ip6tables-translate -t filter -A INPUT -m hbh ! --hbh-len 22
nft add rule ip6 filter INPUT hbh hdrlength != 22 counter