Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Vinod Chandran <vinod_chandran@multitech.co.in>
To: netfilter-devel <netfilter-devel@lists.netfilter.org>,
	netfilter@lists.netfilter.org
Subject: Usage of CONNMARK
Date: Fri, 04 Feb 2005 13:43:57 +0530	[thread overview]
Message-ID: <42032EC5.4090303@multitech.co.in> (raw)

Hi,

I am using the CONNMARK patch.
Inside conntrack_core, in case of special conditions, I have modified 
the mark value in the conntrack.

I then added the following rules in FORWARD chain.

iptables -t mangle -A FORWARD -m connmark --m mark 1 -j DROP

where the CONNMARK is set in case of the illegal packet.

However this CONNMARK value is getting effective only for the next 
packet and not for the same packet.

Is there some way by which, I can make the settings applicable to the 
same packet itself?

Thanks and Regards,
Vinod C



             reply	other threads:[~2005-02-04  8:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04  8:13 Vinod Chandran [this message]
2005-02-04 14:17 ` Usage of CONNMARK Henrik Nordstrom
2005-02-05  7:36   ` Vinod Chandran
2005-02-06  0:51     ` Henrik Nordstrom
2005-02-07  4:16       ` Vinod Chandran
2005-02-04 21:35 ` dwhite

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=42032EC5.4090303@multitech.co.in \
    --to=vinod_chandran@multitech.co.in \
    --cc=netfilter-devel@lists.netfilter.org \
    --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