Commit Graph

6370 Commits

Author SHA1 Message Date
ce2fb18c02 Set MacOS version flag on assembly file. 2020-11-24 14:27:44 -05:00
2f359a43bf 1.6.1 notes 2020-11-23 20:17:09 -05:00
a1b72f0e1a Merge branch 'dev' of github.com:zerotier/ZeroTierOne into dev 2020-11-23 14:54:39 -08:00
de308f05e0 missing break in InetAddress::ipScope() 2020-11-23 14:54:13 -08:00
ecfac0601a Add new bond control commands to CLI 2020-11-23 09:59:28 -08:00
93ffd75b02 Add ZT_NO_UNALIGNED_ACCESS for ARMv6/7 on FreeBSD
Unaligned access caused SIGBUS errors on ARMv6 and ARMv7 targets under FreeBSD.

This was also the cause of the repeating TAP devices. Each time the SIGBUS happened, the service would auto-restart itself, create a new TAP device, and then crash again.

The particular place causing the SIGBUS was:
https://github.com/zerotier/ZeroTierOne/blob/master/node/Utils.hpp#L695
2020-11-21 13:30:31 -08:00
8af4eff43e Merge branch 'dev' of https://github.com/zerotier/ZeroTierOne into dev 2020-11-20 20:34:54 -08:00
167645ba6d Fix for musl libc. 2020-11-20 21:10:08 -05:00
baeab92737 VERSION 1.6.0
See RELEASE-NOTES.md for details.
1.6.0
2020-11-20 18:53:33 -05:00
24162fd490 Merge branch 'dev' of https://github.com/zerotier/ZeroTierOne into dev 2020-11-19 14:39:40 -08:00
95da2bcbcf move CoUninitialize to the proper place at the end of the tap thread 2020-11-19 14:13:16 -08:00
a9e4fb0ed9 Fix multiple networks on Windows 2020-11-19 14:10:34 -08:00
45b092532e Merge branch 'dev' of http://git.int.zerotier.com/zerotier/ZeroTierOne into dev 2020-11-19 13:44:03 -05:00
3ec932e194 MacOS ARM64 universal binary build fixes. 2020-11-19 13:43:57 -05:00
565bef05af Release notes and version bumps. 2020-11-19 13:24:30 -05:00
a0c78da1ad Revert "Tune thread count based on hardware concurrency."
This reverts commit 7b14aeb53e.
2020-11-18 22:54:05 -05:00
7b14aeb53e Tune thread count based on hardware concurrency. 2020-11-18 22:42:00 -05:00
f934a09baa Build fix. 2020-11-18 22:32:57 -05:00
414c248cc5 Try another approach... 2020-11-18 22:26:06 -05:00
ca428233ba Revert "Try another optimization in LinuxEthernetTap."
This reverts commit a390629371.
2020-11-18 22:24:18 -05:00
3712f9b318 Revert "Shutdown fix."
This reverts commit 11545bdb5d.
2020-11-18 22:24:09 -05:00
11545bdb5d Shutdown fix. 2020-11-18 22:13:06 -05:00
a390629371 Try another optimization in LinuxEthernetTap. 2020-11-18 22:06:17 -05:00
e3e188109d Build fix. 2020-11-18 10:14:39 -08:00
7cbbc38b89 Reduce mutex use in LinuxEthernetTap. Try to squeeze a bit more powah out of it. 2020-11-18 12:50:34 -05:00
bd1861ef4d Merge branch 'dev' of https://github.com/zerotier/ZeroTierOne into dev 2020-11-17 17:24:16 -08:00
b152f9e1d3 Version 1.6.0 bump in version.h 2020-11-17 15:15:06 -08:00
24339092f7 Merge branch 'dev' of https://github.com/zerotier/ZeroTierOne into dev 2020-11-17 14:05:33 -08:00
4bd58d47cf Revert "Try factoring out a mutex to see if its faster."
This reverts commit 982c32322b.
2020-11-17 12:52:48 -08:00
982c32322b Try factoring out a mutex to see if its faster. 2020-11-17 15:48:15 -05:00
2fcc344299 Some buffer tuning. 2020-11-17 15:34:42 -05:00
3acd901c88 Build fixes. 2020-11-17 12:13:08 -05:00
0795dbf5f1 Revert "Moar threadz"
This reverts commit 101a3a7d74.
2020-11-16 19:06:52 -08:00
101a3a7d74 Moar threadz 2020-11-16 21:49:51 -05:00
2da162bed7 Split Linux tap receive into two threads: one reader, one processor. 2020-11-16 21:40:25 -05:00
5282e06fd4 Tun/tap flags fix. 2020-11-16 19:08:09 -05:00
dc806dd718 Try pipelining tap reads on Linux for a little more speed. 2020-11-16 18:56:00 -05:00
31d8758ad9 Apple "fat binaries" are back! 2020-11-16 16:30:15 -05:00
ae70db0535 Merge branch 'dev' of https://github.com/zerotier/ZeroTierOne into dev 2020-11-16 12:04:03 -08:00
6b67cb0e2a Linux build fixes. 2020-11-16 11:11:52 -08:00
250f0ef9db Remove dead code. 2020-11-16 13:51:27 -05:00
a690ffdb7c Merge branch 'dev' of https://github.com/zerotier/ZeroTierOne into dev 2020-11-15 19:00:02 -08:00
4aab9121d9 Linux build fixes, and new route code seems to work. 2020-11-13 22:25:12 -05:00
5ea7ef6b65 Rework Linux route setting to actually consult netlink interface. 2020-11-13 22:06:58 -05:00
a3875f9965 Add a route DB to LinuxNetLink to make route sync robust. 2020-11-13 21:55:31 -05:00
4e3a59f329 Build fix. 2020-11-13 21:21:28 -05:00
3730917dda LinuxNetLink cleanup 2020-11-13 21:06:34 -05:00
57516cfbe6 revert queue... not quite what we need 2020-11-13 21:01:55 -05:00
bb62279a20 Queue up managed route syncs and do them periodically to avoid dependency problems. 2020-11-13 20:25:03 -05:00
e8be28734b Linux netlink and route setting... work in progress. 2020-11-13 19:07:54 -05:00