diff options
author | Shivani Bhardwaj <shivanib134@gmail.com> | 2015-12-23 22:11:58 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-02-16 19:30:23 +0100 |
commit | 9f7034cfe729dc91dd4b30f5c845034599e7c94a (patch) | |
tree | fc3faa017987b6a2881d829a97418e3439e9c032 /libipq/Makefile.am | |
parent | 924ab13fb48eb45b5f41fb8cfc897e7eafaa11b8 (diff) |
extensions: libxt_cpu: Add translation to nft
Add translation for module cpu to nftables.
Examples:
$ sudo iptables-translate -A INPUT -p tcp --dport 80 -m cpu --cpu 0 -j ACCEPT
nft add rule ip filter INPUT tcp dport 80 cpu 0 counter accept
$ sudo iptables-translate -A INPUT -p tcp --dport 80 -m cpu ! --cpu 1 -j ACCEPT
nft add rule ip filter INPUT tcp dport 80 cpu != 1 counter accept
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libipq/Makefile.am')
0 files changed, 0 insertions, 0 deletions