From: James Feeney <james@nurealm.net>
To: netfilter-devel@vger.kernel.org
Subject: reject statement - "crazy" parse error?
Date: Tue, 25 Oct 2016 19:30:28 -0600 [thread overview]
Message-ID: <aea0c58c-dd68-bffb-859c-81f77ebe8dfd@nurealm.net> (raw)
Arch Linux
linux 4.8.4-1
nftables-git 0.6.r96.gbb636b8-1
libnftnl-git 1.0.6.r68.gc26951e-1
/etc/nftables.conf
flush ruleset
define if_WAN = enp3s0
table ip private {
chain postroute {
type filter hook postrouting priority 0;
oifname $if_WAN ip daddr 192.168.0.0/16 reject
}
}
$ sudo nft -f /etc/nftables.conf
/etc/nftables.conf:4:1-2: Error: Could not process rule: No such file or directory
table ip private {
^^
I'm guessing that that error message is wildly off-base.
Or is "reject" not a proper "terminal statement"?
Or is there something wrong with the syntax?
next reply other threads:[~2016-10-26 1:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 1:30 James Feeney [this message]
2016-10-26 7:00 ` reject statement - "crazy" parse error? Arturo Borrero Gonzalez
2016-10-26 18:50 ` James Feeney
2016-10-28 9:07 ` Arturo Borrero Gonzalez
2016-10-28 9:11 ` Pablo Neira Ayuso
2016-10-28 16:33 ` James Feeney
2016-10-28 19:16 ` James Feeney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aea0c58c-dd68-bffb-859c-81f77ebe8dfd@nurealm.net \
--to=james@nurealm.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).