ZeroTier can be used for on-premise network virtualization, as a
peer to peer VPN for mobile teams, for hybrid or multi-data-center
cloud deployments, or just about anywhere else secure software
defined virtual networking is useful.
===> The following configuration options are available for zerotier-1.16.2:
DBG=off: Enable foreground debugging for zerotier-one daemon
===> Use 'make config' to modify these settings
Note that ZeroTier 1.4.6+ has a *new* license prohibiting commercial SaaS
style usage, as well as excluding government organisations. Read the
license details carefully to ensure your compliance.
First start the zerotier service:
service zerotier start
To connect to a zerotier network:
zerotier-cli join <network>
If you are running other daemons or require firewall rules to depend on
zerotier interfaces being available at startup, you may need to enable
the following sysctl in /etc/sysctl.conf:
net.link.tap.up_on_open=1
This avoids a race condition where zerotier interfaces are created, but
not up, prior to firewalls and services trying to use them.
You can place optional configuration in /var/db/zerotier-one/local.conf
as required, see documentation at https://www.zerotier.com/manual.shtml
If your system boots from DHCP (such as a laptop), there is a new rc.conf
flag that will require that system startup will wait until the zerotier
network is established before proceeding. Note that this flag *does not*
work for systems configured with statically assigned IP addresses, and
these will hang indefinitely due to an irreducible loop in rc(8) startup
files. This flag is disabled by default.
net/zerotier: update to 1.14.0, drop upstreamed patches
- Linux I/O performance improvements under heavy load
- Improvements to multipath
- Fix for port rebinding "coma" bug after periods offline (some laptop users)
- Fixed a rules engine quirk/ambiguity (GitHub Issue #2200)
- Controller API enhancements: node names and other node meta-data
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Straup Cope <ascope@cpan.org>
* Aaron Zauner <az_mail@gmx.at>
* Adam Jette <jettea46@yahoo.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Alex Bakhtin <Alex.Bakhtin@gmail.com>
* Alex Deiter <Alex.Deiter@Gmail.COM>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above )
Deorbit RESTRICTED && NO_CDROM, part one.
For ports that already use the licenses framwork, merge the content of
RESTRICTED/NO_CDROM/LEGAL* entries into LICENSEs.
Approved by: rene
Differential Revision: https://reviews.freebsd.org/D30010
net/zerotier: enable DflyBSD support
upstream PR has languished long enough
Submitted by: Weitian Li <liweitianux@live.com>
Sponsored by: SkunkWerks, GmbH
net/zerotier: add BUILD_DEPENDS as:devel/binutils
/usr/bin/as will soon be removed from the FreeBSD base system, for
FreeBSD 13.0.
Depend on as (not ${LOCALBASE}/bin/as) so that this will introduce no
change for existing 11.x and 12.x, which will continue to use the base
system GNU as 2.17.50.
PR: 205250 [exp-run]
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
Clean up ports after FreeBSD 12.0 reached end-of-life.
emulators/mesen is left out for now, as it breaks on 11.3
Submitted by: rene
Reviewed by: jbeich, zeising
X-Differential Revision: https://reviews.freebsd.org/D24211
Clean up support for FreeBSD 11.2.
While here, modernize some comments in Mk/bsd.*.mk.
Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat
under discussion.
Submitted by: rene
Reviewed by: antoine, jbeich, mat, zeising
Differential Revision: https://reviews.freebsd.org/D21974
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
net/zerotier: update to 1.2.12-310
- includes upstreamed patches for FreeBSD
- improved command line for operations
- 12 months since last tagged release so we are using intermediary commit
Approved by: jrm (mentor, implicit)
net/zerotier: wait for ONLINE status before booting
- add new flag to wnable waiting for zt interface to become available
- handle newer name for tap(4) in CURRENT
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D18533
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
net/zerotier: build on arm and 10.4 x86/x64 & improve compiler settings
- use improved C++14 settings contributed by jbeich@
- correct LICENSE_FILES via mat@ and jbeich@
- fixes ARM build from PR#231335
- submitted by Vincent Milum <freebsd@darkain.com>
- upstream https://github.com/zerotier/ZeroTierOne/pull/848
Submitted by: Vincent Milum <freebsd@darkain.com>
Reported by: jbeich
Approved by: jrm (mentor)
Obtained from: https://github.com/zerotier/ZeroTierOne/pull/848
Differential Revision: https://reviews.freebsd.org/D16880
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
net/zerotier: update 1.2.8 to 1.2.10
include 3 upstream bugs related to large environments:
- Fix bug loading moons.d/ files for federated root operation.
- Fix compile problem with ZT_DEBUG on some versions of clang
- Fix slow network startup bug related to loading of networks.d/ cache files
improve daemon functionality:
- improve rc.d dependencies by requiring devfs instead of netif
- use daemon(8) to capture debug logging to syslog if > FreeBSD 11.1R and if
compiled with debugging option
- let rc.d script load if_tap if not already present
- add reminder for users about sysctls to avoid race conditions at boot
time
Reviewed by: mat
Approved by: jrm
Differential Revision: https://reviews.freebsd.org/D15534
net/zerotier: update 1.2.4 to 1.2.8
- add debugging support to stdout as ports option
- fix clang++ 6.0.0 compatibility
- add ipfilter to rcorder list
Reviewed by: mat
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D15133
For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.
This is part two of a multipart commit to bring armv7 ports to parity
with armv6.
Approved by: portmgr (tier-2 blanket)
Obtained from: lonesome.com -exp run
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills
Update to 1.2.4.
- 2x crypto throughput on x64 using Salsa20/12 assembler implementation from
DJB.
- only default managed routes are bifurcated, most people will not notice.
- reduce memory usage of credentials.
- improve path selection and prioritisation.
- various build cleanups.
Changelog: https://github.com/zerotier/ZeroTierOne/releases/tag/1.2.4
PR: 218926
Submitted by: Dave Cottlehuber <dch@skunkwerks.at> (maintainer)
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
- Add an option to build network management controller microservice
- Respect CC/CXX and drop superfluous GH_ACCOUNT while I'm at it
PR: 215031 (modified)
Approved by: maintainer timeout (since 2016-12-03)
New port: net/zerotier
ZeroTier can be used for on-premise network virtualization, as a
peer to peer VPN for mobile teams, for hybrid or multi-data-center
cloud deployments, or just about anywhere else secure software
defined virtual networking is useful.
WWW: https://www.zerotier.com/
PR: 203161
Submitted by: corsmith@gmail.com