<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ebtables on I'm OWenT</title><link>//owent.net/tags/ebtables.html</link><description>Recent content in Ebtables on I'm OWenT</description><generator>Hugo</generator><language>zh-cn</language><copyright>&lt;a rel="license" href="https://github.com/owent/blog-hugo/blob/master/LICENSE.md"&gt;&lt;img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /&gt;&lt;/a&gt;</copyright><lastBuildDate>Mon, 10 Feb 2020 17:12:00 +0000</lastBuildDate><atom:link href="//owent.net/tags/ebtables/index.xml" rel="self" type="application/rss+xml"/><item><title>nftables初体验</title><link>//owent.net/2020/2002.html</link><pubDate>Mon, 10 Feb 2020 17:12:00 +0000</pubDate><guid>//owent.net/2020/2002.html</guid><description>&lt;h2 id="前言"&gt;前言&lt;/h2&gt;
&lt;p&gt;之前耳闻 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 是下一代 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 。前段时间配了一台主机，折腾成家里的软路由。就一并来尝鲜一系列新东西，其中就包括 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 。&lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 和 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 、&lt;a href="http://ebtables.netfilter.org/"&gt;ebtables&lt;/a&gt; 等一样，都是对底层 xtables 的封装，目前看来 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 比 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 更简洁易用，更易读，更容易理解，扩展性和也更好。但是目前各个发行版中对 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 的支持还比较参差不齐，导致 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 很多功能比 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 还是有所缺失，所以个人感觉短期内还是替代不了 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; （比如 tproxy 功能需要 linux kernel 4.19+， 而即便是 &lt;a href="https://www.centos.org/"&gt;CentOS 8&lt;/a&gt; 的内核版本也只是 4.18 ，所以都不支持 ）。 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 所支持的功能列表及所以来的内核版本和内核模块可以在这里找到 &lt;a href="https://wiki.nftables.org/wiki-nftables/index.php/Supported_features_compared_to_xtables"&gt;https://wiki.nftables.org/wiki-nftables/index.php/Supported_features_compared_to_xtables&lt;/a&gt; 。&lt;/p&gt;</description></item></channel></rss>