* Lint for nftables
@ 2020-02-02 19:23 Stephen Satchell
2020-02-03 0:27 ` Florian Westphal
2020-02-03 13:14 ` Paweł Krawczyk
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Satchell @ 2020-02-02 19:23 UTC (permalink / raw)
To: netfilter
Is there an equivalent to lint(1) for nftables? One that, instead of
just saying "you blew it", it shows where you blew it and what it was
expected.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Lint for nftables
2020-02-02 19:23 Lint for nftables Stephen Satchell
@ 2020-02-03 0:27 ` Florian Westphal
2020-02-03 13:14 ` Paweł Krawczyk
1 sibling, 0 replies; 3+ messages in thread
From: Florian Westphal @ 2020-02-03 0:27 UTC (permalink / raw)
To: Stephen Satchell; +Cc: netfilter
Stephen Satchell <list@satchell.net> wrote:
> Is there an equivalent to lint(1) for nftables? One that, instead of just
> saying "you blew it", it shows where you blew it and what it was expected.
No. nft is already supposed to tell you where the problem is.
Please provide an example error and we can try to improve the error
reporting.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Lint for nftables
2020-02-02 19:23 Lint for nftables Stephen Satchell
2020-02-03 0:27 ` Florian Westphal
@ 2020-02-03 13:14 ` Paweł Krawczyk
1 sibling, 0 replies; 3+ messages in thread
From: Paweł Krawczyk @ 2020-02-03 13:14 UTC (permalink / raw)
To: list, netfilter
[-- Attachment #1: Type: text/plain, Size: 465 bytes --]
On 02/02/2020 19:23, Stephen Satchell wrote:
> Is there an equivalent to lint(1) for nftables? One that, instead of
> just saying "you blew it", it shows where you blew it and what it was
> expected.
>
nft --check --file nftables.conf does a pretty good job already.
Just make sure you have a recent version. What's being distributed in
Linux distros is usually out-of-date with long-fixed bugs still present.
--
Paweł Krawczyk
+44 7879 180015
[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 1739 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-03 13:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-02 19:23 Lint for nftables Stephen Satchell
2020-02-03 0:27 ` Florian Westphal
2020-02-03 13:14 ` Paweł Krawczyk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox