From: Vlado Drzik <vlado@ttx.sk>
To: netdev@vger.kernel.org
Cc: kadlec@blackhole.kfki.hu
Subject: ipset 6.x - bitmap:ip,mac not working
Date: Sun, 15 Jan 2012 17:52:26 +0100 [thread overview]
Message-ID: <4F13044A.7070900@ttx.sk> (raw)
Hello All,
Would like to ask whether someone is actually using IP sets in recent
kernel version with bitmap:ip,mac match.
I've updated from ipsets 4.x to ipset 6.10 and kernel 3.1.8 and I've
noticed that bitmap:ip,mac never match.
I've tested also bitmap:ip and that one is working fine.
Test setup:
ipset create ipmac_test bitmap:ip,mac range 172.16.0.0/16
ipset add ipmac_test 172.16.1.254,00:11:22:33:44:55
iptables -I INPUT -i eth0 -m set --match-set ipmac_test src
And after I'm running some communication from host 172.16.1.254 with
source MAC 00:11:22:33:44:55.
But there are not packets matched by the rule in iptables.
Using just bitmap:ip it is working fine. Also previous version 4.x was
working fine with macipmap.
Many thanks.
Regards,
Vladimir Drzik
next reply other threads:[~2012-01-15 17:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 16:52 Vlado Drzik [this message]
2012-01-15 17:28 ` ipset 6.x - bitmap:ip,mac not working Jozsef Kadlecsik
2012-01-15 17:57 ` Vlado Drzik
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=4F13044A.7070900@ttx.sk \
--to=vlado@ttx.sk \
--cc=kadlec@blackhole.kfki.hu \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).