netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Richard Guy Briggs <rgb@redhat.com>
Cc: Florian Westphal <fw@strlen.de>, Paul Moore <paul@paul-moore.com>,
	linux-audit@redhat.com,
	Netfilter Developer Mailing List
	<netfilter-devel@vger.kernel.org>,
	Thomas Graf <tgraf@infradead.org>
Subject: Re: [PATCH V2] audit: normalize NETFILTER_PKT
Date: Fri, 24 Feb 2017 02:59:28 +0100	[thread overview]
Message-ID: <20170224015928.GB5277@breakpoint.cc> (raw)
In-Reply-To: <20170223172030.GO18258@madcap2.tricolour.ca>

Richard Guy Briggs <rgb@redhat.com> wrote:
> > Not following, sorry, are you saying users can/should use -j MARK
> > somehow?
> 
> Part of the discussed design and rationale for stripping many of the
> vanishing fields is that when setting up netfilter rules to invoke the
> AUDIT target, an accompanying nf mark should be used to indicate which
> rule caught that packet, since the chain name and rule number aren't
> available to the audit target.  We would use the nf mark similarly to
> the way we use a rule key in the audit rules (see man auditctl).

I see.  While this works, nfmark might already be used for other
purposes such as policy routing, so you might need an extra cookie
that can be passed to the AUDIT target instead.

  reply	other threads:[~2017-02-24  2:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23  2:50 [PATCH V2] audit: normalize NETFILTER_PKT Richard Guy Briggs
2017-02-23  5:20 ` Florian Westphal
2017-02-23 15:51   ` Richard Guy Briggs
2017-02-23 16:57     ` Paul Moore
2017-02-23 17:04       ` Richard Guy Briggs
2017-02-23 17:06         ` Paul Moore
2017-02-23 17:13           ` Richard Guy Briggs
2017-02-23 17:14             ` Paul Moore
2017-02-23 17:35               ` Richard Guy Briggs
2017-02-24  0:54                 ` Paul Moore
2017-02-24  1:50                   ` Florian Westphal
2017-02-23 17:06         ` Florian Westphal
2017-02-23 17:20           ` Richard Guy Briggs
2017-02-24  1:59             ` Florian Westphal [this message]
2017-02-24  5:56               ` Paul Moore
2017-02-23 17:20 ` Steve Grubb
2017-02-23 17:29   ` Richard Guy Briggs

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=20170224015928.GB5277@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=linux-audit@redhat.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=paul@paul-moore.com \
    --cc=rgb@redhat.com \
    --cc=tgraf@infradead.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).