Linux Netfilter discussions
 help / color / mirror / Atom feed
* nftables: Dynamically updating sets gives syntax error
@ 2016-06-25 13:30 Anders K. Pedersen
  2016-07-02 14:12 ` Anders K. Pedersen
  0 siblings, 1 reply; 4+ messages in thread
From: Anders K. Pedersen @ 2016-06-25 13:30 UTC (permalink / raw)
  To: netfilter

Hello,

With nftables 0.6 I'm getting a syntax error, when I try to use the
feature that was introduced by http://git.netfilter.org/nftables/commit
/?id=a9467e55973b10c2e8fe37525514c961580f8506 . For example:

# nft filter input set add tcp dport @myset
<cmdline>:1:26-30: Error: syntax error, unexpected dport
filter input set add tcp dport @myset
                         ^^^^^
# nft filter input set add ip saddr timeout 10s @myset
<cmdline>:1:25-29: Error: syntax error, unexpected saddr
filter input set add ip saddr timeout 10s @myset
                        ^^^^^
# nft filter input set update ip saddr timeout 10s @myset
<cmdline>:1:28-32: Error: syntax error, unexpected saddr
filter input set update ip saddr timeout 10s @myset
                           ^^^^^

Is there a new syntax for this or was it broken unintentionally?

Regards,
Anders K. Pedersen

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-13  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-25 13:30 nftables: Dynamically updating sets gives syntax error Anders K. Pedersen
2016-07-02 14:12 ` Anders K. Pedersen
2016-07-12 15:22   ` Pablo Neira Ayuso
2016-07-13  7:14     ` Anders K. Pedersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox