From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Michael Chi <chibo.michael@gmail.com>
Cc: netfilter-devel@vger.kernel.org, fw@strlen.de
Subject: Re: does nftables support string match?
Date: Wed, 13 Sep 2017 14:47:45 +0200 [thread overview]
Message-ID: <20170913124745.GA2943@salvia> (raw)
In-Reply-To: <CAMXhvOCwO49YmLAnEthGGifMZbdSgw2+vR6Pdp3o4cW-XaVjAQ@mail.gmail.com>
Cc'ing Florian,
On Wed, Sep 13, 2017 at 08:13:38PM +0800, Michael Chi wrote:
> Hi experts,
>
> We are using nftables instead of iptables, but after I have search all
> the nftables documents I found, I don't find a corresponding match
> that can match string in packet, like following in iptables:
> iptables -A INPUT -m string --string 'badstring' -j DROP
>
> Is such function supported by nftables?
I remember he's got a patch to add support for this, still to be
upstreamed.
Moreover, I started on a patchset to add a new application layer
offset that we discussed during NFWS:
https://workshop.netfilter.org/2017/wiki/images/8/8c/Nft-l7.pdf
So we can solve the existing limitation in iptables, since we start
matching after IP header offset.
next prev parent reply other threads:[~2017-09-13 12:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-13 12:13 does nftables support string match? Michael Chi
2017-09-13 12:47 ` Pablo Neira Ayuso [this message]
2017-09-13 12:54 ` Florian Westphal
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=20170913124745.GA2943@salvia \
--to=pablo@netfilter.org \
--cc=chibo.michael@gmail.com \
--cc=fw@strlen.de \
--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).