MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "pages": [
            {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Phil",
                        "timestamp": "2023-06-23T12:53:23Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "Welcome to the ''nftables'' HOWTO documentation page. Here you will find documentation on how to build, install, configure and use nftables.\n\nIf you have any suggestion to improve it, please send your comments to Netfilter users mailing list <netfilter@vger.kernel.org>.\n\n\n= [[News]] =\n\n\n= Introduction =\n* [[What is nftables?]]\n* [[How to obtain help/support]]\n\n\n= Reference =\n* [https://www.netfilter.org/projects/nftables/manpage.html man nft - netfilter website]\n* [https://www.mankier.com/8/nft man nft - mankier.com]\n* [[Quick reference-nftables in 10 minutes|Quick reference, nftables in 10 minutes]]\n* [[Netfilter hooks]] and nftables integration with existing Netfilter components\n* [[nftables families|Understanding nftables families]]\n* [[Data_types|Data types]]\n* [[Connection_Tracking_System|Connection tracking system (conntrack)]], used for stateful firewalling and NAT\n* [[Troubleshooting|Troubleshooting and FAQ]]\n* [[Further_documentation|Additional documentation]]\n\n\n= Installing nftables =\n* [[nftables from distributions|Using nftables from distributions]]\n* [[Building and installing nftables from sources]]\n\n\n= Upgrading from xtables to nftables =\n* [[Legacy xtables tools]]\n* [[Moving from iptables to nftables]]\n* [[Moving from ipset to nftables]]\n\n\n= Basic operation =\n* [[Configuring tables]]\n* [[Configuring chains]]\n* [[Simple rule management]]\n* [[Atomic rule replacement]]\n* [[Error reporting from the command line]]\n* [[Building rules through expressions]]\n* [[Operations at ruleset level]]\n* [[Monitoring ruleset updates]]\n* [[Scripting]]\n* [[Ruleset debug/tracing]]\n* [[Ruleset debug/VM code analysis]]\n* [[Output text modifiers]]\n\n= Expressions: Matching packets =\n* [[Matching packet metainformation]]\n* [[Matching packet headers]]\n* [[Matching connection tracking stateful metainformation]]\n* [[Matching routing information]]\n* [[Rate limiting matchings]]\n\n\n= Statements: Acting on packet matches =\n* [[Accepting and dropping packets]]\n* [[Rejecting traffic]]\n* [[Jumping to chain]]\n* [[Counters]]\n* [[Logging traffic]]\n* [[Performing Network Address Translation (NAT)]]\n* [[Setting packet metainformation]]\n* [[Setting packet connection tracking metainformation]]\n* [[Mangling packet headers]] (including stateless NAT)\n* [[Duplicating packets]]\n* [[Load balancing]]\n* [[Queueing to userspace]]\n\n\n= Advanced data structures for performance packet classification =\n* [[Intervals]]\n* [[Concatenations]]\n* [[Math operations]]\n* [[Stateful objects]]\n** [[Counters]]\n** [[Quotas]]\n** [[Limits]]\n** [[Connlimits]] (''ct count'')\n* Other objects\n** [[Conntrack helpers]] (''ct helper'', Layer 7 ALG)\n** [[Ct_timeout|Conntrack timeout policies]] (''ct timeout'')\n** [[Ct_expectation|Conntrack expectations]] (''ct expectation'')\n** [[Synproxy]]\n** [[Secmark|Secmarks]]\n* Generic set infrastructure\n** [[Sets]]\n** [[Element timeouts]]\n** [[Updating sets from the packet path]]\n** [[Maps]]\n** [[Verdict_Maps_(vmaps) | Verdict maps]]\n** [[Meters|Metering]] (formerly known as flow tables before nftables 0.8.1)\n* [[Flowtables]] (the fastpath network stack bypass)\n\n\n= Examples =\n* [[Simple ruleset for a workstation]]\n* [[Simple ruleset for a server]]\n* [[Simple ruleset for a home router]]\n* [[Bridge filtering]]\n* [[Multiple NATs using nftables maps]]\n* [[Classic perimetral firewall example]]\n* [[Port knocking example]]\n* [[Classification to tc structure example]]\n* [[Using configuration management systems]] (like puppet, ansible, etc)\n* [[GeoIP matching]]\n\n= Development =\n\nCheck [[Portal:DeveloperDocs|Portal:DeveloperDocs - documentation for netfilter developers]].\n\nSome hints on the general development progress:\n\n* [[List of updates since Linux kernel 3.13]]\n* [[List of updates in the nft command line tool]]\n* [[Supported features compared to xtables|Supported features compared to {ip,ip6,eb,arp}tables]]\n* [[List of available translations via iptables-translate tool]]\n\n\n= External links =\n\nWatch some videos:\n\n* Watch [https://www.youtube.com/watch?v=FXTRRwXi3b4 Getting a grasp of nftables], thanks to [https://www.nluug.nl/index-en.html NLUUG association] for recording this.\n* Watch [https://www.youtube.com/watch?v=CaYp0d2wiuU#t=1m47s The ultimate packet classifier for GNU/Linux], thanks to the FSFE for paying my trip to Barcelona and for recommending me as speaker to the KDE Spanish branch.\n* [https://www.youtube.com/watch?v=Sy0JDX451ns Florian Westphal - Why nftables?]\n* Watch [https://www.youtube.com/watch?v=0wQfSfDVN94 NLUUG - Goodbye iptables, Hello nftables]\n* Watch [https://www.youtube.com/watch?v=Uf5ULkEWPL0 LCA2018 - nftables from a user perspective]\n\nWatch videos to track updates:\n\n* Watch [https://www.youtube.com/watch?v=qXVOA2MKA1s Netdev 2.1 - Netfilter mini-workshop (2017)]\n* Watch [https://youtu.be/iCj10vEKPrw Netdev 2.2 - Netf\u200cilter mini-workshop (2018)]\n* Watch [https://youtu.be/0hqfzp6tpZo Netdev 0x12 - Netf\u200cilter mini-workshop (2019)]\n* Watch [https://www.youtube.com/watch?v=GqGGo4svj7s&feature=youtu.be Netdev 0x14 - Netfilter mini-Workshop (2020)] \n\nAdditional documentations and articles:\n\n* Tutorial [https://zasdfgbnm.github.io/2017/09/07/Extending-nftables/ Extending nftables by Xiang Gao]\n* Article [http://ral-arturo.org/2017/05/05/debian-stretch-stable-nftables.html New in Debian stable Stretch: nftables]\n* Article [https://ral-arturo.org/2020/11/22/python-nftables-tutorial.html How to use nftables from python] and git repository [https://github.com/aborrero/python-nftables-tutorial python-nftables-tutorial.git]\n\n\n= Thanks =\n\nTo the NLnet foundation for initial sponsorship of this HOWTO:\n\n[https://nlnet.nl https://nlnet.nl/image/logo.gif]\n\nTo Eric Leblond, for boostrapping the [https://home.regit.org/netfilter-en/nftables-quick-howto/ Nftables quick howto] in 2013."
                            }
                        },
                        "comment": "/* Basic operation */ link to VM code analysis page added"
                    }
                ]
            }
        ]
    }
}