Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > On Sun, Oct 18, 2015 at 08:33:13PM +0200, Florian Westphal wrote: > > Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > > > Contrary to iptables, we use '*' as wildcard as in udev since the '+' can be > > > used as a valid interface name. > > > > '*' can also be part of an interface name, seems only '/', ':', and ' ' > > (space) are disallowed. > > We can allow escaping the asterisk: > > # nft --debug=netlink add rule test test iifname eth\\* > ip test test > [ meta load iifname => reg 1 ] > [ cmp eq reg 1 0x5c687465 0x0000002a 0x00000000 0x00000000 ] > > This means, exact matching for those outthere using wildcards in > device name, see patch attached. Right, nice. I agree that * is a better choice than +. > This applies on top of this initial patch. After re-reading Patricks suggestion I'm withdrawing my question wrt. binop-and. Patch looks good to me, thanks Pablo! -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html