diff options
Diffstat (limited to 'extensions/libip6t_hbh.txlate')
-rw-r--r-- | extensions/libip6t_hbh.txlate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/libip6t_hbh.txlate b/extensions/libip6t_hbh.txlate new file mode 100644 index 00000000..28101fd7 --- /dev/null +++ b/extensions/libip6t_hbh.txlate @@ -0,0 +1,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 |