Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Gabriel Kujawski <gabriel.kujawski@brama.waw.pl>
To: netfilter <netfilter@lists.netfilter.org>
Subject: mark match
Date: Mon, 30 Jun 2003 22:49:23 +0200	[thread overview]
Message-ID: <3F00A253.3060703@brama.waw.pl> (raw)

Hi,
I mark packets this way:
iptables -t mangle -I PREROUTING -p icmp -s 192.168.0.2 -d 0/0 -j MARK 
--set-mark 0x2
This workes correctly.
Next I try to log these marked packets with ULOG target:
iptables -t mangle -I POSTROUTING -m mark --mark 0x2 -j ULOG 
--ulog-nlgroup 1 --ulog-prefix MARKtest
but this rule doesn't work.
However, if I use FORWARD chain packets are logged.
Could you tell me the reason?



             reply	other threads:[~2003-06-30 20:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-30 20:49 Gabriel Kujawski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-29 13:25 mark match Peteris Krumins
2003-03-29 14:40 ` Cedric Blancher

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=3F00A253.3060703@brama.waw.pl \
    --to=gabriel.kujawski@brama.waw.pl \
    --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