netfilter: nft_reject: add reject verdict support for netdev
Adds support for reject from ingress hook in netdev family. Both stacks ipv4 and ipv6. With reject packets supporting ICMP and TCP RST. This ability is required in devices that need to REJECT legitimate clients which traffic is forwarded from the ingress hook. Joint work with Laura Garcia. Signed-off-by: NJose M. Guisado Gomez <guigom@riseup.net> Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
Showing
net/netfilter/nft_reject_netdev.c
0 → 100644
想要评论请 注册 或 登录