• Florian Westphal's avatar
    netfilter: add new hook nfnl subsystem · e2cf17d3
    Florian Westphal authored
    This nfnl subsystem allows to dump the list of all active netfiler hooks,
    e.g. defrag, conntrack, nf/ip/arp/ip6tables and so on.
    
    This helps to see what kind of features are currently enabled in
    the network stack.
    
    Sample output from nft tool using this infra:
    
     $ nft list hook ip input
     family ip hook input {
       +0000000010 nft_do_chain_inet [nf_tables] # nft table firewalld INPUT
       +0000000100 nf_nat_ipv4_local_in [nf_nat]
       +2147483647 ipv4_confirm [nf_conntrack]
     }
    Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
    Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
    e2cf17d3
Makefile 8.94 KB