From 9aff094b6fb29a885198e38b00421919dd9be0c3 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 6 Aug 2025 12:10:18 -0400 Subject: [PATCH] node/ -> MPL --- node/AES.cpp | 15 +++++---------- node/AES.hpp | 15 +++++---------- node/AES_aesni.cpp | 15 +++++---------- node/AES_armcrypto.cpp | 15 +++++---------- node/Address.hpp | 15 +++++---------- node/AtomicCounter.hpp | 15 +++++---------- node/Bond.cpp | 15 +++++---------- node/Bond.hpp | 15 +++++---------- node/Buffer.hpp | 15 +++++---------- node/Capability.cpp | 15 +++++---------- node/Capability.hpp | 15 +++++---------- node/CertificateOfMembership.cpp | 15 +++++---------- node/CertificateOfMembership.hpp | 15 +++++---------- node/CertificateOfOwnership.cpp | 15 +++++---------- node/CertificateOfOwnership.hpp | 15 +++++---------- node/Constants.hpp | 15 +++++---------- node/Credential.hpp | 15 +++++---------- node/DNS.hpp | 15 +++++---------- node/Dictionary.hpp | 15 +++++---------- node/ECC.hpp | 15 +++++---------- node/Hashtable.hpp | 15 +++++---------- node/Identity.cpp | 15 +++++---------- node/Identity.hpp | 15 +++++---------- node/IncomingPacket.cpp | 17 +++++------------ node/IncomingPacket.hpp | 15 +++++---------- node/InetAddress.cpp | 15 +++++---------- node/InetAddress.hpp | 15 +++++---------- node/MAC.hpp | 15 +++++---------- node/Membership.cpp | 15 +++++---------- node/Membership.hpp | 15 +++++---------- node/Metrics.cpp | 14 +++++--------- node/Metrics.hpp | 15 ++++++--------- node/MulticastGroup.hpp | 15 +++++---------- node/Multicaster.cpp | 15 +++++---------- node/Multicaster.hpp | 15 +++++---------- node/Mutex.hpp | 15 +++++---------- node/Network.cpp | 15 +++++---------- node/Network.hpp | 15 +++++---------- node/NetworkConfig.cpp | 15 +++++---------- node/NetworkConfig.hpp | 15 +++++---------- node/NetworkController.hpp | 15 +++++---------- node/Node.cpp | 15 +++++---------- node/Node.hpp | 15 +++++---------- node/OutboundMulticast.cpp | 15 +++++---------- node/OutboundMulticast.hpp | 15 +++++---------- node/Packet.cpp | 15 +++++---------- node/Packet.hpp | 15 +++++---------- node/PacketMultiplexer.cpp | 15 +++++---------- node/PacketMultiplexer.hpp | 17 ++++++----------- node/Path.cpp | 15 +++++---------- node/Path.hpp | 15 +++++---------- node/Peer.cpp | 15 +++++---------- node/Peer.hpp | 15 +++++---------- node/Poly1305.hpp | 15 +++++---------- node/Revocation.cpp | 15 +++++---------- node/Revocation.hpp | 15 +++++---------- node/RingBuffer.hpp | 15 +++++---------- node/RuntimeEnvironment.hpp | 15 +++++---------- node/SHA512.hpp | 15 +++++---------- node/SelfAwareness.cpp | 15 +++++---------- node/SelfAwareness.hpp | 15 +++++---------- node/SharedPtr.hpp | 15 +++++---------- node/Switch.cpp | 15 +++++---------- node/Switch.hpp | 15 +++++---------- node/Tag.cpp | 15 +++++---------- node/Tag.hpp | 15 +++++---------- node/Topology.cpp | 15 +++++---------- node/Topology.hpp | 15 +++++---------- node/Trace.cpp | 15 +++++---------- node/Trace.hpp | 15 +++++---------- node/Utils.cpp | 15 +++++---------- node/Utils.hpp | 15 +++++---------- node/World.hpp | 15 +++++---------- 73 files changed, 367 insertions(+), 731 deletions(-) diff --git a/node/AES.cpp b/node/AES.cpp index 1ba6aeeb7..6bc308836 100644 --- a/node/AES.cpp +++ b/node/AES.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "AES.hpp" diff --git a/node/AES.hpp b/node/AES.hpp index 0e61efe46..230915211 100644 --- a/node/AES.hpp +++ b/node/AES.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_AES_HPP #define ZT_AES_HPP diff --git a/node/AES_aesni.cpp b/node/AES_aesni.cpp index e4509425a..1eecbfae8 100644 --- a/node/AES_aesni.cpp +++ b/node/AES_aesni.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "AES.hpp" #include "Constants.hpp" diff --git a/node/AES_armcrypto.cpp b/node/AES_armcrypto.cpp index a1be0b003..8e1cce30a 100644 --- a/node/AES_armcrypto.cpp +++ b/node/AES_armcrypto.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "AES.hpp" #include "Constants.hpp" diff --git a/node/Address.hpp b/node/Address.hpp index dfce7acb3..6c376747c 100644 --- a/node/Address.hpp +++ b/node/Address.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_ADDRESS_HPP #define ZT_ADDRESS_HPP diff --git a/node/AtomicCounter.hpp b/node/AtomicCounter.hpp index 5ca8cc9c6..b70b3dd98 100644 --- a/node/AtomicCounter.hpp +++ b/node/AtomicCounter.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_ATOMICCOUNTER_HPP #define ZT_ATOMICCOUNTER_HPP diff --git a/node/Bond.cpp b/node/Bond.cpp index f612cea2c..8f9130462 100644 --- a/node/Bond.cpp +++ b/node/Bond.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2021 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Bond.hpp" diff --git a/node/Bond.hpp b/node/Bond.hpp index 2edbe869f..5c7396d2c 100644 --- a/node/Bond.hpp +++ b/node/Bond.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2021 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_BOND_HPP #define ZT_BOND_HPP diff --git a/node/Buffer.hpp b/node/Buffer.hpp index 0c76875e0..2cb6b5428 100644 --- a/node/Buffer.hpp +++ b/node/Buffer.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_BUFFER_HPP #define ZT_BUFFER_HPP diff --git a/node/Capability.cpp b/node/Capability.cpp index b7ee3f9f7..7929df21f 100644 --- a/node/Capability.cpp +++ b/node/Capability.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Capability.hpp" diff --git a/node/Capability.hpp b/node/Capability.hpp index ac4d43b6e..e1541e809 100644 --- a/node/Capability.hpp +++ b/node/Capability.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_CAPABILITY_HPP #define ZT_CAPABILITY_HPP diff --git a/node/CertificateOfMembership.cpp b/node/CertificateOfMembership.cpp index 5a00c8eab..60e15397c 100644 --- a/node/CertificateOfMembership.cpp +++ b/node/CertificateOfMembership.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "CertificateOfMembership.hpp" diff --git a/node/CertificateOfMembership.hpp b/node/CertificateOfMembership.hpp index c5a3c6a7a..25187a083 100644 --- a/node/CertificateOfMembership.hpp +++ b/node/CertificateOfMembership.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_CERTIFICATEOFMEMBERSHIP_HPP #define ZT_CERTIFICATEOFMEMBERSHIP_HPP diff --git a/node/CertificateOfOwnership.cpp b/node/CertificateOfOwnership.cpp index 5a1cbf343..cd115a510 100644 --- a/node/CertificateOfOwnership.cpp +++ b/node/CertificateOfOwnership.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "CertificateOfOwnership.hpp" diff --git a/node/CertificateOfOwnership.hpp b/node/CertificateOfOwnership.hpp index 3e2f5b926..1b7b9bc3d 100644 --- a/node/CertificateOfOwnership.hpp +++ b/node/CertificateOfOwnership.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_CERTIFICATEOFOWNERSHIP_HPP #define ZT_CERTIFICATEOFOWNERSHIP_HPP diff --git a/node/Constants.hpp b/node/Constants.hpp index 66621ec49..6baf8c7fe 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_CONSTANTS_HPP #define ZT_CONSTANTS_HPP diff --git a/node/Credential.hpp b/node/Credential.hpp index 3f290cadf..3065627e4 100644 --- a/node/Credential.hpp +++ b/node/Credential.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_CREDENTIAL_HPP #define ZT_CREDENTIAL_HPP diff --git a/node/DNS.hpp b/node/DNS.hpp index 79e422e8f..a6f5ea22c 100644 --- a/node/DNS.hpp +++ b/node/DNS.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_DNS_HPP #define ZT_DNS_HPP diff --git a/node/Dictionary.hpp b/node/Dictionary.hpp index 1c6b52620..941227ebf 100644 --- a/node/Dictionary.hpp +++ b/node/Dictionary.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_DICTIONARY_HPP #define ZT_DICTIONARY_HPP diff --git a/node/ECC.hpp b/node/ECC.hpp index 68f6d5ea8..1fc61adbe 100644 --- a/node/ECC.hpp +++ b/node/ECC.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ /* * This file defines the elliptic curve crypto used for ZeroTier V1. The normal diff --git a/node/Hashtable.hpp b/node/Hashtable.hpp index eedc4a325..f921c2949 100644 --- a/node/Hashtable.hpp +++ b/node/Hashtable.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_HASHTABLE_HPP #define ZT_HASHTABLE_HPP diff --git a/node/Identity.cpp b/node/Identity.cpp index 1e6d4212d..86f005280 100644 --- a/node/Identity.cpp +++ b/node/Identity.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Identity.hpp" diff --git a/node/Identity.hpp b/node/Identity.hpp index 0f82d4916..7016aee86 100644 --- a/node/Identity.hpp +++ b/node/Identity.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_IDENTITY_HPP #define ZT_IDENTITY_HPP diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 8cf210437..cf55537a5 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "IncomingPacket.hpp" @@ -27,8 +22,6 @@ #include "Peer.hpp" #include "Revocation.hpp" #include "RuntimeEnvironment.hpp" -#include "SHA512.hpp" -#include "Salsa20.hpp" #include "SelfAwareness.hpp" #include "Switch.hpp" #include "Tag.hpp" diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp index ebca8f220..d75a2928d 100644 --- a/node/IncomingPacket.hpp +++ b/node/IncomingPacket.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_INCOMINGPACKET_HPP #define ZT_INCOMINGPACKET_HPP diff --git a/node/InetAddress.cpp b/node/InetAddress.cpp index 4d266bdd3..81a49e69e 100644 --- a/node/InetAddress.cpp +++ b/node/InetAddress.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "InetAddress.hpp" diff --git a/node/InetAddress.hpp b/node/InetAddress.hpp index 4e0b89438..fbbe25dee 100644 --- a/node/InetAddress.hpp +++ b/node/InetAddress.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_INETADDRESS_HPP #define ZT_INETADDRESS_HPP diff --git a/node/MAC.hpp b/node/MAC.hpp index 9cf8454da..f116dc7f6 100644 --- a/node/MAC.hpp +++ b/node/MAC.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_MAC_HPP #define ZT_MAC_HPP diff --git a/node/Membership.cpp b/node/Membership.cpp index 14b845c67..296a682b0 100644 --- a/node/Membership.cpp +++ b/node/Membership.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Membership.hpp" diff --git a/node/Membership.hpp b/node/Membership.hpp index 962fb55db..b66d8c959 100644 --- a/node/Membership.hpp +++ b/node/Membership.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_MEMBERSHIP_HPP #define ZT_MEMBERSHIP_HPP diff --git a/node/Metrics.cpp b/node/Metrics.cpp index 11232cb0e..dd49d86bd 100644 --- a/node/Metrics.cpp +++ b/node/Metrics.cpp @@ -1,13 +1,9 @@ -/* - * Copyright (c)2013-2023 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ // clang-format off diff --git a/node/Metrics.hpp b/node/Metrics.hpp index 8c2c4290d..f4d4e20f9 100644 --- a/node/Metrics.hpp +++ b/node/Metrics.hpp @@ -1,14 +1,11 @@ -/* - * Copyright (c)2013-2023 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ + #ifndef METRICS_H_ #define METRICS_H_ diff --git a/node/MulticastGroup.hpp b/node/MulticastGroup.hpp index 53905aa42..6e8cbc486 100644 --- a/node/MulticastGroup.hpp +++ b/node/MulticastGroup.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_MULTICASTGROUP_HPP #define ZT_MULTICASTGROUP_HPP diff --git a/node/Multicaster.cpp b/node/Multicaster.cpp index 09acfef94..e87024ff3 100644 --- a/node/Multicaster.cpp +++ b/node/Multicaster.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Multicaster.hpp" diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp index 0cb6e8f8e..0cf11c8cc 100644 --- a/node/Multicaster.hpp +++ b/node/Multicaster.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_MULTICASTER_HPP #define ZT_MULTICASTER_HPP diff --git a/node/Mutex.hpp b/node/Mutex.hpp index fa8968d36..cdcd759ec 100644 --- a/node/Mutex.hpp +++ b/node/Mutex.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_MUTEX_HPP #define ZT_MUTEX_HPP diff --git a/node/Network.cpp b/node/Network.cpp index 19a6fd75e..85c930998 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Network.hpp" diff --git a/node/Network.hpp b/node/Network.hpp index a622786c6..4e417fe87 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_NETWORK_HPP #define ZT_NETWORK_HPP diff --git a/node/NetworkConfig.cpp b/node/NetworkConfig.cpp index 255ec9602..7660f953b 100644 --- a/node/NetworkConfig.cpp +++ b/node/NetworkConfig.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "NetworkConfig.hpp" diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index adf8c1e04..e6fdce80a 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_NETWORKCONFIG_HPP #define ZT_NETWORKCONFIG_HPP diff --git a/node/NetworkController.hpp b/node/NetworkController.hpp index 2b2f237de..6891e770c 100644 --- a/node/NetworkController.hpp +++ b/node/NetworkController.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_NETWORKCONFIGMASTER_HPP #define ZT_NETWORKCONFIGMASTER_HPP diff --git a/node/Node.cpp b/node/Node.cpp index 7f1ac669f..4f7a1d618 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Node.hpp" diff --git a/node/Node.hpp b/node/Node.hpp index 2f1075337..c659b1649 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_NODE_HPP #define ZT_NODE_HPP diff --git a/node/OutboundMulticast.cpp b/node/OutboundMulticast.cpp index 346945073..1978e6e19 100644 --- a/node/OutboundMulticast.cpp +++ b/node/OutboundMulticast.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "OutboundMulticast.hpp" diff --git a/node/OutboundMulticast.hpp b/node/OutboundMulticast.hpp index 542151e2a..f09139269 100644 --- a/node/OutboundMulticast.hpp +++ b/node/OutboundMulticast.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_OUTBOUNDMULTICAST_HPP #define ZT_OUTBOUNDMULTICAST_HPP diff --git a/node/Packet.cpp b/node/Packet.cpp index 88af76105..14bede3a8 100644 --- a/node/Packet.cpp +++ b/node/Packet.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Packet.hpp" diff --git a/node/Packet.hpp b/node/Packet.hpp index 804618476..f6b8fdbdc 100644 --- a/node/Packet.hpp +++ b/node/Packet.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_N_PACKET_HPP #define ZT_N_PACKET_HPP diff --git a/node/PacketMultiplexer.cpp b/node/PacketMultiplexer.cpp index e5d660979..673b9a3c1 100644 --- a/node/PacketMultiplexer.cpp +++ b/node/PacketMultiplexer.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2021 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "PacketMultiplexer.hpp" diff --git a/node/PacketMultiplexer.hpp b/node/PacketMultiplexer.hpp index 4753180ed..cd8093fe6 100644 --- a/node/PacketMultiplexer.hpp +++ b/node/PacketMultiplexer.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2021 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_PACKET_MULTIPLEXER_HPP #define ZT_PACKET_MULTIPLEXER_HPP @@ -62,4 +57,4 @@ class PacketMultiplexer { } // namespace ZeroTier -#endif // ZT_PACKET_MULTIPLEXER_HPP \ No newline at end of file +#endif // ZT_PACKET_MULTIPLEXER_HPP diff --git a/node/Path.cpp b/node/Path.cpp index 875f05b4a..1525d9e8f 100644 --- a/node/Path.cpp +++ b/node/Path.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Path.hpp" diff --git a/node/Path.hpp b/node/Path.hpp index 2639173ee..ee4c383bc 100644 --- a/node/Path.hpp +++ b/node/Path.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_PATH_HPP #define ZT_PATH_HPP diff --git a/node/Peer.cpp b/node/Peer.cpp index 1843feea8..9d44cf951 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Peer.hpp" diff --git a/node/Peer.hpp b/node/Peer.hpp index c6eed83da..8bd36bd3d 100644 --- a/node/Peer.hpp +++ b/node/Peer.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_PEER_HPP #define ZT_PEER_HPP diff --git a/node/Poly1305.hpp b/node/Poly1305.hpp index e5c3a8547..7ffbdd710 100644 --- a/node/Poly1305.hpp +++ b/node/Poly1305.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_POLY1305_HPP #define ZT_POLY1305_HPP diff --git a/node/Revocation.cpp b/node/Revocation.cpp index 6da98f269..968ad6030 100644 --- a/node/Revocation.cpp +++ b/node/Revocation.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Revocation.hpp" diff --git a/node/Revocation.hpp b/node/Revocation.hpp index b6edccf57..3337aabce 100644 --- a/node/Revocation.hpp +++ b/node/Revocation.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_REVOCATION_HPP #define ZT_REVOCATION_HPP diff --git a/node/RingBuffer.hpp b/node/RingBuffer.hpp index f99562894..32474aaa4 100644 --- a/node/RingBuffer.hpp +++ b/node/RingBuffer.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_RINGBUFFER_H #define ZT_RINGBUFFER_H diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index f55955ee8..8fca47300 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_RUNTIMEENVIRONMENT_HPP #define ZT_RUNTIMEENVIRONMENT_HPP diff --git a/node/SHA512.hpp b/node/SHA512.hpp index 3849856ef..abd525ec5 100644 --- a/node/SHA512.hpp +++ b/node/SHA512.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_SHA512_HPP #define ZT_SHA512_HPP diff --git a/node/SelfAwareness.cpp b/node/SelfAwareness.cpp index c73dd4b05..098eb941c 100644 --- a/node/SelfAwareness.cpp +++ b/node/SelfAwareness.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "SelfAwareness.hpp" diff --git a/node/SelfAwareness.hpp b/node/SelfAwareness.hpp index 527537003..1ee64df2a 100644 --- a/node/SelfAwareness.hpp +++ b/node/SelfAwareness.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_SELFAWARENESS_HPP #define ZT_SELFAWARENESS_HPP diff --git a/node/SharedPtr.hpp b/node/SharedPtr.hpp index ef720cab8..f4e936a4b 100644 --- a/node/SharedPtr.hpp +++ b/node/SharedPtr.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_SHAREDPTR_HPP #define ZT_SHAREDPTR_HPP diff --git a/node/Switch.cpp b/node/Switch.cpp index bdbce3f3d..4de7ee8cb 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Switch.hpp" diff --git a/node/Switch.hpp b/node/Switch.hpp index a07b6f310..7c287f45e 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2013-2020 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_N_SWITCH_HPP #define ZT_N_SWITCH_HPP diff --git a/node/Tag.cpp b/node/Tag.cpp index a1ce0c0ed..7d483343e 100644 --- a/node/Tag.cpp +++ b/node/Tag.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Tag.hpp" diff --git a/node/Tag.hpp b/node/Tag.hpp index 0243264af..3273ba03e 100644 --- a/node/Tag.hpp +++ b/node/Tag.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_TAG_HPP #define ZT_TAG_HPP diff --git a/node/Topology.cpp b/node/Topology.cpp index 7991dfb7f..306710562 100644 --- a/node/Topology.cpp +++ b/node/Topology.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Topology.hpp" diff --git a/node/Topology.hpp b/node/Topology.hpp index a244d2849..527e27356 100644 --- a/node/Topology.hpp +++ b/node/Topology.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_TOPOLOGY_HPP #define ZT_TOPOLOGY_HPP diff --git a/node/Trace.cpp b/node/Trace.cpp index da40d90ac..8fc4394e6 100644 --- a/node/Trace.cpp +++ b/node/Trace.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ // #define ZT_TRACE diff --git a/node/Trace.hpp b/node/Trace.hpp index 991974c50..5a77c3798 100644 --- a/node/Trace.hpp +++ b/node/Trace.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_TRACE_HPP #define ZT_TRACE_HPP diff --git a/node/Utils.cpp b/node/Utils.cpp index ad838a7fb..705b6bd46 100644 --- a/node/Utils.cpp +++ b/node/Utils.cpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #include "Constants.hpp" diff --git a/node/Utils.hpp b/node/Utils.hpp index 76241ab56..157e10a3a 100644 --- a/node/Utils.hpp +++ b/node/Utils.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_UTILS_HPP #define ZT_UTILS_HPP diff --git a/node/World.hpp b/node/World.hpp index 6806a01b9..bf148972c 100644 --- a/node/World.hpp +++ b/node/World.hpp @@ -1,15 +1,10 @@ -/* - * Copyright (c)2019 ZeroTier, Inc. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. * - * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file in the project's root directory. - * - * Change Date: 2026-01-01 - * - * On the date above, in accordance with the Business Source License, use - * of this software will be governed by version 2.0 of the Apache License. + * (c) ZeroTier, Inc. + * https://www.zerotier.com/ */ -/****/ #ifndef ZT_WORLD_HPP #define ZT_WORLD_HPP