Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Eduardo Fernández" <eduardo@cmusanjuan.com>
To: netfilter@lists.netfilter.org
Subject: How to debug nfmarking
Date: Mon, 15 Nov 2004 18:45:26 +0100	[thread overview]
Message-ID: <1100540726.2796.23.camel@laserite> (raw)

Hi all,

i'm trying to debug packet marking like this:

iptables -t mangle -A PREROUTING -p icmp -j MARK --set-mark 0x1
(...)

But I don't know how to check if the packets are really being marked.
ip_conntrack shows all packets with mark=0, and that's not possible.
I've tried logging with netfilter but I don't know which option shows
the nfmark in the log. Any ideas?

Thank you very much in advance.

Eduardo



             reply	other threads:[~2004-11-15 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 17:45 Eduardo Fernández [this message]
2004-11-15 18:03 ` How to debug nfmarking Jason Opperisano
2004-11-15 20:44 ` Eric Leblond

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=1100540726.2796.23.camel@laserite \
    --to=eduardo@cmusanjuan.com \
    --cc=netfilter@lists.netfilter.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