[prev in list] [next in list] [prev in thread] [next in thread]
List: netfilter
Subject: [SOLVED] Re: LOG target with MARK?
From: Aaron Lewis <the.warl0ck.1989 () gmail ! com>
Date: 2013-02-12 9:44:31
Message-ID: 20130212094430.GA20707 () devnull
[Download RAW message or body]
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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic