|
我知道两者都是
Linux内核中的IPSEC堆栈,并且KLIPS较旧,Netkey更新,但除此之外,我没有找到其他文档.我想知道他们之间真正的技术差异.有没有人可以告诉我差异或分享一些文件来源?
任何帮助将不胜感激.
解决方法
从由shdobxr链接的
article,关于KLIPS和Netkey的区别的最相关部分似乎如下:
When you apply firewall (iptables) rules,KLIPS is the easier case, because with KLIPS,you can identify IPsec traffic,as this traffic goes through ipsecX interfaces. You apply iptables rules to these interfaces in the same way you apply rules to other network interfaces (such as eth0).
When using NETKEY,applying firewall (iptables) rules is much more complex,as the traffic does not flow through ipsecX interfaces; one solution can be marking the packets in the Linux kernel with iptables (with a setmark iptables rule). This mark is a member of the kernel socket buffer structure (struct sk_buff,from the Linux kernel networking code); decryption of the packet does not modify that mark.
在2014年写作,所有linux发行版现在都应该支持一个支持KLIPS和Netkey的内核. (编辑:安卓应用网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|