Dear nft team,
with ip4 i can create my set and add elements no problem, sample:
table ip filter_v4 {
set my_drop {
type ipv4_addr;
flags timeout
}
...
...
}
Then adding a element to it, works all good:
# nft add set filter_v4 my_drop \{type ipv4_addr \; flags timeout \;
elements=\{192.168.1.1 timeout 60s\} \;\}
But I would like to do the same with ip6:
table ip6 filter_v6 {
set my_drop {
type ipv6_addr;
flags timeout
}
...
...
}
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\} \;\}
Returns
Error: Could not process rule: No such file or directory
add set filter_v6 my_drop {type ipv6_addr ; flags timeout ;
elements={fda5:2c8a:af4c:a95e::64 timeout 60s} ;}
^^^^^^^^^
Any idea whats wrong?
Thx
Matt