java/ 目录的源代码头文件仍然标明 GPLv3,但 LICENSE.txt 为该目录声明 MPL-2.0
作者: camiloariza创建于 2026年9月8日更新于 2026年9月8日
LICENSE.txt 说:
请参阅 LICENSE-MPL.txt,了解 node/、osdep/、service/ 以及 ext/ 和 nonfree/ 以外的所有代码的授权情况。
java/src/com/zerotier/sdk/不在ext/或nonfree/之下,因此根据该声明,它属于 MPL-2.0。但是,该目录下的 22 个 .java 文件中,仍有 19 个文件保留了旧的每个文件的头文件:
* ZeroTier One - Network Virtualization Everywhere
* Copyright (C) 2011-2015 ZeroTier, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
...(在 tag 1.16.2、commit fc5c3ec 中检查)。不包含此头文件的三个文件是:PathChecker.java、VirtualNetworkDNS.java 和 util/StringUtils.java - 很可能是在更改许可证后添加的,并且从来没有给这些文件添加任何头文件,无论是哪种方式。
内容来源: zerotier/ZeroTierOne