diff options
author | Shivani Bhardwaj <shivanib134@gmail.com> | 2016-03-03 00:58:48 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-03-03 13:22:33 +0100 |
commit | defc7bd2bac89aab8f12929f264241e4583ec21c (patch) | |
tree | e193c21091b72c9c6098365b19068962eae9fad7 /utils/nfbpf_compile.c | |
parent | 3d7d1afe43f6fb1e466671c8d2ce7517079b466a (diff) |
extensions: libxt_sctp: Add translation to nft
Add translation for sctp to nftables.
Full translation of this match awaits the support for --chunk-types
option.
Examples:
$ sudo iptables-translate -A INPUT -p sctp --dport 80 -j DROP
nft add rule ip filter INPUT sctp dport 80 counter drop
$ sudo iptables-translate -A INPUT -p sctp ! --sport 80:100 -j ACCEPT
nft add rule ip filter INPUT sctp sport != 80-100 counter accept
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'utils/nfbpf_compile.c')
0 files changed, 0 insertions, 0 deletions