mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 21:43:08 +00:00
1.4 bump
This commit is contained in:
parent
a8f2b39f15
commit
678e11530e
@ -13,7 +13,6 @@ The version must be incremented in all of the following files:
|
|||||||
/zerotier-one.spec
|
/zerotier-one.spec
|
||||||
/debian/changelog
|
/debian/changelog
|
||||||
/ext/installfiles/mac/ZeroTier One.pkgproj
|
/ext/installfiles/mac/ZeroTier One.pkgproj
|
||||||
/ext/installfiles/windows/chocolatey/zerotier-one.nuspec
|
|
||||||
/ext/installfiles/windows/ZeroTier One.aip
|
/ext/installfiles/windows/ZeroTier One.aip
|
||||||
/windows/WinUI/AboutView.xaml
|
/windows/WinUI/AboutView.xaml
|
||||||
|
|
||||||
@ -29,21 +28,6 @@ Mac's easy. Just type:
|
|||||||
|
|
||||||
You will need [Packages](http://s.sudre.free.fr/Software/Packages/about.html) and our release signing key in the keychain.
|
You will need [Packages](http://s.sudre.free.fr/Software/Packages/about.html) and our release signing key in the keychain.
|
||||||
|
|
||||||
## Linux
|
|
||||||
|
|
||||||
See `LinuxBuild` environment on `linux-build` VM and use: `chroots/mount-build.sh`, `chroots/build.sh`, and the scripts in `build/` to make APT and RPM repositories.
|
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
First load the Visual Studio solution and rebuild the UI and ZeroTier One in both x64 and i386 `Release` mode. Then load [Advanced Installer Enterprise](http://www.advancedinstaller.com/), check that the version is correct, and build. The build will fail if any build artifacts are missing, and Windows must have our product singing key (from DigiCert) available to sign the resulting MSI file. The MSI must then be tested on at least a few different CLEAN Windows VMs to ensure that the installer is valid and properly signed.
|
First load the Visual Studio solution and rebuild the UI and ZeroTier One in both x64 and i386 `Release` mode. Then load [Advanced Installer Enterprise](http://www.advancedinstaller.com/), check that the version is correct, and build. The build will fail if any build artifacts are missing, and Windows must have our product singing key (from DigiCert) available to sign the resulting MSI file. The MSI must then be tested on at least a few different CLEAN Windows VMs to ensure that the installer is valid and properly signed.
|
||||||
|
|
||||||
*After the MSI is published to download.zerotier.com in the proper RELEASE/#.#.#/dist subfolder for its version* the Chocolatey package must be rebuilt and published. Open a command prompt, change to `ext/installfiles/windows/chocolatey`, and type `choco pack`. Then use `choco push` to push it to Chocolatey (API key required).
|
|
||||||
|
|
||||||
choco pack
|
|
||||||
choco push zerotier-one.#.#.#.nupkg -s https://chocolatey.org/
|
|
||||||
|
|
||||||
Note that this does not cover rebuilding the drivers or their containing MSI projects, as this is typically not necessary and they are shipped in binary form in the repository for convenience.
|
|
||||||
|
|
||||||
## iOS, Android
|
|
||||||
|
|
||||||
... no docs here yet since this is done entirely out of band with regular installs.
|
|
||||||
|
33
README.md
33
README.md
@ -1,62 +1,57 @@
|
|||||||
ZeroTier - A Planetary Ethernet Switch
|
ZeroTier - Global Area Networking
|
||||||
======
|
======
|
||||||
|
|
||||||
ZeroTier is a smart programmable Ethernet switch for planet Earth.
|
ZeroTier is a smart programmable Ethernet switch for planet Earth. It allows networked devices and applications to be managed as if the entire world is one data center or cloud region.
|
||||||
|
|
||||||
It replaces the physical LAN/WAN boundary with a virtual one, allowing devices of any type at any location to be managed as if they all reside in the same cloud region or data center. All traffic is encrypted end-to-end and takes the most direct path available for minimum latency and maximum performance. The goals and design of ZeroTier are inspired by among other things the original [Google BeyondCorp](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43231.pdf) paper and the [Jericho Forum](https://en.wikipedia.org/wiki/Jericho_Forum).
|
It replaces the physical LAN/WAN boundary with a virtual one, allowing devices of any type at any location to be managed as if they all reside in the same cloud region or data center. All traffic is encrypted end-to-end and takes the most direct path available for minimum latency and maximum performance. The goals and design of ZeroTier are inspired by among other things the original [Google BeyondCorp](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43231.pdf) paper and the [Jericho Forum](https://en.wikipedia.org/wiki/Jericho_Forum).
|
||||||
|
|
||||||
Visit [ZeroTier's site](https://www.zerotier.com/?pk_campaign=github_ZeroTierOne) for more information and [pre-built binary packages](https://www.zerotier.com/download.shtml?pk_campaign=github_ZeroTierOne). Apps for Android and iOS are available for free in the Google Play and Apple app stores.
|
Visit [ZeroTier's site](https://www.zerotier.com/) for more information and [pre-built binary packages](https://www.zerotier.com/download/). Apps for Android and iOS are available for free in the Google Play and Apple app stores.
|
||||||
|
|
||||||
### Getting Started
|
### Getting Started
|
||||||
|
|
||||||
Everything in the ZeroTier world is controlled by two types of identifier: 40-bit/10-digit *ZeroTier addresses* and 64-bit/16-digit *network IDs*. A ZeroTier address identifies a node or "device" (laptop, phone, server, VM, app, etc.) while a network ID identifies a virtual Ethernet network that can be joined by devices.
|
Everything in the ZeroTier world is controlled by two types of identifier: 40-bit/10-digit *ZeroTier addresses* and 64-bit/16-digit *network IDs*. A ZeroTier address identifies a node or "device" (laptop, phone, server, VM, app, etc.) while a network ID identifies a virtual Ethernet network that can be joined by devices.
|
||||||
|
|
||||||
Another way of thinking about it is that ZeroTier addresses are port numbers on a giant planetary-sized smart switch while network IDs are VLANs to which these ports can be assigned. For more details read about VL1 and VL2 in [the ZeroTier manual](https://www.zerotier.com/manual.shtml).
|
Another way of thinking about it is that ZeroTier addresses are port numbers on a giant planetary-sized smart switch while network IDs are VLANs to which these ports can be assigned. For more details read about VL1 and VL2 in [the ZeroTier manual](https://www.zerotier.com/manual/).
|
||||||
|
|
||||||
*Network controllers* are ZeroTier nodes that act as access control certificate authorities and configuration managers for virtual networks. The first 40 bits (or 10 digits) of a network ID is the ZeroTier address of its controller. You can create networks with our [hosted controllers](https://my.zerotier.com/) and web UI/API or [host your own](controller/) if you don't mind posting some JSON configuration info or writing a script to do so.
|
*Network controllers* are ZeroTier nodes that act as access control certificate authorities and configuration managers for virtual networks. The first 40 bits (or 10 digits) of a network ID is the ZeroTier address of its controller. You can create networks with our [hosted controllers](https://my.zerotier.com/) and web UI/API or [host your own](controller/) if you don't mind posting some JSON configuration info or writing a script to do so.
|
||||||
|
|
||||||
### Project Layout
|
### Project Layout
|
||||||
|
|
||||||
|
The base path contains the ZeroTier One service main entry point (`one.cpp`), self test code, makefiles, etc.
|
||||||
|
|
||||||
- `artwork/`: icons, logos, etc.
|
- `artwork/`: icons, logos, etc.
|
||||||
- `attic/`: old stuff and experimental code that we want to keep around for reference.
|
- `attic/`: old stuff and experimental code that we want to keep around for reference.
|
||||||
- `controller/`: the reference network controller implementation, which is built and included by default on desktop and server build targets.
|
- `controller/`: the reference network controller implementation, which is built and included by default on desktop and server build targets.
|
||||||
- `debian/`: files for building Debian packages on Linux.
|
- `debian/`: files for building Debian packages on Linux.
|
||||||
- `doc/`: manual pages and other documentation.
|
- `doc/`: manual pages and other documentation.
|
||||||
|
- `docker/`: Dockerfile to build as a container for containerized Linux systems and Kubernetes clusters.
|
||||||
- `ext/`: third party libraries, binaries that we ship for convenience on some platforms (Mac and Windows), and installation support files.
|
- `ext/`: third party libraries, binaries that we ship for convenience on some platforms (Mac and Windows), and installation support files.
|
||||||
- `include/`: include files for the ZeroTier core.
|
- `include/`: include files for the ZeroTier core.
|
||||||
- `java/`: a JNI wrapper used with our Android mobile app. (The whole Android app is not open source but may be made so in the future.)
|
- `java/`: a JNI wrapper used with our Android mobile app. (The whole Android app is not open source but may be made so in the future.)
|
||||||
- `macui/`: a Macintosh menu-bar app for controlling ZeroTier One, written in Objective C.
|
- `macui/`: a Macintosh menu-bar app for controlling ZeroTier One, written in Objective C.
|
||||||
- `node/`: the ZeroTier virtual Ethernet switch core, which is designed to be entirely separate from the rest of the code and able to be built as a stand-alone OS-independent library. Note to developers: do not use C++11 features in here, since we want this to build on old embedded platforms that lack C++11 support. C++11 can be used elsewhere.
|
- `node/`: the ZeroTier virtual Ethernet switch core, which is designed to be entirely separate from the rest of the code and able to be built as a stand-alone OS-independent library. Note to developers: do not use C++11 features in here, since we want this to build on old embedded platforms that lack C++11 support. C++11 can be used elsewhere.
|
||||||
- `osdep/`: code to support and integrate with OSes, including platform-specific stuff only built for certain targets.
|
- `osdep/`: code to support and integrate with OSes, including platform-specific stuff only built for certain targets.
|
||||||
|
- `rule-compiler/`: JavaScript rules language compiler for defining network-level rules.
|
||||||
- `service/`: the ZeroTier One service, which wraps the ZeroTier core and provides VPN-like connectivity to virtual networks for desktops, laptops, servers, VMs, and containers.
|
- `service/`: the ZeroTier One service, which wraps the ZeroTier core and provides VPN-like connectivity to virtual networks for desktops, laptops, servers, VMs, and containers.
|
||||||
- `tcp-proxy/`: TCP proxy code run by ZeroTier, Inc. to provide TCP fallback (this will die soon!).
|
|
||||||
- `windows/`: Visual Studio solution files, Windows service code for ZeroTier One, and the Windows task bar app UI.
|
- `windows/`: Visual Studio solution files, Windows service code for ZeroTier One, and the Windows task bar app UI.
|
||||||
|
|
||||||
The base path contains the ZeroTier One service main entry point (`one.cpp`), self test code, makefiles, etc.
|
|
||||||
|
|
||||||
### Build and Platform Notes
|
### Build and Platform Notes
|
||||||
|
|
||||||
To build on Mac and Linux just type `make`. On FreeBSD and OpenBSD `gmake` (GNU make) is required and can be installed from packages or ports. For Windows there is a Visual Studio solution in `windows/'.
|
To build on Mac and Linux just type `make`. On FreeBSD and OpenBSD `gmake` (GNU make) is required and can be installed from packages or ports. For Windows there is a Visual Studio solution in `windows/'.
|
||||||
|
|
||||||
- **Mac**
|
- **Mac**
|
||||||
- Xcode command line tools for OSX 10.7 or newer are required.
|
- Xcode command line tools for OSX 10.8 or newer are required.
|
||||||
- Tap device driver kext source is in `ext/tap-mac` and a signed pre-built binary can be found in `ext/bin/tap-mac`. You should not need to build it yourself. It's a fork of [tuntaposx](http://tuntaposx.sourceforge.net) with device names changed to `zt#`, support for a larger MTU, and tun functionality removed.
|
|
||||||
- **Linux**
|
- **Linux**
|
||||||
- The minimum compiler versions required are GCC/G++ 4.9.3 or CLANG/CLANG++ 3.4.2.
|
- The minimum compiler versions required are GCC/G++ 4.9.3 or CLANG/CLANG++ 3.4.2. (Install `clang` on CentOS 7 as G++ is too old.)
|
||||||
- Linux makefiles automatically detect and prefer clang/clang++ if present as it produces smaller and slightly faster binaries in most cases. You can override by supplying CC and CXX variables on the make command line.
|
- Linux makefiles automatically detect and prefer clang/clang++ if present as it produces smaller and slightly faster binaries in most cases. You can override by supplying CC and CXX variables on the make command line.
|
||||||
- CentOS 7 ships with a version of GCC/G++ that is too old, but a new enough version of CLANG can be found in the *epel* repositories. Type `yum install epel-release` and then `yum install clang` to build there.
|
|
||||||
- **Windows**
|
- **Windows**
|
||||||
- Windows 7 or newer is supported. This *may* work on Vista but isn't officially supported there. It will not work on Windows XP.
|
- Windows 7 or newer is supported. This *may* work on Vista but isn't officially supported there. It will not work on Windows XP.
|
||||||
- We build with Visual Studio 2015. Older versions may not work. Clang or MinGW will also probably work but may require some makefile hacking.
|
- We build with Visual Studio 2017. Older versions may not work. Clang or MinGW will also probably work but may require some makefile hacking.
|
||||||
- Pre-built signed Windows drivers are included in `ext/bin/tap-windows-ndis6`. The MSI files found there will install them on 32-bit and 64-bit systems. We don't recommend trying to build Windows drivers from scratch unless you know what you're doing. One does not simply "build" a Windows driver.
|
|
||||||
- **FreeBSD**
|
- **FreeBSD**
|
||||||
- Tested most recently on FreeBSD-11. Older versions may work but we're not sure.
|
- GNU make is required. Type `gmake` to build.
|
||||||
- GCC/G++ 4.9 and gmake are required. These can be installed from packages or ports. Type `gmake` to build.
|
|
||||||
- **OpenBSD**
|
- **OpenBSD**
|
||||||
- There is a limit of four network memberships on OpenBSD as there are only four tap devices (`/dev/tap0` through `/dev/tap3`). We're not sure if this can be increased.
|
- There is a limit of four network memberships on OpenBSD as there are only four tap devices (`/dev/tap0` through `/dev/tap3`).
|
||||||
- OpenBSD lacks `getifmaddrs` (or any equivalent method) to get interface multicast memberships. As a result multicast will only work on OpenBSD for ARP and NDP (IP/MAC lookup) and not for other purposes.
|
- GNU make is required. Type `gmake` to build.
|
||||||
- Only tested on OpenBSD 6.0. Older versions may not work.
|
|
||||||
- GCC/G++ 4.9 and gmake are required and can be installed using `pkg_add` or from ports. They get installed in `/usr/local/bin` as `egcc` and `eg++` and our makefile is pre-configured to use them on OpenBSD.
|
|
||||||
|
|
||||||
Typing `make selftest` will build a *zerotier-selftest* binary which unit tests various internals and reports on a few aspects of the build environment. It's a good idea to try this on novel platforms or architectures.
|
Typing `make selftest` will build a *zerotier-selftest* binary which unit tests various internals and reports on a few aspects of the build environment. It's a good idea to try this on novel platforms or architectures.
|
||||||
|
|
||||||
|
@ -1,16 +1,22 @@
|
|||||||
ZeroTier Release Notes
|
ZeroTier Release Notes
|
||||||
======
|
======
|
||||||
|
|
||||||
# 2019-??-?? -- Version 1.4.0 (currently in prerelease as 1.2.99)
|
# 2019-07-29 -- Version 1.4.0
|
||||||
|
|
||||||
|
### Major Changes
|
||||||
|
|
||||||
|
* Mac version no longer requires a kernel extension, instead making use of the [feth interfaces](https://apple.stackexchange.com/questions/337715/fake-ethernet-interfaces-feth-if-fake-anyone-ever-seen-this).
|
||||||
* Added support for concurrent multipath (multiple paths at once) with traffic weighting by link quality and faster recovery from lost links.
|
* Added support for concurrent multipath (multiple paths at once) with traffic weighting by link quality and faster recovery from lost links.
|
||||||
* Added under-the-hood support for QoS (not yet exposed) that will eventually be configurable via our rules engine.
|
* Added under-the-hood support for QoS (not yet exposed) that will eventually be configurable via our rules engine.
|
||||||
|
|
||||||
|
### Minor Changes and Bug Fixes
|
||||||
|
|
||||||
|
* Experimental DB driver for [LF](https://github.com/zerotier/lf) to store network controller data (LFDB.cpp / LFDB.hpp).
|
||||||
* Modified credential push and direct path push timings and algorithms to somewhat reduce "chattiness" of the protocol when idle. More radical background overhead reductions will have to wait for the 2.x line.
|
* Modified credential push and direct path push timings and algorithms to somewhat reduce "chattiness" of the protocol when idle. More radical background overhead reductions will have to wait for the 2.x line.
|
||||||
* Mac version no longer requires a kernel extension, instead making use of the [feth interfaces](https://apple.stackexchange.com/questions/337715/fake-ethernet-interfaces-feth-if-fake-anyone-ever-seen-this).
|
|
||||||
* Removed our beta/half-baked integration of Central with the Windows UI. We're going to do a whole new UI of some kind in the future at least for Windows and Mac.
|
* Removed our beta/half-baked integration of Central with the Windows UI. We're going to do a whole new UI of some kind in the future at least for Windows and Mac.
|
||||||
* Fixed stack overflow issues on Linux versions using musl libc.
|
* Fixed stack overflow issues on Linux versions using musl libc.
|
||||||
* Fixed some alignment problems reported on ARM and ARM64, but some reports we could not reproduce so please report any issues with exact chip, OS/distro, and ZeroTier version in use.
|
* Fixed some alignment problems reported on ARM and ARM64, but some reports we could not reproduce so please report any issues with exact chip, OS/distro, and ZeroTier version in use.
|
||||||
* Fixed numerous other small issues and bugs.
|
* Fixed numerous other small issues and bugs such as ARM alignment issues causing crashes on some devices.
|
||||||
* Windows now sets the adapter name such that it is consistent in both the Windows UI and command line utilities.
|
* Windows now sets the adapter name such that it is consistent in both the Windows UI and command line utilities.
|
||||||
|
|
||||||
# 2018-07-27 -- Version 1.2.12
|
# 2018-07-27 -- Version 1.2.12
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,8 +1,8 @@
|
|||||||
zerotier-one (1.2.99) unstable; urgency=medium
|
zerotier-one (1.4.0) unstable; urgency=medium
|
||||||
|
|
||||||
* 1.4.0pre release
|
* See https://github.com/zerotier/ZeroTierOne for release notes.
|
||||||
|
|
||||||
-- Adam Ierymenko <adam.ierymenko@zerotier.com> Thu, 27 Jun 2019 01:00:00 -0700
|
-- Adam Ierymenko <adam.ierymenko@zerotier.com> Thu, 29 Jul 2019 01:00:00 -0700
|
||||||
|
|
||||||
zerotier-one (1.2.12) unstable; urgency=medium
|
zerotier-one (1.2.12) unstable; urgency=medium
|
||||||
|
|
||||||
|
@ -664,7 +664,7 @@
|
|||||||
<key>USE_HFS+_COMPRESSION</key>
|
<key>USE_HFS+_COMPRESSION</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>VERSION</key>
|
<key>VERSION</key>
|
||||||
<string>1.2.99</string>
|
<string>1.4.0</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>PROJECT_COMMENTS</key>
|
<key>PROJECT_COMMENTS</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<Run Text="ZeroTier One"/>
|
<Run Text="ZeroTier One"/>
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
<Paragraph TextAlignment="Center">
|
<Paragraph TextAlignment="Center">
|
||||||
<Run FontSize="14" Text="Version 1.2.99 (1.4.0pre)"/>
|
<Run FontSize="14" Text="Version 1.4.0"/>
|
||||||
<LineBreak/>
|
<LineBreak/>
|
||||||
<Run FontSize="14" Text="(c) 2011-2019 ZeroTier, Inc."/>
|
<Run FontSize="14" Text="(c) 2011-2019 ZeroTier, Inc."/>
|
||||||
<LineBreak/>
|
<LineBreak/>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: zerotier-one
|
Name: zerotier-one
|
||||||
Version: 1.2.99
|
Version: 1.4.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: ZeroTier One network virtualization service
|
Summary: ZeroTier One network virtualization service
|
||||||
|
|
||||||
@ -145,6 +145,9 @@ esac
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 29 2019 Adam Ierymenko <adam.ierymenko@zerotier.com> - 1.4.0-0.1
|
||||||
|
- see https://github.com/zerotier/ZeroTierOne for release notes
|
||||||
|
|
||||||
* Tue May 08 2018 Adam Ierymenko <adam.ierymenko@zerotier.com> - 1.2.10-0.1
|
* Tue May 08 2018 Adam Ierymenko <adam.ierymenko@zerotier.com> - 1.2.10-0.1
|
||||||
- see https://github.com/zerotier/ZeroTierOne for release notes
|
- see https://github.com/zerotier/ZeroTierOne for release notes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user