From: Aaron Lewis <the.warl0ck.1989@gmail.com>
To: netfilter mailing list <netfilter@vger.kernel.org>
Subject: --and-mark while matching?
Date: Tue, 12 Feb 2013 17:47:23 +0800 [thread overview]
Message-ID: <20130212094723.GB20707@devnull> (raw)
Hi,
Looks like the mark module doesn't support "and" matching mechanism,
iptables -I INPUT -m mark --and-mark 0x20 -j REJECT
I want to match the packet when the mark has all bit of 0x20 set,
possible?
--
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
next reply other threads:[~2013-02-12 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 9:47 Aaron Lewis [this message]
2013-02-12 12:25 ` --and-mark while matching? Ambroz Bizjak
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=20130212094723.GB20707@devnull \
--to=the.warl0ck.1989@gmail.com \
--cc=netfilter@vger.kernel.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