diff options
author | Shivani Bhardwaj <shivanib134@gmail.com> | 2015-12-24 23:00:58 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-02-16 19:30:23 +0100 |
commit | b9a46ee40616582b4fca4aa395d52d048c7dbba8 (patch) | |
tree | d9d9c73dad32a142c28a715d550c5a308ae1e493 /extensions/libxt_SET.t | |
parent | 9f7034cfe729dc91dd4b30f5c845034599e7c94a (diff) |
extensions: libipt_ah: Add translation to nft
Add translation for Authentication Header to nftables.
Examples:
$ sudo iptables-translate -A INPUT -p 51 -m ah --ahspi 500 -j DROP
nft add rule ip filter INPUT ah spi 500 counter drop
$ sudo iptables-translate -A INPUT -p 51 -m ah --ahspi 500:600 -j DROP
nft add rule ip filter INPUT ah spi 500-600 counter drop
$ sudo iptables-translate -A INPUT -p 51 -m ah ! --ahspi 50 -j DROP
nft add rule ip filter INPUT ah spi != 50 counter drop
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_SET.t')
0 files changed, 0 insertions, 0 deletions