Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Kevin G. Currie" <kevin.currie@wmich.edu>
To: netfilter@lists.netfilter.org
Subject: want:  logical OR for the MARK target
Date: 27 Oct 2003 11:53:46 -0500	[thread overview]
Message-ID: <1067273626.955.13.camel@localhost.localdomain> (raw)

Hello,

I have a need to mark packets with several different flags for later
processing in my iptables rules.  Some of these flags could be used in
combination.

I'm looking into implementing a logical OR for the "-j MARK --set-mark"
target such that the value given to --set-mark would be logically OR'd
with the current mark value of the packet.

I've looked around in the iptables source code a bit, but an (at this
point) hopelessly confused.  Could someone tell me if this is a
modification that needs to be made in iptables, the kernel modules, or
both?


Kevin


-- 
phew, for a minute there i lost myself.




                 reply	other threads:[~2003-10-27 16:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1067273626.955.13.camel@localhost.localdomain \
    --to=kevin.currie@wmich.edu \
    --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