From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Matteo Croce <technoboy85@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: nftables null pointer
Date: Tue, 5 Aug 2014 17:25:36 +0200 [thread overview]
Message-ID: <20140805152536.GA3219@salvia> (raw)
In-Reply-To: <CAFnufp0Mjc6yXywRVRiU=kYZw=USSQr=VFfG1gyiPXB53ZMMiQ@mail.gmail.com>
On Tue, Aug 05, 2014 at 05:07:28PM +0200, Matteo Croce wrote:
> 2014-08-05 15:39 GMT+02:00 Pablo Neira Ayuso <pablo@netfilter.org>:
> > Could you give a try to the following patch? Thanks.
>
> yes it works, but the rules are appended every time, not overwritten,
> is it the intended behaviour?
Yes. You have to flush the table before nft -f, eg. nft flush table ip
nat, before you load your ruleset again.
prev parent reply other threads:[~2014-08-05 15:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 8:01 nftables null pointer Matteo Croce
2014-08-05 10:01 ` Pablo Neira Ayuso
2014-08-05 10:21 ` Matteo Croce
2014-08-05 13:39 ` Pablo Neira Ayuso
2014-08-05 15:07 ` Matteo Croce
2014-08-05 15:25 ` Pablo Neira Ayuso [this message]
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=20140805152536.GA3219@salvia \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=technoboy85@gmail.com \
/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).