All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to create a chain called "trace"
@ 2021-02-08 15:37 Martin Gignac
  2021-02-08 15:49 ` Florian Westphal
  0 siblings, 1 reply; 17+ messages in thread
From: Martin Gignac @ 2021-02-08 15:37 UTC (permalink / raw)
  To: netfilter

Hi,

Out of curiosity, is there a reason why calling a chain "trace"
results in an error?

This configuration:

  chain trace {
    type filter hook prerouting priority -301;
    ip daddr 24.153.88.9 ip protocol icmp meta nftrace set 1
  }

Results in the following error when I try loading the ruleset:

  /etc/firewall/rules.nft:40:9-13: Error: syntax error, unexpected
trace, expecting string
  chain trace {
        ^^^^^
Calling the chain anything else doesn't give this error.

Is 'trace' some sort of reserved keyword? I thought chains could be
called anything. Can they not?

This is on nftables 0.9.8.

Thanks,
-Martin

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

end of thread, other threads:[~2021-02-17 20:17 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 15:37 Unable to create a chain called "trace" Martin Gignac
2021-02-08 15:49 ` Florian Westphal
2021-02-08 16:47   ` Phil Sutter
2021-02-08 17:14     ` Florian Westphal
2021-02-09 13:56       ` Phil Sutter
2021-02-12  0:05         ` Florian Westphal
2021-02-12 11:40           ` Phil Sutter
2021-02-12 12:20             ` Florian Westphal
2021-02-12 17:09               ` Pablo Neira Ayuso
2021-02-12 17:32                 ` Phil Sutter
2021-02-12 17:54                   ` Pablo Neira Ayuso
2021-02-12 21:07                     ` Phil Sutter
2021-02-12 18:02               ` Balazs Scheidler
2021-02-17 19:59               ` Phil Sutter
2021-02-17 20:16                 ` Florian Westphal
2021-02-12 12:29     ` Florian Westphal
2021-02-12 12:48       ` Phil Sutter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.