lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1201151827460.29134@blackhole.kfki.hu>
Date:	Sun, 15 Jan 2012 18:28:54 +0100 (CET)
From:	Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>
To:	Vlado Drzik <vlado@....sk>
cc:	netdev@...r.kernel.org
Subject: Re: ipset 6.x - bitmap:ip,mac not working

On Sun, 15 Jan 2012, Vlado Drzik wrote:

> 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

That's a wrong rule: bitmap:ip,mac is a two dimensional set and therefore 
it requires two directional parameters:

iptables -I INPUT -i eth0 -m set --match-set ipmac_test src,src

Best regards,
Jozsef
-
E-mail  : kadlec@...ckhole.kfki.hu, kadlecsik.jozsef@...ner.mta.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ