Dear nft team,
may i recommend a small change on the nft wiki on the page "Sets" ?
instead of
% nft add set filter saddrs {type ipv4_addr \; size 2 \;}
add the proto (valid ip or ip6)
% nft add set ip filter saddrs {type ipv4_addr \; size 2 \;}
because that had lead me into the below question
Cheers
Matt
On 2019-10-04 16:58, Florian Westphal wrote:
Matt <matt-nft@xxxxxxxxxxxx> wrote:
However, doing the same with ipv6 doesn't work for me:
#nft add set filter_v6 my_drop \{type ipv6_addr \; flags timeout \;
elements=\{fda5:2c8a:af4c:a95e::64 timeout 60s\} \;\}
Try:
nft add set ip6 filter_v6 ...