summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_log.c
diff options
context:
space:
mode:
authorShivani Bhardwaj <shivanib134@gmail.com>2015-12-22 18:06:17 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2016-02-16 19:30:22 +0100
commit509619a03a1757073c6ec9af6164fd6c46f8599c (patch)
treeb14d06ccad81792e1841d9694d04f55289867732 /extensions/libebt_log.c
parentb9cd6f55374461163c6216e8d892e88102200908 (diff)
extensions: libxt_mac: Add translation to nft
Add translation for module mac to nftables. Examples: $ sudo iptables-translate -A INPUT -m mac --mac-source 0a:12:3e:4f:b2:c6 -j DROP nft add rule ip filter INPUT ether saddr 0A:12:3E:4F:B2:C6 counter drop $ sudo iptables-translate -A INPUT -p tcp --dport 80 -m mac --mac-source 0a:12:3e:4f:b2:c6 -j ACCEPT nft add rule ip filter INPUT tcp dport 80 ether saddr 0A:12:3E:4F:B2:C6 counter accept Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libebt_log.c')
0 files changed, 0 insertions, 0 deletions