lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 27 Jan 2014 13:59:03 +0100 From: Nicolas Dichtel <nicolas.dichtel@...nd.com> To: zhuyj <zyjzyj2000@...il.com>, "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org, kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org, kaber@...sh.net, linux-kernel@...r.kernel.org Subject: Re: How to identify 6to4 and 6in4 tunnels Le 27/01/2014 11:39, zhuyj a écrit : > Hi, Maintainers > > In our scene, we will create the 6in4/6to4 tunnel firstly and need to check the > tunnel type, secondly, we will configure the ip address on it. So, Could we have > any way to get the actual tunnel for 6in4 and 6to4 from current linux version? > > Both 6in4 and 6to4 have the same protocol “IPPROTO_IPV6” in Linux kernel. The > only difference is the ip address on the tunnel. Can we distinguish them in > Linux kernel? Just check the prefix, like it is done in check_6rd(). Regards, Nicolas -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists