From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kevin G. Currie" Subject: want: logical OR for the MARK target Date: 27 Oct 2003 11:53:46 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1067273626.955.13.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org 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.