Skip to contentSkip to conversation

nftables project in this Linux kernel Outreachy round

DISCUSSION Pablo Neira Ayuso 1 participant 1 message Mar 5, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

In case you want to apply for the nftables subproject in this Outreachy round, you can send us (partial) iptables-translation patches for the following match extensions:

* icmp
* icmp6
* rt

Shivani (previous Outreach intern) made a great job and she documented what is already translated and what need to be translated here:

http://wiki.nftables.org/wiki-nftables/index.php/List_of_available_translations_via_iptables-translate_tool

Providing a translation from iptables to nftables is relatively easy. The following link provides an example for the tcp match:

http://git.netfilter.org/iptables/commit/?id=0afd957f6bc03b17fac8824e50b2e0fbd3d6f153

The idea is to add a new .xlate function for that iptables extension, this function takes the extension structure and print it in text in nft format.

To provide a translation you have to understand a bit how both iptables and nft work, to learn more you can visit our wiki page:

http://wiki.nftables.org

For iptables, you can check Oskar Andreasson's iptables documentation.

Thanks.