From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Scott Subject: Matching on any bit set after masking Date: Mon, 30 Aug 2004 11:17:34 -0700 Sender: netfilter-devel-bounces@lists.netfilter.org Message-ID: <41336F3E.2000505@metavize.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel@lists.netfilter.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org When using the -m mark flag, is there any way to match on any bit being set after masking the the mark. In one rule, I set one of the first four bits dependent on the source address, and in another I only want to match packets that have any of these first four bits set. I could do this with multiple rules, but I was hoping there was a way to do it with just one. thanks, c-- --rb