LOG target with MARK?
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?
Signature · 3 lines
Best Regards, Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ ) Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
Quoted 6 lines · Aaron Lewis
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
Hi Andrew,
Quoted 11 lines · Andrew Beverley
Quoted 6 lines · Aaron Lewis
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.
Quoted 4 lines
Andy
Signature · 3 lines
Best Regards, Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ ) Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E