nftables: device or resource busy while adding element in named sets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

I am novice to nftables and trying to use it as a firewall. I have created
few basic rules as follows.

nft add table ip mangle
nft add chain ip mangle PREROUTING { type filter hook prerouting priority
0; policy accept; }
nft add set mangle myset {type ipv4_addr; flags constant, interval;}
nft add rule ip mangle PREROUTING ip saddr @myset meta mark set 205

I did not get any error while adding above rules. But I am getting Device
or resource busy error
when I am trying to add elements into set names "myset" dynamically. I am
using following command to add elements
into the set.

nft add element mangle myset { 192.168.1.8 }

So I kindly request all to guide me regarding the same.

Regards,
Ninad.



--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux