From: Aaron Lewis <the.warl0ck.1989@gmail.com>
To: Andrew Beverley <andy@andybev.com>
Cc: Aaron Lewis <the.warl0ck.1989@gmail.com>,
netfilter mailing list <netfilter@vger.kernel.org>
Subject: [SOLVED] Re: LOG target with MARK?
Date: Tue, 12 Feb 2013 17:44:31 +0800 [thread overview]
Message-ID: <20130212094430.GA20707@devnull> (raw)
In-Reply-To: <1360654592.30430.153.camel@andrew-desktop>
Hi Andrew,
On 07:36 Tue 12 Feb , Andrew Beverley wrote:
> 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).
Ah, thanks I get it, I did some experiment, if MARK is not set, it won't
get printed.
Now it works.
>
> Andy
>
>
--
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
prev parent reply other threads:[~2013-02-12 9:44 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
2013-02-12 9:44 ` Aaron Lewis [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=20130212094430.GA20707@devnull \
--to=the.warl0ck.1989@gmail.com \
--cc=andy@andybev.com \
--cc=netfilter@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 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.