Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Andrew Beverley <andy@andybev.com>
To: Aaron Lewis <the.warl0ck.1989@gmail.com>
Cc: netfilter mailing list <netfilter@vger.kernel.org>
Subject: Re: LOG target with MARK?
Date: Tue, 12 Feb 2013 07:36:32 +0000	[thread overview]
Message-ID: <1360654592.30430.153.camel@andrew-desktop> (raw)
In-Reply-To: <20130212030235.GA16352@devnull>

On Tue, 2013-02-12 at 11:02 +0800, Aaron Lewis wrote:
> Hi,
> 
> Looks like the LOG target doesn't output the mark of a packet?
> 
> I checked -j LOG --help and there's no such option, so what should I do
> to get the mark of each packet and print them?

It will log marks on packets by default. If there is no mark then
nothing will be printed; if there is, the value will be printed at the
end of the logging line (eg MARK=0x64).

Andy



  reply	other threads:[~2013-02-12  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  3:02 LOG target with MARK? Aaron Lewis
2013-02-12  7:36 ` Andrew Beverley [this message]
2013-02-12  9:44   ` [SOLVED] " Aaron Lewis

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=1360654592.30430.153.camel@andrew-desktop \
    --to=andy@andybev.com \
    --cc=netfilter@vger.kernel.org \
    --cc=the.warl0ck.1989@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