All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Liping Zhang <zlpnobody@163.com>
Cc: netfilter-devel@vger.kernel.org, Liping Zhang <zlpnobody@gmail.com>
Subject: Re: [PATCH nft V2] src: add log flags syntax support
Date: Thu, 24 Nov 2016 13:33:38 +0100	[thread overview]
Message-ID: <20161124123338.GA18726@salvia> (raw)
In-Reply-To: <1479555075-41756-1-git-send-email-zlpnobody@163.com>

On Sat, Nov 19, 2016 at 07:31:15PM +0800, Liping Zhang wrote:
> From: Liping Zhang <zlpnobody@gmail.com>
> 
> Now NF_LOG_XXX is exposed to the userspace, we can set it explicitly.
> Like iptables LOG target, we can log TCP sequence numbers, TCP options,
> IP options, UID owning local socket and decode MAC header. Note the
> log flags are mutually exclusive with group.
> 
> Some examples are listed below:
>  # nft add rule t c log flags tcp sequence,options
>  # nft add rule t c log flags ip options
>  # nft add rule t c log flags skuid
>  # nft add rule t c log flags ether
>  # nft add rule t c log flags all
>  # nft add rule t c log flags all group 1
>  <cmdline>:1:14-16: Error: flags and group are mutually exclusive
>  add rule t c log flags all group 1
>               ^^^

Applied, thanks Liping.

      reply	other threads:[~2016-11-24 12:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 11:31 [PATCH nft V2] src: add log flags syntax support Liping Zhang
2016-11-24 12:33 ` 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=20161124123338.GA18726@salvia \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=zlpnobody@163.com \
    --cc=zlpnobody@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 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.