Displaying 1 result from an estimated 1 matches for "23h54m29s".
2017 May 31
5
[Bug 1153] New: Sets with timeouts can be saved to a file but not reloaded
...10.10 timeout 1d }
This works fine and if I "nft list set firewall ssh_attack_hosts
>saved.set.file", I get a file containing something like
table ip firewall {
set ssh_attack_hosts {
type ipv4_addr
flags timeout
elements = { 10.10.10.10 timeout 1d expires 23h54m29s}
}
}
However, if I try to read that set back into nftables (nft -f saved.set.file),
nft complains about the existence of the "expires" information:
saved.set.file:5:56-62: Error: syntax error, unexpected string, expecting comma
or '}'
elements = { 10.10.10.10 timeout...